Skip to content

clk: tegra: SOR clock rework

Thierry Reding linux-arm-kernel linux-clk linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: tegra: Remove last remains of TEGRA210_CLK_SOR1_SRCdrivers/clk/tegra/clk-id.h drivers/clk/tegra/clk-tegra210.c include/dt-bindings/clock/tegra210-car.h+2 -31 reply
2/5clk: tegra: Move SOR0 implementation to Tegra124drivers/clk/tegra/clk-tegra-periph.c drivers/clk/tegra/clk-tegra124.c+49 -81 reply
3/5clk: tegra: Rename sor0_lvds to sor0_outdrivers/clk/tegra/clk-id.h drivers/clk/tegra/clk-tegra124.c drivers/clk/tegra/clk-tegra210.c +2 more+10 -101 reply
4/5clk: tegra: Reimplement SOR clock on Tegra124drivers/clk/tegra/clk-tegra124.c+13 -91 reply
5/5clk: tegra: Reimplement SOR clocks on Tegra210drivers/clk/tegra/clk-tegra210.c include/dt-bindings/clock/tegra210-car.h+57 -181 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchStephen Boyd
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] clk: tegra: SOR clock rework

From: Thierry Reding <[email protected]>

Hi Mike, Stephen,

this is a small series that I've been carrying around for a while now. The goal is to rework the SOR clock implementation on older chips to make it compatible with the implementation on Tegra186 and later. The reason is that Tegra186 and later implement this as part of the BPMP (a coprocessor used for boot and power management). BPMP's SOR clock implementation is slightly different from the implementation that we currently have in the CCF driver for earlier SoCs.

The SOR clock is used to drive HDMI and DP outputs on Tegra boards and the differences in the clock handling make it very cumbersome to deal with the clock in a unified way in the display driver. After these patches, however, they work similarly enough to allow the same code path to be used in the display driver.

Given that this set of patches needs to go in at the same time as the Tegra display driver changes, it'd be great if you could provide an Acked-by so that I can take these through the Tegra tree (or the Tegra DRM tree). There aren't any build-time dependencies between this and the display driver changes, but HDMI/DP won't be functional if this is merged at a different time than the display driver changes. The display driver changes themselves are fairly large and it isn't exactly clear when they will get merged, so things will have to be carefully coordinated, which will be easier if I do that myself.

Thanks,
Thierry

Thierry Reding (5):
clk: tegra: Remove last remains of TEGRA210_CLK_SOR1_SRC
clk: tegra: Move SOR0 implementation to Tegra124
clk: tegra: Rename sor0_lvds to sor0_out
clk: tegra: Reimplement SOR clock on Tegra124
clk: tegra: Reimplement SOR clocks on Tegra210

 drivers/clk/tegra/clk-id.h                    |  4 +-
 drivers/clk/tegra/clk-tegra-periph.c          |  8 --
 drivers/clk/tegra/clk-tegra124.c              | 55 +++++++++++++-
 drivers/clk/tegra/clk-tegra210.c              | 75 ++++++++++++++-----
 .../dt-bindings/clock/tegra124-car-common.h   |  2 +-
 include/dt-bindings/clock/tegra210-car.h      |  5 +-
 6 files changed, 116 insertions(+), 33 deletions(-)
Signature · 1 line
2.23.0