Thread (47 messages) 47 messages, 7 authors, 2024-09-11

Re: [PATCH v6 09/12] i2c: of-prober: Add regulator support

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2024-09-05 19:13:57
Also in: chrome-platform, linux-arm-kernel, linux-i2c, linux-mediatek, lkml

On Thu, Sep 05, 2024 at 11:14:58AM -0700, Doug Anderson wrote:
On Thu, Sep 5, 2024 at 8:10 AM Chen-Yu Tsai [off-list ref] wrote:
...
I guess I'd have to see how the code looks to know for sure, but if I
understand it sounds a little awkward. Specifically, the "options"
sound like they might become complicated enough that you're inventing
your own little programming language (with delays, abilities to drive
pins low and high, abilities to turn on/off clocks, and abilities to
turn off/on regulators) and then probers need to code up their
programs in this language.
You beat me up to it. I have the same thought.
However, what is described is exactly what a regular PMIC has.
They already have their own language for exactly this purposes.
(At least I see that in a few Intel SoC-based platforms.)

So, after all it may be not a bad idea But would be good to have it
standardized (if it's even possible :-).

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help