Messages in this thread | | | From | Doug Anderson <> | Date | Thu, 21 Jul 2022 07:52:01 -0700 | Subject | Re: [PATCH v16 0/3] eDP/DP Phy vdda realted function |
| |
Hi,
On Thu, Jul 21, 2022 at 7:39 AM Doug Anderson <dianders@chromium.org> wrote: > > > You could add a way to specify constant base loads in DT on either a per > > regulator or per consumer basis. > > Yes, this please! ...on a per consumer basis. :-) It's been on my > wishlist for a while and would eliminate a massive amount of code / > tables in the drivers. > > We could debate syntax, but I guess you'd either do it w/ two cells > > vdda-phy-supply = <&vdda_mipi_dsi0_1p2 21800>; > > ...or with matching properties: > > vdda-phy-supply = <&vdda_mipi_dsi0_1p2>; > vdda-phy-supply-base-load = <21800>;
Ah, sorry to respond to my own thread so quickly, but I just thought of a reason for the "matching properties" solution instead of the two cells. It would allow the SoC "dtsi" file to specify a base load while the board "dts" file can then specify the supply. That feels like it could be a nice solution.
-Doug
| |