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.
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
signature.asc
Description: PGP signature
