On Thu, Jul 6, 2023 at 5:30 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > Add support for PMOD_MTU3 macro to enable MTU3 node on RZ/{G2,V2}L SMARC > EVK. > > The MTU3a PWM pins are muxed with spi1 pins and counter external input > phase clock pins are muxed with scif2 pins. Disable these IPs when > PMOD_MTU3 macro is enabled. > > Apart from this, the counter Z phase clock signal is muxed with the > SDHI1 cd signal. So disable SDHI1 IP, when the counter Z phase signal > is enabled. > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > --- > v1->v2: > * Renamed macro MTU3->PMOD_MTU3. > * Moved macro "PMOD1_SER0" from common dts to board-specific dts > and added an error check as it is mutually exclusive with PMOD_MTU3 > macro. > * Moved mtu3-zphase-clk pin definition to rzg2l-smarc-pinfunction.dtsi. > * Moved mtu3 node to common dts. > * Moved macro definitions before dtsi includes, so that macros are > visible on these files. Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> i.e. will queue in renesas-devel for v6.6. 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