clk: bcm: rpi: Handle pixel clock in firmware
authorIvan T. Ivanov <iivanov@suse.de>
Mon, 29 Aug 2022 15:21:53 +0000 (18:21 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 30 Sep 2022 21:31:35 +0000 (14:31 -0700)
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>
drivers/clk/bcm/clk-raspberrypi.c

index 8f560c6..1248c0d 100644 (file)
@@ -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,
        },