diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-14 07:19:57 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-04-14 23:55:29 -0300 |
commit | 9045bb8a72a81b9772394addcc7e875851910480 (patch) | |
tree | affcd36b4ba32010a90065da8df90add60999fd2 /kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch | |
parent | b20fd8d9fab5440ca12add8bf632a33f92995c83 (diff) | |
download | abslibre-9045bb8a72a81b9772394addcc7e875851910480.tar.gz abslibre-9045bb8a72a81b9772394addcc7e875851910480.tar.bz2 abslibre-9045bb8a72a81b9772394addcc7e875851910480.zip |
linux-libre-lts{,-knock}: fix patches for C.H.I.P
Diffstat (limited to 'kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch')
-rw-r--r-- | kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch b/kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch new file mode 100644 index 000000000..b9333b202 --- /dev/null +++ b/kernels/linux-libre-lts-knock/0004-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch @@ -0,0 +1,34 @@ +From 5b3abbee42562a7bcdc6b589a3d8f9b5752550ed Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Tue, 22 Sep 2015 15:36:00 +0200 +Subject: [PATCH 4/5] ARM: dts: axp209: Add usb_power_supply child node to the ax209 node + +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@redhat.com> +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +--- + 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"; ++ }; + }; +-- +cgit v0.12 + |