linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible
@ 2021-05-23 21:20 Martin Botka
  2021-05-23 21:20 ` [PATCH V2 2/2] socinfo: Add missing SoC ID for SM6125 Martin Botka
  2021-05-25  4:06 ` [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Botka @ 2021-05-23 21:20 UTC (permalink / raw)
  Cc: ~postmarketos/upstreaming, konrad.dybcio,
	angelogioacchino.delregno, marijn.suijten, Martin Botka,
	Andy Gross, Bjorn Andersson, Jassi Brar, linux-arm-msm,
	linux-kernel

This commit adds compatible for the SM6125 SoC

Signed-off-by: Martin Botka <martin.botka@somainline.org>
---
Changes in V2:
None
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index f25324d03842..57745a764d4c 100644
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
@@ -57,6 +57,10 @@ static const struct qcom_apcs_ipc_data sdm660_apcs_data = {
 	.offset = 8, .clk_name = NULL
 };
 
+static const struct qcom_apcs_ipc_data sm6125_hmss_data = {
+	.offset = 8, .clk_name = NULL
+};
+
 static const struct qcom_apcs_ipc_data apps_shared_apcs_data = {
 	.offset = 12, .clk_name = NULL
 };
@@ -166,6 +170,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
 	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
 	{ .compatible = "qcom,sdm660-apcs-hmss-global", .data = &sdm660_apcs_data },
 	{ .compatible = "qcom,sdm845-apss-shared", .data = &apps_shared_apcs_data },
+	{ .compatible = "qcom,sm6125-hmss-global", .data = &sm6125_hmss_data },
 	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
 	{ .compatible = "qcom,sdx55-apcs-gcc", .data = &sdx55_apcs_data },
 	{}
-- 
2.31.1


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

* [PATCH V2 2/2] socinfo: Add missing SoC ID for SM6125
  2021-05-23 21:20 [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Martin Botka
@ 2021-05-23 21:20 ` Martin Botka
  2021-05-25  4:06 ` [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Botka @ 2021-05-23 21:20 UTC (permalink / raw)
  Cc: ~postmarketos/upstreaming, konrad.dybcio,
	angelogioacchino.delregno, marijn.suijten, Martin Botka,
	Andy Gross, Bjorn Andersson, Jassi Brar, linux-arm-msm,
	linux-kernel

Add SM6125 SoC ID to the soc_id struct

Signed-off-by: Martin Botka <martin.botka@somainline.org>
---
Changes in V2:
Add commit description
 drivers/soc/qcom/socinfo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index f6cfb79338f0..c52145e92f03 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -254,6 +254,7 @@ static const struct soc_id soc_id[] = {
 	{ 350, "SDA632" },
 	{ 351, "SDA450" },
 	{ 356, "SM8250" },
+	{ 394, "SM6125" },
 	{ 402, "IPQ6018" },
 	{ 425, "SC7180" },
 	{ 455, "QRB5165" },
-- 
2.31.1


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

* Re: [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible
  2021-05-23 21:20 [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Martin Botka
  2021-05-23 21:20 ` [PATCH V2 2/2] socinfo: Add missing SoC ID for SM6125 Martin Botka
@ 2021-05-25  4:06 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2021-05-25  4:06 UTC (permalink / raw)
  To: Martin Botka
  Cc: ~postmarketos/upstreaming, konrad.dybcio,
	angelogioacchino.delregno, marijn.suijten, Andy Gross,
	Jassi Brar, linux-arm-msm, linux-kernel

On Sun 23 May 16:20 CDT 2021, Martin Botka wrote:

> This commit adds compatible for the SM6125 SoC
> 

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Please also submit a dt-bindings patch.

Regards,
Bjorn

> Signed-off-by: Martin Botka <martin.botka@somainline.org>
> ---
> Changes in V2:
> None
>  drivers/mailbox/qcom-apcs-ipc-mailbox.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> index f25324d03842..57745a764d4c 100644
> --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
> @@ -57,6 +57,10 @@ static const struct qcom_apcs_ipc_data sdm660_apcs_data = {
>  	.offset = 8, .clk_name = NULL
>  };
>  
> +static const struct qcom_apcs_ipc_data sm6125_hmss_data = {
> +	.offset = 8, .clk_name = NULL
> +};
> +
>  static const struct qcom_apcs_ipc_data apps_shared_apcs_data = {
>  	.offset = 12, .clk_name = NULL
>  };
> @@ -166,6 +170,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
>  	{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
>  	{ .compatible = "qcom,sdm660-apcs-hmss-global", .data = &sdm660_apcs_data },
>  	{ .compatible = "qcom,sdm845-apss-shared", .data = &apps_shared_apcs_data },
> +	{ .compatible = "qcom,sm6125-hmss-global", .data = &sm6125_hmss_data },
>  	{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
>  	{ .compatible = "qcom,sdx55-apcs-gcc", .data = &sdx55_apcs_data },
>  	{}
> -- 
> 2.31.1
> 

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

end of thread, other threads:[~2021-05-25  4:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23 21:20 [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Martin Botka
2021-05-23 21:20 ` [PATCH V2 2/2] socinfo: Add missing SoC ID for SM6125 Martin Botka
2021-05-25  4:06 ` [PATCH V2 1/2] mailbox: qcom-apcs: Add SM6125 compatible Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).