Skip to contentSkip to conversation

sunxi: Add support for Olimex A64-Teres-I board

PATCH New Jonas Smedegaard 2 participants 3 messages Apr 14, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Add support for Olimex A64-Teres-I board

Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard.
https://linux-sunxi.org/Olimex_Teres-A64

This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree).

sun50i-a64-teres-i.dts is copied verbatim from Linux 5.0. Cosmetic warnings regarding whitespace and placement of SPDX notice for this file was ignored.

config and .dtsi file are adapted from pinebook files.

Author: Vasily Khoruzhick <[email protected]>

---

 arch/arm/dts/Makefile                       |   3 +-
 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi |  41 +++
 arch/arm/dts/sun50i-a64-teres-i.dts         | 270 ++++++++++++++++++++
 configs/teres_i_defconfig                   |  21 ++
 4 files changed, 334 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi
 create mode 100644 arch/arm/dts/sun50i-a64-teres-i.dts
 create mode 100644 configs/teres_i_defconfig
arch/arm/dts/Makefile +2 -1
index 8167cdb4e8..a12ed81f49 100644
@@ -483,7 +483,8 @@ dtb-$(CONFIG_MACH_SUN50I) += \
 	sun50i-a64-pine64-plus.dtb \
 	sun50i-a64-pine64.dtb \
 	sun50i-a64-pinebook.dtb \
-	sun50i-a64-sopine-baseboard.dtb
+	sun50i-a64-sopine-baseboard.dtb \
+	sun50i-a64-teres-i.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
 	sun9i-a80-optimus.dtb \
 	sun9i-a80-cubieboard4.dtb \
arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi new file +41 -0

41 lines not on this page · raw message

arch/arm/dts/sun50i-a64-teres-i.dts new file +270 -0

270 lines not on this page · raw message

configs/teres_i_defconfig new file +21 -0
new file mode 100644
index 0000000000..939dc24408
@@ -0,0 +1,21 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN50I=y
+CONFIG_DRAM_CLK=552
+CONFIG_DRAM_ZQ=3881949
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_I2C0_ENABLE=y
+# CONFIG_CMD_FLASH is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-teres-i"
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_PWM=y
+CONFIG_PWM_SUNXI=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
+# CONFIG_USB_GADGET is not set
+CONFIG_VIDEO_BRIDGE=y
+CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 sunxi: Add support for Olimex A64-Teres-I board

Quoted 10 lines · Jonas Smedegaard

Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard.
https://linux-sunxi.org/Olimex_Teres-A64

This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree).

sun50i-a64-teres-i.dts is copied verbatim from Linux 5.0. Cosmetic warnings regarding whitespace and placement of SPDX notice for this file was ignored.

Add the commit id details from which commit it synced from.

Quoted 4 lines

config and .dtsi file are adapted from pinebook files.

Author: Vasily Khoruzhick <[email protected]>

Didn't find this tag before, may be you can add details in commit message itself.

Quoted 8 lines

---

 arch/arm/dts/Makefile                       |   3 +-
 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi |  41 +++
 arch/arm/dts/sun50i-a64-teres-i.dts         | 270 ++++++++++++++++++++
 configs/teres_i_defconfig                   |  21 ++

Maintainer entry?

#2 lore raw

PATCH 1/1 sunxi: Add support for Olimex A64-Teres-I board

Quoting Jagan Teki (2019-04-14 19:36:15)

Quoted 5 lines · Jonas Smedegaard
Quoted 4 lines

Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard.
https://linux-sunxi.org/Olimex_Teres-A64

Quoted 8 lines
Quoted 6 lines

This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree).

sun50i-a64-teres-i.dts is copied verbatim from Linux 5.0. Cosmetic warnings regarding whitespace and placement of SPDX notice for this file was ignored.

Add the commit id details from which commit it synced from.

You mean mention explicitly that the git tag for Linux 5.0 is "v5.0"? Or mention explicitly the hash corresponding to that tag? Or mention the hash for the last commit affecting that particular file? Or mention a URL pointing to the file, e.g.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts?h=v5.0
?

Quoted 6 lines
Quoted 3 lines

config and .dtsi file are adapted from pinebook files.

Author: Vasily Khoruzhick <[email protected]>

Didn't find this tag before, may be you can add details in commit message itself.

Ok, will then simply delete that: Already mentioned in file headers.

Quoted 10 lines
Quoted 8 lines

---

 arch/arm/dts/Makefile                       |   3 +-
 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi |  41 +++
 arch/arm/dts/sun50i-a64-teres-i.dts         | 270 ++++++++++++++++++++
 configs/teres_i_defconfig                   |  21 ++

Maintainer entry?

Will add myself and Icenowy (who've worked on this in the past and have agreed to help look after this).

Thanks for the feedback, Jagan,

- Jonas

Signature · 11 lines
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190414/9264ae38/attachment.sig>