Re: Re: [PATCH 1/6] dt-bindings: clocks: add binding for generic clock-generators

From: Stephen Boyd
Date: Wed Jul 10 2024 - 19:21:26 EST


Quoting Heiko Stübner (2024-07-10 00:45:17)
> Am Mittwoch, 10. Juli 2024, 09:02:34 CEST schrieb Alexander Stein:
> >
> > So essentially only enable-gpios and vdd-supply is added in comparison to
> > fixed-clock. Does it make sense to add that to the fixed-clocks instead?
> > Similar to fixed-regulator.
>
> I wasn't that sure which way to go in the first place.
> The deciding point was reading that line about the fixed clock not
> being gateable, so I opted to not touch the fixed-clock.
>
> But you're definitly right, this _could_ live inside the fixed-clock
> as well, if we decide to get rid of the not-gateable thing above.

It's probably more complicated to combine it with the fixed-clock
binding after making properties required like vdd-supply. I'd just make
a new binding and look at combining later.