[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <309707dc-43e6-4c2c-9547-cbfce2e9e1fb@suse.de>
Date: Fri, 31 Oct 2025 20:22:00 +0200
From: Stanimir Varbanov <svarbanov@...e.de>
To: Conor Dooley <conor@...nel.org>, Stanimir Varbanov <svarbanov@...e.de>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-rpi-kernel@...ts.infradead.org,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>, linux-pm@...r.kernel.org,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>, Ray Jui
<rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Lee Jones <lee@...nel.org>, Ulf Hansson <ulf.hansson@...aro.org>,
Willow Cunningham <willow.e.cunningham@...il.com>,
Stefan Wahren <wahrenst@....net>, Saenz Julienne <nsaenz@...nel.org>,
Andrea della Porta <andrea.porta@...e.com>,
Phil Elwell <phil@...pberrypi.com>, Jonathan Bell
<jonathan@...pberrypi.com>, Dave Stevenson <dave.stevenson@...pberrypi.com>
Subject: Re: [PATCH v2 2/4] dt-bindings: soc: bcm: Add bcm2712 compatible
Hi Conor,
On 10/31/25 5:04 PM, Conor Dooley wrote:
> On Fri, Oct 31, 2025 at 12:24:21PM +0200, Stanimir Varbanov wrote:
>> Add bcm2712-pm compatible and update the bindings to satisfy it's
>> requirements. The PM hardware block inside bcm2712 lacks the "asb"
>> and "rpivid_asb" register ranges and also does not have clocks, update
>> the bindings accordingly.
>>
>> Signed-off-by: Stanimir Varbanov <svarbanov@...e.de>
>> Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
>> ---
>> .../bindings/soc/bcm/brcm,bcm2835-pm.yaml | 38 ++++++++++++++++---
>> 1 file changed, 32 insertions(+), 6 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
>> index e28ef198a801..ce910802ee9d 100644
>> --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
>> +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
>> @@ -13,23 +13,21 @@ description: |
>> maintainers:
>> - Nicolas Saenz Julienne <nsaenz@...nel.org>
>>
>> -allOf:
>> - - $ref: /schemas/watchdog/watchdog.yaml#
>> -
>> properties:
>> compatible:
>> items:
>> - enum:
>> - brcm,bcm2835-pm
>> - brcm,bcm2711-pm
>> + - brcm,bcm2712-pm
>> - const: brcm,bcm2835-pm-wdt
>>
>> reg:
>> - minItems: 2
>> + minItems: 1
>> maxItems: 3
>>
>> reg-names:
>> - minItems: 2
>> + minItems: 1
>> items:
>> - const: pm
>> - const: asb
>> @@ -62,7 +60,35 @@ required:
>> - reg
>> - "#power-domain-cells"
>> - "#reset-cells"
>> - - clocks
>> +
>> +allOf:
>> + - $ref: /schemas/watchdog/watchdog.yaml#
>> +
>> + - if:
>> + properties:
>> + compatible:
>> + contains:
>> + enum:
>> + - brcm,bcm2835-pm
>> + - brcm,bcm2711-pm
>> + then:
>> + required:
>> + - clocks
>> +
>> + properties:
>> + reg:
>> + minItems: 2
>> +
>> + reg-names:
>> + minItems: 2
>
>> +
>> + else:
>> + properties:
>> + reg:
>> + minItems: 1
>> +
>> + reg-names:
>> + minItems: 1
>
> This else has no impact, was it meant to be maxItems?
Oops, yes it should be maxItems. Sending new version ...
~Stan
Powered by blists - more mailing lists