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

dt-bindings: PCI: cadence: Add DT bindings for optional PHYs

Update DT documentation to include optional PHYs for cadence PCIe
host and endpoint controllers.

Signed-off-by: Alan Douglas <adouglas@cadence.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>

authored by

Alan Douglas and committed by
Lorenzo Pieralisi
82dfbd27 dfb80534

+11
+5
Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt
··· 9 9 10 10 Optional properties: 11 11 - max-functions: Maximum number of functions that can be configured (default 1). 12 + - phys: From PHY bindings: List of Generic PHY phandles. One per lane if more 13 + than one in the list. If only one PHY listed it must manage all lanes. 14 + - phy-names: List of names to identify the PHY. 12 15 13 16 Example: 14 17 ··· 22 19 reg-names = "reg", "mem"; 23 20 cdns,max-outbound-regions = <16>; 24 21 max-functions = /bits/ 8 <8>; 22 + phys = <&ep_phy0 &ep_phy1>; 23 + phy-names = "pcie-lane0","pcie-lane1"; 25 24 };
+6
Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt
··· 24 24 translations (default 32) 25 25 - vendor-id: The PCI vendor ID (16 bits, default is design dependent) 26 26 - device-id: The PCI device ID (16 bits, default is design dependent) 27 + - phys: From PHY bindings: List of Generic PHY phandles. One per lane if more 28 + than one in the list. If only one PHY listed it must manage all lanes. 29 + - phy-names: List of names to identify the PHY. 27 30 28 31 Example: 29 32 ··· 60 57 interrupt-map-mask = <0x0 0x0 0x0 0x7>; 61 58 62 59 msi-parent = <&its_pci>; 60 + 61 + phys = <&pcie_phy0>; 62 + phy-names = "pcie-phy"; 63 63 };