drm/tegra: sor: Reimplement pad clock
authorThierry Reding <treding@nvidia.com>
Thu, 12 Oct 2017 15:53:11 +0000 (17:53 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 20 Nov 2017 12:23:54 +0000 (13:23 +0100)
commite1335e2f0cfcd36ffa1b709ac58096134eb6e779
treec8c61957c9ba5662911d21735b4a02d7b75ef898
parentfb83be8873909ba7c089d1c5cb72873cc2cce7d1
drm/tegra: sor: Reimplement pad clock

The current implementation of the pad clock isn't quite correct. This
has the side-effect of being incompatible with the implementation for
Tegra186 (provided by the BPMP) and therefore would require a massive
change to the driver to cope with the differences. Instead, simply do
what Tegra186 does and add some code to fallback to the old behaviour
for existing device trees.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c