dt-bindings: imx6q-pcie: Handle various PD configurations
The i.MX SoCs have various power domain configurations routed into the PCIe IP. MX6SX is the only one which contains 2 domains and also uses power-domain-names. MX6QDL do not use any domains. All the rest uses one domain and does not use power-domain-names anymore. Document all those configurations in the DT binding document. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Marek Vasut <marex@denx.de> Link: https://lore.kernel.org/r/20221211024859.672076-2-marex@denx.de Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Родитель
22c9f19002
Коммит
8b8161edf1
|
@ -69,6 +69,7 @@ properties:
|
||||||
required properties for imx7d-pcie and imx8mq-pcie.
|
required properties for imx7d-pcie and imx8mq-pcie.
|
||||||
|
|
||||||
power-domains:
|
power-domains:
|
||||||
|
minItems: 1
|
||||||
items:
|
items:
|
||||||
- description: The phandle pointing to the DISPLAY domain for
|
- description: The phandle pointing to the DISPLAY domain for
|
||||||
imx6sx-pcie, to PCIE_PHY power domain for imx7d-pcie and
|
imx6sx-pcie, to PCIE_PHY power domain for imx7d-pcie and
|
||||||
|
@ -77,6 +78,7 @@ properties:
|
||||||
for imx6sx-pcie.
|
for imx6sx-pcie.
|
||||||
|
|
||||||
power-domain-names:
|
power-domain-names:
|
||||||
|
minItems: 1
|
||||||
items:
|
items:
|
||||||
- const: pcie
|
- const: pcie
|
||||||
- const: pcie_phy
|
- const: pcie_phy
|
||||||
|
@ -187,6 +189,10 @@ allOf:
|
||||||
- {}
|
- {}
|
||||||
- const: pcie_phy
|
- const: pcie_phy
|
||||||
- const: pcie_inbound_axi
|
- const: pcie_inbound_axi
|
||||||
|
power-domains:
|
||||||
|
minItems: 2
|
||||||
|
power-domain-names:
|
||||||
|
minItems: 2
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
@ -243,6 +249,32 @@ allOf:
|
||||||
maxItems: 3
|
maxItems: 3
|
||||||
contains:
|
contains:
|
||||||
const: pcie_aux
|
const: pcie_aux
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- fsl,imx6q-pcie
|
||||||
|
- fsl,imx6qp-pcie
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
power-domains: false
|
||||||
|
power-domain-names: false
|
||||||
|
|
||||||
|
- if:
|
||||||
|
not:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- fsl,imx6sx-pcie
|
||||||
|
- fsl,imx6q-pcie
|
||||||
|
- fsl,imx6qp-pcie
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
power-domains:
|
||||||
|
maxItems: 1
|
||||||
|
power-domain-names: false
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче