[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <331e7f14-579c-4a5b-9d35-36b93b2a0b11@gmail.com>
Date: Fri, 13 Oct 2023 14:40:28 +0800
From: Jacky Huang <ychuang570808@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: linus.walleij@...aro.org, krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org, p.zabel@...gutronix.de, j.neuschaefer@....net,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
schung@...oton.com, Jacky Huang <ychuang3@...oton.com>
Subject: Re: [PATCH 1/4] dt-bindings: reset: Add syscon to nuvoton ma35d1
system-management node
Dear Rob,
Thank you for the review.
On 2023/10/13 上午 04:39, Rob Herring wrote:
> On Wed, Oct 11, 2023 at 09:05:07AM +0000, Jacky Huang wrote:
>> From: Jacky Huang <ychuang3@...oton.com>
>>
>> Add compatible 'syscon' to the system-management node.
>>
>> Signed-off-by: Jacky Huang <ychuang3@...oton.com>
>> ---
>> .../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
Yes, we have a driver for 'nuvoton,ma35d1-reset' with a register space
mapped to
the system control registers. The other ma35d1 drivers may also require
access
to the system control registers. I added 'syscon' to this node so that
other drivers
can utilize 'regmap' via the phandle of this node.
Best Regards,
Jacky Huang
Powered by blists - more mailing lists