Skip to contentSkip to conversation

ARM: dts: sun6i: Add sun6i-a31-reference-design-tablet.dtsi

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

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

PATCH 1/2 ARM: dts: sun6i: Add sun6i-a31-reference-design-tablet.dtsi

Just like with a13/a23/a33 most a31 tablets are derived from the same reference design. Add a .dtsi file with all the common bits to avoid endless copy and pasting of these.

The sun6i-a31-reference-design-tablet.dtsi this commit adds is a copy of sun6i-a31s-colorfly-e708-q1.dts with a few tablet specific bits removed / left in sun6i-a31s-colorfly-e708-q1.dts.

---
 ....dts => sun6i-a31-reference-design-tablet.dtsi} |  26 +---
 arch/arm/boot/dts/sun6i-a31s-colorfly-e708-q1.dts  | 147 +--------------------
 2 files changed, 2 insertions(+), 171 deletions(-)
 copy arch/arm/boot/dts/{sun6i-a31s-colorfly-e708-q1.dts => sun6i-a31-reference-design-tablet.dtsi} (90%)
arch/arm/boot/dts/sun6i-a31-reference-design-tablet.dtsi renamed from arch/arm/boot/dts/sun6i-a31s-colorfly-e708-q1.dts +1 -25
similarity index 90%
copy from arch/arm/boot/dts/sun6i-a31s-colorfly-e708-q1.dts
copy to arch/arm/boot/dts/sun6i-a31-reference-design-tablet.dtsi
index 34d8710..0c43430 100644
@@ -40,8 +40,6 @@
  *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
-/dts-v1/;
-#include "sun6i-a31s.dtsi"
 #include "sunxi-common-regulators.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
@@ -49,9 +47,6 @@
 #include <dt-bindings/pinctrl/sun4i-a10.h>
 
 / {
-	model = "Colorfly E708 Q1 tablet";
-	compatible = "colorfly,e708-q1", "allwinner,sun6i-a31s";
-
 	aliases {
 		serial0 = &uart0;
 	};
@@ -66,20 +61,8 @@
 };
 
 &ehci0 {
-	/* rtl8188etv wifi is connected here */
-	status = "okay";
-};
-
-&lradc {
-	vref-supply = <&reg_aldo3>;
+	/* Wifi is connected here */
 	status = "okay";
-
-	button at 1000 {
-		label = "Home";
-		linux,code = <KEY_HOMEPAGE>;
-		channel = <0>;
-		voltage = <1000000>;
-	};
 };
 
 &mmc0 {
@@ -181,12 +164,6 @@
 	regulator-name = "vcc-wifi";
 };
 
-&reg_dldo2 {
-	regulator-min-microvolt = <1800000>;
-	regulator-max-microvolt = <1800000>;
-	regulator-name = "vcc-pg";
-};
-
 &reg_drivevbus {
 	regulator-name = "usb0-vbus";
 	status = "okay";
@@ -194,7 +171,6 @@
 
 &simplefb_lcd {
 	vcc-lcd-supply = <&reg_dc1sw>;
-	vcc-pg-supply = <&reg_dldo2>;
 };
 
 &usb_otg {
arch/arm/boot/dts/sun6i-a31s-colorfly-e708-q1.dts +1 -146

169 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 ARM: dts: sun6i: Add new dts file for tablets using the inet-q972 PCB

Add a 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.

---
 arch/arm/boot/dts/Makefile                 |   1 +
 arch/arm/boot/dts/sun6i-a31s-inet-q972.dts | 100 +++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun6i-a31s-inet-q972.dts
arch/arm/boot/dts/Makefile +1 -0
index 498ebfd..5d984c9 100644
@@ -743,6 +743,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \
 	sun6i-a31-mele-a1000g-quad.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/boot/dts/sun6i-a31s-inet-q972.dts new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/2 ARM: dts: sun6i: Add sun6i-a31-reference-design-tablet.dtsi

In reply to Hans de Goede

Hi,

Quoted 9 lines · Hans de Goede

Just like with a13/a23/a33 most a31 tablets are derived from the same reference design. Add a .dtsi file with all the common bits to avoid endless copy and pasting of these.

The sun6i-a31-reference-design-tablet.dtsi this commit adds is a copy of sun6i-a31s-colorfly-e708-q1.dts with a few tablet specific bits removed / left in sun6i-a31s-colorfly-e708-q1.dts.

The patch looks ok, but doesn't apply.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160822/480249cf/attachment.sig>
#3 lore raw

PATCH 1/2 ARM: dts: sun6i: Add sun6i-a31-reference-design-tablet.dtsi

Hi,

Quoted 7 lines · Maxime Ripard

Hi,

Quoted 4 lines · Hans de Goede

Just like with a13/a23/a33 most a31 tablets are derived from the same reference design. Add a .dtsi file with all the common bits to avoid endless copy and pasting of these.

Quoted 7 lines
Quoted 5 lines

The sun6i-a31-reference-design-tablet.dtsi this commit adds is a copy of sun6i-a31s-colorfly-e708-q1.dts with a few tablet specific bits removed / left in sun6i-a31s-colorfly-e708-q1.dts.

The patch looks ok, but doesn't apply.

Right, I forgot an earlier patch in the series, which is why I send a v2.

Regards,

Hans

#4 lore raw

PATCH 1/2 ARM: dts: sun6i: Add sun6i-a31-reference-design-tablet.dtsi

Quoted 14 lines · Hans de Goede

Hi,

Quoted 11 lines · Maxime Ripard

Hi,

Quoted 8 lines · Hans de Goede

Just like with a13/a23/a33 most a31 tablets are derived from the same reference design. Add a .dtsi file with all the common bits to avoid endless copy and pasting of these.

The sun6i-a31-reference-design-tablet.dtsi this commit adds is a copy of sun6i-a31s-colorfly-e708-q1.dts with a few tablet specific bits removed / left in sun6i-a31s-colorfly-e708-q1.dts.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

The patch looks ok, but doesn't apply.

Right, I forgot an earlier patch in the series, which is why I send a v2.

Yeah, I just saw the v2 and applied it, -ETOOMANYMAILS.

Sorry for the noise :)

Maxime

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