Re: [PATCH 21/37] dt-bindings: clock: add r9a08g045 CPG clocks and resets definitions

From: claudiu beznea
Date: Thu Sep 28 2023 - 00:54:56 EST


Hi, Geert,

On 15.09.2023 14:59, Geert Uytterhoeven wrote:
> On Tue, Sep 12, 2023 at 6:53 AM Claudiu <claudiu.beznea@xxxxxxxxx> wrote:
>> From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
>>
>> Add RZ/G3S (R9A08G045) Clock Pulse Generator (CPG) core clocks, module
>> clocks and resets.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
>
> Thanks for your patch!
>
>> --- /dev/null
>> +++ b/include/dt-bindings/clock/r9a08g045-cpg.h
>
>> +/* R9A08G045 Module Clocks */
>
>> +#define R9A08G045_USB_U2H0_HCLK 65
>> +#define R9A08G045_USB_U2H1_HCLK 66
>> +#define R9A08G045_USB_U2P_EXR_CPUCLK 67
>> +#define R9A08G045_USB_PCLK 68
>> +#define R9A08G045_USB_SCLK 69
>
> There is no USB_SCLK bit in CPG_CLKON_USB, so please drop
> R9A08G045_USB_SCLK.
>
>> +/* R9A08G045 Resets */
>
>> +#define R9A08G045_SRAM_ACPU_ARESETN0 11
>> +#define R9A08G045_SRAM_ACPU_ARESETN1 12
>> +#define R9A08G045_SRAM_ACPU_ARESETN2 13
>
> There is no SRAM_ACPU_ARESETN2 bit in CPG_RST_SRAM_MCPU,
> so please drop R9A08G045_SRAM_ACPU_ARESETN2.

I see there is SRAM_ACPU_ARESETN2 in CPG_RST_SRAM_*A*CPU register. You are
actually saying that the documentation might be wrong?

Thank you,
Claudiu Beznea

>
> The rest LGTM.
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds