Re: [PATCH v2 17/18] phy: dt-bindings: cdns,dphy: make clocks optional

From: Pratyush Yadav
Date: Thu Jun 03 2021 - 04:16:25 EST


On 02/06/21 03:27PM, Maxime Ripard wrote:
> Hi,
>
> On Wed, May 26, 2021 at 08:53:07PM +0530, Pratyush Yadav wrote:
> > The clocks are not used by the DPHY when used in Rx mode so make them
> > optional.
> >
> > Signed-off-by: Pratyush Yadav <p.yadav@xxxxxx>
> >
> > ---
> >
> > Changes in v2:
> > - Re-order subject prefixes.
> >
> > Documentation/devicetree/bindings/phy/cdns,dphy.yaml | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
> > index b90a58773bf2..3bb5be05e825 100644
> > --- a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
> > @@ -33,8 +33,6 @@ properties:
> > required:
> > - compatible
> > - reg
> > - - clocks
> > - - clock-names
>
> As far as I can remember from the cadence documentation, those clocks
> were required. I guess this is the integration that provides a few fixed
> clocks?

Yes. The clock divider/frequency has been set via the DPHY pins so no
need to set them via software.

--
Regards,
Pratyush Yadav
Texas Instruments Inc.