]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: tegra30: Add CSI pad clock gates
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 22 Oct 2025 14:20:31 +0000 (17:20 +0300)
committerThierry Reding <treding@nvidia.com>
Sat, 17 Jan 2026 00:33:18 +0000 (01:33 +0100)
commite897e86711b28f815fbbe542fe87a66b39123d1e
tree3d7d3d5bc9bf2e1f8f8e2c163095f244f5187bf5
parenta6d8abf5b4549f8dafe68777f54436d3ab2fbacd
clk: tegra30: Add CSI pad clock gates

Tegra30 has CSI pad bits in both PLLD and PLLD2 clocks that are required
for the correct work of the CSI block. Add CSI pad A and pad B clock gates
with PLLD/PLLD2 parents, respectively. Add a plld2 spinlock, like one plld
uses, to prevent simultaneous access since both the PLLDx and CSIx_PAD
clocks use the same registers

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # tegra20, parallel camera
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra30.c