]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: qcom: camss: Add sm845 named power-domain support
authorCaleb Connolly <caleb.connolly@linaro.org>
Sun, 8 Dec 2024 04:00:48 +0000 (23:00 -0500)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 21 Feb 2025 09:33:09 +0000 (10:33 +0100)
Declare power-domain names "top", "ife0" and "ife1" eponymously for the
power-domains TITAN_TOP_GDSC, IFE_0_GDSC and IFE_1_GDSC respectively.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/camss/camss.c

index c0a75b81d870fb4e8b457807d6bb9b14ef813746..6791dfea91b13d584694a26599e24ca088dfc1ab 100644 (file)
@@ -1106,6 +1106,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
                .interrupt = { "vfe0" },
                .vfe = {
                        .line_num = 4,
+                       .pd_name = "ife0",
                        .has_pd = true,
                        .hw_ops = &vfe_ops_170,
                        .formats_rdi = &vfe_formats_rdi_845,
@@ -1133,6 +1134,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
                .interrupt = { "vfe1" },
                .vfe = {
                        .line_num = 4,
+                       .pd_name = "ife1",
                        .has_pd = true,
                        .hw_ops = &vfe_ops_170,
                        .formats_rdi = &vfe_formats_rdi_845,
@@ -3435,6 +3437,7 @@ static const struct camss_resources sdm670_resources = {
 
 static const struct camss_resources sdm845_resources = {
        .version = CAMSS_845,
+       .pd_name = "top",
        .csiphy_res = csiphy_res_845,
        .csid_res = csid_res_845,
        .vfe_res = vfe_res_845,