[PATCH v2 4/9] regulator: lp873x: Add support for populating input supply
From: robh@kernel.org (Rob Herring)
Date: 2016-11-09 18:26:18
Also in:
linux-devicetree, linux-omap
On Wed, Nov 02, 2016 at 10:58:40AM +0530, Lokesh Vutla wrote:
On Monday 31 October 2016 02:11 AM, Rob Herring wrote:quoted
On Fri, Oct 21, 2016 at 04:08:36PM +0530, Lokesh Vutla wrote:quoted
In order to have a proper topology of regulators for a platform, each registering regulator needs to populate supply_name field for identifying its supply's name. Add supply_name field for lp873x regulators. Cc: Lee Jones <redacted> Cc: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <redacted> --- Documentation/devicetree/bindings/mfd/lp873x.txt | 8 ++++++++ drivers/regulator/lp873x-regulator.c | 1 + 2 files changed, 9 insertions(+)diff --git a/Documentation/devicetree/bindings/mfd/lp873x.txt b/Documentation/devicetree/bindings/mfd/lp873x.txt index 52766c2..998837a 100644 --- a/Documentation/devicetree/bindings/mfd/lp873x.txt +++ b/Documentation/devicetree/bindings/mfd/lp873x.txt@@ -7,6 +7,9 @@ Required properties: - #gpio-cells: Should be two. The first cell is the pin number and the second cell is used to specify flags. See ../gpio/gpio.txt for more information. + - xxx-in-supply: Phandle to parent supply node of each regulator + populated under regulators node. xxx should match + the supply_name populated in driver.The driver is irrelevant. This should reference a list in this document.okay. See if the below updated patch is fine. -----------------------------8<----------------------------8<---------------------------- From 666f925423fa35c7bfcc77fa3c883cbea5d8ef8e Mon Sep 17 00:00:00 2001 From: Lokesh Vutla <redacted> Date: Wed, 21 Sep 2016 11:50:49 +0530 Subject: [PATCH v3] regulator: lp873x: Add support for populating input supply In order to have a proper topology of regulators for a platform, each registering regulator needs to populate supply_name field for identifying its supply's name. Add supply_name field for lp873x regulators. Signed-off-by: Lokesh Vutla <redacted> --- Documentation/devicetree/bindings/mfd/lp873x.txt | 8 ++++++++ drivers/regulator/lp873x-regulator.c | 1 + 2 files changed, 9 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>