diff mbox series

[RESEND,v4,2/3] clk: bcm: rpi: Handle pixel clock in firmware

Message ID 20220829152154.147250-3-iivanov@suse.de (mailing list archive)
State New, archived
Headers show
Series clk: bcm: rpi: Add support for three more clocks | expand

Commit Message

Ivan T . Ivanov Aug. 29, 2022, 3:21 p.m. UTC
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>
---
 drivers/clk/bcm/clk-raspberrypi.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Stephen Boyd Sept. 30, 2022, 9:34 p.m. UTC | #1
Quoting Ivan T. Ivanov (2022-08-29 08:21:53)
> 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>
> ---

Applied to clk-next
diff mbox series

Patch

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,
 	},