Skip to contentSkip to conversation

arm64: dts: qcom: sm8350-hdk: Add display card overlay

PATCH New Vladimir Zapolskiy 1 participant 1 message Nov 1

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

PATCH 1/1 arm64: dts: qcom: sm8350-hdk: Add display card overlay

Add an overlay for the SM8350-HDK display card kit with the 1080x2340 Visionox R66451 AMOLED DSI panel and the FocalTech FT3518 touchscreen.

The panel is connected to DSI0, which is alternatively routed to the LT9611UXC HDMI bridge, so disable the bridge and its supplies to enable the panel.

The panel OLED_VDDIO supply is PM8350C L12C at 1.8V, and the OLED_VCI supply is PM8350C L13C at 3.0V, the ELVDD and ELVSS supplies come from the PM8350B AMOLED regulators, which are controlled by the panel over SWIRE and need no software control.

---
Two small fixes can be helpful to test the SM8350-HDK display card:
* https://lore.kernel.org/dri-devel/[email protected]

 arch/arm64/boot/dts/qcom/Makefile             |   4 +
 .../dts/qcom/sm8350-hdk-display-card.dtso     | 157 ++++++++++++++++++
 2 files changed, 161 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8350-hdk-display-card.dtso
arch/arm64/boot/dts/qcom/Makefile +4 -0
index 88230c4e00ea..5eea5c5d6121 100644
@@ -417,6 +417,10 @@ 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
+
+sm8350-hdk-display-card-dtbs	:= sm8350-hdk.dtb sm8350-hdk-display-card.dtbo
+
+dtb-$(CONFIG_ARCH_QCOM)	+= sm8350-hdk-display-card.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/sm8350-hdk-display-card.dtso new file +157 -0

157 lines not on this page · raw message

Signature · 1 line
2.51.0