media: qcom: camss: Add sm8250 named power-domain support
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 23 Nov 2023 17:03:07 +0000 (17:03 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 7 Dec 2023 07:31:15 +0000 (08:31 +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: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/qcom/camss/camss.c

index 6fc291f40b3927ddfff57d5176ab67922d5058b7..58f4be660290f6767a019de83f103b354a49f44b 100644 (file)
@@ -849,6 +849,7 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
                                { 0 } },
                .reg = { "vfe0" },
                .interrupt = { "vfe0" },
+               .pd_name = "ife0",
                .line_num = 3,
                .has_pd = true,
                .ops = &vfe_ops_480
@@ -870,6 +871,7 @@ static const struct camss_subdev_resources vfe_res_8250[] = {
                                { 0 } },
                .reg = { "vfe1" },
                .interrupt = { "vfe1" },
+               .pd_name = "ife1",
                .line_num = 3,
                .has_pd = true,
                .ops = &vfe_ops_480
@@ -1813,6 +1815,7 @@ static const struct camss_resources sdm845_resources = {
 
 static const struct camss_resources sm8250_resources = {
        .version = CAMSS_8250,
+       .pd_name = "top",
        .csiphy_res = csiphy_res_8250,
        .csid_res = csid_res_8250,
        .vfe_res = vfe_res_8250,