Skip to content

Commit e2eb7e6

Browse files
Laurent Pinchartgeertu
authored andcommitted
drm: renesas: shmobile: Rename input clocks
Prepare for DT bindings by using more appropriate names for the input clocks. Note that all LDDCKR_ICKSEL_* definitions but the one for the bus clock are valid only for SH7724, so the clock selection code needs to be updated when extending clock support to other SoCs. Signed-off-by: Laurent Pinchart <[email protected]> [geert: Add note] Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/d4b4d2164541ae055d10064103db3c2d6540e846.1694767209.git.geert+renesas@glider.be
1 parent 76b1405 commit e2eb7e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev,
7474

7575
switch (clksrc) {
7676
case SHMOB_DRM_CLK_BUS:
77-
clkname = "bus_clk";
77+
clkname = "fck";
7878
sdev->lddckr = LDDCKR_ICKSEL_BUS;
7979
break;
8080
case SHMOB_DRM_CLK_PERIPHERAL:
81-
clkname = "peripheral_clk";
81+
clkname = "media";
8282
sdev->lddckr = LDDCKR_ICKSEL_MIPI;
8383
break;
8484
case SHMOB_DRM_CLK_EXTERNAL:
85-
clkname = NULL;
85+
clkname = "lclk";
8686
sdev->lddckr = LDDCKR_ICKSEL_HDMI;
8787
break;
8888
default:

0 commit comments

Comments
 (0)