This is simillar needs and implementation as fixed-regulator. Used to extract regulator parent from the device tree. Provide implementation and bindings for vin-supply property. Jerome Neanne (2): regulator: gpio: Add input_supply support in gpio_regulator_config dt-bindings: gpio-regulator: add vin-supply property support .../bindings/regulator/gpio-regulator.yaml | 3 +++ drivers/regulator/gpio-regulator.c | 15 +++++++++++++++ include/linux/regulator/gpio-regulator.h | 2 ++ 3 files changed, 20 insertions(+) -- 2.17.1