* [PATCH 0/6] ARM: dts: sunxi: Various sunxi devicetree patches
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
Hi Maxime,
Here is a bunch of sunxi dts patches which are ready for merging, some
are the result of the course I'm teaching during the weekends, some are
my own :)
I'm also sitting on another batch, which can go in as soon as the
axp209 usb-power-supply driver gets merged, so that we can support
otg on boards which use the pmic for vbus-det.
Regards,
Hans
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 0/6] ARM: dts: sunxi: Various sunxi devicetree patches
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
Hi Maxime,
Here is a bunch of sunxi dts patches which are ready for merging, some
are the result of the course I'm teaching during the weekends, some are
my own :)
I'm also sitting on another batch, which can go in as soon as the
axp209 usb-power-supply driver gets merged, so that we can support
otg on boards which use the pmic for vbus-det.
Regards,
Hans
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Add a simplefb node for tvencoder / composite-video output, such as found
on the Auxtek-T003 and the CHIP.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun5i-a10s.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index a6d55f0..3e47b3d 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -77,6 +77,15 @@
clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>;
status = "disabled";
};
+
+ framebuffer@2 {
+ compatible = "allwinner,simple-framebuffer",
+ "simple-framebuffer";
+ allwinner,pipeline = "de_be0-lcd0-tve0";
+ clocks = <&pll5 1>, <&ahb_gates 34>, <&ahb_gates 36>,
+ <&ahb_gates 44>;
+ status = "disabled";
+ };
};
clocks {
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
Add a simplefb node for tvencoder / composite-video output, such as found
on the Auxtek-T003 and the CHIP.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun5i-a10s.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
index a6d55f0..3e47b3d 100644
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
@@ -77,6 +77,15 @@
clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 44>;
status = "disabled";
};
+
+ framebuffer at 2 {
+ compatible = "allwinner,simple-framebuffer",
+ "simple-framebuffer";
+ allwinner,pipeline = "de_be0-lcd0-tve0";
+ clocks = <&pll5 1>, <&ahb_gates 34>, <&ahb_gates 36>,
+ <&ahb_gates 44>;
+ status = "disabled";
+ };
};
clocks {
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
Enable i2c bus 1 and 2 on the Wits A20 Pro DKT, these are used for
the touchscreen resp. the accelerometer.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
index da47608..85b500d 100644
--- a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
+++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
@@ -92,6 +92,18 @@
};
};
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+};
+
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_pins_a>;
+ status = "okay";
+};
+
#include "axp209.dtsi"
&mmc0 {
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
Enable i2c bus 1 and 2 on the Wits A20 Pro DKT, these are used for
the touchscreen resp. the accelerometer.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
index da47608..85b500d 100644
--- a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
+++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
@@ -92,6 +92,18 @@
};
};
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+};
+
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_pins_a>;
+ status = "okay";
+};
+
#include "axp209.dtsi"
&mmc0 {
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
Add regulator configuration to the pcduino3 dts file.
Signed-off-by: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 39 ++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index afc9ece..99e238b 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -111,6 +111,10 @@
allwinner,pins = "PH2";
};
+&cpu0 {
+ cpu-supply = <®_dcdc2>;
+};
+
&ehci0 {
status = "okay";
};
@@ -137,16 +141,14 @@
status = "okay";
axp209: pmic@34 {
- compatible = "x-powers,axp209";
reg = <0x34>;
interrupt-parent = <&nmi_intc>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
-
- interrupt-controller;
- #interrupt-cells = <1>;
};
};
+#include "axp209.dtsi"
+
&ir0 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_rx_pins_a>;
@@ -192,6 +194,31 @@
status = "okay";
};
+®_dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-cpu";
+};
+
+®_dcdc3 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-int-pll";
+};
+
+®_ldo1 {
+ regulator-name = "vdd-rtc";
+};
+
+®_ldo2 {
+ regulator-always-on;
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-name = "avcc";
+};
+
®_usb1_vbus {
status = "okay";
};
@@ -206,6 +233,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Jelle van der Waa <jelle@vdwaa.nl>
Add regulator configuration to the pcduino3 dts file.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 39 ++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index afc9ece..99e238b 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -111,6 +111,10 @@
allwinner,pins = "PH2";
};
+&cpu0 {
+ cpu-supply = <®_dcdc2>;
+};
+
&ehci0 {
status = "okay";
};
@@ -137,16 +141,14 @@
status = "okay";
axp209: pmic at 34 {
- compatible = "x-powers,axp209";
reg = <0x34>;
interrupt-parent = <&nmi_intc>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
-
- interrupt-controller;
- #interrupt-cells = <1>;
};
};
+#include "axp209.dtsi"
+
&ir0 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_rx_pins_a>;
@@ -192,6 +194,31 @@
status = "okay";
};
+®_dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-cpu";
+};
+
+®_dcdc3 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-int-pll";
+};
+
+®_ldo1 {
+ regulator-name = "vdd-rtc";
+};
+
+®_ldo2 {
+ regulator-always-on;
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-name = "avcc";
+};
+
®_usb1_vbus {
status = "okay";
};
@@ -206,6 +233,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
Enable the otg/drc usb controller on the pcDuino 3.
Note this board has the otg-vbus connected directly to the 5v-dcc of
the board, so there is no vbus0 regulator, nor vbus0-det.
Signed-off-by: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index 99e238b..08cf715 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -173,6 +173,10 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
&pio {
led_pins_pcduino3: led_pins@0 {
allwinner,pins = "PH15", "PH16";
@@ -187,6 +191,13 @@
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ usb0_id_detect_pin: usb0_id_detect_pin@0 {
+ allwinner,pins = "PH4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
};
®_ahci_5v {
@@ -237,7 +248,15 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
&usbphy {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_id_detect_pin>;
+ usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Jelle van der Waa <jelle@vdwaa.nl>
Enable the otg/drc usb controller on the pcDuino 3.
Note this board has the otg-vbus connected directly to the 5v-dcc of
the board, so there is no vbus0 regulator, nor vbus0-det.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
index 99e238b..08cf715 100644
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -173,6 +173,10 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
&pio {
led_pins_pcduino3: led_pins at 0 {
allwinner,pins = "PH15", "PH16";
@@ -187,6 +191,13 @@
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ usb0_id_detect_pin: usb0_id_detect_pin at 0 {
+ allwinner,pins = "PH4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
};
®_ahci_5v {
@@ -237,7 +248,15 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
&usbphy {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_id_detect_pin>;
+ usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
From: Ralph Benadski <benadski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Enable the otg/drc usb controller on the cubieboard2.
Note this board has the otg-vbus connected directly to the 5v-dcc of
the board, so there is no vbus0 regulator, nor vbus0-det.
Signed-off-by: Ralph Benadski <benadski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index f35957d..7cbb22b 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -207,6 +207,10 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
&pio {
led_pins_cubieboard2: led_pins@0 {
allwinner,pins = "PH20", "PH21";
@@ -214,12 +218,24 @@
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ usb0_id_detect_pin: usb0_id_detect_pin@0 {
+ allwinner,pins = "PH4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
};
®_ahci_5v {
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
#include "axp209.dtsi"
®_dcdc2 {
@@ -262,6 +278,9 @@
};
&usbphy {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_id_detect_pin>;
+ usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Ralph Benadski <benadski@gmail.com>
Enable the otg/drc usb controller on the cubieboard2.
Note this board has the otg-vbus connected directly to the 5v-dcc of
the board, so there is no vbus0 regulator, nor vbus0-det.
Signed-off-by: Ralph Benadski <benadski@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index f35957d..7cbb22b 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -207,6 +207,10 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
&pio {
led_pins_cubieboard2: led_pins at 0 {
allwinner,pins = "PH20", "PH21";
@@ -214,12 +218,24 @@
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ usb0_id_detect_pin: usb0_id_detect_pin at 0 {
+ allwinner,pins = "PH4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
};
®_ahci_5v {
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
#include "axp209.dtsi"
®_dcdc2 {
@@ -262,6 +278,9 @@
};
&usbphy {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_id_detect_pin>;
+ usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
usb1_vbus-supply = <®_usb1_vbus>;
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:44 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede
The gt90h is a pcb found in generic 9" tablets with an A23 soc, 1G RAM
and 8G nand, rtl8723as usb wifi, 1 micro usb port and 1 micro sd slot.
This commit adds a dts for v4 of the gt90h pcb.
Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts | 145 +++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
create mode 100644 arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d639774..6aa657f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -600,6 +600,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-wits-pro-a20-dkt.dtb
dtb-$(CONFIG_MACH_SUN8I) += \
sun8i-a23-evb.dtb \
+ sun8i-a23-gt90h-v4.dtb \
sun8i-a23-ippo-q8h-v5.dtb \
sun8i-a23-ippo-q8h-v1.2.dtb \
sun8i-a33-et-q8-v1.6.dtb \
diff --git a/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
new file mode 100644
index 0000000..1aeb06c
--- /dev/null
+++ b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2015 Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ * a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ * b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun8i-a23.dtsi"
+#include "sunxi-common-regulators.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+/ {
+ model = "Allwinner GT90H Quad Core Tablet (v4)";
+ compatible = "allwinner,gt90h-v4", "allwinner,sun8i-a33";
+
+ aliases {
+ serial0 = &r_uart;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&ehci0 {
+ status = "okay";
+};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ status = "okay";
+};
+
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+};
+
+&lradc {
+ vref-supply = <®_vcc3v0>;
+ status = "okay";
+
+ button@200 {
+ label = "Volume Up";
+ linux,code = <KEY_VOLUMEUP>;
+ channel = <0>;
+ voltage = <200000>;
+ };
+
+ button@400 {
+ label = "Volume Down";
+ linux,code = <KEY_VOLUMEDOWN>;
+ channel = <0>;
+ voltage = <400000>;
+ };
+
+ button@600 {
+ label = "Back";
+ linux,code = <KEY_BACK>;
+ channel = <0>;
+ voltage = <600000>;
+ };
+};
+
+&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 = <®_vcc3v0>;
+ bus-width = <4>;
+ cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
+ cd-inverted;
+ status = "okay";
+};
+
+&pio {
+ mmc0_cd_pin_gt90h: mmc0_cd_pin@0 {
+ allwinner,pins = "PB4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
+};
+
+&r_uart {
+ pinctrl-names = "default";
+ pinctrl-0 = <&r_uart_pins_a>;
+ status = "okay";
+};
+
+/*
+ * FIXME for now we only support host mode and rely on u-boot to have
+ * turned on Vbus which is controlled by the axp223 pmic on the board.
+ *
+ * Once we have axp223 support we should switch to fully supporting otg.
+ */
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&usbphy {
+ status = "okay";
+};
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets
@ 2015-08-14 14:44 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:44 UTC (permalink / raw)
To: linux-arm-kernel
The gt90h is a pcb found in generic 9" tablets with an A23 soc, 1G RAM
and 8G nand, rtl8723as usb wifi, 1 micro usb port and 1 micro sd slot.
This commit adds a dts for v4 of the gt90h pcb.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts | 145 +++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
create mode 100644 arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d639774..6aa657f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -600,6 +600,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-wits-pro-a20-dkt.dtb
dtb-$(CONFIG_MACH_SUN8I) += \
sun8i-a23-evb.dtb \
+ sun8i-a23-gt90h-v4.dtb \
sun8i-a23-ippo-q8h-v5.dtb \
sun8i-a23-ippo-q8h-v1.2.dtb \
sun8i-a33-et-q8-v1.6.dtb \
diff --git a/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
new file mode 100644
index 0000000..1aeb06c
--- /dev/null
+++ b/arch/arm/boot/dts/sun8i-a23-gt90h-v4.dts
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ * a) This file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ * b) Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun8i-a23.dtsi"
+#include "sunxi-common-regulators.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+/ {
+ model = "Allwinner GT90H Quad Core Tablet (v4)";
+ compatible = "allwinner,gt90h-v4", "allwinner,sun8i-a33";
+
+ aliases {
+ serial0 = &r_uart;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&ehci0 {
+ status = "okay";
+};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ status = "okay";
+};
+
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins_a>;
+ status = "okay";
+};
+
+&lradc {
+ vref-supply = <®_vcc3v0>;
+ status = "okay";
+
+ button at 200 {
+ label = "Volume Up";
+ linux,code = <KEY_VOLUMEUP>;
+ channel = <0>;
+ voltage = <200000>;
+ };
+
+ button at 400 {
+ label = "Volume Down";
+ linux,code = <KEY_VOLUMEDOWN>;
+ channel = <0>;
+ voltage = <400000>;
+ };
+
+ button at 600 {
+ label = "Back";
+ linux,code = <KEY_BACK>;
+ channel = <0>;
+ voltage = <600000>;
+ };
+};
+
+&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 = <®_vcc3v0>;
+ bus-width = <4>;
+ cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
+ cd-inverted;
+ status = "okay";
+};
+
+&pio {
+ mmc0_cd_pin_gt90h: mmc0_cd_pin at 0 {
+ allwinner,pins = "PB4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
+};
+
+&r_uart {
+ pinctrl-names = "default";
+ pinctrl-0 = <&r_uart_pins_a>;
+ status = "okay";
+};
+
+/*
+ * FIXME for now we only support host mode and rely on u-boot to have
+ * turned on Vbus which is controlled by the axp223 pmic on the board.
+ *
+ * Once we have axp223 support we should switch to fully supporting otg.
+ */
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&usbphy {
+ status = "okay";
+};
--
2.4.3
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-14 14:50 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:50 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
Hi Maxime,
On 14-08-15 16:44, Hans de Goede wrote:
> Enable i2c bus 1 and 2 on the Wits A20 Pro DKT, these are used for
> the touchscreen resp. the accelerometer.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Erm, please skip this one it depends on another patch
(which adds the sun7i-a20-wits-pro-a20-dkt.dts), which
I've not submitted yet as it depends on the axp
usb-power-supply driver.
So as said please skip this one, I've squashed it into
the patch adding the dts file, which I will submit
later.
Regards,
Hans
> ---
> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> index da47608..85b500d 100644
> --- a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> @@ -92,6 +92,18 @@
> };
> };
>
> +&i2c1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c1_pins_a>;
> + status = "okay";
> +};
> +
> +&i2c2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c2_pins_a>;
> + status = "okay";
> +};
> +
> #include "axp209.dtsi"
>
> &mmc0 {
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT
@ 2015-08-14 14:50 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-14 14:50 UTC (permalink / raw)
To: linux-arm-kernel
Hi Maxime,
On 14-08-15 16:44, Hans de Goede wrote:
> Enable i2c bus 1 and 2 on the Wits A20 Pro DKT, these are used for
> the touchscreen resp. the accelerometer.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Erm, please skip this one it depends on another patch
(which adds the sun7i-a20-wits-pro-a20-dkt.dts), which
I've not submitted yet as it depends on the axp
usb-power-supply driver.
So as said please skip this one, I've squashed it into
the patch adding the dts file, which I will submit
later.
Regards,
Hans
> ---
> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> index da47608..85b500d 100644
> --- a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
> @@ -92,6 +92,18 @@
> };
> };
>
> +&i2c1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c1_pins_a>;
> + status = "okay";
> +};
> +
> +&i2c2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c2_pins_a>;
> + status = "okay";
> +};
> +
> #include "axp209.dtsi"
>
> &mmc0 {
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-20 6:43 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:43 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Hi,
On Fri, Aug 14, 2015 at 04:44:32PM +0200, Hans de Goede wrote:
> Add a simplefb node for tvencoder / composite-video output, such as found
> on the Auxtek-T003 and the CHIP.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Queued, thanks!
I guess the CHIP will have to have the same change for the A13 DTSI.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output
@ 2015-08-20 6:43 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:43 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Fri, Aug 14, 2015 at 04:44:32PM +0200, Hans de Goede wrote:
> Add a simplefb node for tvencoder / composite-video output, such as found
> on the Auxtek-T003 and the CHIP.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Queued, thanks!
I guess the CHIP will have to have the same change for the A13 DTSI.
Maxime
--
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/20150820/e5078225/attachment.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-20 6:44 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:44 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Fri, Aug 14, 2015 at 04:44:34PM +0200, Hans de Goede wrote:
> From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
>
> Add regulator configuration to the pcduino3 dts file.
>
> Signed-off-by: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Queued, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file
@ 2015-08-20 6:44 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:44 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 14, 2015 at 04:44:34PM +0200, Hans de Goede wrote:
> From: Jelle van der Waa <jelle@vdwaa.nl>
>
> Add regulator configuration to the pcduino3 dts file.
>
> Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Queued, thanks!
Maxime
--
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/20150820/53c09db3/attachment.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-20 6:45 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:45 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
> From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
>
> Enable the otg/drc usb controller on the pcDuino 3.
>
> Note this board has the otg-vbus connected directly to the 5v-dcc of
> the board, so there is no vbus0 regulator, nor vbus0-det.
Can it do OTG then? If VBUS is tied to the 5v, there's no way for the
board to shut it down when acting as peripheral, right?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
@ 2015-08-20 6:45 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:45 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
> From: Jelle van der Waa <jelle@vdwaa.nl>
>
> Enable the otg/drc usb controller on the pcDuino 3.
>
> Note this board has the otg-vbus connected directly to the 5v-dcc of
> the board, so there is no vbus0 regulator, nor vbus0-det.
Can it do OTG then? If VBUS is tied to the 5v, there's no way for the
board to shut it down when acting as peripheral, right?
Maxime
--
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/20150820/b32cc8e0/attachment-0001.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-20 6:47 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:47 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
On Fri, Aug 14, 2015 at 04:44:37PM +0200, Hans de Goede wrote:
> The gt90h is a pcb found in generic 9" tablets with an A23 soc, 1G RAM
> and 8G nand, rtl8723as usb wifi, 1 micro usb port and 1 micro sd slot.
>
> This commit adds a dts for v4 of the gt90h pcb.
>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Applied, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets
@ 2015-08-20 6:47 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 6:47 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 14, 2015 at 04:44:37PM +0200, Hans de Goede wrote:
> The gt90h is a pcb found in generic 9" tablets with an A23 soc, 1G RAM
> and 8G nand, rtl8723as usb wifi, 1 micro usb port and 1 micro sd slot.
>
> This commit adds a dts for v4 of the gt90h pcb.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Applied, thanks!
Maxime
--
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/20150820/2ff0c2cc/attachment.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [linux-sunxi] Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
2015-08-20 6:45 ` Maxime Ripard
@ 2015-08-20 7:36 ` Hans de Goede
-1 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-20 7:36 UTC (permalink / raw)
To: Maxime Ripard
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
Hi,
On 08/20/2015 08:45 AM, Maxime Ripard wrote:
> On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
>> From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
>>
>> Enable the otg/drc usb controller on the pcDuino 3.
>>
>> Note this board has the otg-vbus connected directly to the 5v-dcc of
>> the board, so there is no vbus0 regulator, nor vbus0-det.
>
> Can it do OTG then?
Yes.
> If VBUS is tied to the 5v, there's no way for the
> board to shut it down when acting as peripheral, right?
Correct, the idea is to power it over otg when using it
as a peripheral, or at least power it from a usb port of
the machine for which it is a peripheral. Note that the
original cubieboard (both A10 and A20 versions) have the
same issue.
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 30+ messages in thread
* [linux-sunxi] Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
@ 2015-08-20 7:36 ` Hans de Goede
0 siblings, 0 replies; 30+ messages in thread
From: Hans de Goede @ 2015-08-20 7:36 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On 08/20/2015 08:45 AM, Maxime Ripard wrote:
> On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
>> From: Jelle van der Waa <jelle@vdwaa.nl>
>>
>> Enable the otg/drc usb controller on the pcDuino 3.
>>
>> Note this board has the otg-vbus connected directly to the 5v-dcc of
>> the board, so there is no vbus0 regulator, nor vbus0-det.
>
> Can it do OTG then?
Yes.
> If VBUS is tied to the 5v, there's no way for the
> board to shut it down when acting as peripheral, right?
Correct, the idea is to power it over otg when using it
as a peripheral, or at least power it from a usb port of
the machine for which it is a peripheral. Note that the
original cubieboard (both A10 and A20 versions) have the
same issue.
Regards,
Hans
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
2015-08-20 7:36 ` Hans de Goede
@ 2015-08-20 15:03 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 15:03 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
On Thu, Aug 20, 2015 at 09:36:33AM +0200, Hans de Goede wrote:
> Hi,
>
> On 08/20/2015 08:45 AM, Maxime Ripard wrote:
> >On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
> >>From: Jelle van der Waa <jelle-oJJ1AqDjjO4@public.gmane.org>
> >>
> >>Enable the otg/drc usb controller on the pcDuino 3.
> >>
> >>Note this board has the otg-vbus connected directly to the 5v-dcc of
> >>the board, so there is no vbus0 regulator, nor vbus0-det.
> >
> >Can it do OTG then?
>
> Yes.
>
> >If VBUS is tied to the 5v, there's no way for the
> >board to shut it down when acting as peripheral, right?
>
> Correct, the idea is to power it over otg when using it
> as a peripheral, or at least power it from a usb port of
> the machine for which it is a peripheral. Note that the
> original cubieboard (both A10 and A20 versions) have the
> same issue.
Hmmm, I see. I'll queue your patch then.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [linux-sunxi] Re: [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3
@ 2015-08-20 15:03 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 15:03 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 20, 2015 at 09:36:33AM +0200, Hans de Goede wrote:
> Hi,
>
> On 08/20/2015 08:45 AM, Maxime Ripard wrote:
> >On Fri, Aug 14, 2015 at 04:44:35PM +0200, Hans de Goede wrote:
> >>From: Jelle van der Waa <jelle@vdwaa.nl>
> >>
> >>Enable the otg/drc usb controller on the pcDuino 3.
> >>
> >>Note this board has the otg-vbus connected directly to the 5v-dcc of
> >>the board, so there is no vbus0 regulator, nor vbus0-det.
> >
> >Can it do OTG then?
>
> Yes.
>
> >If VBUS is tied to the 5v, there's no way for the
> >board to shut it down when acting as peripheral, right?
>
> Correct, the idea is to power it over otg when using it
> as a peripheral, or at least power it from a usb port of
> the machine for which it is a peripheral. Note that the
> original cubieboard (both A10 and A20 versions) have the
> same issue.
Hmmm, I see. I'll queue your patch then.
Thanks!
Maxime
--
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/20150820/ecf37948/attachment.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2
2015-08-14 14:44 ` Hans de Goede
@ 2015-08-20 15:04 ` Maxime Ripard
-1 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 15:04 UTC (permalink / raw)
To: Hans de Goede
Cc: Jelle van der Waa, Ralph Willekes,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
On Fri, Aug 14, 2015 at 04:44:36PM +0200, Hans de Goede wrote:
> From: Ralph Benadski <benadski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> Enable the otg/drc usb controller on the cubieboard2.
>
> Note this board has the otg-vbus connected directly to the 5v-dcc of
> the board, so there is no vbus0 regulator, nor vbus0-det.
>
> Signed-off-by: Ralph Benadski <benadski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Queued, thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2
@ 2015-08-20 15:04 ` Maxime Ripard
0 siblings, 0 replies; 30+ messages in thread
From: Maxime Ripard @ 2015-08-20 15:04 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 14, 2015 at 04:44:36PM +0200, Hans de Goede wrote:
> From: Ralph Benadski <benadski@gmail.com>
>
> Enable the otg/drc usb controller on the cubieboard2.
>
> Note this board has the otg-vbus connected directly to the 5v-dcc of
> the board, so there is no vbus0 regulator, nor vbus0-det.
>
> Signed-off-by: Ralph Benadski <benadski@gmail.com>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Queued, thanks!
Maxime
--
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/20150820/342e3c86/attachment.sig>
^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2015-08-20 15:04 UTC | newest]
Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-14 14:44 [PATCH 0/6] ARM: dts: sunxi: Various sunxi devicetree patches Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-14 14:44 ` [PATCH 1/6] ARM: dts: sun5i: Add simplefb node for tvencoder output Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 6:43 ` Maxime Ripard
2015-08-20 6:43 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 2/6] ARM: dts: sun7i: Enable i2c bus 1 and 2 on the Wits A20 Pro DKT Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-14 14:50 ` Hans de Goede
2015-08-14 14:50 ` Hans de Goede
2015-08-14 14:44 ` [PATCH 3/6] ARM: dts: sun7i: Add regulator configuration to the pcduino3 dts file Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 6:44 ` Maxime Ripard
2015-08-20 6:44 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on pcDuino 3 Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 6:45 ` Maxime Ripard
2015-08-20 6:45 ` Maxime Ripard
2015-08-20 7:36 ` [linux-sunxi] " Hans de Goede
2015-08-20 7:36 ` Hans de Goede
[not found] ` <55D58381.7040801-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 15:03 ` Maxime Ripard
2015-08-20 15:03 ` [linux-sunxi] " Maxime Ripard
2015-08-14 14:44 ` [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on cubieboard2 Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 15:04 ` Maxime Ripard
2015-08-20 15:04 ` Maxime Ripard
2015-08-14 14:44 ` [PATCH 6/6] ARM: dts: sun8i: Add support for qt90h-v4 tablets Hans de Goede
2015-08-14 14:44 ` Hans de Goede
[not found] ` <1439563477-12295-7-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-20 6:47 ` Maxime Ripard
2015-08-20 6:47 ` Maxime Ripard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.