[PATCH 1/6] dt-bindings: arm: keystone: ti,sci: Update nodename pattern

Krzysztof Kozlowski krzk at kernel.org
Fri Oct 2 03:00:29 PDT 2026


On 02/10/2026 11:56, Padhi, Beleswar wrote:
> 
> On 10/2/2026 11:57 AM, Krzysztof Kozlowski wrote:
>> On Thu, Oct 01, 2026 at 01:11:26AM +0530, Beleswar Padhi wrote:
>>> The $nodename pattern for TI-SCI controllers mandates specifying a unit
>>> address, which in turn requires a 'reg' property. This 'reg' is only
>>> used to describe an optional memory-mapped debug-messages region.
>>>
>>> Some controllers may not implement this debug region, so it has no 'reg'
>> Which ones?
> 
> 
> TDA54 PDM System Controller. I will add this in the commit message
> in patch revision.

There is no such:
git grep -i TDA54

Please organize your patches correctly. This change makes no sense alone.

> 
>>
>>> and unit address. Therefore, relax the $nodename pattern to allow the
>>> unit address to be omitted for such controllers. Keep the unit address
>>> mandatory for the existing ti,k2g-sci and ti,am654-sci controllers.
>>>
>>> Signed-off-by: Beleswar Padhi <b-padhi at ti.com>
>>> ---
>>> Note: This patch is independent can be applied directly.
>>>
>>> Cc: Nishanth Menon <nm at ti.com>
>>> Cc: Tero Kristo <kristo at kernel.org>
>>> Cc: Santosh Shilimkar <ssantosh at kernel.org>
>>> Cc: Rob Herring <robh at kernel.org>
>>> Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
>>> Cc: Conor Dooley <conor+dt at kernel.org>
>>> Cc: linux-arm-kernel at lists.infradead.org
>>> Cc: devicetree at vger.kernel.org
>>> Cc: linux-kernel at vger.kernel.org
>>>
>>>   .../devicetree/bindings/arm/keystone/ti,sci.yaml  | 15 ++++++++++++++-
>>>   1 file changed, 14 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>>> index 25a2b42105e54..67acce8a559a1 100644
>>> --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>>> +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
>>> @@ -30,7 +30,7 @@ description: |
>>>   
>>>   properties:
>>>     $nodename:
>>> -    pattern: "^system-controller@[0-9a-f]+$"
>>> +    pattern: "^system-controller(@[0-9a-f]+)?$"
>>>   
>>>     compatible:
>>>       oneOf:
>>> @@ -84,6 +84,19 @@ required:
>>>     - mbox-names
>>>     - mboxes
>>>   
>>> +allOf:
>>> +  - if:
>>> +      properties:
>>> +        compatible:
>>> +          contains:
>>> +            enum:
>>> +              - ti,k2g-sci
>>> +              - ti,am654-sci
>>> +    then:
>>> +      properties:
>>> +        $nodename:
>>> +          pattern: "^system-controller@[0-9a-f]+$"
>> Drop, not worth complexity.
> 
> 
> Why? We want to make sure dt_binding_check catches system controller
> nodes which have a debug region but omit the unit address.

As explained many times, individual device schemas are not supposed to
enforce names.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list