Message ID | 20220504065252.6955-1-zev@bewilderbeest.net |
---|---|
State | New |
Headers | show |
Series | regulator: core: Add support for external outputs | expand |
On Tue, May 03, 2022 at 11:52:47PM -0700, Zev Weiss wrote: > Some regulators do not provide power to anything within the system > described by a device tree, and simply supply an external output. The > regulator-external-output property can now be used to mark such > regulators. Why not just add a device representing this output? Presumably it has some other properties (eg, labelling for a connector) and may need some integration with some form of control mechanism.
On Tue, 3 May 2022 23:52:47 -0700, Zev Weiss wrote: > Some regulators do not provide power to anything within the system > described by a device tree, and simply supply an external output. The > regulator-external-output property can now be used to mark such > regulators. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [3/6] regulator: core: Add error flags to sysfs attributes commit: 0f2d636e7d1fd76f704dd3ea5089ce29a8aee049 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index a9b66ececccf..0e418e68b0e6 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -226,6 +226,12 @@ properties: description: Maximum difference between current and target voltages that can be changed safely in a single step. + regulator-external-output: + description: The regulator's output is external to the system + described by the device-tree; no devices within the system are + downstream of it. + type: boolean + patternProperties: ".*-supply$": description: Input supply phandle(s) for this node
Some regulators do not provide power to anything within the system described by a device tree, and simply supply an external output. The regulator-external-output property can now be used to mark such regulators. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> --- Documentation/devicetree/bindings/regulator/regulator.yaml | 6 ++++++ 1 file changed, 6 insertions(+)