Re: [PATCH v4 3/3] clk: at91: allow setting all PMC clock parents via DT

From: Michał Mirosław
Date: Mon May 04 2020 - 16:12:26 EST


On Mon, May 04, 2020 at 10:04:31PM +0200, Alexandre Belloni wrote:
> Hi,
>
> On 03/05/2020 19:19:26+0200, Michał Mirosław wrote:
> > diff --git a/include/dt-bindings/clock/at91.h b/include/dt-bindings/clock/at91.h
> > index c3f4aa6a2d29..adcf608b41fa 100644
> > --- a/include/dt-bindings/clock/at91.h
> > +++ b/include/dt-bindings/clock/at91.h
> > @@ -21,6 +21,9 @@
> > #define PMC_MCK2 4
> > #define PMC_I2S0_MUX 5
> > #define PMC_I2S1_MUX 6
> > +#define PMC_PLLACK 7
> > +#define PMC_PLLBCK 8
> > +#define PMC_AUDIOPLLCK 8 /* SAMA5D2-only, no PLLB there */
> Just use 9 here because we can't know for sure that a future SoC won't
> have both a PLLB and audio PLL.

Ok. I assumed that PLLB is only in old generations. Fix coming shortly.

Best Regrads,
Michał Mirosław