devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] ARM: dts: axp209: Add usb_power_supply child node to the ax209 node
@ 2015-09-22 13:36 Hans de Goede
       [not found] ` <1442928966-6418-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Hans de Goede @ 2015-09-22 13:36 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede

Add a node representing the usb power supply part of the axp209 pmic, note
that the usb power supply and the (to be added later) ac power supply will
each have their own child-node, so that they can be separately specified
as power-supply for other nodes using a power-supply property with a
phandle pointing to the right axp209 child-node.

Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/boot/dts/axp209.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi
index 24c935c..051ab3b 100644
--- a/arch/arm/boot/dts/axp209.dtsi
+++ b/arch/arm/boot/dts/axp209.dtsi
@@ -89,4 +89,9 @@
 			regulator-name = "ldo5";
 		};
 	};
+
+	usb_power_supply: usb_power_supply {
+		compatible = "x-powers,axp202-usb-power-supply";
+		status = "disabled";
+	};
 };
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-10-11 16:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 13:36 [PATCH 1/6] ARM: dts: axp209: Add usb_power_supply child node to the ax209 node Hans de Goede
     [not found] ` <1442928966-6418-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-22 13:36   ` [PATCH 2/6] ARM: dts: sun7i: Enable USB DRC on Bananapi Hans de Goede
     [not found]     ` <1442928966-6418-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-23  8:07       ` Jens Thiele
     [not found]         ` <87io718so8.fsf-k/3wkfGq5Xs@public.gmane.org>
2015-09-23  8:47           ` [linux-sunxi] " Hans de Goede
2015-09-29  8:04       ` Maxime Ripard
2015-09-29  8:26         ` [linux-sunxi] " Hans de Goede
     [not found]           ` <560A4B3D.4040007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-01  8:32             ` Maxime Ripard
2015-10-08  8:37               ` [linux-sunxi] " Hans de Goede
     [not found]                 ` <56162B53.8020800-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-11 16:47                   ` Maxime Ripard
2015-10-11 16:46       ` Maxime Ripard
2015-09-22 13:36   ` [PATCH 3/6] ARM: dts: sun7i: Enable USB DRC on orangepi-mini Hans de Goede
2015-09-22 13:36   ` [PATCH 4/6] ARM: dts: sun7i: Enable USB DRC on the Orange pi Hans de Goede
2015-09-22 13:36   ` [PATCH 5/6] ARM: dts: sun7i: Enable USB DRC on Wexler TAB7200 Hans de Goede
2015-09-22 13:36   ` [PATCH 6/6] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).