Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: PCI: fsl,imx6q-pcie: Add Refclk for i.MX95 RC

Previous Refclk of i.MX95 PCIe RC is on when system boot to kernel. But
boot firmware change the behavior, it is off when boot. So it must be
turned on when it is used. Also it needs be turned off/on for suspend and
resume.

Add one Refclk for i.MX95 PCIe RC. Increase clocks' maxItems to 5 and keep
the same restriction with other compatible string.

Link: https://lore.kernel.org/r/20241126075702.4099164-2-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Richard Zhu and committed by
Bjorn Helgaas
d4627402 687aedb7

+24 -6
+2 -2
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml
··· 17 17 properties: 18 18 clocks: 19 19 minItems: 3 20 - maxItems: 4 20 + maxItems: 5 21 21 22 22 clock-names: 23 23 minItems: 3 24 - maxItems: 4 24 + maxItems: 5 25 25 26 26 num-lanes: 27 27 const: 1
+1
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml
··· 118 118 properties: 119 119 clocks: 120 120 minItems: 4 121 + maxItems: 4 121 122 clock-names: 122 123 items: 123 124 - const: pcie
+21 -4
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml
··· 40 40 - description: PCIe PHY clock. 41 41 - description: Additional required clock entry for imx6sx-pcie, 42 42 imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep. 43 + - description: PCIe reference clock. 43 44 44 45 clock-names: 45 46 minItems: 3 46 - maxItems: 4 47 + maxItems: 5 47 48 48 49 interrupts: 49 50 items: ··· 128 127 then: 129 128 properties: 130 129 clocks: 131 - minItems: 4 130 + maxItems: 4 132 131 clock-names: 133 132 items: 134 133 - const: pcie ··· 141 140 compatible: 142 141 enum: 143 142 - fsl,imx8mq-pcie 144 - - fsl,imx95-pcie 145 143 then: 146 144 properties: 147 145 clocks: 148 - minItems: 4 146 + maxItems: 4 149 147 clock-names: 150 148 items: 151 149 - const: pcie ··· 199 199 - const: dbi 200 200 - const: mstr 201 201 - const: slv 202 + 203 + - if: 204 + properties: 205 + compatible: 206 + enum: 207 + - fsl,imx95-pcie 208 + then: 209 + properties: 210 + clocks: 211 + maxItems: 5 212 + clock-names: 213 + items: 214 + - const: pcie 215 + - const: pcie_bus 216 + - const: pcie_phy 217 + - const: pcie_aux 218 + - const: ref 202 219 203 220 unevaluatedProperties: false 204 221