arm64: dts: qcom: Add LVDS display overlays for lemans, monaco and rb3gen2
v2 cover arm64: dts: qcom: Add LVDS display overlays for lemans, monaco and rb3gen2
This series adds LVDS display support via device tree overlays for three Qualcomm platforms: SA8775P Lemans EVK, SA8295P/QCS8300 Monaco EVK, and QCS6490 RB3 Gen2 industrial mezzanine.
All three platforms use the Lontium LT9211C DSI-to-LVDS bridge chip, which converts DSI output to dual-channel LVDS for driving 1920x1080 panels. The overlays follow the established composite-DTB pattern already in use on these platforms (IFP mezzanine, camera, el2) and are structured to be applied on top of the existing IFP mezzanine overlay.
Each overlay:
- Wires the LT9211C bridge to the DSI output via an I2C node
- Defines a generic dual-channel panel-lvds node with VESA-24 mapping
targeting a 1920x1080 (476x268mm) panel at 148.5 MHz pixel clock
- Provides an LCD bias regulator through the GPIO expander
This series depends on:
[PATCH v6 0/2] This series adds LT9211C bridge driver by extending LT9211
https://lore.kernel.org/all/[email protected]/
which adds lontium,lt9211c compatible support to the lontium-lt9211 driver and extends the binding YAML accordingly, and:
[PATCH v2 0/2] This series adds BOE DV215FHM-R01 LVDS panel support
https://lore.kernel.org/all/[email protected]/
which documents the boe,dv215fhm-r01 panel and add timings used by these overlays.
---
Changes in v2:
- Updated overlays to make them compatable with panel-simple-lvds-dual-ports.yaml [Rob (in panel series)]
- Added Empty lines before the status property [Dmitry]
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Vishnu Saini (3):
arm64: dts: qcom: lemans-evk: Add LVDS display overlay
arm64: dts: qcom: monaco-evk: Add LVDS display overlay
arm64: dts: qcom: qcs6490-rb3gen2: Add LVDS display overlay
arch/arm64/boot/dts/qcom/Makefile | 14 +++ .../dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso | 116 ++++++++++++++++++++ .../dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso | 117 +++++++++++++++++++++ ...industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso | 105 ++++++++++++++++++ 4 files changed, 352 insertions(+)
---
base-commit: f86573e68e56a7df7d54eb58101ac413ba731996
change-id: 20260708-lvds-support-2d40d60654f1
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: dbba64d1ace696df388c5df3d1cb05a0701df194
prerequisite-patch-id: 7729b9c67a7c274b25fea08635dfede3fc604ae9
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: bd3612ce053552e2ae7401a1217c4884413563f4
prerequisite-patch-id: 1d3e40bbefcb2550afd81c5cced812a1d3b943a2
Best regards,
Signature · 1 line
Vishnu Saini <[email protected]>
PATCH v2 1/3 arm64: dts: qcom: lemans-evk: Add LVDS display overlay
The Lemans EVK IFP mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge. The bridge is connected to the DSI0 output and drives a dual-channel 1920x1080 LVDS panel in VESA-24 mapping.
Add a DTBO overlay, lemans-evk-lvds-boe,dv215fhm-r01.dtso, that wires up the LT9211C bridge on I2C1 (address 0x2d) with reset on GPIO37, a panel-lvds node for the boe,dv215fhm-r01 panel (matched against the panel-simple-lvds-dual-ports binding, which supplies the panel's size and timing internally), and an LCD display bias regulator supplied through the GPIO expander. DSI power is provided by vreg_s4a.
The overlay is built as a composite DTB combining the base lemans-evk.dtb, the IFP mezzanine overlay, and this LVDS overlay.
--- arch/arm64/boot/dts/qcom/Makefile | 4 + .../dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso | 116 +++++++++++++++++++++ 2 files changed, 120 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +4 -0
@@ -55,6 +55,10 @@ lemans-evk-el2-dtbs := lemans-evk.dtb lemans-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-el2.dtb lemans-evk-ifp-mezzanine-dtbs := lemans-evk.dtb lemans-evk-ifp-mezzanine.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-ifp-mezzanine.dtb + +lemans-evk-lvds-boe,dv215fhm-r01-dtbs := lemans-evk.dtb lemans-evk-ifp-mezzanine.dtbo lemans-evk-lvds-boe,dv215fhm-r01.dtbo +dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-lvds-boe,dv215fhm-r01.dtb + dtb-$(CONFIG_ARCH_QCOM) += mahua-crd.dtb dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb dtb-$(CONFIG_ARCH_QCOM) += milos-nothing-asteroids.dtb
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +116 -0
116 lines not on this page · raw message
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH v2 1/3] arm64: dts: qcom: lemans-evk: Add LVDS display overlay
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Missing driver support for compatible strings 'boe,dv215fhm-r01' and 'lontium,lt9211c'. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Missing driver support for compatible strings 'boe,dv215fhm-r01' and 'lontium,lt9211c'. --
--- Patch [1]: [PATCH v2 1/3] arm64: dts: qcom: lemans-evk: Add LVDS display overlay --- commit 982b78f0ee343a881d363b06b3c257a529f0e73b
Author: Vishnu Saini <[email protected]>
arm64: dts: qcom: lemans-evk: Add LVDS display overlay
This commit adds a device tree overlay for the Lemans EVK IFP mezzanine to support LVDS display output. It wires up the Lontium LT9211C DSI-to-LVDS bridge and a BOE dv215fhm-r01 LVDS panel.
Quoted 5 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +0
-0
[ ... ]
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 15
Quoted 5 lines
+&{/} {
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +4
-0+ model = "Qualcomm Technologies, Inc. Lemans EVK LVDS"; + + panel_lvds: panel-lvds { + compatible = "boe,dv215fhm-r01";
[Severity: Medium]
Will this panel successfully probe? It looks like the compatible string "boe,dv215fhm-r01" does not exist in the kernel tree's match tables (e.g., in panel-simple.c), and there is no generic fallback compatible string provided here.
Does the panel driver need to be updated upstream first, or should this node include a fallback like "panel-lvds" along with explicit DT timings so the generic driver can bind to it?
Quoted 3 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ power-supply = <&lcd_disp_bias>; + + status = "okay";
[ ... ]
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 61
Quoted 10 lines
+&i2c1 {
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +9
-0+ #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c1_default>; + + status = "okay"; + + lt9211c_codec: lvds-bridge@2d { + compatible = "lontium,lt9211c";
[Severity: Medium]
Is the "lontium,lt9211c" compatible string currently supported by the bridge driver? It appears the lontium bridge driver might only match against "lontium,lt9211", which would prevent the driver core from binding to this bridge node.
Could this use a fallback compatible string (e.g., "lontium,lt9211") if the devices are sufficiently compatible, or is a driver update missing from this series?
Quoted 3 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ reg = <0x2d>; + reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; + vccio-supply = <&vreg_s4a>;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Re: [PATCH v2 1/3] arm64: dts: qcom: lemans-evk: Add LVDS display overlay
In reply to Vishnu SainiQuoted 17 lines · Vishnu Saini
The Lemans EVK IFP mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge. The bridge is connected to the DSI0 output and drives a dual-channel 1920x1080 LVDS panel in VESA-24 mapping.
Add a DTBO overlay, lemans-evk-lvds-boe,dv215fhm-r01.dtso, that wires up the LT9211C bridge on I2C1 (address
0x2d) with reset on GPIO37, a panel-lvds node for the boe,dv215fhm-r01 panel (matched against the panel-simple-lvds-dual-ports binding, which supplies the panel's size and timing internally), and an LCD display bias regulator supplied through the GPIO expander. DSI power is provided byvreg_s4a.The overlay is built as a composite DTB combining the base lemans-evk.dtb, the IFP mezzanine overlay, and this LVDS overlay.
Signed-off-by Vishnu Saini <[email protected]>---
[...]
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 18
Quoted 5 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +5
-0+ panel_lvds: panel-lvds { + compatible = "boe,dv215fhm-r01"; + power-supply = <&lcd_disp_bias>; + + status = "okay";
Nodes are enabled by default unless explicitly disabled
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 27
Quoted 9 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +9
-0+ + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + panel_in_lvds_odd: endpoint {
Please keep a \n between the last property and the following subnodes
[...]
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 66
Quoted 7 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +7
-0+ lt9211c_codec: lvds-bridge@2d { + compatible = "lontium,lt9211c"; + reg = <0x2d>; + reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; + vccio-supply = <&vreg_s4a>; + + status = "okay";
ditto
[...]
Review
Quoted 3 lines
+&mdss0 {
(quoted diff) +2
-0+ status = "okay"; +};
The DT which you overlay this atop already enables it
Konrad
Quoted 18 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +17
-0+ +&mdss0_dsi0 { + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <<9211c_in>; +}; + +&mdss0_dsi0_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +};
Re: [PATCH v2 1/3] arm64: dts: qcom: lemans-evk: Add LVDS display overlay
Quoted 21 lines · Konrad Dybcio
Quoted 17 lines · Vishnu Saini
The Lemans EVK IFP mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge. The bridge is connected to the DSI0 output and drives a dual-channel 1920x1080 LVDS panel in VESA-24 mapping.
Add a DTBO overlay, lemans-evk-lvds-boe,dv215fhm-r01.dtso, that wires up the LT9211C bridge on I2C1 (address
0x2d) with reset on GPIO37, a panel-lvds node for the boe,dv215fhm-r01 panel (matched against the panel-simple-lvds-dual-ports binding, which supplies the panel's size and timing internally), and an LCD display bias regulator supplied through the GPIO expander. DSI power is provided byvreg_s4a.The overlay is built as a composite DTB combining the base lemans-evk.dtb, the IFP mezzanine overlay, and this LVDS overlay.
Signed-off-by Vishnu Saini <[email protected]>---
[...]
Quoted 7 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 18
Quoted 5 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +5
-0+ panel_lvds: panel-lvds { + compatible = "boe,dv215fhm-r01"; + power-supply = <&lcd_disp_bias>; + + status = "okay";Nodes are enabled by default unless explicitly disabled
Yes, status = "okay"; will be removed in next revision from all such instances.
Quoted 11 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 27
Quoted 9 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +9
-0+ + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + panel_in_lvds_odd: endpoint {Please keep a \n between the last property and the following subnodes
Yes, This will be fixed at all the places in next revision.
Quoted 12 lines
[...]
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso line 66
Quoted 7 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +7
-0+ lt9211c_codec: lvds-bridge@2d { + compatible = "lontium,lt9211c"; + reg = <0x2d>; + reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; + vccio-supply = <&vreg_s4a>; + + status = "okay";ditto
Quoted 7 lines
[...]
Review
Quoted 3 lines
+&mdss0 {
(quoted diff) +2
-0+ status = "okay"; +};The DT which you overlay this atop already enables it
Yes, will remove this from overlay.
Quoted 20 lines
Konrad
Quoted 18 lines
arch/arm64/boot/dts/qcom/lemans-evk-lvds-boe,dv215fhm-r01.dtso new file +17
-0+ +&mdss0_dsi0 { + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <<9211c_in>; +}; + +&mdss0_dsi0_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +};
PATCH v2 2/3 arm64: dts: qcom: monaco-evk: Add LVDS display overlay
In reply to Vishnu SainiThe Monaco-EVK mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge. The bridge is connected to the DSI0 output and drives a dual-channel 1920x1080 LVDS panel in VESA-24 mapping.
Add a DTBO overlay, monaco-evk-lvds-boe,dv215fhm-r01.dtso, that wires up the LT9211C bridge on I2C8 (address 0x2d) with reset on GPIO66, a panel-lvds node for the boe,dv215fhm-r01 panel (matched against the panel-simple-lvds-dual-ports binding, which supplies the panel's size and timing internally), and an LCD display bias regulator supplied through the GPIO expander. DSI power is provided by vreg_l5a.
The overlay is built as a composite DTB combining the base monaco-evk.dtb, the IFP mezzanine overlay, and this LVDS overlay.
--- arch/arm64/boot/dts/qcom/Makefile | 4 + .../dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso | 117 +++++++++++++++++++++ 2 files changed, 121 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +4 -0
@@ -73,6 +73,10 @@ monaco-evk-el2-dtbs := monaco-evk.dtb monaco-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-el2.dtb monaco-evk-ifp-mezzanine-dtbs := monaco-evk.dtb monaco-evk-ifp-mezzanine.dtbo dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-ifp-mezzanine.dtb + +monaco-evk-lvds-boe,dv215fhm-r01-dtbs := monaco-evk.dtb monaco-evk-ifp-mezzanine.dtbo monaco-evk-lvds-boe,dv215fhm-r01.dtbo +dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-lvds-boe,dv215fhm-r01.dtb + dtb-$(CONFIG_ARCH_QCOM) += msm8216-samsung-fortuna3g.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-acer-a1-724.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +117 -0
117 lines not on this page · raw message
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH v2 2/3] arm64: dts: qcom: monaco-evk: Add LVDS display overlay
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] Missing driver support for lontium,lt9211c compatible string - [Medium] Missing driver support…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Missing driver support for lontium,lt9211c compatible string
- [Medium] Missing driver support for boe,dv215fhm-r01 panel compatible string --
--- Patch [2]: [PATCH v2 2/3] arm64: dts: qcom: monaco-evk: Add LVDS display overlay --- commit 11e343dd5f10984f8afa017886ae2c19711c5c47
Author: Vishnu Saini <[email protected]>
arm64: dts: qcom: monaco-evk: Add LVDS display overlay
The commit adds a DTBO overlay for the Monaco-EVK mezzanine that supports LVDS display output using a Lontium LT9211C bridge and a BOE DV215FHM-R01 panel.
Quoted 5 lines
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +0
-0
[ ... ]
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso line 15
Quoted 5 lines
+&{/} {
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +4
-0+ model = "Qualcomm Technologies, Inc. Monaco EVK LVDS"; + + panel_lvds: panel-lvds { + compatible = "boe,dv215fhm-r01";
[Severity: Medium]
Will this compatible string fail to bind?
The commit message claims this panel is matched against the panel-simple-lvds-dual-ports binding, which supplies size and timing internally, but "boe,dv215fhm-r01" appears to be missing from the panel-simple.c driver.
Since there is no generic fallback (like "panel-lvds") with inline timings provided here, won't this leave the display unconfigured?
Quoted 3 lines
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ power-supply = <&lcd_disp_bias>; + + status = "okay";
[ ... ]
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso line 61
Quoted 10 lines
+&i2c8 {
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +9
-0+ #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_i2c8_data_clk>; + + status = "okay"; + + lt9211c_codec: lvds-bridge@2d { + compatible = "lontium,lt9211c";
[Severity: Medium]
Is "lontium,lt9211c" supported by any existing driver?
It looks like this compatible string is absent from any driver's OF match table, and there is no fallback provided (such as "lontium,lt9211").
Does this cause the I2C device instantiation for the bridge to fail?
Quoted 3 lines
arch/arm64/boot/dts/qcom/monaco-evk-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ reg = <0x2d>; + reset-gpios = <&tlmm 66 GPIO_ACTIVE_HIGH>; + vccio-supply = <&vreg_l5a>;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Re: [PATCH v2 2/3] arm64: dts: qcom: monaco-evk: Add LVDS display overlay
In reply to Vishnu SainiQuoted 12 lines · Vishnu Saini
The Monaco-EVK mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge. The bridge is connected to the DSI0 output and drives a dual-channel 1920x1080 LVDS panel in VESA-24 mapping.
Add a DTBO overlay, monaco-evk-lvds-boe,dv215fhm-r01.dtso, that wires up the LT9211C bridge on I2C8 (address
0x2d) with reset on GPIO66, a panel-lvds node for the boe,dv215fhm-r01 panel (matched against the panel-simple-lvds-dual-ports binding, which supplies the panel's size and timing internally), and an LCD display bias regulator supplied through the GPIO expander. DSI power is provided byvreg_l5a.
Quoted 5 lines
The overlay is built as a composite DTB combining the base monaco-evk.dtb, the IFP mezzanine overlay, and this LVDS overlay.
Signed-off-by Vishnu Saini <[email protected]>---
Same comments as patch 1 for patches 2 and 3
Konrad
PATCH v2 3/3 arm64: dts: qcom: qcs6490-rb3gen2: Add LVDS display overlay
In reply to Vishnu SainiThe QCS6490 RB3 Gen2 industrial mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge as an alternative to the default HDMI output via the LT9611UXC bridge.
Add a DTBO overlay, qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso, that disables HDMI (hdmi-connector and lt9611_codec) and wires up the LT9211C bridge on I2C1 (address 0x29) with reset on GPIO117. The overlay adds a dual-channel panel-lvds node for the boe,dv215fhm-r01 panel, matched against the panel-simple-lvds-dual-ports binding which supplies the panel's size and timing internally.
The overlay is built as a composite DTB combining the base qcs6490-rb3gen2.dtb, the industrial mezzanine overlay, and this LVDS overlay.
--- arch/arm64/boot/dts/qcom/Makefile | 6 ++ ...industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso | 105 +++++++++++++++++++++ 2 files changed, 111 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +6 -0
@@ -189,6 +189,12 @@ qcs6490-rb3gen2-vision-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-vis qcs6490-rb3gen2-industrial-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-industrial-mezzanine.dtbo dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine.dtb + +qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01-dtbs := \ + qcs6490-rb3gen2.dtb qcs6490-rb3gen2-industrial-mezzanine.dtbo \ + qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtbo +dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtb + dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-vision-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-minipc-g1iot.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-rubikpi3.dtb
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +105 -0
105 lines not on this page · raw message
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: Add LVDS display overlay
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [Medium] The introduced 'lontium,lt9211c' compatible string is unsupported by the driver and dt-bindings…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] The introduced 'lontium,lt9211c' compatible string is unsupported by the driver and dt-bindings, and lacks a fallback.
- [Medium] The introduced 'boe,dv215fhm-r01' compatible string is unsupported and lacks a fallback.
- [Medium] The reset GPIO for the LT9211C bridge lacks a pinctrl configuration.
--
--- Patch [3]: [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rb3gen2: Add LVDS display overlay --- commit f8ec082b3378414f04ce77574b9aa99cf0a7904b
Author: Vishnu Saini <[email protected]>
arm64: dts: qcom: qcs6490-rb3gen2: Add LVDS display overlay
The QCS6490 RB3 Gen2 industrial mezzanine supports LVDS display output using the Lontium LT9211C DSI-to-LVDS bridge as an alternative to the default HDMI output via the LT9611UXC bridge.
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +0
-0@@ -0,0 +1,105 @@
[ ... ]
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso line 19
Quoted 9 lines
+&{/} {
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +8
-0+ model = "Qualcomm Technologies, Inc. Industrial RB3gen2 LVDS"; + + hdmi-connector { + status = "disabled"; + }; + + panel_lvds: panel-lvds { + compatible = "boe,dv215fhm-r01";
[Severity: Medium]
Is this compatible string supported by the panel-simple driver?
Without a generic fallback or an explicit panel-timing node in the DT, will the DRM panel driver fail to attach and leave the display non-functional?
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ power-supply = <&lcd_disp_bias>; + + status = "okay";
[ ... ]
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso line 62
Quoted 8 lines
+&i2c1 {
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +7
-0+ #address-cells = <1>; + #size-cells = <0>; + + status = "okay"; + + lvds_bridge: lvds-bridge@29 { + compatible = "lontium,lt9211c";
[Severity: Medium]
Does the upstream lontium-lt9211 driver support the "c" suffix in this compatible string?
If not, would it be better to provide a fallback like "lontium,lt9211" so device matching does not fail and the display pipeline can initialize?
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso line 64
Quoted 2 lines
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +2
-0+ reg = <0x29>; + reset-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
[Severity: Medium]
Does this reset GPIO need a corresponding pinctrl configuration (pinctrl-names, pinctrl-0)?
On Qualcomm platforms, if the bootloader leaves the pin in an alternate function, asserting the reset GPIO might not propagate to the physical pad, causing the bridge to silently fail to come out of reset.
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2-industrial-mezzanine-lvds-boe,dv215fhm-r01.dtso new file +3
-0+ vccio-supply = <&vreg_l18b_1p8>; + + status = "okay";
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3