mbox series

[v5,0/4] Add initial support for SM7125 and Xiaomi SM7125 platform

Message ID 20230824091737.75813-1-davidwronek@gmail.com (mailing list archive)
Headers show
Series Add initial support for SM7125 and Xiaomi SM7125 platform | expand

Message

David Wronek Aug. 24, 2023, 9:15 a.m. UTC
This series introduces support for the Qualcomm SM7125 SoC and the
Xiaomi SM7125 platform.

Signed-off-by: David Wronek <davidwronek@gmail.com>
---
Changes in v2:
- Allow qcom,board-id and qcom,msm-id properties
- Use QCOM_SCM_VMID_MSS_MSA definition
- Change initial regulator modes from LPM to HPM
- Move status to the bottom of nodes
- Fix up PM6150 interrupts
- Move clk patch to beginning of series
- Fix up copyright
- Take ownership of all commits with permission
- Link to v1: https://lore.kernel.org/all/20230704163848.169853-2-davidwronek@gmail.com/

Changes in v3:
- Disable pm6150 rtc by default
- Fix wrong pm8150l PMIC in joyeuse dts
- Link to v2: https://lore.kernel.org/all/20230706124339.134272-1-davidwronek@gmail.com/

Changes in v4:
- Fix key-vol-down node name
- Link to v3: https://lore.kernel.org/all/20230715091932.161507-1-davidwronek@gmail.com/

Changes in v5:
- Rename common dtsi to sm7125-xiaomi-common
- Link to v4: https://lore.kernel.org/all/20230723190725.1619193-1-davidwronek@gmail.com/

---
David Wronek (4):
  dt-bindings: arm: qcom: Document SM7125 and xiaomi,joyeuse board
  arm64: dts: qcom: pm6150: Add resin and rtc nodes
  arm64: dts: qcom: Add SM7125 device tree
  arm64: dts: qcom: Add support for the Xiaomi SM7125 platform

 .../devicetree/bindings/arm/qcom.yaml         |   7 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 arch/arm64/boot/dts/qcom/pm6150.dtsi          |  16 +
 .../boot/dts/qcom/sm7125-xiaomi-common.dtsi   | 423 ++++++++++++++++++
 .../boot/dts/qcom/sm7125-xiaomi-joyeuse.dts   |  16 +
 arch/arm64/boot/dts/qcom/sm7125.dtsi          |  16 +
 6 files changed, 479 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts
 create mode 100644 arch/arm64/boot/dts/qcom/sm7125.dtsi

Comments

Konrad Dybcio Aug. 24, 2023, 9:53 a.m. UTC | #1
On 24.08.2023 11:15, David Wronek wrote:
> This series introduces support for the Qualcomm SM7125 SoC and the
> Xiaomi SM7125 platform.
> 
> Signed-off-by: David Wronek <davidwronek@gmail.com>
> ---
Would your device boot if you:

- removed qcom,board-id and qcom,msm-id
- created the image like this:

mkbootimg \
--kernel arch/arm64/boot/Image.gz \
--dtb arch/arm64/boot/dts/qcom/blahblah.dtb \
--ramdisk blah.img \
--pagesize 4096 \
--base 0x0 \
--kernel_offset 0x8000 \
--ramdisk_offset 0x1000000 \
--tags_offset 0x100 \
--cmdline "foobarbaz" \
--dtb_offset 0x1f00000 \
--header_version 2 \
-o boot.img

?

Konrad
David Wronek Aug. 24, 2023, 10:38 a.m. UTC | #2
On Thu, Aug 24, 2023 at 11:53 AM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>
> On 24.08.2023 11:15, David Wronek wrote:
> > This series introduces support for the Qualcomm SM7125 SoC and the
> > Xiaomi SM7125 platform.
> >
> > Signed-off-by: David Wronek <davidwronek@gmail.com>
> > ---
> Would your device boot if you:
>
> - removed qcom,board-id and qcom,msm-id
> - created the image like this:
>
> mkbootimg \
> --kernel arch/arm64/boot/Image.gz \
> --dtb arch/arm64/boot/dts/qcom/blahblah.dtb \
> --ramdisk blah.img \
> --pagesize 4096 \
> --base 0x0 \
> --kernel_offset 0x8000 \
> --ramdisk_offset 0x1000000 \
> --tags_offset 0x100 \
> --cmdline "foobarbaz" \
> --dtb_offset 0x1f00000 \
> --header_version 2 \
> -o boot.img
>
> ?
>
> Konrad

Seems like my device needs those properties, it does not boot without
msm-id and board-id and the command you sent.

Sincerely,
David
Bjorn Andersson Sept. 20, 2023, 3:58 a.m. UTC | #3
On Thu, 24 Aug 2023 11:15:03 +0200, David Wronek wrote:
> This series introduces support for the Qualcomm SM7125 SoC and the
> Xiaomi SM7125 platform.
> 
> 

Applied, thanks!

[1/4] dt-bindings: arm: qcom: Document SM7125 and xiaomi,joyeuse board
      commit: 9b4adf37fdc0ca8cd1d14b4160e2f04b63df98e6
[2/4] arm64: dts: qcom: pm6150: Add resin and rtc nodes
      commit: ec053ec90c245a4efc8dda87d9207de0adf0040e
[3/4] arm64: dts: qcom: Add SM7125 device tree
      commit: 72fbf05149bd451e7222c2ed1e3823972f19df9c
[4/4] arm64: dts: qcom: Add support for the Xiaomi SM7125 platform
      commit: 7d65d4b7d70fb9560ce9baaf4219fb24646bd578

Best regards,