mbox series

[v2,00/14] SM6375 feature enablement (round one)

Message ID 20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org
Headers show
Series SM6375 feature enablement (round one) | expand

Message

Konrad Dybcio March 16, 2023, 2:12 p.m. UTC
v1 -> v2:
- Reword CPUCP L3 commits to indicate that CPUCP != the L3 scaler within
- Pick up tags
- Drop the MPM introduction as we work on resolving RPM MSG RAM bindings

v1: https://lore.kernel.org/r/20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org

Hello

This series brings support for a couple of nice things on SM6375, namely:

* 2 TSENS controllers & associated thermal-zones
* RPM sleep stats
* IMEM
* WCN3990 Wi-Fi (Bluetooth doesn't wanna play ball yet)
* MPSS & RMTFS
* L3 scaling interconnect (not yet hooked up in this series, but it works,
  still assessing the best scaling configuration)
* MPM (big!; also implicitly fixes some interrupt lanes due to my earlier
  misunderstanding of the downstream MPM<->GIC mapping)
* Additional CPU sleep state (gated clock, power rail still on)
* V- key on the Xperia

It does *not* bring support for GPU, MDSS, icc and various other scaling
parts which are still in progress of being upstreamed.

More PDX225-specific patches, along with Wi-Fi enablement will come after
that. But hey, we already know it works great ;)

Tested on the only sm6375 device we support, the Xperia 10 IV (PDX225).

Depends on:
https://lore.kernel.org/lkml/20230109135647.339224-5-konrad.dybcio@linaro.org/

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (14):
      dt-bindings: thermal: qcom-tsens: Add compatible for SM6375
      dt-bindings: interconnect: OSM L3: Add SM6375 CPUCP compatible
      dt-bindings: sram: qcom,imem: document SM6375 IMEM
      arm64: dts: qcom: sm6375: Add RPM sleep stats
      arm64: dts: qcom: sm6375: Add IMEM
      arm64: dts: qcom: sm6375: Add RMTFS
      arm64: dts: qcom: sm6375: Add wifi node
      arm64: dts: qcom: sm6375: Add modem nodes
      arm64: dts: qcom: sm6375: Add CPUCP L3 node
      arm64: dts: qcom: sm6375: Add TSENS
      arm64: dts: qcom: sm6375: Configure TSENS thermal zones
      arm64: dts: qcom: sm6375: Bump CPU rail power collapse index
      arm64: dts: qcom: sm6375: Introduce C3 power state for both ARM clusters
      arm64: dts: qcom: sm6375-pdx225: Add volume down GPIO key

 .../bindings/interconnect/qcom,osm-l3.yaml         |   1 +
 .../devicetree/bindings/sram/qcom,imem.yaml        |   1 +
 .../devicetree/bindings/thermal/qcom-tsens.yaml    |   1 +
 .../dts/qcom/sm6375-sony-xperia-murray-pdx225.dts  |  27 +
 arch/arm64/boot/dts/qcom/sm6375.dtsi               | 904 ++++++++++++++++++++-
 5 files changed, 926 insertions(+), 8 deletions(-)
---
base-commit: 1acf39ef8f1425cd105f630dc2c7c1d8fff27ed1
change-id: 20230303-topic-sm6375_features0_dts-860904f318d8

Best regards,

Comments

Bjorn Andersson April 5, 2023, 4:08 a.m. UTC | #1
On Thu, 16 Mar 2023 15:12:49 +0100, Konrad Dybcio wrote:
> v1 -> v2:
> - Reword CPUCP L3 commits to indicate that CPUCP != the L3 scaler within
> - Pick up tags
> - Drop the MPM introduction as we work on resolving RPM MSG RAM bindings
> 
> v1: https://lore.kernel.org/r/20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org
> 
> [...]

Applied, thanks!

[04/14] arm64: dts: qcom: sm6375: Add RPM sleep stats
        commit: 2cecb9c2419f78e939e6e902895591ce3e3a7cc7
[05/14] arm64: dts: qcom: sm6375: Add IMEM
        commit: 528630df2fa6d34eca0268a293fe354c71e48556
[06/14] arm64: dts: qcom: sm6375: Add RMTFS
        (no commit info)
[07/14] arm64: dts: qcom: sm6375: Add wifi node
        commit: 149d179d1408bc67b6af10af160ac13b48fa3399
[08/14] arm64: dts: qcom: sm6375: Add modem nodes
        commit: 31cc61104f6894f686491dbbb5c8ece97b06e75d
[09/14] arm64: dts: qcom: sm6375: Add CPUCP L3 node
        commit: 2f51d9231485250c0e4cf4d7326c30109c553382
[10/14] arm64: dts: qcom: sm6375: Add TSENS
        commit: 3f54391526b407a419d2dfd4055fdc9e6e223551
[11/14] arm64: dts: qcom: sm6375: Configure TSENS thermal zones
        commit: 33555cdae863984c7840ba742cfffe839a0f71e4
[12/14] arm64: dts: qcom: sm6375: Bump CPU rail power collapse index
        commit: 097d6525af378f4be768c05cc1d77183a4e742e3
[13/14] arm64: dts: qcom: sm6375: Introduce C3 power state for both ARM clusters
        commit: dbe38b9cba6d0de56ca186151f3f54f9c776f9d9
[14/14] arm64: dts: qcom: sm6375-pdx225: Add volume down GPIO key
        commit: 795ee50e55f4e869ad1d56f0262d0baa401f6c3d

Best regards,
Konrad Dybcio May 16, 2023, 1:07 a.m. UTC | #2
On 16.03.2023 15:12, Konrad Dybcio wrote:
> The Qualcomm SM6375 platform has two instances of the tsens v2.8.0 block,
> add a compatible for these instances.
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
<bump>
This one got lost!

Konrad
>  Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index 926e9c51c93c..d73b72dafcbc 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -56,6 +56,7 @@ properties:
>                - qcom,sdm845-tsens
>                - qcom,sm6115-tsens
>                - qcom,sm6350-tsens
> +              - qcom,sm6375-tsens
>                - qcom,sm8150-tsens
>                - qcom,sm8250-tsens
>                - qcom,sm8350-tsens
>