mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
05b57273ac
Deprecate the legacy Rockchip PCIe PHY and encourage users to use per-lane PHY mode by setting #phy-cells to 1. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Brian Norris <briannorris@chromium.org> Acked-by: Rob Herring <robh@kernel.org>
37 lines
864 B
Plaintext
37 lines
864 B
Plaintext
Rockchip PCIE PHY
|
|
-----------------------
|
|
|
|
Required properties:
|
|
- compatible: rockchip,rk3399-pcie-phy
|
|
- clocks: Must contain an entry in clock-names.
|
|
See ../clocks/clock-bindings.txt for details.
|
|
- clock-names: Must be "refclk"
|
|
- resets: Must contain an entry in reset-names.
|
|
See ../reset/reset.txt for details.
|
|
- reset-names: Must be "phy"
|
|
|
|
Required properties for legacy PHY mode (deprecated):
|
|
- #phy-cells: must be 0
|
|
|
|
Required properties for per-lane PHY mode (preferred):
|
|
- #phy-cells: must be 1
|
|
|
|
Example:
|
|
|
|
grf: syscon@ff770000 {
|
|
compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
...
|
|
|
|
pcie_phy: pcie-phy {
|
|
compatible = "rockchip,rk3399-pcie-phy";
|
|
#phy-cells = <0>;
|
|
clocks = <&cru SCLK_PCIEPHY_REF>;
|
|
clock-names = "refclk";
|
|
resets = <&cru SRST_PCIEPHY>;
|
|
reset-names = "phy";
|
|
};
|
|
};
|