[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51cefa7f-df05-49d4-9006-59ed216915a4@gmail.com>
Date: Wed, 5 Mar 2025 17:52:12 +0100
From: Artur Weber <aweber.kernel@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: Lee Jones <lee@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>, Ray Jui
<rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Stanislav Jakubek <stano.jakubek@...il.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
~postmarketos/upstreaming@...ts.sr.ht
Subject: Re: [PATCH v6 02/10] dt-bindings: mfd: brcm,bcm59056: Add compatible
for BCM59054
On 4.03.2025 15:19, Rob Herring wrote:
> On Tue, Mar 04, 2025 at 07:20:33AM +0100, Artur Weber wrote:
>> The BCM59054 MFD is fairly similar to the BCM59056, and will use
>> the same driver. Add compatible and specify the allowed regulator
>> nodes.
>>
>> Signed-off-by: Artur Weber <aweber.kernel@...il.com>
>> ...
> And drop the allOf below.
>
>>
>> required:
>> - compatible
>> @@ -30,6 +31,27 @@ required:
>>
>> additionalProperties: false
>>
>> +allOf:
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: brcm,bcm59054
>> + then:
>> + properties:
>> + regulators:
>> + $ref: /schemas/regulator/brcm,bcm59054.yaml#
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + const: brcm,bcm59056
>> + then:
>> + properties:
>> + regulators:
>> + $ref: /schemas/regulator/brcm,bcm59056.yaml#
>> +
>> examples:
>> - |
>> #include <dt-bindings/interrupt-controller/arm-gic.h>
"Drop the allOf" as in, drop just the "allOf" line or the entire block
with "if" statements? If it's the latter - wouldn't that break the
bindings for the "regulators" subnode?
Best regards
Artur
Powered by blists - more mailing lists