]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: qcom: camss: update clock names for sc7280
authorVikram Sharma <quic_vikramsa@quicinc.com>
Tue, 21 Jan 2025 18:07:46 +0000 (23:37 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 6 Feb 2025 12:49:31 +0000 (13:49 +0100)
Update clock names to make them consistent with existing platform i.e
sc8280xp. Rename gcc_cam_hf_axi to gcc_axi_hf and add gcc_axi_sf.

Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/camss/camss.c

index a85e9df0f301a933d7e47e07b9fec535819aeb14..b1358457c66e021c3e915bd83758080359542134 100644 (file)
@@ -1443,12 +1443,13 @@ static const struct camss_subdev_resources vfe_res_7280[] = {
                .regulators = {},
 
                .clock = { "camnoc_axi", "cpas_ahb", "icp_ahb", "vfe0",
-                          "vfe0_axi", "gcc_cam_hf_axi" },
+                          "vfe0_axi", "gcc_axi_hf", "gcc_axi_sf" },
                .clock_rate = { { 150000000, 240000000, 320000000, 400000000, 480000000 },
                                { 80000000 },
                                { 0 },
                                { 380000000, 510000000, 637000000, 760000000 },
                                { 0 },
+                               { 0 },
                                { 0 } },
 
                .reg = { "vfe0" },
@@ -1468,12 +1469,13 @@ static const struct camss_subdev_resources vfe_res_7280[] = {
                .regulators = {},
 
                .clock = { "camnoc_axi", "cpas_ahb", "icp_ahb", "vfe1",
-                          "vfe1_axi", "gcc_cam_hf_axi" },
+                          "vfe1_axi", "gcc_axi_hf", "gcc_axi_sf" },
                .clock_rate = { { 150000000, 240000000, 320000000, 400000000, 480000000 },
                                { 80000000 },
                                { 0 },
                                { 380000000, 510000000, 637000000, 760000000 },
                                { 0 },
+                               { 0 },
                                { 0 } },
 
                .reg = { "vfe1" },
@@ -1493,12 +1495,13 @@ static const struct camss_subdev_resources vfe_res_7280[] = {
                .regulators = {},
 
                .clock = { "camnoc_axi", "cpas_ahb", "icp_ahb", "vfe2",
-                          "vfe2_axi", "gcc_cam_hf_axi" },
+                          "vfe2_axi", "gcc_axi_hf", "gcc_axi_sf" },
                .clock_rate = { { 150000000, 240000000, 320000000, 400000000, 480000000 },
                                { 80000000 },
                                { 0 },
                                { 380000000, 510000000, 637000000, 760000000 },
                                { 0 },
+                               { 0 },
                                { 0 } },
 
                .reg = { "vfe2" },
@@ -1516,11 +1519,12 @@ static const struct camss_subdev_resources vfe_res_7280[] = {
        /* VFE3 (lite) */
        {
                .clock = { "camnoc_axi", "cpas_ahb", "icp_ahb",
-                          "vfe_lite0", "gcc_cam_hf_axi" },
+                          "vfe_lite0", "gcc_axi_hf", "gcc_axi_sf" },
                .clock_rate = { { 150000000, 240000000, 320000000, 400000000, 480000000 },
                                { 80000000 },
                                { 0 },
                                { 320000000, 400000000, 480000000, 600000000 },
+                               { 0 },
                                { 0 } },
 
                .regulators = {},
@@ -1537,11 +1541,12 @@ static const struct camss_subdev_resources vfe_res_7280[] = {
        /* VFE4 (lite) */
        {
                .clock = { "camnoc_axi", "cpas_ahb", "icp_ahb",
-                          "vfe_lite1", "gcc_cam_hf_axi" },
+                          "vfe_lite1", "gcc_axi_hf", "gcc_axi_sf" },
                .clock_rate = { { 150000000, 240000000, 320000000, 400000000, 480000000 },
                                { 80000000 },
                                { 0 },
                                { 320000000, 400000000, 480000000, 600000000 },
+                               { 0 },
                                { 0 } },
 
                .regulators = {},