dt-bindings: arm: qcom: Add Xiaomi Mi Pad 5 Pro (xiaomi-elish)
PATCH v3 1/2 dt-bindings: arm: qcom: Add Xiaomi Mi Pad 5 Pro (xiaomi-elish)
Add a compatible for Xiaomi Mi Pad 5 Pro.
---
Changes in v3:
- Pick up Krzysztof's A-b
Changes in v2:
- Move compatible "xiaomi-elish" down.
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -875,6 +875,7 @@ properties: - qcom,sm8250-mtp - sony,pdx203-generic - sony,pdx206-generic + - xiaomi,elish - const: qcom,sm8250 - items:
Signature · 1 line
2.39.1
PATCH v3 2/2 arm64: dts: qcom: sm8250: Add device tree for Xiaomi Mi Pad 5 Pro
Add support for Xiaomi Mi Pad 5 Pro, codename is xiaomi-elish.
This commit brings support for:
* ADSP/CDSP/SLPI/VENUS
* Backlight
* Battery fuel gauge
* Framebuffer
* PCIe0
* USB2.0
---
Note backlight driver (ktz8866) is waitting for upstreaming[1].
[1] https://lore.kernel.org/linux-leds/[email protected]
Changes in v3:
- Sort deleted node.
- Use descriptive name for reserved memory.
Changes in v2:
- Use definition for magic value and flags.
- Add pin setting for pm8150_gpio6.
- Sort device tree node.
- battery_fg -> fuel-gauge
- vol-up -> key-vol-up
arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8250-xiaomi-elish.dts | 617 ++++++++++++++++++ 2 files changed, 618 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -184,6 +184,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb 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.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-elish.dts new file +617 -0
617 lines not on this page · raw message
Signature · 1 line
2.39.1