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: <fd9f0b37-001e-4721-82b7-ee29379eb9a9@ti.com>
Date: Tue, 30 Dec 2025 19:52:51 +0530
From: Swamil Jain <s-jain1@...com>
To: Rob Herring <robh@...nel.org>
CC: <jyri.sarha@....fi>, <tomi.valkeinen@...asonboard.com>,
	<airlied@...il.com>, <simona@...ll.ch>, <maarten.lankhorst@...ux.intel.com>,
	<mripard@...nel.org>, <tzimmermann@...e.de>, <krzk+dt@...nel.org>,
	<conor+dt@...nel.org>, <devarsht@...com>, <praneeth@...com>, <bb@...com>,
	<vigneshr@...com>, <dri-devel@...ts.freedesktop.org>,
	<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dt-bindings: display: ti,am65x-dss: Add AM62L DSS support

Hi Rob,

On 12/30/25 07:57, Rob Herring wrote:
> On Wed, Dec 24, 2025 at 07:01:50PM +0530, Swamil Jain wrote:
>> Update the AM65x DSS bindings to support AM62L which has a single video
>> port. Add conditional constraints for AM62L.
>>
>> Signed-off-by: Swamil Jain <s-jain1@...com>
>> ---
>>   .../bindings/display/ti/ti,am65x-dss.yaml     | 95 +++++++++++++++----
>>   1 file changed, 76 insertions(+), 19 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
>> index 38fcee91211e..ce39690df4e5 100644
>> --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
>> +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml
>> @@ -36,34 +36,50 @@ properties:
>>     reg:
>>       description:
>>         Addresses to each DSS memory region described in the SoC's TRM.
>> -    items:
>> -      - description: common DSS register area
>> -      - description: VIDL1 light video plane
>> -      - description: VID video plane
>> -      - description: OVR1 overlay manager for vp1
>> -      - description: OVR2 overlay manager for vp2
>> -      - description: VP1 video port 1
>> -      - description: VP2 video port 2
>> -      - description: common1 DSS register area
>> +    oneOf:
>> +      - items:
>> +          - description: common DSS register area
>> +          - description: VIDL1 light video plane
>> +          - description: VID video plane
>> +          - description: OVR1 overlay manager for vp1
>> +          - description: OVR2 overlay manager for vp2
>> +          - description: VP1 video port 1
>> +          - description: VP2 video port 2
>> +          - description: common1 DSS register area
>> +      - items:
>> +          - description: common DSS register area
>> +          - description: VIDL1 light video plane
>> +          - description: OVR1 overlay manager for vp1
>> +          - description: VP1 video port 1
>> +          - description: common1 DSS register area
>>   
>>     reg-names:
>> -    items:
>> -      - const: common
>> -      - const: vidl1
>> -      - const: vid
>> -      - const: ovr1
>> -      - const: ovr2
>> -      - const: vp1
>> -      - const: vp2
>> -      - const: common1
>> +    oneOf:
>> +      - items:
>> +          - const: common
>> +          - const: vidl1
>> +          - const: vid
>> +          - const: ovr1
>> +          - const: ovr2
>> +          - const: vp1
>> +          - const: vp2
>> +          - const: common1
>> +      - items:
>> +          - const: common
>> +          - const: vidl1
>> +          - const: ovr1
>> +          - const: vp1
>> +          - const: common1
>>   
>>     clocks:
>> +    minItems: 2
>>       items:
>>         - description: fck DSS functional clock
>>         - description: vp1 Video Port 1 pixel clock
>>         - description: vp2 Video Port 2 pixel clock
>>   
>>     clock-names:
>> +    minItems: 2
>>       items:
>>         - const: fck
>>         - const: vp1
>> @@ -84,7 +100,8 @@ properties:
>>       maxItems: 1
>>       description: phandle to the associated power domain
>>   
>> -  dma-coherent: true
>> +  dma-coherent:
>> +    type: boolean
>>   
>>     ports:
>>       $ref: /schemas/graph.yaml#/properties/ports
>> @@ -195,6 +212,46 @@ allOf:
>>               port@0:
>>                 properties:
>>                   endpoint@1: false
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          contains:
>> +            const: ti,am62l-dss
>> +    then:
>> +      properties:
>> +        clock-names:
>> +          maxItems: 2
>> +        clocks:
>> +          maxItems: 2
>> +        reg:
>> +          maxItems: 5
> 
>             reg-names:
>               minItems: 8
>         else:
>           properties:
>             reg:
>               minItems: 8
>             reg-names:
>               minItems: 8
> 
> clocks needs similar constraints...

Sure, will add in v2.

> 
>> +
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          contains:
>> +            const: ti,am62l-dss
>> +    then:
>> +      properties:
>> +        reg-names:
>> +          items:
>> +            - const: common
>> +            - const: vidl1
>> +            - const: ovr1
>> +            - const: vp1
>> +            - const: common1
>> +    else:
>> +      properties:
>> +        reg-names:
>> +          items:
>> +            - const: common
>> +            - const: vidl1
>> +            - const: vid
>> +            - const: ovr1
>> +            - const: ovr2
>> +            - const: vp1
>> +            - const: vp2
>> +            - const: common1
> 
> Why are you defining the names twice?
>

For AM62L we don't have "vid", "ovr2" and "vp2", the dtbs_check will fail.
Could you please suggest a better way?

Regards,
Swamil.

> Rob
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ