]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: qcom: camss: Do not enable cpas fast ahb clock for SM8550 VFE lite
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Mon, 20 Oct 2025 14:02:27 +0000 (17:02 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 09:25:01 +0000 (10:25 +0100)
The clock is needed to stream images over a full VFE IP on SM8550 CAMSS,
and it should not be enabled, when an image stream is routed over any of
two lite VFE IPs on the SoC.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss.c

index 6cfb71fcd861c7930f0f4cb952a017e30aa3e396..9122568f9b0ae60ab01d27a6d1c785c50a5cb920 100644 (file)
@@ -2843,12 +2843,11 @@ static const struct camss_subdev_resources vfe_res_8550[] = {
        /* VFE3 lite */
        {
                .regulators = {},
-               .clock = { "gcc_axi_hf", "cpas_ahb", "cpas_fast_ahb_clk", "vfe_lite_ahb",
+               .clock = { "gcc_axi_hf", "cpas_ahb", "vfe_lite_ahb",
                           "vfe_lite", "cpas_ife_lite", "camnoc_axi" },
                .clock_rate = { { 0 },
                                { 80000000 },
                                { 300000000, 400000000 },
-                               { 300000000, 400000000 },
                                { 400000000, 480000000 },
                                { 300000000, 400000000 },
                                { 300000000, 400000000 } },
@@ -2865,12 +2864,11 @@ static const struct camss_subdev_resources vfe_res_8550[] = {
        /* VFE4 lite */
        {
                .regulators = {},
-               .clock = { "gcc_axi_hf", "cpas_ahb", "cpas_fast_ahb_clk", "vfe_lite_ahb",
+               .clock = { "gcc_axi_hf", "cpas_ahb", "vfe_lite_ahb",
                           "vfe_lite", "cpas_ife_lite", "camnoc_axi" },
                .clock_rate = { { 0 },
                                { 80000000 },
                                { 300000000, 400000000 },
-                               { 300000000, 400000000 },
                                { 400000000, 480000000 },
                                { 300000000, 400000000 },
                                { 300000000, 400000000 } },