* [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 9:12 ` Alexander Syring
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Syring @ 2017-04-03 9:12 UTC (permalink / raw)
To: alex
Cc: Rob Herring, Mark Rutland, Russell King, Maxime Ripard,
Chen-Yu Tsai, devicetree, linux-arm-kernel, linux-kernel,
linux-sunxi
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.
This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by: Alexander Syring <alex@asyring.de>
---
Send again to all relevant people
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index feb995d29799..98431ef15bc9 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -267,6 +267,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
@@ -333,3 +341,4 @@
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
};
+
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 9:12 ` Alexander Syring
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Syring @ 2017-04-03 9:12 UTC (permalink / raw)
To: linux-arm-kernel
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.
This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by: Alexander Syring <alex@asyring.de>
---
Send again to all relevant people
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index feb995d29799..98431ef15bc9 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -267,6 +267,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
@@ -333,3 +341,4 @@
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
};
+
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 9:12 ` Alexander Syring
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Syring @ 2017-04-03 9:12 UTC (permalink / raw)
To: alex
Cc: Mark Rutland, devicetree, linux-sunxi, Russell King,
linux-kernel, Chen-Yu Tsai, Rob Herring, Maxime Ripard,
linux-arm-kernel
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.
This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by: Alexander Syring <alex@asyring.de>
---
Send again to all relevant people
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index feb995d29799..98431ef15bc9 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -267,6 +267,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
@@ -333,3 +341,4 @@
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
};
+
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 11:48 ` Maxime Ripard
0 siblings, 0 replies; 7+ messages in thread
From: Maxime Ripard @ 2017-04-03 11:48 UTC (permalink / raw)
To: Alexander Syring
Cc: Rob Herring, Mark Rutland, Russell King, Chen-Yu Tsai,
devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]
Hi,
On Mon, Apr 03, 2017 at 11:12:45AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
> the CHG-IN pin or by USB.
>
> This enables the ACIN and the USB power supply subnode in the DT.
>
> Signed-off-by: Alexander Syring <alex@asyring.de>
> ---
>
> Send again to all relevant people
>
> ---
> arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> index feb995d29799..98431ef15bc9 100644
> --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> @@ -267,6 +267,10 @@
>
> #include "axp209.dtsi"
>
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> ®_dcdc2 {
> regulator-always-on;
> regulator-min-microvolt = <1000000>;
> @@ -323,6 +327,10 @@
> status = "okay";
> };
>
> +&usb_power_supply {
> + status = "okay";
> +};
> +
> &usbphy {
> pinctrl-names = "default";
> pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
> @@ -333,3 +341,4 @@
> usb2_vbus-supply = <®_usb2_vbus>;
> status = "okay";
> };
> +
You had a whitespace error here. I fixed it, and applied.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 11:48 ` Maxime Ripard
0 siblings, 0 replies; 7+ messages in thread
From: Maxime Ripard @ 2017-04-03 11:48 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On Mon, Apr 03, 2017 at 11:12:45AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
> the CHG-IN pin or by USB.
>
> This enables the ACIN and the USB power supply subnode in the DT.
>
> Signed-off-by: Alexander Syring <alex@asyring.de>
> ---
>
> Send again to all relevant people
>
> ---
> arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> index feb995d29799..98431ef15bc9 100644
> --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> @@ -267,6 +267,10 @@
>
> #include "axp209.dtsi"
>
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> ®_dcdc2 {
> regulator-always-on;
> regulator-min-microvolt = <1000000>;
> @@ -323,6 +327,10 @@
> status = "okay";
> };
>
> +&usb_power_supply {
> + status = "okay";
> +};
> +
> &usbphy {
> pinctrl-names = "default";
> pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
> @@ -333,3 +341,4 @@
> usb2_vbus-supply = <®_usb2_vbus>;
> status = "okay";
> };
> +
You had a whitespace error here. I fixed it, and applied.
Thanks!
Maxime
--
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: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170403/d2682128/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-04-03 11:48 ` Maxime Ripard
0 siblings, 0 replies; 7+ messages in thread
From: Maxime Ripard @ 2017-04-03 11:48 UTC (permalink / raw)
To: Alexander Syring
Cc: Rob Herring, Mark Rutland, Russell King, Chen-Yu Tsai,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]
Hi,
On Mon, Apr 03, 2017 at 11:12:45AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
> the CHG-IN pin or by USB.
>
> This enables the ACIN and the USB power supply subnode in the DT.
>
> Signed-off-by: Alexander Syring <alex-a4LgQbPKaXiELgA04lAiVw@public.gmane.org>
> ---
>
> Send again to all relevant people
>
> ---
> arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> index feb995d29799..98431ef15bc9 100644
> --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> @@ -267,6 +267,10 @@
>
> #include "axp209.dtsi"
>
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> ®_dcdc2 {
> regulator-always-on;
> regulator-min-microvolt = <1000000>;
> @@ -323,6 +327,10 @@
> status = "okay";
> };
>
> +&usb_power_supply {
> + status = "okay";
> +};
> +
> &usbphy {
> pinctrl-names = "default";
> pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
> @@ -333,3 +341,4 @@
> usb2_vbus-supply = <®_usb2_vbus>;
> status = "okay";
> };
> +
You had a whitespace error here. I fixed it, and applied.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode
@ 2017-03-31 13:58 Alexander Syring
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Syring @ 2017-03-31 13:58 UTC (permalink / raw)
To: linux-arm-kernel
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via
the CHG-IN pin or by USB.
This enables the ACIN and the USB power supply subnode in the DT.
Signed-off-by: Alexander Syring <alex@asyring.de>
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index feb995d29799..98431ef15bc9 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -267,6 +267,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
@@ -333,3 +341,4 @@
usb2_vbus-supply = <®_usb2_vbus>;
status = "okay";
};
+
--
2.11.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-04-03 11:48 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-03 9:12 [PATCH] ARM: sun7i: Cubietruck: enable ACIN und USB power supply subnode Alexander Syring
2017-04-03 9:12 ` Alexander Syring
2017-04-03 9:12 ` Alexander Syring
2017-04-03 11:48 ` Maxime Ripard
2017-04-03 11:48 ` Maxime Ripard
2017-04-03 11:48 ` Maxime Ripard
-- strict thread matches above, loose matches on Subject: below --
2017-03-31 13:58 Alexander Syring
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.