mbox series

[v2,0/5] RB1 + QCM2290 support

Message ID 20230403-topic-rb1_qcm-v2-0-dae06f8830dc@linaro.org
Headers show
Series RB1 + QCM2290 support | expand

Message

Konrad Dybcio April 5, 2023, 3:50 p.m. UTC
v1 -> v2:
- Fix missing newline in pm2250.dtsi
- Use an enum in [2/5] to allow for more QRB2210 boards
- Squash the dt patches into one per SoC, PMIC and board
- pick up rb on [1/5]

v1: https://lore.kernel.org/r/20230403-topic-rb1_qcm-v1-0-ca849b62ba07@linaro.org

This series brings basic support for the Qualcomm Robotics RB1 board,
including but not limited to:

- TSENS-connected thermal management
- USB2
- eMMC (uSD depends requires regulators to work, will be sent separately)
- the necessary plumbing for *DSP + Wi-Fi (that also needs regulators)
- buttons

A compatible in the SCM C driver is not added on purpose, as:
1. it's not neccessary before we figure out disabling rpmcc, the dt
   part is in regardless (the clock it consumes is always-on today)
2. a point to get rid of SoC-specific compatibles in there was raised

See also:
https://www.thundercomm.com/product/qualcomm-robotics-rb1-platform/
https://www.qualcomm.com/products/internet-of-things/industrial/industrial-automation/qualcomm-robotics-rb1-platform

Dependencies:
- https://lore.kernel.org/linux-arm-msm/20230314-topic-2290_compats-v1-0-47e26c3c0365@linaro.org/
- https://lore.kernel.org/linux-arm-msm/20230315183231.3562580-1-konrad.dybcio@linaro.org/
- https://lore.kernel.org/linux-arm-msm/20230323173019.3706069-1-dianders@chromium.org/

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (5):
      dt-bindings: firmware: document Qualcomm QCM2290 SCM
      dt-bindings: arm: qcom: Add QRB2210/QCM2290 and RB1 board
      arm64: dts: qcom: Add initial QCM2290 device tree
      arm64: dts: qcom: Add initial PM2250 device tree
      arm64: dts: qcom: Add initial QTI RB1 device tree

 Documentation/devicetree/bindings/arm/qcom.yaml    |    9 +
 .../devicetree/bindings/firmware/qcom,scm.yaml     |    3 +
 arch/arm64/boot/dts/qcom/Makefile                  |    1 +
 arch/arm64/boot/dts/qcom/pm2250.dtsi               |   63 +
 arch/arm64/boot/dts/qcom/qcm2290.dtsi              | 1561 ++++++++++++++++++++
 arch/arm64/boot/dts/qcom/qrb2210-rb1.dts           |  112 ++
 6 files changed, 1749 insertions(+)
---
base-commit: 8417c8f5007bf4567ccffda850a3157c7d905f67
change-id: 20230403-topic-rb1_qcm-78a8826b34b6

Best regards,

Comments

Bjorn Andersson April 7, 2023, 6:36 p.m. UTC | #1
On Wed, 05 Apr 2023 17:50:29 +0200, Konrad Dybcio wrote:
> v1 -> v2:
> - Fix missing newline in pm2250.dtsi
> - Use an enum in [2/5] to allow for more QRB2210 boards
> - Squash the dt patches into one per SoC, PMIC and board
> - pick up rb on [1/5]
> 
> v1: https://lore.kernel.org/r/20230403-topic-rb1_qcm-v1-0-ca849b62ba07@linaro.org
> 
> [...]

Applied, thanks!

[3/5] arm64: dts: qcom: Add initial QCM2290 device tree
      commit: a64a0192b70cfe7537072ae61a5e0d1d99f976bc
[4/5] arm64: dts: qcom: Add initial PM2250 device tree
      commit: c309b9a54039053892cc5417193e9f0089073ae3
[5/5] arm64: dts: qcom: Add initial QTI RB1 device tree
      commit: e18771961336647121c40cad4585caa794980887

Best regards,
Krzysztof Kozlowski April 7, 2023, 6:59 p.m. UTC | #2
On 05/04/2023 17:50, Konrad Dybcio wrote:
> Document QRB210, a QRB version of QCM2290.
> 
> Document QTI Robotics RB1 as a QRB2210 device.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
>  Documentation/devicetree/bindings/arm/qcom.yaml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
> index 05badce5fedc..236ea55aee96 100644
> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
> @@ -47,6 +47,8 @@ description: |
>          msm8996
>          msm8998
>          qcs404
> +        qcm2290
> +        qrb2210
>          qdu1000
>          qru1000
>          sa8155p
> @@ -353,6 +355,13 @@ properties:
>            - const: swir,wp8548
>            - const: qcom,mdm9615
>  
> +      - description: Qualcomm Technologies, Inc. Robotics RB1

The title should be now different, e.g.
	Qualcomm Technologies, Inc. QRB2210-based boards
or even dropped entirely.

Anyway, this can be fixed when a new entry appears here.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof