From f62f8ff0be814cf39eff307bc8231cece266834c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 13 Apr 2016 12:39:03 -0300 Subject: linux-libre-lts{,-knock}: add more patches and adapt sun5i-r8.dtsi for 4.1 kernels --- ...power_supply-child-node-to-the-ax209-node.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libre/linux-libre-lts/0007-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch (limited to 'libre/linux-libre-lts/0007-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch') diff --git a/libre/linux-libre-lts/0007-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch b/libre/linux-libre-lts/0007-ARM-dts-axp209-Add-usb_power_supply-child-node-to-the-ax209-node.patch new file mode 100644 index 000000000..82484923a --- /dev/null +++ b/libre/linux-libre-lts/0007-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 +Date: Tue, 22 Sep 2015 15:36:00 +0200 +Subject: [PATCH 7/9] 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 +Signed-off-by: Maxime Ripard +--- + 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 + -- cgit v1.2.3-2-g168b