Skip to contentSkip to conversation

sun4i: Add defconfig and dts for inet9f-rev03 based tablets

PATCH New Hans de Goede 2 participants 4 messages Sep 9, 2015

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

PATCH 1/2 sun4i: Add defconfig and dts for inet9f-rev03 based tablets

The inet9f-rev03 pcb is specially designed for gaming tablets, such as the qware tb-g100 tablet.

These 7" tablets feature a dpad, firebuttons and 2 joysticks on the sides of the screen.

Besides this they have the usual connectors: power-barrel, mini usb, mini hdmi, headphone and micro-sd slot.

The dts is identical to the dts submitted to the upstream kernel.

---
 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/sun4i-a10-inet9f-rev03.dts | 219 ++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                 |   1 +
 configs/inet9f_rev03_defconfig          |  20 +++
 4 files changed, 241 insertions(+)
 create mode 100644 arch/arm/dts/sun4i-a10-inet9f-rev03.dts
 create mode 100644 configs/inet9f_rev03_defconfig
arch/arm/dts/Makefile +1 -0
index 275948d..1c60dd7 100644
@@ -81,6 +81,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \
 	sun4i-a10-inet-3f.dtb \
 	sun4i-a10-inet-3w.dtb \
 	sun4i-a10-inet97fv2.dtb \
+	sun4i-a10-inet9f-rev03.dtb \
 	sun4i-a10-itead-iteaduino-plus.dtb \
 	sun4i-a10-jesurun-q5.dtb \
 	sun4i-a10-marsboard.dtb \
arch/arm/dts/sun4i-a10-inet9f-rev03.dts new file +219 -0

219 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index 7f29b58..b22702e 100644
@@ -9,6 +9,7 @@ F:	configs/Chuwi_V7_CW0825_defconfig
 F:	configs/Cubieboard_defconfig
 F:	configs/Hyundai_A7HD_defconfig
 F:	configs/inet97fv2_defconfig
+F:	configs/inet9f_rev03_defconfig
 F:	configs/jesurun_q5_defconfig
 F:	configs/Mele_A1000_defconfig
 F:	configs/Mele_M3_defconfig
configs/inet9f_rev03_defconfig new file +20 -0
new file mode 100644
index 0000000..fdfb02a
@@ -0,0 +1,20 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN4I=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_EMR1=4
+CONFIG_USB0_VBUS_PIN="PB9"
+CONFIG_USB0_VBUS_DET="PH5"
+CONFIG_USB0_ID_DET="PH4"
+CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:24,pclk_khz:33000,le:45,ri:209,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="PH8"
+CONFIG_VIDEO_LCD_BL_EN="PH7"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_USB_MUSB_HOST=y
+CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet9f-rev03"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
Signature · 1 line
2.4.3
#1 lore raw

PATCH 2/2 sun4i: Add dts and defconfig for iNet-1 based tablets

The iNet-tek iNet-1 PCB is a PCB found in various generic 10.1" 1024x600 A10 based tablets such as the Point of View Protab2 XXL and the Cherry M1007.

This patch has been tested on both rev2 and rev5 of this board / these tablets.

These tablets feature the usual connectors: headphone, mini hdmi, power-barrel, mini-usb and a micro-sd slot.

The dts is identical to the dts submitted to the upstream kernel.

---
 arch/arm/dts/Makefile            |   1 +
 arch/arm/dts/sun4i-a10-inet1.dts | 226 +++++++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS          |   1 +
 configs/inet1_defconfig          |  22 ++++
 4 files changed, 250 insertions(+)
 create mode 100644 arch/arm/dts/sun4i-a10-inet1.dts
 create mode 100644 configs/inet1_defconfig
arch/arm/dts/Makefile +1 -0
index 1c60dd7..fecaa87 100644
@@ -78,6 +78,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \
 	sun4i-a10-gemei-g9.dtb \
 	sun4i-a10-hackberry.dtb \
 	sun4i-a10-hyundai-a7hd.dtb \
+	sun4i-a10-inet1.dtb \
 	sun4i-a10-inet-3f.dtb \
 	sun4i-a10-inet-3w.dtb \
 	sun4i-a10-inet97fv2.dtb \
arch/arm/dts/sun4i-a10-inet1.dts new file +226 -0

226 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index b22702e..f3da5d2 100644
@@ -8,6 +8,7 @@ F:	configs/ba10_tv_box_defconfig
 F:	configs/Chuwi_V7_CW0825_defconfig
 F:	configs/Cubieboard_defconfig
 F:	configs/Hyundai_A7HD_defconfig
+F:	configs/inet1_defconfig
 F:	configs/inet97fv2_defconfig
 F:	configs/inet9f_rev03_defconfig
 F:	configs/jesurun_q5_defconfig
configs/inet1_defconfig new file +22 -0
new file mode 100644
index 0000000..b2ba497
@@ -0,0 +1,22 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN4I=y
+CONFIG_DRAM_CLK=432
+CONFIG_DRAM_EMR1=4
+CONFIG_USB0_VBUS_PIN="PB9"
+CONFIG_USB0_VBUS_DET="PH5"
+CONFIG_USB0_ID_DET="PH4"
+CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:52000,le:32,ri:287,up:22,lo:12,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="PH8"
+CONFIG_VIDEO_LCD_BL_EN="PH7"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_VIDEO_LCD_PANEL_LVDS=y
+CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet1"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y
Signature · 1 line
2.4.3
#2 lore raw

PATCH 2/2 sun4i: Add dts and defconfig for iNet-1 based tablets

Quoted 9 lines · Hans de Goede

The iNet-tek iNet-1 PCB is a PCB found in various generic 10.1" 1024x600
A10 based tablets such as the Point of View Protab2 XXL and the Cherry M1007.

This patch has been tested on both rev2 and rev5 of this board / these
tablets.

Quoted 6 lines

These tablets feature the usual connectors: headphone, mini hdmi, power-barrel, mini-usb and a micro-sd slot.

The dts is identical to the dts submitted to the upstream kernel.

#3 lore raw

PATCH 1/2 sun4i: Add defconfig and dts for inet9f-rev03 based tablets

In reply to Hans de Goede
Quoted 8 lines · Hans de Goede

The inet9f-rev03 pcb is specially designed for gaming tablets, such as
the qware tb-g100 tablet.

These 7" tablets feature a dpad, firebuttons and 2 joysticks on the sides
of the screen.

Quoted 6 lines

Besides this they have the usual connectors: power-barrel, mini usb, mini hdmi, headphone and micro-sd slot.

The dts is identical to the dts submitted to the upstream kernel.