Skip to contentSkip to conversation

dt-bindings: arm: qcom: Add Xiaomi Pad 6 (xiaomi-pipa) Add a compatible for Xiaomi Pad 6.

PATCH Superseded luka177 2 participants 4 messages Oct 21, 2023

Subsystems (3)

v1 of 11 Superseded Latest is v11 →

lore
Share & tools
lore

luka177

author
#0 lore raw

PATCH 1/2 dt-bindings: arm: qcom: Add Xiaomi Pad 6 (xiaomi-pipa) Add a compatible for Xiaomi Pad 6.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index adbfaea32343..1bfae1b237d2 100644
@@ -965,6 +965,7 @@ properties:
               - sony,pdx203-generic
               - sony,pdx206-generic
               - xiaomi,elish
+              - xiaomi,pipa
           - const: qcom,sm8250
 
       - items:
Signature · 1 line
2.42.0
author
#1 lore raw

PATCH 2/2 arm64: dts: qcom: sm8250-xiaomi-pipa: Add initial device tree Initial support for Xiaomi Pad 6 tablet, that have sm8250 soc.

---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/sm8250-xiaomi-pipa.dts      | 635 ++++++++++++++++++
 2 files changed, 636 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 2cca20563a1d..41ab333d1f81 100644
@@ -208,6 +208,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-sony-xperia-edo-pdx203.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-sony-xperia-edo-pdx206.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-xiaomi-elish-boe.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-xiaomi-elish-csot.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-xiaomi-pipa.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8350-hdk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8350-microsoft-surface-duo2.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8350-mtp.dtb
arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts new file +635 -0

635 lines not on this page · raw message

Signature · 1 line
2.42.0
#2 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: sm8250-xiaomi-pipa: Add initial device tree Initial support for Xiaomi Pad 6 tablet, that have sm8250 soc.

Quoted 2 lines · On 10/21/23 18:46, luka177 wrote:

---

[...]

arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts line 302

Quoted 6 lines
arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts new file +6 -0
+	/*
+	 * Remaining regulators that are not yet supported:
+	 * OLEDB: 4925000-8100000
+	 * ab: 4600000-6100000
+	 * ibb: 800000-5400000
+	 */

These are actually configured by XBL and they directly talk to the display panel over some magic 1wire-like protocol, you can probably drop this.

arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts line 592

Quoted 2 lines

+&tlmm {

arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts new file +1 -0
+	gpio-reserved-ranges = <40 4>;

Would that be the fp reader?
Any chance you can leave a comment?

Otherwise this looks very nice!

Konrad

#3 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: sm8250-xiaomi-pipa: Add initial device tree Initial support for Xiaomi Pad 6 tablet, that have sm8250 soc.

In reply to luka177
Quoted 2 lines · On 10/21/23 18:46, luka177 wrote:

---

I just noticed, you should write some sort of a commit message and make the title shorter (70 something chars is a good length)

Konrad