[PATCH 0/3] Add RPMPD support for MSM8974

2024-02-10 Thread Luca Weiss
ge-id: 20240210-msm8974-rpmpd-6e48fe374275 Best regards, -- Luca Weiss

[PATCH 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-10 Thread Luca Weiss
Add the compatibles and indexes for the rpmpd in MSM8974, both with the standard PM8841+PM8941 PMICs but also devices found with PMA8084. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 ++ include/dt-bindings/power/qcom-rpmpd.h | 8

[PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 66 +++ 1 file changed, 66 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpmpd.c inde

[PATCH 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/pmdomain/qcom/r

Re: [PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Konrad Dybcio
On 2/10/24 15:12, Luca Weiss wrote: Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- [...] +static struct rpmpd gfx_s4b_corner_ao; +static struct rpmpd gfx_s4b_corner = { + .pd = { .name = "gfx", }, + .peer = &gfx_s4b_corn

Re: [PATCH 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Konrad Dybcio
On 2/10/24 15:12, Luca Weiss wrote: Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- Same comment as p2, gfx_ao may not make much sense on this platform Konrad

[PATCH v2 0/3] Bring up more CPU cores on MSM8226

2024-02-10 Thread Luca Weiss
Add some nodes to bring up SMP on msm8226 SoC. Another commit to fix the sorting of the nodes is also included since the ordering is currently a bit all over the place. The bindings patch depends on the following series: https://lore.kernel.org/linux-arm-msm/20240102-saw2-spm-regulator-v7-0-0472ec

[PATCH v2 3/3] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2024-02-10 Thread Luca Weiss
From: Ivaylo Ivanov Add CPU and SAW/ACC nodes to enable SMP on MSM8226. Signed-off-by: Ivaylo Ivanov [luca: update some nodes to fix dtbs_check errors, reorder, cleanup] Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 96 1 file change

[PATCH v2 1/3] dt-bindings: soc: qcom: qcom,saw2: add msm8226 l2 compatible

2024-02-10 Thread Luca Weiss
Add the compatible for the SAW2 for L2 cache found on MSM8226. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/soc/qcom/qcom,saw2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,saw2.yaml b/Documentation/devicetree/binding

[PATCH v2 2/3] ARM: dts: qcom: msm8226: Sort and clean up nodes

2024-02-10 Thread Luca Weiss
From: Matti Lehtimäki Quite a few nodes haven't been sorted correctly by reg, so let's do this now so that future nodes can be added at the correct place. Also at the same time, move the status property last. No functional change intended. Signed-off-by: Matti Lehtimäki [luca: add more text t

Re: [PATCH 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
On Samstag, 10. Februar 2024 15:19:54 CET Konrad Dybcio wrote: > On 2/10/24 15:12, Luca Weiss wrote: > > Add the power domains CX & GFX found on devices with MSM8974 and PM8841. > > > > Signed-off-by: Luca Weiss > > --- > > [...] > > > +static struct rpmpd gfx_s4b_corner_ao; > > +static struct

[PATCH v2 1/3] dt-bindings: power: rpmpd: Add MSM8974 power domains

2024-02-10 Thread Luca Weiss
Add the compatibles and indexes for the rpmpd in MSM8974, both with the standard PM8841+PM8941 PMICs but also devices found with PMA8084. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 2 ++ include/dt-bindings/power/qcom-rpmpd.h | 7

[PATCH v2 0/3] Add RPMPD support for MSM8974

2024-02-10 Thread Luca Weiss
d raw voltages to it, so these are ignored in this series. Signed-off-by: Luca Weiss --- Changes in v2: - Drop MSM8974_VDDGFX_AO in all patches - Link to v1: https://lore.kernel.org/r/20240210-msm8974-rpmpd-v1-0-de9355e68...@z3ntu.xyz --- Luca Weiss (3): dt-bindings: power: rpmpd: Add MS

[PATCH v2 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd.c b/drivers/pmdomain/qcom/rpmpd.c inde

[PATCH v2 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Luca Weiss
Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- drivers/pmdomain/qcom/rpmpd.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/pmdomain/qcom/rpmpd.c b/dri

[PATCH v3] ARM: dts: qcom: msm8974: correct qfprom node size

2024-02-10 Thread Luca Weiss
From: Craig Tatlor The qfprom actually is bigger than 0x1000, so adjust the reg. Note that the non-ECC-corrected qfprom can be found at 0xfc4b8000 (-0x4000). The current reg points to the ECC-corrected qfprom block which should have equivalent values at all offsets compared to the non-corrected

Re: [PATCH v2 2/3] pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains

2024-02-10 Thread Konrad Dybcio
On 2/10/24 17:38, Luca Weiss wrote: Add the power domains CX & GFX found on devices with MSM8974 and PM8841. Signed-off-by: Luca Weiss --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 3/3] pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains

2024-02-10 Thread Konrad Dybcio
On 2/10/24 17:38, Luca Weiss wrote: Add the power domains CX & GFX found on MSM8974 devices that use PMA8084 instead of the standard PM8841+PM8941 combo. Signed-off-by: Luca Weiss --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 3/3] ARM: dts: qcom: msm8226: Add CPU and SAW/ACC nodes

2024-02-10 Thread Konrad Dybcio
On 2/10/24 17:28, Luca Weiss wrote: From: Ivaylo Ivanov Add CPU and SAW/ACC nodes to enable SMP on MSM8226. Signed-off-by: Ivaylo Ivanov [luca: update some nodes to fix dtbs_check errors, reorder, cleanup] Signed-off-by: Luca Weiss --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH v2 2/3] ARM: dts: qcom: msm8226: Sort and clean up nodes

2024-02-10 Thread Konrad Dybcio
On 2/10/24 17:28, Luca Weiss wrote: From: Matti Lehtimäki Quite a few nodes haven't been sorted correctly by reg, so let's do this now so that future nodes can be added at the correct place. Also at the same time, move the status property last. No functional change intended. Signed-off-by

[PATCH v2] x86/sgx: fix kernel-doc comment misuse

2024-02-10 Thread Randy Dunlap
Don't use "/**" for a non-kernel-doc comment. This prevents a warning from scripts/kernel-doc: main.c:740: warning: expecting prototype for A section metric is concatenated in a way that @low bits 12(). Prototype was for sgx_calc_section_metric() instead Cc: Jarkko Sakkinen Cc: Dave Hansen Cc