]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: j721e: Enable ACSPCIE Refclk if "ti,syscon-acspcie-proxy-ctrl" exists
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Thu, 29 Aug 2024 10:53:16 +0000 (16:23 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sat, 31 Aug 2024 14:45:21 +0000 (14:45 +0000)
commit82c4be4168e26a5593aaa1002b5678128a638824
treee3361cd7eafc68d3d0c9d2b3f90d863a0e1a06c6
parentcb08c3a32be4283d650d9f312f8314dbf7cf87ed
PCI: j721e: Enable ACSPCIE Refclk if "ti,syscon-acspcie-proxy-ctrl" exists

The ACSPCIE module is capable of driving the reference clock required by
the PCIe Endpoint device. It is an alternative to on-board and external
reference clock generators. Enabling the output from the ACSPCIE module's
PAD IO Buffers requires clearing the "PAD IO disable" bits of the
ACSPCIE_PROXY_CTRL register in the CTRL_MMR register space.

Add support to enable the ACSPCIE reference clock output using the optional
device-tree property "ti,syscon-acspcie-proxy-ctrl".

Link: https://lore.kernel.org/linux-pci/20240829105316.1483684-3-s-vadapalli@ti.com
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/pci/controller/cadence/pci-j721e.c