Skip to contentSkip to conversation

sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet

PATCH New Hans de Goede 2 participants 2 messages Jun 11, 2016 – Jun 12, 2016

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

PATCH 1/1 sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet

The Polaroid MID2407PXE03 is an a23 based 7" tablet based on a M86_MB V2.0 PCB, featuring a 800x480 LCD, 512MB RAM, 4G NAND, esp8089 wifi, gsl1680 touchschreen, micro-sd slot, 3.5mm headphone jack and a micro-usb otg connector which doubles as charging port.

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

---
 arch/arm/dts/Makefile                            |   1 +
 arch/arm/dts/axp22x.dtsi                         |  10 +
 arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 292 +++++++++++++++++++++++
 board/sunxi/MAINTAINERS                          |   1 +
 configs/polaroid_mid2407pxe03_defconfig          |  24 ++
 5 files changed, 328 insertions(+)
 create mode 100644 arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts
 create mode 100644 configs/polaroid_mid2407pxe03_defconfig
arch/arm/dts/Makefile +1 -0
index a827613..f76475e 100644
@@ -216,6 +216,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
 dtb-$(CONFIG_MACH_SUN8I_A23) += \
 	sun8i-a23-evb.dtb \
 	sun8i-a23-gt90h-v4.dtb \
+	sun8i-a23-polaroid-mid2407pxe03.dtb \
 	sun8i-a23-polaroid-mid2809pxe04.dtb \
 	sun8i-a23-q8-tablet.dtb
 dtb-$(CONFIG_MACH_SUN8I_A33) += \
arch/arm/dts/axp22x.dtsi +10 -0
index 0cfec50..458b668 100644
@@ -141,5 +141,15 @@
 			regulator-max-microvolt = <3000000>;
 			regulator-name = "rtc_ldo";
 		};
+
+		reg_drivevbus: drivevbus {
+			regulator-name = "drivevbus";
+			status = "disabled";
+		};
+	};
+
+	usb_power_supply: usb_power_supply {
+		compatible = "x-powers,axp221-usb-power-supply";
+		status = "disabled";
 	};
 };
arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts new file +292 -0

292 lines not on this page · raw message

board/sunxi/MAINTAINERS +1 -0
index 2cb8a75..4f8d950 100644
@@ -58,6 +58,7 @@ F:	configs/orangepi_2_defconfig
 F:	configs/orangepi_one_defconfig
 F:	configs/orangepi_pc_defconfig
 F:	configs/orangepi_plus_defconfig
+F:	configs/polaroid_mid2407pxe03_defconfig
 F:	configs/polaroid_mid2809pxe04_defconfig
 F:	configs/q8_a23_tablet_800x480_defconfig
 F:	configs/q8_a33_tablet_800x480_defconfig
configs/polaroid_mid2407pxe03_defconfig new file +24 -0
new file mode 100644
index 0000000..9bf6fbf
@@ -0,0 +1,24 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN8I_A23=y
+CONFIG_DRAM_CLK=432
+CONFIG_DRAM_ZQ=63351
+CONFIG_MMC0_CD_PIN="PB4"
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PH8"
+CONFIG_AXP_GPIO=y
+CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:40,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_DCLK_PHASE=0
+CONFIG_VIDEO_LCD_POWER="PH7"
+CONFIG_VIDEO_LCD_BL_EN="PH6"
+CONFIG_VIDEO_LCD_BL_PWM="PH0"
+CONFIG_DEFAULT_DEVICE_TREE="sun8i-a23-polaroid-mid2407pxe03"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
+# 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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 sunxi: Add defconfig and dts file for Polaroid MID2407PXE03 tablet

Quoted 11 lines · Hans de Goede

The Polaroid MID2407PXE03 is an a23 based 7" tablet based on a M86_MB V2.0
PCB, featuring a 800x480 LCD, 512MB RAM, 4G NAND, esp8089 wifi, gsl1680
touchschreen, micro-sd slot, 3.5mm headphone jack and a micro-usb otg connector which doubles as charging port.

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