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

Documentation: bindings: add dt documentation for Rockchip PCIe PHY

This patch adds a binding that describes the Rockchip PCIe PHY found
on Rockchip SoCs PCIe interface.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Shawn Lin and committed by
Kishon Vijay Abraham I
b11c8215 0e08d2a7

+31
+31
Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt
··· 1 + Rockchip PCIE PHY 2 + ----------------------- 3 + 4 + Required properties: 5 + - compatible: rockchip,rk3399-pcie-phy 6 + - #phy-cells: must be 0 7 + - clocks: Must contain an entry in clock-names. 8 + See ../clocks/clock-bindings.txt for details. 9 + - clock-names: Must be "refclk" 10 + - resets: Must contain an entry in reset-names. 11 + See ../reset/reset.txt for details. 12 + - reset-names: Must be "phy" 13 + 14 + Example: 15 + 16 + grf: syscon@ff770000 { 17 + compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; 18 + #address-cells = <1>; 19 + #size-cells = <1>; 20 + 21 + ... 22 + 23 + pcie_phy: pcie-phy { 24 + compatible = "rockchip,rk3399-pcie-phy"; 25 + #phy-cells = <0>; 26 + clocks = <&cru SCLK_PCIEPHY_REF>; 27 + clock-names = "refclk"; 28 + resets = <&cru SRST_PCIEPHY>; 29 + reset-names = "phy"; 30 + }; 31 + };