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

dt-binding: phy: Add i.MX8MP PCIe PHY binding

Add i.MX8MP PCIe PHY binding.
On i.MX8MM, the initialized default value of PERST bit(BIT3) of
SRC_PCIEPHY_RCR is 1b'1.
But i.MX8MP has one inversed default value 1b'0 of PERST bit.

And the PERST bit should be kept 1b'1 after power and clocks are stable.
So add one more PERST explicitly for i.MX8MP PCIe PHY.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Tested-by: Marek Vasut <marex@denx.de>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1665625622-20551-2-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Richard Zhu and committed by
Vinod Koul
25caed3d e27ecef8

+13 -3
+13 -3
Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml
··· 16 16 compatible: 17 17 enum: 18 18 - fsl,imx8mm-pcie-phy 19 + - fsl,imx8mp-pcie-phy 19 20 20 21 reg: 21 22 maxItems: 1 ··· 29 28 - const: ref 30 29 31 30 resets: 32 - maxItems: 1 31 + minItems: 1 32 + maxItems: 2 33 33 34 34 reset-names: 35 - items: 36 - - const: pciephy 35 + oneOf: 36 + - items: # for iMX8MM 37 + - const: pciephy 38 + - items: # for IMX8MP 39 + - const: pciephy 40 + - const: perst 37 41 38 42 fsl,refclk-pad-mode: 39 43 description: | ··· 65 59 type: boolean 66 60 description: A boolean property indicating the CLKREQ# signal is 67 61 not supported in the board design (optional) 62 + 63 + power-domains: 64 + description: PCIe PHY power domain (optional). 65 + maxItems: 1 68 66 69 67 required: 70 68 - "#phy-cells"