Re: [RFC PATCH v2 1/3] regulator: bindings: Add properties for coupled regulators

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, Oct 18, 2017 at 02:47:00PM +0200, Maciej Purski wrote:
> Some regulators require keeping their voltage spread below defined
> max_spread.
> 
> Add properties to provide information on regulators' coupling.
> 
> Signed-off-by: Maciej Purski <m.purski@xxxxxxxxxxx>
> ---
>  Documentation/devicetree/bindings/regulator/regulator.txt | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
> index 378f6dc..6769565 100644
> --- a/Documentation/devicetree/bindings/regulator/regulator.txt
> +++ b/Documentation/devicetree/bindings/regulator/regulator.txt
> @@ -60,6 +60,10 @@ Optional properties:
>  	0: Disable active discharge.
>  	1: Enable active discharge.
>  	Absence of this property will leave configuration to default.
> +- regulator-coupled-with: Phandle to regulators with which the regulator
> +  should be coupled. Allow up to 9 phandles.

9? Sounds like a driver detail and pretty arbitrary.

Is this linkage 2-way meaning 2 coupled regulators both have links to 
the other one? If so, then what happens when you have a high number? If 
not, how does one decide which regulator has this property? 

> +- regulator-coupled-max-spread: Max spread between voltages of coupled regulators
> +  in microvolts.
>  
>  Deprecated properties:
>  - regulator-compatible: If a regulator chip contains multiple
> -- 
> 2.7.4
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux