Re: [PATCH v2 2/2] clk: bcm: rpi: Handle pixel clock in firmware

From: Dave Stevenson
Date: Tue Apr 05 2022 - 17:55:11 EST


On Tue, 5 Apr 2022 at 09:25, Ivan T. Ivanov <iivanov@xxxxxxx> wrote:
>
> 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.
>
> Cc: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>
> Signed-off-by: Ivan T. Ivanov <iivanov@xxxxxxx>

Acked-by: Dave Stevenson <dave.stevenson@xxxxxxxxxxxxxxx>

> ---
> drivers/clk/bcm/clk-raspberrypi.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c
> index 2e2491d85835..530820d13104 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,
> },
> --
> 2.26.2
>