Re: [PATCH v2 2/8] DT: reset: renesas,rzn1-reboot: document RZ/N1 reboot driver
From: Geert Uytterhoeven
Date: Thu Mar 22 2018 - 08:30:46 EST
Hi Michel,
On Thu, Mar 22, 2018 at 12:44 PM, Michel Pollet
<michel.pollet@xxxxxxxxxxxxxx> wrote:
> The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver
> as part of the sysctrl MFD to handle rebooting the CA7 cores.
> This documents the driver bindings.
>
> Signed-off-by: Michel Pollet <michel.pollet@xxxxxxxxxxxxxx>
Thanks for your patch!
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/renesas,rzn1-reboot.txt
> @@ -0,0 +1,22 @@
> +DT bindings for the Renesas RZ-N1 Reboot Driver
> +
> +== Reboot Driver Node ==
> +
> +The reboot driver is always a subnode of the system controller node, see
> +renesas,rzn1-sysctrl.txt for details.
> +
> +Bindings:
> ++ Optional:
> + compatible = "renesas,r9a06g032-reboot";
> ++ Required:
> + compatible = "renesas,rzn1-reboot";
Please mark both the SoC-specific and the family-specific values required.
> +
> +Example:
> + sysctrl: sysctrl@4000c000 {
> + compatible = "renesas,r9a06g032-sysctrl", "syscon", "simple-mfd";
> + reg = <0x4000c000 0x1000>;
> +
> + reboot {
> + compatible = "renesas,r9a06g032-reboot";
"renesas,r9a06g032-reboot", "renesas,rzn1-reboot".
> + };
> + };
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