summaryrefslogtreecommitdiffstats
path: root/drivers/clk/bcm/clk-raspberrypi.c
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@suse.de>2022-08-29 17:21:53 +0200
committerStephen Boyd <sboyd@kernel.org>2022-09-30 23:31:35 +0200
commit16baa8c1c1ba00506d367d00856c58f5985f9b2e (patch)
treeb83df9a2ffe4497bcc17d0370e86f88f4cfe607c /drivers/clk/bcm/clk-raspberrypi.c
parentclk: bcm: rpi: Add support HEVC clock (diff)
downloadlinux-16baa8c1c1ba00506d367d00856c58f5985f9b2e.tar.xz
linux-16baa8c1c1ba00506d367d00856c58f5985f9b2e.zip
clk: bcm: rpi: Handle pixel clock in firmware
The clk-bcm2835 handling of the pixel clock does not function correctly when the HDMI power domain is disabled. The firmware supports it correctly, so add it to the firmware clock driver. Acked-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Ivan T. Ivanov <iivanov@suse.de> Link: https://lore.kernel.org/r/20220829152154.147250-3-iivanov@suse.de Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/bcm/clk-raspberrypi.c')
-rw-r--r--drivers/clk/bcm/clk-raspberrypi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c
index 8f560c6b602d..1248c0d64eae 100644
--- a/drivers/clk/bcm/clk-raspberrypi.c
+++ b/drivers/clk/bcm/clk-raspberrypi.c
@@ -129,6 +129,9 @@ raspberrypi_clk_variants[RPI_FIRMWARE_NUM_CLK_ID] = {
[RPI_FIRMWARE_V3D_CLK_ID] = {
.export = true,
},
+ [RPI_FIRMWARE_PIXEL_CLK_ID] = {
+ .export = true,
+ },
[RPI_FIRMWARE_HEVC_CLK_ID] = {
.export = true,
},