Re: [PATCH v2 2/2] regulator: Add support for TI TPS6287x regulators

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

 



On 5/5/23 13:52, Mark Brown wrote:
On Fri, May 05, 2023 at 08:46:06AM +0200, Mårten Lindahl wrote:

2. Dynamically set the range when a new voltage is set. This way any
    voltage from
    0.4V to 3.35V could be set if the DT node has:
    regulator-min-microvolt = <400000>;
    regulator-max-microvolt = <3350000>;
You can probably use one of the linear range mappings with a custom
set/get which munges the range selection and voltage selection into a
single value.

Hi Mark!

I found the *sel_pickable_regmap helpers which seems to do what I need for this.

Thanks!

Kind regards

Mårten




[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