summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-thunder-ecam.c
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2024-07-29 16:18:12 -0400
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2024-09-09 14:08:22 +0000
commit256867b74625a56ce1ff4bd89440c3fbbb357d18 (patch)
treebb48e61ecd0384bdc6d5b937d5c16fae1b44a277 /drivers/pci/controller/pci-thunder-ecam.c
parentd657ea28d55037ef9a5e58d51aa757d981b8bfc2 (diff)
PCI: imx6: Introduce SoC specific callbacks for controlling REFCLK
Instead of using the switch case statement to enable/disable the reference clock handled by this driver itself, let's introduce a new callback enable_ref_clk() and define it for platforms that require it. This simplifies the code. Link: https://lore.kernel.org/linux-pci/20240729-pci2_upstream-v8-5-b68ee5ef2b4d@nxp.com Signed-off-by: Frank Li <Frank.Li@nxp.com> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/pci-thunder-ecam.c')
0 files changed, 0 insertions, 0 deletions