Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists
@ 2026-07-23 11:09 Hans de Goede
  2026-07-23 11:09 ` [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table Hans de Goede
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Hans de Goede @ 2026-07-23 11:09 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain
  Cc: Hans de Goede, Wenmeng Liu, linux-media, linux-arm-msm, stable

The "gcc_axi_hf" clock is correctly listed in the clock list of the
8775p 2 main VFE-s, but it is missing from all the VFE-lite clock lists,
causing these to not work on platforms where the firmware allows turning
off "gcc_axi_hf".

Add the missing "gcc_axi_hf" to fix the VFE-lite blocks not working on
these platforms.

Fixes: 924f45e58b1fe ("media: qcom: camss: Add missing clocks for VFE lite on sa8775p")
Cc: stable@vger.kernel.org
Suggested-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
---
Changes in v2:
- Also update clock_rate lists
- Add missing Fixes: tag
---
 drivers/media/platform/qcom/camss/camss.c | 25 ++++++++++++++---------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 2123f6388e3d..68491b16d647 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -4037,10 +4037,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	/* VFE2 (lite) */
 	{
 		.regulators = {},
-		.clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
-			   "vfe_lite_csid", "vfe_lite_cphy_rx",
+		.clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
+			   "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
 			   "vfe_lite", "camnoc_axi"},
 		.clock_rate = {
+			{ 0 },
 			{ 0 },
 			{ 0 },
 			{ 300000000, 400000000, 400000000, 400000000 },
@@ -4062,10 +4063,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	/* VFE3 (lite) */
 	{
 		.regulators = {},
-		.clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
-			   "vfe_lite_csid", "vfe_lite_cphy_rx",
+		.clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
+			   "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
 			   "vfe_lite", "camnoc_axi"},
 		.clock_rate = {
+			{ 0 },
 			{ 0 },
 			{ 0 },
 			{ 300000000, 400000000, 400000000, 400000000 },
@@ -4087,10 +4089,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	/* VFE4 (lite) */
 	{
 		.regulators = {},
-		.clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
-			   "vfe_lite_csid", "vfe_lite_cphy_rx",
+		.clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
+			   "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
 			   "vfe_lite", "camnoc_axi"},
 		.clock_rate = {
+			{ 0 },
 			{ 0 },
 			{ 0 },
 			{ 300000000, 400000000, 400000000, 400000000 },
@@ -4112,10 +4115,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	/* VFE5 (lite) */
 	{
 		.regulators = {},
-		.clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
-			   "vfe_lite_csid", "vfe_lite_cphy_rx",
+		.clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
+			   "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
 			   "vfe_lite", "camnoc_axi"},
 		.clock_rate = {
+			{ 0 },
 			{ 0 },
 			{ 0 },
 			{ 300000000, 400000000, 400000000, 400000000 },
@@ -4137,10 +4141,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	/* VFE6 (lite) */
 	{
 		.regulators = {},
-		.clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
-			   "vfe_lite_csid", "vfe_lite_cphy_rx",
+		.clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
+			   "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
 			   "vfe_lite", "camnoc_axi"},
 		.clock_rate = {
+			{ 0 },
 			{ 0 },
 			{ 0 },
 			{ 300000000, 400000000, 400000000, 400000000 },
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table
  2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
@ 2026-07-23 11:09 ` Hans de Goede
  2026-07-23 11:30   ` Vladimir Zapolskiy
  2026-07-23 11:09 ` [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy " Hans de Goede
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2026-07-23 11:09 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain
  Cc: Hans de Goede, Wenmeng Liu, linux-media, linux-arm-msm

The icc_res_qcs8300 icc resource table is identical to the icc_res_sa8775p
icc resource table and qcs8300_resources already uses the sa8775p resources
for most things.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
---
 drivers/media/platform/qcom/camss/camss.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 68491b16d647..0f68199adbf0 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -4166,19 +4166,6 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
 	},
 };
 
-static const struct resources_icc icc_res_qcs8300[] = {
-	{
-		.name = "ahb",
-		.icc_bw_tbl.avg = 38400,
-		.icc_bw_tbl.peak = 76800,
-	},
-	{
-		.name = "hf_0",
-		.icc_bw_tbl.avg = 2097152,
-		.icc_bw_tbl.peak = 2097152,
-	},
-};
-
 static const struct resources_icc icc_res_sa8775p[] = {
 	{
 		.name = "ahb",
@@ -5578,12 +5565,12 @@ static const struct camss_resources qcs8300_resources = {
 	.csid_res = csid_res_8775p,
 	.csid_wrapper_res = &csid_wrapper_res_sm8550,
 	.vfe_res = vfe_res_8775p,
-	.icc_res = icc_res_qcs8300,
+	.icc_res = icc_res_sa8775p,
 	.csiphy_num = ARRAY_SIZE(csiphy_res_8300),
 	.tpg_num = ARRAY_SIZE(tpg_res_8775p),
 	.csid_num = ARRAY_SIZE(csid_res_8775p),
 	.vfe_num = ARRAY_SIZE(vfe_res_8775p),
-	.icc_path_num = ARRAY_SIZE(icc_res_qcs8300),
+	.icc_path_num = ARRAY_SIZE(icc_res_sa8775p),
 };
 
 static const struct camss_resources sa8775p_resources = {
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy resource table
  2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
  2026-07-23 11:09 ` [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table Hans de Goede
@ 2026-07-23 11:09 ` Hans de Goede
  2026-07-23 11:31   ` Vladimir Zapolskiy
  2026-07-23 11:30 ` [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Vladimir Zapolskiy
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Hans de Goede @ 2026-07-23 11:09 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain
  Cc: Hans de Goede, Wenmeng Liu, linux-media, linux-arm-msm

The qcs8300 phys are identical to the sa8775p's phys drop the duplicate
info and use csiphy_res_8775p[] for the qcs8300_resources.

The only difference is that the qcs8300 has 3 phys vs 4 phys for
the sa8775p, so explicitly set csiphy_num to 3 rather then using
ARRAY_SIZE().

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
---
 drivers/media/platform/qcom/camss/camss.c | 70 +----------------------
 1 file changed, 2 insertions(+), 68 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 0f68199adbf0..6dc102bba904 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -3657,72 +3657,6 @@ static const struct resources_icc icc_res_sm8650[] = {
 	},
 };
 
-static const struct camss_subdev_resources csiphy_res_8300[] = {
-	/* CSIPHY0 */
-	{
-		.regulators = {
-			{ .supply = "vdda-phy", .init_load_uA = 15900 },
-			{ .supply = "vdda-pll", .init_load_uA = 8900 }
-		},
-
-		.clock = { "csiphy_rx", "csiphy0", "csiphy0_timer" },
-		.clock_rate = {
-			{ 400000000 },
-			{ 0 },
-			{ 400000000 },
-		},
-		.reg = { "csiphy0" },
-		.interrupt = { "csiphy0" },
-		.csiphy = {
-			.id = 0,
-			.hw_ops = &csiphy_ops_3ph_1_0,
-			.formats = &csiphy_formats_sdm845,
-		}
-	},
-	/* CSIPHY1 */
-	{
-		.regulators = {
-			{ .supply = "vdda-phy", .init_load_uA = 15900 },
-			{ .supply = "vdda-pll", .init_load_uA = 8900 }
-		},
-
-		.clock = { "csiphy_rx", "csiphy1", "csiphy1_timer" },
-		.clock_rate = {
-			{ 400000000 },
-			{ 0 },
-			{ 400000000 },
-		},
-		.reg = { "csiphy1" },
-		.interrupt = { "csiphy1" },
-		.csiphy = {
-			.id = 1,
-			.hw_ops = &csiphy_ops_3ph_1_0,
-			.formats = &csiphy_formats_sdm845,
-		}
-	},
-	/* CSIPHY2 */
-	{
-		.regulators = {
-			{ .supply = "vdda-phy", .init_load_uA = 15900 },
-			{ .supply = "vdda-pll", .init_load_uA = 8900 }
-		},
-
-		.clock = { "csiphy_rx", "csiphy2", "csiphy2_timer" },
-		.clock_rate = {
-			{ 400000000 },
-			{ 0 },
-			{ 400000000 },
-		},
-		.reg = { "csiphy2" },
-		.interrupt = { "csiphy2" },
-		.csiphy = {
-			.id = 2,
-			.hw_ops = &csiphy_ops_3ph_1_0,
-			.formats = &csiphy_formats_sdm845,
-		}
-	},
-};
-
 static const struct camss_subdev_resources csiphy_res_8775p[] = {
 	/* CSIPHY0 */
 	{
@@ -5560,13 +5494,13 @@ static const struct camss_resources qcm2290_resources = {
 static const struct camss_resources qcs8300_resources = {
 	.version = CAMSS_8300,
 	.pd_name = "top",
-	.csiphy_res = csiphy_res_8300,
+	.csiphy_res = csiphy_res_8775p,
 	.tpg_res = tpg_res_8775p,
 	.csid_res = csid_res_8775p,
 	.csid_wrapper_res = &csid_wrapper_res_sm8550,
 	.vfe_res = vfe_res_8775p,
 	.icc_res = icc_res_sa8775p,
-	.csiphy_num = ARRAY_SIZE(csiphy_res_8300),
+	.csiphy_num = 3, /* qcs8300 only has 3 phys vs 4 phys for the sa8775p */
 	.tpg_num = ARRAY_SIZE(tpg_res_8775p),
 	.csid_num = ARRAY_SIZE(csid_res_8775p),
 	.vfe_num = ARRAY_SIZE(vfe_res_8775p),
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists
  2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
  2026-07-23 11:09 ` [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table Hans de Goede
  2026-07-23 11:09 ` [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy " Hans de Goede
@ 2026-07-23 11:30 ` Vladimir Zapolskiy
  2026-07-23 12:50 ` Loic Poulain
  2026-07-23 17:42 ` Cory Keitz
  4 siblings, 0 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2026-07-23 11:30 UTC (permalink / raw)
  To: Hans de Goede, Bryan O'Donoghue, Loic Poulain
  Cc: Wenmeng Liu, linux-media, linux-arm-msm, stable

On 7/23/26 14:09, Hans de Goede wrote:
> The "gcc_axi_hf" clock is correctly listed in the clock list of the
> 8775p 2 main VFE-s, but it is missing from all the VFE-lite clock lists,
> causing these to not work on platforms where the firmware allows turning
> off "gcc_axi_hf".
> 
> Add the missing "gcc_axi_hf" to fix the VFE-lite blocks not working on
> these platforms.
> 
> Fixes: 924f45e58b1fe ("media: qcom: camss: Add missing clocks for VFE lite on sa8775p")
> Cc: stable@vger.kernel.org
> Suggested-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>

-- 
Best wishes,
Vladimir

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table
  2026-07-23 11:09 ` [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table Hans de Goede
@ 2026-07-23 11:30   ` Vladimir Zapolskiy
  0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2026-07-23 11:30 UTC (permalink / raw)
  To: Hans de Goede, Bryan O'Donoghue, Loic Poulain
  Cc: Wenmeng Liu, linux-media, linux-arm-msm

On 7/23/26 14:09, Hans de Goede wrote:
> The icc_res_qcs8300 icc resource table is identical to the icc_res_sa8775p
> icc resource table and qcs8300_resources already uses the sa8775p resources
> for most things.
> 
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>

-- 
Best wishes,
Vladimir

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy resource table
  2026-07-23 11:09 ` [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy " Hans de Goede
@ 2026-07-23 11:31   ` Vladimir Zapolskiy
  0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Zapolskiy @ 2026-07-23 11:31 UTC (permalink / raw)
  To: Hans de Goede, Bryan O'Donoghue, Loic Poulain
  Cc: Wenmeng Liu, linux-media, linux-arm-msm

On 7/23/26 14:09, Hans de Goede wrote:
> The qcs8300 phys are identical to the sa8775p's phys drop the duplicate
> info and use csiphy_res_8775p[] for the qcs8300_resources.
> 
> The only difference is that the qcs8300 has 3 phys vs 4 phys for
> the sa8775p, so explicitly set csiphy_num to 3 rather then using
> ARRAY_SIZE().
> 
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>

-- 
Best wishes,
Vladimir

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists
  2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
                   ` (2 preceding siblings ...)
  2026-07-23 11:30 ` [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Vladimir Zapolskiy
@ 2026-07-23 12:50 ` Loic Poulain
  2026-07-23 17:42 ` Cory Keitz
  4 siblings, 0 replies; 8+ messages in thread
From: Loic Poulain @ 2026-07-23 12:50 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Bryan O'Donoghue, Vladimir Zapolskiy, Wenmeng Liu,
	linux-media, linux-arm-msm, stable

On Thu, Jul 23, 2026 at 1:09 PM Hans de Goede
<johannes.goede@oss.qualcomm.com> wrote:
>
> The "gcc_axi_hf" clock is correctly listed in the clock list of the
> 8775p 2 main VFE-s, but it is missing from all the VFE-lite clock lists,
> causing these to not work on platforms where the firmware allows turning
> off "gcc_axi_hf".
>
> Add the missing "gcc_axi_hf" to fix the VFE-lite blocks not working on
> these platforms.
>
> Fixes: 924f45e58b1fe ("media: qcom: camss: Add missing clocks for VFE lite on sa8775p")
> Cc: stable@vger.kernel.org
> Suggested-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>

> ---
> Changes in v2:
> - Also update clock_rate lists
> - Add missing Fixes: tag
> ---
>  drivers/media/platform/qcom/camss/camss.c | 25 ++++++++++++++---------
>  1 file changed, 15 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
> index 2123f6388e3d..68491b16d647 100644
> --- a/drivers/media/platform/qcom/camss/camss.c
> +++ b/drivers/media/platform/qcom/camss/camss.c
> @@ -4037,10 +4037,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
>         /* VFE2 (lite) */
>         {
>                 .regulators = {},
> -               .clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
> -                          "vfe_lite_csid", "vfe_lite_cphy_rx",
> +               .clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
> +                          "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
>                            "vfe_lite", "camnoc_axi"},
>                 .clock_rate = {
> +                       { 0 },
>                         { 0 },
>                         { 0 },
>                         { 300000000, 400000000, 400000000, 400000000 },
> @@ -4062,10 +4063,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
>         /* VFE3 (lite) */
>         {
>                 .regulators = {},
> -               .clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
> -                          "vfe_lite_csid", "vfe_lite_cphy_rx",
> +               .clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
> +                          "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
>                            "vfe_lite", "camnoc_axi"},
>                 .clock_rate = {
> +                       { 0 },
>                         { 0 },
>                         { 0 },
>                         { 300000000, 400000000, 400000000, 400000000 },
> @@ -4087,10 +4089,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
>         /* VFE4 (lite) */
>         {
>                 .regulators = {},
> -               .clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
> -                          "vfe_lite_csid", "vfe_lite_cphy_rx",
> +               .clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
> +                          "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
>                            "vfe_lite", "camnoc_axi"},
>                 .clock_rate = {
> +                       { 0 },
>                         { 0 },
>                         { 0 },
>                         { 300000000, 400000000, 400000000, 400000000 },
> @@ -4112,10 +4115,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
>         /* VFE5 (lite) */
>         {
>                 .regulators = {},
> -               .clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
> -                          "vfe_lite_csid", "vfe_lite_cphy_rx",
> +               .clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
> +                          "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
>                            "vfe_lite", "camnoc_axi"},
>                 .clock_rate = {
> +                       { 0 },
>                         { 0 },
>                         { 0 },
>                         { 300000000, 400000000, 400000000, 400000000 },
> @@ -4137,10 +4141,11 @@ static const struct camss_subdev_resources vfe_res_8775p[] = {
>         /* VFE6 (lite) */
>         {
>                 .regulators = {},
> -               .clock = { "cpas_ahb", "cpas_vfe_lite", "vfe_lite_ahb",
> -                          "vfe_lite_csid", "vfe_lite_cphy_rx",
> +               .clock = { "cpas_ahb", "gcc_axi_hf", "cpas_vfe_lite",
> +                          "vfe_lite_ahb", "vfe_lite_csid", "vfe_lite_cphy_rx",
>                            "vfe_lite", "camnoc_axi"},
>                 .clock_rate = {
> +                       { 0 },
>                         { 0 },
>                         { 0 },
>                         { 300000000, 400000000, 400000000, 400000000 },
> --
> 2.55.0
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists
  2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
                   ` (3 preceding siblings ...)
  2026-07-23 12:50 ` Loic Poulain
@ 2026-07-23 17:42 ` Cory Keitz
  4 siblings, 0 replies; 8+ messages in thread
From: Cory Keitz @ 2026-07-23 17:42 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
	Wenmeng Liu, linux-media, linux-arm-msm, stable

On Thu, Jul 23, 2026 at 01:09:50PM +0200, Hans de Goede wrote:
> The "gcc_axi_hf" clock is correctly listed in the clock list of the
> 8775p 2 main VFE-s, but it is missing from all the VFE-lite clock lists,
> causing these to not work on platforms where the firmware allows turning
> off "gcc_axi_hf".
> 
> Add the missing "gcc_axi_hf" to fix the VFE-lite blocks not working on
> these platforms.

Tested-by: Cory Keitz <ckeitz@amazon.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-23 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23 11:09 [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Hans de Goede
2026-07-23 11:09 ` [PATCH v2 2/3] media: qcom: camss: Drop icc_res_qcs8300 resource table Hans de Goede
2026-07-23 11:30   ` Vladimir Zapolskiy
2026-07-23 11:09 ` [PATCH v2 3/3] media: qcom: camss: Drop csiphy_res_8300 phy " Hans de Goede
2026-07-23 11:31   ` Vladimir Zapolskiy
2026-07-23 11:30 ` [PATCH v2 1/3] media: qcom: camss: Add "gcc_axi_hf" to 8775p VFE lite clock lists Vladimir Zapolskiy
2026-07-23 12:50 ` Loic Poulain
2026-07-23 17:42 ` Cory Keitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox