[PATCH v4 09/14] lib: utils/reset: Add Andes fdt reset driver support

Samuel Holland samuel at sholland.org
Sun Oct 16 12:19:34 PDT 2022


On 10/13/22 19:32, Yu Chien Peter Lin wrote:
> Add ATCWDT200 as reset device of AE350 platform, this driver requires
> SMU to program the reset vector registers before triggering WDT software
> restart signal.
> 
> dts example:
> 
>   smu at f0100000 {
>     compatible = "andestech,atcsmu";
>     reg = <0x00000000 0xf0100000 0x00000000 0x00001000>;
>   };
> 
>   wdt: wdt at f0500000 {
>     compatible = "andestech,atcwdt200";
>     reg = <0x00000000 0xf0500000 0x00000000 0x00001000>;
>     interrupts = <3 4>;
>     interrupt-parent = <&plic0>;
>     clock-frequency = <15000000>;
>   };

The same applies here and in patch 12. A complete binding for these
compatible strings needs to be available somewhere. Otherwise, it is
impossible to review the code for compliance with the binding.

Regards,
Samuel




More information about the opensbi mailing list