Re: [PATCH 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1 system-management node

From: Rob Herring
Date: Thu Oct 12 2023 - 16:39:51 EST


On Wed, Oct 11, 2023 at 09:05:07AM +0000, Jacky Huang wrote:
> From: Jacky Huang <ychuang3@xxxxxxxxxxx>
>
> Add compatible 'syscon' to the system-management node.
>
> Signed-off-by: Jacky Huang <ychuang3@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
> index 34c5c1c08ec1..3ce7dcecd87a 100644
> --- a/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
> +++ b/Documentation/devicetree/bindings/reset/nuvoton,ma35d1-reset.yaml
> @@ -18,6 +18,7 @@ properties:
> compatible:
> items:
> - const: nuvoton,ma35d1-reset
> + - const: syscon

Presumably you already have a driver for nuvoton,ma35d1-reset, so just
make it create a regmap. I assume this is the reason you want to add
'syscon'?

Rob