Skip to contentSkip to conversation

media: qcom: camss: Add sm845 named power-domain support

PATCH In review David Heidelberg 2 participants 2 messages Dec 8, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: qcom: camss: Add sm845 named power-domain support

From: Caleb Connolly <[email protected]>

Declare power-domain names "top", "ife0" and "ife1" eponymously for the power-domains TITAN_TOP_GDSC, IFE_0_GDSC and IFE_1_GDSC respectively.

---
 drivers/media/platform/qcom/camss/camss.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/media/platform/qcom/camss/camss.c +3 -0
index 67fb11cbe865..62c556c4fcf8 100644
@@ -927,6 +927,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,
@@ -954,6 +955,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,
@@ -2647,6 +2649,7 @@ static const struct camss_resources sdm660_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,
Signature · 1 line
2.45.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 32 lines · David Heidelberg

From: Caleb Connolly <[email protected]>

Declare power-domain names "top", "ife0" and "ife1" eponymously for the power-domains TITAN_TOP_GDSC, IFE_0_GDSC and IFE_1_GDSC respectively.

---
  drivers/media/platform/qcom/camss/camss.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/media/platform/qcom/camss/camss.c +2 -0
index 67fb11cbe865..62c556c4fcf8 100644
@@ -927,6 +927,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,
@@ -954,6 +955,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,

drivers/media/platform/qcom/camss/camss.c static const struct camss_resources sdm660_resources = { · line 2655

Quoted 7 lines
drivers/media/platform/qcom/camss/camss.c +1 -0
@@ -2647,6 +2649,7 @@ static const struct camss_resources sdm660_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,