aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-10-05 20:09:44 +0200
committerLorenzo Pieralisi <[email protected]>2021-10-07 14:23:31 +0100
commit46ef6090dbf590711cb12680b6eafde5fa21fe87 (patch)
tree82bc70b546740ca29d614a7ca2c38bd6466b4c53 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd419052bc6c60fa4ab2b5a51d5f1e55a66e2b4ff (diff)
PCI: aardvark: Fix configuring Reference clock
Commit 366697018c9a ("PCI: aardvark: Add PHY support") introduced configuration of PCIe Reference clock via PCIE_CORE_REF_CLK_REG register, but did it incorrectly. PCIe Reference clock differential pair is routed from system board to endpoint card, so on CPU side it has output direction. Therefore it is required to enable transmitting and disable receiving. Default configuration according to Armada 3700 Functional Specifications is enabled receiver part and disabled transmitter. We need this change because otherwise PCIe Reference clock is configured to some undefined state when differential pair is used for both transmitting and receiving. Fix this by disabling receiver part. Link: https://lore.kernel.org/r/[email protected] Fixes: 366697018c9a ("PCI: aardvark: Add PHY support") Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Marek Behún <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Marek Behún <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions