mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: qcom: camss: Add sm845 named power-domain support
@ 2024-12-08  4:00 David Heidelberg
  2024-12-08 11:27 ` Bryan O'Donoghue
  0 siblings, 1 reply; 2+ messages in thread
From: David Heidelberg @ 2024-12-08  4:00 UTC (permalink / raw)
  To: Robert Foss, Todor Tomov, Bryan O'Donoghue, Mauro Carvalho Chehab
  Cc: Caleb Connolly, David Heidelberg, linux-media, linux-arm-msm,
	linux-kernel

From: Caleb Connolly <caleb.connolly@linaro.org>

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>
---
 drivers/media/platform/qcom/camss/camss.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git ./drivers/media/platform/qcom/camss/camss.c ./drivers/media/platform/qcom/camss/camss.c
index 67fb11cbe865..62c556c4fcf8 100644
--- ./drivers/media/platform/qcom/camss/camss.c
+++ ./drivers/media/platform/qcom/camss/camss.c
@@ -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,
-- 
2.45.2


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

* Re: [PATCH] media: qcom: camss: Add sm845 named power-domain support
  2024-12-08  4:00 [PATCH] media: qcom: camss: Add sm845 named power-domain support David Heidelberg
@ 2024-12-08 11:27 ` Bryan O'Donoghue
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan O'Donoghue @ 2024-12-08 11:27 UTC (permalink / raw)
  To: David Heidelberg, Robert Foss, Todor Tomov, Mauro Carvalho Chehab
  Cc: Caleb Connolly, linux-media, linux-arm-msm, linux-kernel

On 08/12/2024 04:00, David Heidelberg wrote:
> From: Caleb Connolly <caleb.connolly@linaro.org>
> 
> 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>
> ---
>   drivers/media/platform/qcom/camss/camss.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git ./drivers/media/platform/qcom/camss/camss.c ./drivers/media/platform/qcom/camss/camss.c
> index 67fb11cbe865..62c556c4fcf8 100644
> --- ./drivers/media/platform/qcom/camss/camss.c
> +++ ./drivers/media/platform/qcom/camss/camss.c
> @@ -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,

Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

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

end of thread, other threads:[~2024-12-08 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-08  4:00 [PATCH] media: qcom: camss: Add sm845 named power-domain support David Heidelberg
2024-12-08 11:27 ` Bryan O'Donoghue

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

all inboxes | Powered by JetHome®