Re: [PATCH v2 1/7] soc: renesas: r9a06g032-sysctrl: Export function to get the usb role

From: Geert Uytterhoeven
Date: Mon Nov 14 2022 - 08:33:57 EST


On Mon, Nov 14, 2022 at 12:15 PM Herve Codina <herve.codina@xxxxxxxxxxx> wrote:
> The usb role retrieved is determined from the CFG_USB[H2MODE]
> value. The CFG_USB register is located within the system
> controller.
>
> We need a helper to get the usb role based on H2MODE value from
> the CFG_USB register without syscon.
>
> Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

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