* [PATCH 0/3] arm: qcom: sa8775p: add socinfo support
@ 2023-02-07 10:07 Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 1/3] soc: qcom: smem: Update max processor count Bartosz Golaszewski
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-02-07 10:07 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This series adds support for qcom-socinfo for SA8775P SoCs.
Bartosz Golaszewski (3):
soc: qcom: smem: Update max processor count
dt-bindings: arm: add the SoC ID for qcom SA8775P
soc: qcom: socinfo: add support for SA8775P
drivers/soc/qcom/smem.c | 2 +-
drivers/soc/qcom/socinfo.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
--
2.37.2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] soc: qcom: smem: Update max processor count
2023-02-07 10:07 [PATCH 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
@ 2023-02-07 10:07 ` Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P Bartosz Golaszewski
2 siblings, 0 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-02-07 10:07 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Update max processor count to reflect the number of co-processors on
SA8775P SoCs.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/soc/qcom/smem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index 4f163d62942c..7666b3425b7c 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -85,7 +85,7 @@
#define SMEM_GLOBAL_HOST 0xfffe
/* Max number of processors/hosts in a system */
-#define SMEM_HOST_COUNT 15
+#define SMEM_HOST_COUNT 20
/**
* struct smem_proc_comm - proc_comm communication struct (legacy)
--
2.37.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P
2023-02-07 10:07 [PATCH 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 1/3] soc: qcom: smem: Update max processor count Bartosz Golaszewski
@ 2023-02-07 10:07 ` Bartosz Golaszewski
2023-02-07 10:51 ` Krzysztof Kozlowski
2023-02-07 10:07 ` [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P Bartosz Golaszewski
2 siblings, 1 reply; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-02-07 10:07 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add the SoC ID entry for SA8775P.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
include/dt-bindings/arm/qcom,ids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index 22d7ba17804b..bfdf066cc690 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -223,6 +223,7 @@
#define QCOM_ID_SC7180P 495
#define QCOM_ID_SM6375 507
#define QCOM_ID_SM8550 519
+#define QCOM_ID_SA8775P 534
#define QCOM_ID_QRU1000 539
#define QCOM_ID_QDU1000 545
#define QCOM_ID_QDU1010 587
--
2.37.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-07 10:07 [PATCH 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 1/3] soc: qcom: smem: Update max processor count Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P Bartosz Golaszewski
@ 2023-02-07 10:07 ` Bartosz Golaszewski
2023-02-07 10:46 ` Krzysztof Kozlowski
2 siblings, 1 reply; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-02-07 10:07 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add SocInfo support for SA8775P.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
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 3b970a80f3aa..c5208aa99125 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -419,6 +419,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(SM8350) },
{ qcom_board_id(SM6115) },
{ qcom_board_id(SC8280XP) },
+ { qcom_board_id(SA8775P) },
{ qcom_board_id(IPQ6005) },
{ qcom_board_id(QRB5165) },
{ qcom_board_id(SM8450) },
--
2.37.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-07 10:07 ` [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P Bartosz Golaszewski
@ 2023-02-07 10:46 ` Krzysztof Kozlowski
2023-02-07 10:49 ` Bartosz Golaszewski
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-07 10:46 UTC (permalink / raw)
To: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
On 07/02/2023 11:07, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add SocInfo support for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> 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 3b970a80f3aa..c5208aa99125 100644
> --- a/drivers/soc/qcom/socinfo.c
> +++ b/drivers/soc/qcom/socinfo.c
> @@ -419,6 +419,7 @@ static const struct soc_id soc_id[] = {
> { qcom_board_id(SM8350) },
> { qcom_board_id(SM6115) },
> { qcom_board_id(SC8280XP) },
> + { qcom_board_id(SA8775P) },
This does not look like correctly ordered.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-07 10:46 ` Krzysztof Kozlowski
@ 2023-02-07 10:49 ` Bartosz Golaszewski
0 siblings, 0 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2023-02-07 10:49 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
Bartosz Golaszewski
On Tue, Feb 7, 2023 at 11:46 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 07/02/2023 11:07, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > Add SocInfo support for SA8775P.
> >
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > ---
> > 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 3b970a80f3aa..c5208aa99125 100644
> > --- a/drivers/soc/qcom/socinfo.c
> > +++ b/drivers/soc/qcom/socinfo.c
> > @@ -419,6 +419,7 @@ static const struct soc_id soc_id[] = {
> > { qcom_board_id(SM8350) },
> > { qcom_board_id(SM6115) },
> > { qcom_board_id(SC8280XP) },
> > + { qcom_board_id(SA8775P) },
>
> This does not look like correctly ordered.
>
Ugh, I missed the fact that these are ordered by the chip ID that's
defined elsewhere. Thanks, will fix that in v2.
Bart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P
2023-02-07 10:07 ` [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P Bartosz Golaszewski
@ 2023-02-07 10:51 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-07 10:51 UTC (permalink / raw)
To: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
On 07/02/2023 11:07, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
subject prefixes:
dt-bindings: arm: qcom:
(or last piece qcom,ids)
> Add the SoC ID entry for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-02-07 10:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-07 10:07 [PATCH 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 1/3] soc: qcom: smem: Update max processor count Bartosz Golaszewski
2023-02-07 10:07 ` [PATCH 2/3] dt-bindings: arm: add the SoC ID for qcom SA8775P Bartosz Golaszewski
2023-02-07 10:51 ` Krzysztof Kozlowski
2023-02-07 10:07 ` [PATCH 3/3] soc: qcom: socinfo: add support for SA8775P Bartosz Golaszewski
2023-02-07 10:46 ` Krzysztof Kozlowski
2023-02-07 10:49 ` Bartosz Golaszewski
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).