sunxi: Add q8_a13_tablet defconfig and dts
Subsystems (2)
PATCH 1/1 sunxi: Add q8_a13_tablet defconfig and dts
This commits adds a generic support for q8 formfactor a13 based tablets.
These tablets ship in many variants, with the difference mainly being the touchscreen controller / accelerometer / wifi chip used.
The wifi is USB based, and thus not listed in devicetree.
ATM the kernel does not support the touchscreen / accelerometer on these devices. In the future we may need multiple configs with different CONFIG_DEFAULT_DEVICE_TREE settings, this depends on how we solve the hw differences on the kernel side.
For now this will suffice.
The dts files are identical to the dts files submitted to the upstream kernel for these tablets.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a13-q8-tablet.dts | 60 +++++++++++++ arch/arm/dts/sun5i-q8-common.dtsi | 170 +++++++++++++++++++++++++++++++++++ arch/arm/dts/sunxi-q8-common.dtsi | 77 ++++++++++++++++ board/sunxi/MAINTAINERS | 1 + configs/q8_a13_tablet_defconfig | 23 +++++ 6 files changed, 332 insertions(+) create mode 100644 arch/arm/dts/sun5i-a13-q8-tablet.dts create mode 100644 arch/arm/dts/sun5i-q8-common.dtsi create mode 100644 arch/arm/dts/sunxi-q8-common.dtsi create mode 100644 configs/q8_a13_tablet_defconfig
arch/arm/dts/Makefile +1 -0
@@ -103,6 +103,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \ sun5i-a13-inet-98v-rev2.dtb \ sun5i-a13-olinuxino.dtb \ sun5i-a13-olinuxino-micro.dtb \ + sun5i-a13-q8-tablet.dtb \ sun5i-a13-tzx-q8-713b7.dtb \ sun5i-a13-utoo-p66.dtb \ sun5i-r8-chip.dtb
arch/arm/dts/sun5i-a13-q8-tablet.dts new file +60 -0
60 lines not on this page · raw message
arch/arm/dts/sun5i-q8-common.dtsi new file +170 -0
170 lines not on this page · raw message
arch/arm/dts/sunxi-q8-common.dtsi new file +77 -0
77 lines not on this page · raw message
board/sunxi/MAINTAINERS +1 -0
@@ -24,6 +24,7 @@ F: configs/Auxtek-T003_defconfig F: configs/Auxtek-T004_defconfig F: configs/inet98v_rev2_defconfig F: configs/mk802_a10s_defconfig +F: configs/q8_a13_tablet_defconfig F: configs/r7-tv-dongle_defconfig F: configs/UTOO_P66_defconfig F: include/configs/sun6i.h
configs/q8_a13_tablet_defconfig new file +23 -0
@@ -0,0 +1,23 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_MACH_SUN5I=y +CONFIG_DRAM_CLK=384 +CONFIG_DRAM_EMR1=0 +CONFIG_MMC0_CD_PIN="PG0" +CONFIG_USB0_VBUS_PIN="PG12" +CONFIG_USB0_VBUS_DET="PG1" +CONFIG_USB0_ID_DET="PG2" +CONFIG_AXP_GPIO=y +# CONFIG_VIDEO_HDMI is not set +CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:45,ri:82,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0" +CONFIG_VIDEO_LCD_POWER="AXP0-0" +CONFIG_VIDEO_LCD_BL_EN="AXP0-1" +CONFIG_VIDEO_LCD_BL_PWM="PB2" +CONFIG_USB_MUSB_HOST=y +CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-q8-tablet" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,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
PATCH 1/1 sunxi: Add q8_a13_tablet defconfig and dts
Quoted 15 lines · Hans de Goede
This commits adds a generic support for q8 formfactor a13 based tablets.
These tablets ship in many variants, with the difference mainly being the
touchscreen controller / accelerometer / wifi chip used.The wifi is USB based, and thus not listed in devicetree.
ATM the kernel does not support the touchscreen / accelerometer on these
devices. In the future we may need multiple configs with differentCONFIG_DEFAULT_DEVICE_TREEsettings, this depends on how we solve the hw differences on the kernel side.
Quoted 7 lines
For now this will suffice.
The dts files are identical to the dts files submitted to the upstream
kernel for these tablets.Signed-off-by Hans de Goede <[email protected]>