Skip to contentSkip to conversation

ARM: dts: sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB

PATCH New Hans de Goede 2 participants 2 messages Aug 18, 2016 – Aug 19, 2016

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

PATCH 1/1 ARM: dts: sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB

Add a defconfig and dts file for tablets using the generic inet-q972 PCB.

Tablets with this PCB feature a mini-hdmi output, micro-usb usb-host, micro-usb usb-otg, 3.5mm headphone jack, a micro sd slot, (mini) power-barrel and an usb wifi module.

This has been tested on a 9.7" 1024x768 qware qw tb9718-qhd tablet.

The dts files are identical to the ones submitted to the upstream kernel.

---
 arch/arm/dts/Makefile                              |   1 +
 .../arm/dts/sun6i-a31-reference-design-tablet.dtsi | 193 +++++++++++++++++++++
 arch/arm/dts/sun6i-a31s-inet-q972.dts              | 100 +++++++++++
 board/sunxi/MAINTAINERS                            |   1 +
 configs/inet_q972_defconfig                        |  23 +++
 5 files changed, 318 insertions(+)
 create mode 100644 arch/arm/dts/sun6i-a31-reference-design-tablet.dtsi
 create mode 100644 arch/arm/dts/sun6i-a31s-inet-q972.dts
 create mode 100644 configs/inet_q972_defconfig
arch/arm/dts/Makefile +1 -0
index d93fabc..29d5567 100644
@@ -200,6 +200,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-mixtile-loftq.dtb \
 	sun6i-a31s-colorfly-e708-q1.dtb \
 	sun6i-a31s-cs908.dtb \
+	sun6i-a31s-inet-q972.dtb \
 	sun6i-a31s-primo81.dtb \
 	sun6i-a31s-sina31s.dtb \
 	sun6i-a31s-sinovoip-bpi-m2.dtb \
arch/arm/dts/sun6i-a31-reference-design-tablet.dtsi new file +193 -0

193 lines not on this page · raw message

arch/arm/dts/sun6i-a31s-inet-q972.dts new file +100 -0

100 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index de719cd..c1d0f55 100644
@@ -37,6 +37,7 @@ F:	configs/Wobo_i5_defconfig
 F:	include/configs/sun6i.h
 F:	configs/colorfly_e708_q1_defconfig
 F:	configs/CSQ_CS908_defconfig
+F:	configs/inet_q972_defconfig
 F:	configs/Mele_A1000G_quad_defconfig
 F:	configs/Mele_M9_defconfig
 F:	configs/Sinovoip_BPI_M2_defconfig
configs/inet_q972_defconfig new file +23 -0
new file mode 100644
index 0000000..fdbbd6a
@@ -0,0 +1,23 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN6I=y
+CONFIG_DRAM_CLK=384
+CONFIG_DRAM_ZQ=251
+CONFIG_MMC0_CD_PIN="PA8"
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PA15"
+CONFIG_AXP_GPIO=y
+CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:65000,le:280,ri:20,up:22,lo:8,hs:20,vs:8,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_DCLK_PHASE=0
+CONFIG_VIDEO_LCD_BL_EN="PA25"
+CONFIG_VIDEO_LCD_BL_PWM="PH13"
+CONFIG_DEFAULT_DEVICE_TREE="sun6i-a31s-inet-q972"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+CONFIG_AXP_DLDO1_VOLT=3300
+CONFIG_USB_MUSB_HOST=y
+CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM: dts: sun6i: Add defconfig and dts file for tablets using the inet-q972 PCB

Quoted 11 lines · Hans de Goede

Add a defconfig and dts file for tablets using the generic inet-q972 PCB.

Tablets with this PCB feature a mini-hdmi output, micro-usb usb-host, micro-usb usb-otg, 3.5mm headphone jack, a micro sd slot, (mini) power-barrel and an usb wifi module.

This has been tested on a 9.7" 1024x768 qware qw tb9718-qhd tablet.

The dts files are identical to the ones submitted to the upstream kernel.