lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b9d6a851-c43f-4db9-9a83-6eba3c9b1dd0@amlogic.com>
Date: Thu, 13 Mar 2025 09:48:54 +0800
From: Kelvin Zhang <kelvin.zhang@...ogic.com>
To: Conor Dooley <conor@...nel.org>
CC: Philipp Zabel <p.zabel@...gutronix.de>, zelong dong
	<zelong.dong@...ogic.com>, Neil Armstrong <neil.armstrong@...aro.org>, "Kevin
 Hilman" <khilman@...libre.com>, Rob Herring <robh@...nel.org>, "Martin
 Blumenstingl" <martin.blumenstingl@...glemail.com>, Jerome Brunet
	<jbrunet@...libre.com>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
	<linux-kernel@...r.kernel.org>, <linux-amlogic@...ts.infradead.org>,
	<linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>, "Conor
 Dooley" <conor.dooley@...rochip.com>
Subject: Re: [PATCH v3 1/3] dt-bindings: reset: Add compatible for Amlogic
 A4/A5 Reset Controller

On 2025/3/13 04:31, Conor Dooley wrote:
> On Tue, Mar 11, 2025 at 05:48:26PM +0800, Kelvin Zhang wrote:
>>
>> On 2024/9/18 16:01, Conor Dooley wrote:
>>> On Wed, Sep 18, 2024 at 09:51:28AM +0200, Philipp Zabel wrote:
>>>> On Mi, 2024-09-18 at 15:42 +0800, zelong dong wrote:
>>>>> From: Zelong Dong<zelong.dong@...ogic.com>
>>>>>
>>>>> Add new compatible for Amlogic A4/A5 Reset Controller
>>>>>
>>>>> Signed-off-by: Zelong Dong<zelong.dong@...ogic.com>
>>>>> Acked-by: Conor Dooley<conor.dooley@...rochip.com>
>>>>> ---
>>>>>    .../bindings/reset/amlogic,meson-reset.yaml   | 23 ++++++++++++-------
>>>>>    1 file changed, 15 insertions(+), 8 deletions(-)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml
>>>>> index 695ef38a7bb3..0ad81fe7b629 100644
>>>>> --- a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml
>>>>> +++ b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml
>>>>> @@ -12,14 +12,21 @@ maintainers:
>>>>>    properties:
>>>>>      compatible:
>>>>> -    enum:
>>>>> -      - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs
>>>>> -      - amlogic,meson-gxbb-reset # Reset Controller on GXBB and compatible SoCs
>>>>> -      - amlogic,meson-axg-reset # Reset Controller on AXG and compatible SoCs
>>>>> -      - amlogic,meson-a1-reset # Reset Controller on A1 and compatible SoCs
>>>>> -      - amlogic,meson-s4-reset # Reset Controller on S4 and compatible SoCs
>>>>> -      - amlogic,c3-reset # Reset Controller on C3 and compatible SoCs
>>>>> -      - amlogic,t7-reset
>>>>> +    oneOf:
>>>>> +      - items:
>>>> I'm not well versed in preferred dt-bindings style, but this items
>>>> looks superfluous to me. It only contains a single enum.
>>> Oh, ye. Good spot.
>> Hello Philipp, Conor,
>> Sorry for the late reply.
>>
>> Do you mean to use 'amlogic,meson-s4-reset' for A4 and A5 directly, without
>> the fallback?
> No. We are saying that
> 
> +      - items:
> +          - enum:
> +              - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs
> 
> is pointless duplication, because your "items" list only has only
> entry in it (the enum) and you could just remove the "- items" line
> entirely and have the same outcome.

Got it.
Thanks!

-- 
Best regards,

Kelvin Zhang


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ