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

Commit f3815015 authored by Tony Truong's avatar Tony Truong Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: pcie: add entry to specify max link training attempts



By default, PCIe device has 100ms to link up. Some devices
require more time so provide a devicetree entry to override
the number of link train attempts.

Change-Id: I7a0ecdf08732de1d0c28fda7ed8eae92d4df2076
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 42576b8a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -185,6 +185,12 @@ Main node
		- 0x2	GEN 2
		- 0x3	GEN 3

- qcom,link-check-max-count
	Usage: optional
	Value type: <u32>
	Definition: Max number of retries for link training. Delay between each
		check is 5ms

- qcom,boot-option:
	Usage: optional
	Value type: <u32>
@@ -440,6 +446,7 @@ Example
			<0x100 &apps_smmu 0x1e01 0x1>;

		qcom,target-link-speed = <0x2>;
		qcom,link-check-max-count = <40> /* 200ms */
		qcom,boot-option = <0x1>;
		qcom,use-19p2mhz-aux-clk;
		qcom,common-clk-en;