[PATCH v2 0/3] Fix SA8155P RPMPDs

Konrad Dybcio posted 3 patches 2 years, 10 months ago
.../devicetree/bindings/power/qcom,rpmpd.yaml      |  1 +
arch/arm64/boot/dts/qcom/sa8155p-adp.dts           |  2 +-
arch/arm64/boot/dts/qcom/sa8155p.dtsi              | 40 ++++++++++++++++++++++
drivers/soc/qcom/rpmhpd.c                          | 16 +++++++++
include/dt-bindings/power/qcom-rpmpd.h             |  9 +++++
5 files changed, 67 insertions(+), 1 deletion(-)
[PATCH v2 0/3] Fix SA8155P RPMPDs
Posted by Konrad Dybcio 2 years, 10 months ago
SA8155P has some kind of a faulty firmware that advertises power
domains that are actually absent (and trying to access them results
in a lockup and reboot).. This series tries to amend that.

v1 -> v2:
- Reuse 8150 indices for 8155
- As a consequence of /\, only update domains that differ in the DT

I did not pick up any tags, as things changed rather significantly.

Compile-tested only.

v1: https://lore.kernel.org/linux-arm-msm/20230214095435.2192153-1-konrad.dybcio@linaro.org/

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (3):
      dt-bindings: power: qcom,rpmpd: Add SA8155P
      soc: qcom: rpmhpd: Add SA8155P power domains
      arm64: dts: qcom: Split out SA8155P and use correct RPMh power domains

 .../devicetree/bindings/power/qcom,rpmpd.yaml      |  1 +
 arch/arm64/boot/dts/qcom/sa8155p-adp.dts           |  2 +-
 arch/arm64/boot/dts/qcom/sa8155p.dtsi              | 40 ++++++++++++++++++++++
 drivers/soc/qcom/rpmhpd.c                          | 16 +++++++++
 include/dt-bindings/power/qcom-rpmpd.h             |  9 +++++
 5 files changed, 67 insertions(+), 1 deletion(-)
---
base-commit: 009795d283d1f9f043e5a4ff97d4140cde17e2d3
change-id: 20230411-topic-hanaau-459c6cbbf55c

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>
Re: [PATCH v2 0/3] Fix SA8155P RPMPDs
Posted by Bartosz Golaszewski 2 years, 10 months ago
On Tue, Apr 11, 2023 at 3:47 PM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>
> SA8155P has some kind of a faulty firmware that advertises power
> domains that are actually absent (and trying to access them results
> in a lockup and reboot).. This series tries to amend that.
>
> v1 -> v2:
> - Reuse 8150 indices for 8155
> - As a consequence of /\, only update domains that differ in the DT
>
> I did not pick up any tags, as things changed rather significantly.
>
> Compile-tested only.
>
> v1: https://lore.kernel.org/linux-arm-msm/20230214095435.2192153-1-konrad.dybcio@linaro.org/
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Konrad Dybcio (3):
>       dt-bindings: power: qcom,rpmpd: Add SA8155P
>       soc: qcom: rpmhpd: Add SA8155P power domains
>       arm64: dts: qcom: Split out SA8155P and use correct RPMh power domains
>
>  .../devicetree/bindings/power/qcom,rpmpd.yaml      |  1 +
>  arch/arm64/boot/dts/qcom/sa8155p-adp.dts           |  2 +-
>  arch/arm64/boot/dts/qcom/sa8155p.dtsi              | 40 ++++++++++++++++++++++
>  drivers/soc/qcom/rpmhpd.c                          | 16 +++++++++
>  include/dt-bindings/power/qcom-rpmpd.h             |  9 +++++
>  5 files changed, 67 insertions(+), 1 deletion(-)
> ---
> base-commit: 009795d283d1f9f043e5a4ff97d4140cde17e2d3
> change-id: 20230411-topic-hanaau-459c6cbbf55c
>
> Best regards,
> --
> Konrad Dybcio <konrad.dybcio@linaro.org>
>

sa8155p-adp now works fine, thanks

Tested-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: (subset) [PATCH v2 0/3] Fix SA8155P RPMPDs
Posted by Bjorn Andersson 2 years, 8 months ago
On Tue, 11 Apr 2023 15:47:14 +0200, Konrad Dybcio wrote:
> SA8155P has some kind of a faulty firmware that advertises power
> domains that are actually absent (and trying to access them results
> in a lockup and reboot).. This series tries to amend that.
> 
> v1 -> v2:
> - Reuse 8150 indices for 8155
> - As a consequence of /\, only update domains that differ in the DT
> 
> [...]

Applied, thanks!

[2/3] soc: qcom: rpmhpd: Add SA8155P power domains
      commit: 4a08af2f22ba3c2fb26287dc27fa07bf298acb34

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>