Skip to contentSkip to conversation

ARM: dts: sun8i: Fix wrong Quad core / a33 compat for sun8i-a23-gt90h-v4

PATCH New Hans de Goede 2 participants 4 messages Mar 14, 2016

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

PATCH 1/3 ARM: dts: sun8i: Fix wrong Quad core / a33 compat for sun8i-a23-gt90h-v4

As the dts file name already implies sun8i-a23-gt90h-v4.dts is for an a23 equipped tablet. I don't know how the "Quad Core" or a33 comaptible got in there, likely a copy and paste error.

Regardless this commit fixes this, note this is almost purely a cosmetical fix, for all things that matter at the machine compatible level the a23 and a33 are compatible.

---
 arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts +2 -2
index d22fa82..db3c859 100644
@@ -50,8 +50,8 @@
 #include <dt-bindings/pwm/pwm.h>
 
 / {
-	model = "Allwinner GT90H Quad Core Tablet (v4)";
-	compatible = "allwinner,gt90h-v4", "allwinner,sun8i-a33";
+	model = "Allwinner GT90H Dual Core Tablet (v4)";
+	compatible = "allwinner,gt90h-v4", "allwinner,sun8i-a23";
 
 	aliases {
 		serial0 = &r_uart;
Signature · 1 line
2.7.2
#1 lore raw

PATCH 2/3 ARM: dts: sun8i: Fix regulator for mmc0 for sun8i-a23-gt90h-v4

Address the FIXME comment in sun8i-a23-gt90h-v4.dts now that we've proper regulator support.

---
 arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts +1 -2
index db3c859..d05406c 100644
@@ -133,8 +133,7 @@
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_gt90h>;
-	/* FIXME this really is aldo1, correct once we've pmic support */
-	vmmc-supply = <&reg_vcc3v0>;
+	vmmc-supply = <&reg_aldo1>;
 	bus-width = <4>;
 	cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
 	cd-inverted;
Signature · 1 line
2.7.2
#2 lore raw

PATCH 3/3 ARM: dts: sun8i: Add dts file for the Polaroid MID2809PXE4 tablet

In reply to Hans de Goede

The Polaroid MID2809PXE4 is a 9" tablet which is clearly marked Polaroid MID2809PXE4 on the back. It features a 9" 16:9?800x480 LCD, A23 Soc, 1GB RAM, 8GB NAND, gsl3670 touchscreen and esp8089 wifi.

---
 arch/arm/boot/dts/Makefile                         |   1 +
 .../boot/dts/sun8i-a23-polaroid-mid2809pxe04.dts   | 243 +++++++++++++++++++++
 2 files changed, 244 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun8i-a23-polaroid-mid2809pxe04.dts
arch/arm/boot/dts/Makefile +1 -0
index 88f511c..a354f7c 100644
@@ -689,6 +689,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
 	sun8i-a23-gt90h-v4.dtb \
 	sun8i-a23-ippo-q8h-v5.dtb \
 	sun8i-a23-ippo-q8h-v1.2.dtb \
+	sun8i-a23-polaroid-mid2809pxe04.dtb \
 	sun8i-a23-q8-tablet.dtb \
 	sun8i-a33-et-q8-v1.6.dtb \
 	sun8i-a33-ga10h-v1.1.dtb \
arch/arm/boot/dts/sun8i-a23-polaroid-mid2809pxe04.dts new file +243 -0

243 lines not on this page · raw message

Signature · 1 line
2.7.2
#3 lore raw

PATCH 1/3 ARM: dts: sun8i: Fix wrong Quad core / a33 compat for sun8i-a23-gt90h-v4

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

As the dts file name already implies sun8i-a23-gt90h-v4.dts is for an a23 equipped tablet. I don't know how the "Quad Core" or a33 comaptible got in there, likely a copy and paste error.

Regardless this commit fixes this, note this is almost purely a cosmetical fix, for all things that matter at the machine compatible level the a23 and a33 are compatible.

Applied all three, thanks

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160314/35f2da9f/attachment-0001.sig>