[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e0bbd4ab-86ec-42e6-829a-21229ed1292f@ti.com>
Date: Fri, 16 Jan 2026 15:38:19 +0530
From: Swamil Jain <s-jain1@...com>
To: Michael Walle <mwalle@...nel.org>, Krzysztof Kozlowski <krzk@...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>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <aradhya.bhatia@...ux.dev>,
<dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <devarsht@...com>, <praneeth@...com>,
<h-shenoy@...com>, <u-kumar1@...com>
Subject: Re: [PATCH v3 1/3] dt-bindings: display: ti,am65x-dss: Add am62p dss
compatible
Hi Michael,
On 1/14/26 16:11, Michael Walle wrote:
> Hi,
>
> On Thu Jan 8, 2026 at 9:51 AM CET, Krzysztof Kozlowski wrote:
>>> + - if:
>>> + properties:
>>> + compatible:
>>> + contains:
>>> + const: ti,am62p-dss
>>> + then:
>>> + properties:
>>> + power-domains:
>>> + minItems: 1
>>> + maxItems: 3
>>
>> This is still not constrained enough. You need to define the items
>> instead. I still do not understand why number of power domains is
>> flexible.
>
> So looking at the downstream devicetree, there is one power domain
> for each OLDI and for the DSS itself. Thus, in the am62p case, there
> are two DSS as described above, so DSS0 has a power domain for dss0
> and two power domains for the OLDI transmitters. The same for dss1
> but with just one OLDI transmitter.
>
> So I don't know why there is minItems: 1 because it's either 2 or 3.
One can use DSS power-domain only, if they don't want to use OLDI0 or OLDI1.
>
> What about the following:
>
> ..
> - if:
> properties:
> compatible:
> contains:
> const: ti,am62p-dss
> then:
> properties:
> power-domains:
> minItems: 2
> items:
> - description: DSS controller
> - description: OLDI0 transmitter
> - description: OLDI1 transmitter
> else:
> properties:
> power-domains:
> maxItems: 1
>
> -michael
Using the following:
..
power-domains:
minItems: 1
description:
phandle to the associated power domain(s).
items:
- description: DSS controller power domain
- description: OLDI0 power domain
- description: OLDI1 power domain
And using constraints for "ti,am62p-dss" and other compatibles
separately. Please check v4[1].
[1]: https://lore.kernel.org/all/20260116095406.2544565-2-s-jain1@ti.com/
Regards,
Swamil.
Powered by blists - more mailing lists