[v2,0/3] Fix SA8155P RPMPDs

Message ID 20230411-topic-hanaau-v2-0-fd3d70844b31@linaro.org
Headers
Series Fix SA8155P RPMPDs |

Message

Konrad Dybcio April 11, 2023, 1:47 p.m. UTC
  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,
  

Comments

Bartosz Golaszewski April 11, 2023, 2:58 p.m. UTC | #1
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>
  
Bjorn Andersson May 25, 2023, 4:54 a.m. UTC | #2
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,