Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c14384a3 authored by Tony Truong's avatar Tony Truong
Browse files

dt-bindings: pcie: add entry for PCIe PHY status bit



The bit for PCIe PHY status varies for each PCIe core.
Therefore, add a DT entry to specify which bit to should
be checked for PCIe PHY status.

Change-Id: If40322d2c131681608a627c51b5130e04f5a0320
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 01e3405d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ Required properties:
  - perst-gpio: PERST GPIO specified by PCIe spec.
  - wake-gpio: WAKE GPIO specified by PCIe spec.
  - phy-status-offset: Offset from PCIe PHY base to check if PCIe PHY is up.
  - phy-status-bit: BIT to check PCIe PHY status.
  - pcie_rc<PCIe index>: PCI node is a sub-node of PCIe controller node.
    node. This node holds root complex specific configurations and properties.
  - <supply-name>-supply: phandle to the regulator device tree node.
@@ -281,6 +282,7 @@ Example:
		qcom,wr-halt-size = <0xa>; /* 1KB */
		qcom,slv-addr-space-size = <0x1000000>; /* 16MB */
		qcom,phy-status-offset = <0x800>;
		qcom,phy-status-status = <6>;
		qcom,phy-power-down-offset = <0x840>;
		qcom,cpl-timeout = <0x2>;