Skip to contentSkip to conversation

Add HTC One (M8) support

PATCH Applied Alexandre Messier 5 participants 7 messages Jun 3, 2024 – Jun 6, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Add HTC One (M8) support

Add an initial device tree to support the HTC One (M8) smartphone, aka "htc,m8".

---
Alexandre Messier (2):
dt-bindings: arm: qcom: add HTC One (M8)
ARM: dts: qcom: Add initial support for HTC One (M8)

 Documentation/devicetree/bindings/arm/qcom.yaml   |   1 +
 arch/arm/boot/dts/qcom/Makefile                   |   1 +
 arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 353 ++++++++++++++++++++++
 3 files changed, 355 insertions(+)

---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240603-m8-support-9458b378f168

Best regards,

Signature · 1 line
Alexandre Messier <[email protected]>
#1 lore raw

PATCH 1/2 dt-bindings: arm: qcom: add HTC One (M8)

Add a compatible for the HTC One (M8), which is based on the MSM8974Pro SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index ae885414b181..9a29cc614b6e 100644
@@ -182,6 +182,7 @@ properties:
       - items:
           - enum:
               - fairphone,fp2
+              - htc,m8
               - oneplus,bacon
               - samsung,klte
               - sony,xperia-castor
Signature · 1 line
2.45.1
Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: arm: qcom: add HTC One (M8)

Quoted 7 lines · On 03/06/2024 08:28, Alexandre Messier via B4 Relay wrote:

From: Alexandre Messier <[email protected]>

Add a compatible for the HTC One (M8), which is based on the MSM8974Pro SoC.

---

---

This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, you can skip it (please do not feel offended by me posting it here - no bad intentions intended). If you do not know the process, here is a short explanation:

Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.

https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577

Best regards,
Krzysztof

#3 lore raw

PATCH 2/2 ARM: dts: qcom: Add initial support for HTC One (M8)

In reply to Alexandre Messier

Add initial device tree for the HTC One (M8) smartphone.

Initial support includes:
- eMMC
- Power button
- USB
- Vibrator
- Volume buttons (GPIO)
- Wi-Fi

---
 arch/arm/boot/dts/qcom/Makefile                   |   1 +
 arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 353 ++++++++++++++++++++++
 2 files changed, 354 insertions(+)
arch/arm/boot/dts/qcom/Makefile +1 -0
index e2e922bdc9e9..759b0e7f0043 100644
@@ -44,6 +44,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
 	qcom-msm8974-sony-xperia-rhine-amami.dtb \
 	qcom-msm8974-sony-xperia-rhine-honami.dtb \
 	qcom-msm8974pro-fairphone-fp2.dtb \
+	qcom-msm8974pro-htc-m8.dtb \
 	qcom-msm8974pro-oneplus-bacon.dtb \
 	qcom-msm8974pro-samsung-klte.dtb \
 	qcom-msm8974pro-samsung-kltechn.dtb \
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts new file +353 -0

353 lines not on this page · raw message

Signature · 1 line
2.45.1
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] ARM: dts: qcom: Add initial support for HTC One (M8)

Quoted 12 lines · On 6/3/24 08:28, Alexandre Messier via B4 Relay wrote:

From: Alexandre Messier <[email protected]>

Add initial device tree for the HTC One (M8) smartphone.

Initial support includes:
- eMMC
- Power button
- USB
- Vibrator
- Volume buttons (GPIO)
- Wi-Fi

Quoted 2 lines

---

Konrad

#5 lore raw
In reply to Alexandre Messier
Quoted 13 lines · Alexandre Messier

Add an initial device tree to support the HTC One (M8) smartphone, aka "htc,m8".

---
Alexandre Messier (2):
dt-bindings: arm: qcom: add HTC One (M8)
ARM: dts: qcom: Add initial support for HTC One (M8)

 Documentation/devicetree/bindings/arm/qcom.yaml   |   1 +
 arch/arm/boot/dts/qcom/Makefile                   |   1 +
 arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 353 ++++++++++++++++++++++
 3 files changed, 355 insertions(+)
Quoted 10 lines

---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240603-m8-support-9458b378f168

Best regards,
--
Alexandre Messier <[email protected]>

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

New warnings running 'make CHECK_DTBS=y qcom/qcom-msm8974pro-htc-m8.dtb' for [email protected]:

arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dtb: l2-cache: Unevaluated properties are not allowed ('qcom,saw' was unexpected)
from schema $id: http://devicetree.org/schemas/cache.yaml#

maintainer Applied
#6 lore raw

Re: (subset) [PATCH 0/2] Add HTC One (M8) support

In reply to Alexandre Messier
Quoted 4 lines · Alexandre Messier

Add an initial device tree to support the HTC One (M8) smartphone, aka "htc,m8".

Applied, thanks!

[2/2] ARM: dts: qcom: Add initial support for HTC One (M8)

      commit: 0e8a41e511c98f5f5796c0dca8ff983d1c967b93

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>