Skip to contentSkip to conversation

ARM: sun5i: Add DT for HSG H702 tablet board

PATCH New Chen-Yu Tsai 2 participants 4 messages Sep 16, 2014 – Sep 17, 2014

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

v4 cover ARM: sun5i: Add DT for HSG H702 tablet board

Hi,

This is v4 of the HSG H702 tablet support patch. I've split the original patch into 2, one for the common 5V regulator, and the other for the tablet.

Changes since v3
- Move fixed regulator to common regulators in separate patch.
- Use said common regulator for usb1-vbus.
- Slightly changed commit title

Changes since v2:
- Dual license under GPL/X11.
- Use extra fixed regulator for usb1-vbus.

Chen-Yu Tsai (2):
ARM: dts: sunxi: Add fixed 5V regulator
ARM: dts: sun5i: Add DT for HSG H702 tablet board

 arch/arm/boot/dts/Makefile                     |   1 +
 arch/arm/boot/dts/sun5i-a13-hsg-h702.dts       | 130 +++++++++++++++++++++++++
 arch/arm/boot/dts/sunxi-common-regulators.dtsi |   7 ++
 3 files changed, 138 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun5i-a13-hsg-h702.dts
Signature · 1 line
2.1.0
#1 lore raw

PATCH v4 1/2 ARM: dts: sunxi: Add fixed 5V regulator

Most if not all boards we've seen have a fixed 5V regulator, which is the main power supply and/or fixed output of the PMIC.

Add this one to the common regulators DTSI.

---
 arch/arm/boot/dts/sunxi-common-regulators.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/sunxi-common-regulators.dtsi +7 -0
index 3d021ef..c9c5b10 100644
@@ -86,4 +86,11 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 	};
+
+	reg_vcc5v0: vcc5v0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc5v0";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+	};
 };
Signature · 1 line
2.1.0
#2 lore raw

PATCH v4 2/2 ARM: dts: sun5i: Add DT for HSG H702 tablet board

In reply to Chen-Yu Tsai

This is a Q8 format 7 inch tablet with an Allwinner A13 SoC. It has 512MB DRAM, 4GB NAND flash, an accelerometer, camera, RTL8188-based WiFi, and micro SD slot for external storage.

It is likely made by a subsidiary of Hanns.G (Hannstar).

---
 arch/arm/boot/dts/Makefile               |   1 +
 arch/arm/boot/dts/sun5i-a13-hsg-h702.dts | 130 +++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)
 create mode 100644 arch/arm/boot/dts/sun5i-a13-hsg-h702.dts
arch/arm/boot/dts/Makefile +1 -0
index ecb55a3..2f42b18 100644
@@ -406,6 +406,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \
 dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a10s-olinuxino-micro.dtb \
 	sun5i-a10s-r7-tv-dongle.dtb \
+	sun5i-a13-hsg-h702.dtb \
 	sun5i-a13-olinuxino.dtb \
 	sun5i-a13-olinuxino-micro.dtb
 dtb-$(CONFIG_MACH_SUN6I) += \
arch/arm/boot/dts/sun5i-a13-hsg-h702.dts new file +130 -0

130 lines not on this page · raw message

Signature · 1 line
2.1.0
#3 lore raw

v4 cover ARM: sun5i: Add DT for HSG H702 tablet board

In reply to Chen-Yu Tsai
Quoted 5 lines · Chen-Yu Tsai

Hi,

This is v4 of the HSG H702 tablet support patch. I've split the original patch into 2, one for the common 5V regulator, and the other for the tablet.

Applied both of them, 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/20140917/8fdf5c16/attachment-0001.sig>