Messages in this thread | | | Date | Sun, 8 Oct 2023 12:40:29 +0200 | Subject | Re: [PATCH v3 2/3] regulator: dt-bindings: Add mps,mpq2286 power-management IC | From | Krzysztof Kozlowski <> |
| |
On 08/10/2023 03:20, Guenter Roeck wrote: > On Sat, Oct 07, 2023 at 10:28:02PM +0530, Saravanan Sekar wrote: >> Document mpq2286 power-management IC. Instead of simple 'buck', 'buck0' is >> used to keep the driver common which handles multiple regulators. > > Sorry for the maybe dumb question, but where can I find the driver > depencency on buck naming ?
I guess it is because: PMBUS_REGULATOR_STEP("buck", 0, MPQ7932_N_VOLTAGES, creates regulator name as buck+id (so buck0).
However as Rob pointed out, driver can handle buck for this variant. We want the bindings to be independent from Linux implementation and this patch here adds such dependency.
Therefore I still believe this should be just "buck", unless the datasheet says it is "buck0". Which I doubt.
Best regards, Krzysztof
| |