[PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree

André Apitzsch via B4 Relay posted 4 patches 3 months, 3 weeks ago
Documentation/devicetree/bindings/arm/qcom.yaml    |   5 +
arch/arm64/boot/dts/qcom/Makefile                  |   1 +
.../boot/dts/qcom/msm8976-longcheer-l9360.dts      | 490 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/msm8976.dtsi              |  38 ++
4 files changed, 534 insertions(+)
[PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
Posted by André Apitzsch via B4 Relay 3 months, 3 weeks ago
This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360) released
in 2016.

Add a device tree with initial support for:

- GPIO keys
- NFC
- SDHCI
- Status LED
- Touchscreen

Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
Changes in v2:
- Add Fixes and R-b tag
- Move sdc2 GPIO definitions into msm8976.dtsi (new patch)
- Remove comments from rmi4 nodes
- Don't touch tz-app memory region. Currently, the bigger size seems
  not necessary.
- Link to v1: https://lore.kernel.org/r/20250613-bqx5plus-v1-0-2bc2d43707a6@apitzsch.eu

---
André Apitzsch (4):
      arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely
      dt-bindings: arm: qcom: Add MSM8976 BQ Aquaris X5 Plus
      arm64: dts: qcom: msm8976: Add sdc2 GPIOs
      arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree

 Documentation/devicetree/bindings/arm/qcom.yaml    |   5 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/msm8976-longcheer-l9360.dts      | 490 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8976.dtsi              |  38 ++
 4 files changed, 534 insertions(+)
---
base-commit: 0bb71d301869446810a0b13d3da290bd455d7c78
change-id: 20250612-bqx5plus-d72e11f5877c

Best regards,
-- 
André Apitzsch <git@apitzsch.eu>


Re: [PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
Posted by Bjorn Andersson 3 months, 3 weeks ago
On Sun, 15 Jun 2025 22:35:02 +0200, André Apitzsch wrote:
> This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360) released
> in 2016.
> 
> Add a device tree with initial support for:
> 
> - GPIO keys
> - NFC
> - SDHCI
> - Status LED
> - Touchscreen
> 
> [...]

Applied, thanks!

[1/4] arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely
      commit: 76270a18dbdf0bb50615f1b29d2cae8d683da01e
[2/4] dt-bindings: arm: qcom: Add MSM8976 BQ Aquaris X5 Plus
      commit: 3440c6d1f81dc6fa6356b0f9adbf1dc785ceb426
[3/4] arm64: dts: qcom: msm8976: Add sdc2 GPIOs
      commit: cf3dcd80dbe45f1915bd9630f3e20bcdbf6360ac
[4/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
      commit: 79b896e7da7e2743fc930d260bcecd1e84a003c4

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
Posted by Rob Herring (Arm) 3 months, 3 weeks ago
On Sun, 15 Jun 2025 22:35:02 +0200, André Apitzsch wrote:
> This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360) released
> in 2016.
> 
> Add a device tree with initial support for:
> 
> - GPIO keys
> - NFC
> - SDHCI
> - Status LED
> - Touchscreen
> 
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
> ---
> Changes in v2:
> - Add Fixes and R-b tag
> - Move sdc2 GPIO definitions into msm8976.dtsi (new patch)
> - Remove comments from rmi4 nodes
> - Don't touch tz-app memory region. Currently, the bigger size seems
>   not necessary.
> - Link to v1: https://lore.kernel.org/r/20250613-bqx5plus-v1-0-2bc2d43707a6@apitzsch.eu
> 
> ---
> André Apitzsch (4):
>       arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely
>       dt-bindings: arm: qcom: Add MSM8976 BQ Aquaris X5 Plus
>       arm64: dts: qcom: msm8976: Add sdc2 GPIOs
>       arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
> 
>  Documentation/devicetree/bindings/arm/qcom.yaml    |   5 +
>  arch/arm64/boot/dts/qcom/Makefile                  |   1 +
>  .../boot/dts/qcom/msm8976-longcheer-l9360.dts      | 490 +++++++++++++++++++++
>  arch/arm64/boot/dts/qcom/msm8976.dtsi              |  38 ++
>  4 files changed, 534 insertions(+)
> ---
> base-commit: 0bb71d301869446810a0b13d3da290bd455d7c78
> change-id: 20250612-bqx5plus-d72e11f5877c
> 
> Best regards,
> --
> André Apitzsch <git@apitzsch.eu>
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


This patch series was applied (using b4) to base:
 Base: using specified base-commit 0bb71d301869446810a0b13d3da290bd455d7c78

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for 20250615-bqx5plus-v2-0-72b45c84237d@apitzsch.eu:

arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dtb: display-controller@1a01000 (qcom,msm8976-mdp5): clock-names: 'oneOf' conditional failed, one must be fixed:
	['iface', 'bus', 'core', 'vsync', 'tbu', 'tbu_rt'] is too long
	'iommu' was expected
	'lut' was expected
	'vsync' was expected
	'tbu' was expected
	from schema $id: http://devicetree.org/schemas/display/msm/qcom,mdp5.yaml#
arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dtb: gpu@1c00000 (qcom,adreno-510.0): clock-names:5: 'alwayson' is not one of ['core', 'iface', 'mem', 'mem_iface', 'alt_mem_iface', 'gfx3d', 'rbbmtimer', 'rbcpr']
	from schema $id: http://devicetree.org/schemas/display/msm/gpu.yaml#





Re: [PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
Posted by Konrad Dybcio 3 months, 3 weeks ago
On 6/15/25 10:35 PM, André Apitzsch via B4 Relay wrote:
> This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360) released
> in 2016.
> 
> Add a device tree with initial support for:
> 
> - GPIO keys
> - NFC
> - SDHCI
> - Status LED
> - Touchscreen
> 
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
> ---
> Changes in v2:
> - Add Fixes and R-b tag
> - Move sdc2 GPIO definitions into msm8976.dtsi (new patch)
> - Remove comments from rmi4 nodes
> - Don't touch tz-app memory region. Currently, the bigger size seems
>   not necessary.

You may want to run the kernel memtest, which accesses all non-reserved
regions. If the device doesn't kaboom, we're likely gtg

To do so, enable CONFIG_MEMTEST and boot with "memtest=1" in cmdline,
boot may take noticeably longer than usual.

Konrad
Re: [PATCH v2 0/4] arm64: dts: qcom: msm8976-longcheer-l9360: Add initial device tree
Posted by André Apitzsch 3 months, 3 weeks ago
Am Montag, dem 16.06.2025 um 13:46 +0200 schrieb Konrad Dybcio:
> On 6/15/25 10:35 PM, André Apitzsch via B4 Relay wrote:
> > This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360)
> > released
> > in 2016.
> > 
> > Add a device tree with initial support for:
> > 
> > - GPIO keys
> > - NFC
> > - SDHCI
> > - Status LED
> > - Touchscreen
> > 
> > Signed-off-by: André Apitzsch <git@apitzsch.eu>
> > ---
> > Changes in v2:
> > - Add Fixes and R-b tag
> > - Move sdc2 GPIO definitions into msm8976.dtsi (new patch)
> > - Remove comments from rmi4 nodes
> > - Don't touch tz-app memory region. Currently, the bigger size
> > seems
> >   not necessary.
> 
> You may want to run the kernel memtest, which accesses all non-
> reserved regions. If the device doesn't kaboom, we're likely gtg
> 
> To do so, enable CONFIG_MEMTEST and boot with "memtest=1" in cmdline,
> boot may take noticeably longer than usual.
> 
> Konrad

Hi Konrad,

thanks for the hint. The memtest runs without problems.

Best regards,
André