b5fc1c25394f50a58ed0ee13da6dc0b59b0e9e7e
[openwrt/staging/ansuel.git] /
1 From 7ce9009442ecacc352f54944cfdf2d256232e1d5 Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <popcornmix@gmail.com>
3 Date: Wed, 20 Apr 2022 17:40:47 +0100
4 Subject: [PATCH] clk-raspberrypi: Enable minimize for all firmware
5 clocks
6
7 Signed-off-by: Dom Cobley <popcornmix@gmail.com>
8 ---
9 drivers/clk/bcm/clk-raspberrypi.c | 5 +++++
10 1 file changed, 5 insertions(+)
11
12 --- a/drivers/clk/bcm/clk-raspberrypi.c
13 +++ b/drivers/clk/bcm/clk-raspberrypi.c
14 @@ -136,21 +136,26 @@ raspberrypi_clk_variants[RPI_FIRMWARE_NU
15 },
16 [RPI_FIRMWARE_V3D_CLK_ID] = {
17 .export = true,
18 + .minimize = true,
19 },
20 [RPI_FIRMWARE_PIXEL_CLK_ID] = {
21 .export = true,
22 },
23 [RPI_FIRMWARE_HEVC_CLK_ID] = {
24 .export = true,
25 + .minimize = true,
26 },
27 [RPI_FIRMWARE_ISP_CLK_ID] = {
28 .export = true,
29 + .minimize = true,
30 },
31 [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = {
32 .export = true,
33 + .minimize = true,
34 },
35 [RPI_FIRMWARE_VEC_CLK_ID] = {
36 .export = true,
37 + .minimize = true,
38 },
39 };
40