dt-bindings: gpio-regulator: add vin-supply property support

This is same scheme as fixed-regulator.

Without that property used, the parent regulator can be shut down (if not an always on).
Thus leading to inappropriate behavior:
On am62-SP-SK this fix is required to avoid tps65219 ldo1 (SDMMC rail) to be shut down after boot completion.

Signed-off-by: Jerome Neanne <jneanne@baylibre.com>
Link: https://lore.kernel.org/r/20220929132526.29427-3-jneanne@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jerome Neanne 2022-09-29 15:25:26 +02:00 committed by Mark Brown
parent adfdfcbdbd
commit 392cc0a4a0
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -85,6 +85,9 @@ properties:
- current
default: voltage
vin-supply:
description: Input supply phandle.
required:
- compatible
- regulator-name