dt-bindings: display: panel: Add LG LP156WF1 dual-LVDS panel
Subsystems (6)
cover dt-bindings: display: panel: Add LG LP156WF1 dual-LVDS panel
From: Vitor Soares <[email protected]>
Add support for the LG LP156WF1 15.6" Full-HD dual-link LVDS panel and a Verdin AM62 overlay for using it through the Verdin Development Board with the Verdin AM62 Mezzanine LVDS interface.
This is a follow-up to an earlier attempt [1], where panel-lvds.yaml was incorrectly extended to describe dual-link panels. Back in 2023, when a generic dual-channel LVDS binding was proposed, Rob Herring [2] pointed out that dual-link panels should follow the existing advantech,idk-2121wr pattern instead of introducing a new generic compatible.
Following that approach, this series adds a dedicated binding for lg,lp156wf1, with the dual-link LVDS ports described by lvds-dual-ports.yaml, and excludes it from the generic panel-lvds schema selection.
The second patch adds the Verdin AM62 overlay for the LG LP156WF1 panel on the Mezzanine LVDS connector.
This series should be applied on top of [3] to avoid conflicts in the TI device-tree Makefile with the other overlay additions.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/
Vitor Soares (2):
dt-bindings: display: panel: Add LG LP156WF1
arm64: dts: ti: k3-am62-verdin: Add Mezzanine with LG LP156WF1 LVDS
panel
.../bindings/display/panel/lg,lp156wf1.yaml | 105 ++++++++++++++ .../bindings/display/panel/panel-lvds.yaml | 1 + arch/arm64/boot/dts/ti/Makefile | 5 + ...verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso | 131 ++++++++++++++++++ 4 files changed, 242 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp156wf1.yaml create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso
Signature · 1 line
2.54.0
PATCH 1/2 dt-bindings: display: panel: Add LG LP156WF1
From: Vitor Soares <[email protected]>
Add device tree binding for the LG LP156WF1 15.6" Full-HD (1920x1080) dual-channel LVDS panel.
Also add lg,lp156wf1 to the panel-lvds.yaml exclusion list to prevent false schema matches.
--- .../bindings/display/panel/lg,lp156wf1.yaml | 105 ++++++++++++++++++ .../bindings/display/panel/panel-lvds.yaml | 1 + 2 files changed, 106 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp156wf1.yaml
Documentation/devicetree/bindings/display/panel/lg,lp156wf1.yaml new file +105 -0
@@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lg,lp156wf1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LG LP156WF1 15.6" Full-HD dual-LVDS panel + +maintainers: + - Francesco Dolcini <[email protected]> + +description: | + The LP156WF1 from LG is a 15.6" Full-HD dual-LVDS panel. + A dual-LVDS interface is a dual-link connection with even pixels traveling + on one link, and with odd pixels traveling on the other link. + +allOf: + - $ref: /schemas/display/lvds-dual-ports.yaml# + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: lg,lp156wf1 + - {} # panel-lvds, but not listed here to avoid false select + + width-mm: + const: 345 + + height-mm: + const: 194 + + data-mapping: + const: jeida-24 + + panel-timing: true + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + required: + - dual-lvds-odd-pixels + + port@1: + required: + - dual-lvds-even-pixels + + required: + - port@0 + - port@1 + +required: + - compatible + - width-mm + - height-mm + - data-mapping + - panel-timing + +unevaluatedProperties: false + +examples: + - | + panel-lvds { + compatible = "lg,lp156wf1", "panel-lvds"; + width-mm = <345>; + height-mm = <194>; + data-mapping = "jeida-24"; + + panel-timing { + clock-frequency = <138500000>; + hactive = <1920>; + hback-porch = <40>; + hfront-porch = <24>; + hsync-len = <16>; + vactive = <1080>; + vback-porch = <23>; + vfront-porch = <3>; + vsync-len = <5>; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dual-lvds-odd-pixels; + panel_in0: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + + port@1 { + reg = <1>; + dual-lvds-even-pixels; + panel_in1: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + }; + }; + +...
Documentation/devicetree/bindings/display/panel/panel-lvds.yaml +1 -0
@@ -28,6 +28,7 @@ select: - advantech,idk-1110wr - advantech,idk-2121wr - innolux,ee101ia-01d + - lg,lp156wf1 - mitsubishi,aa104xd12 - mitsubishi,aa121td01 - sgd,gktw70sdae4se
Signature · 1 line
2.54.0
Re: [PATCH v1 1/2] dt-bindings: display: panel: Add LG LP156WF1
pw-bot: not-applicable
PATCH 2/2 arm64: dts: ti: k3-am62-verdin: Add Mezzanine with LG LP156WF1 LVDS panel
In reply to Vitor SoaresFrom: Vitor Soares <[email protected]>
Add a device tree overlay enabling the LG LP156WF1 15.6" FHD (1920x1080) dual-channel LVDS panel on the Verdin Development Board with Verdin AM62 Mezzanine expansion board. The panel connects via the AM62 OLDI0 and OLDI1 in dual-channel mode on the Mezzanine LVDS interface (J10).
--- arch/arm64/boot/dts/ti/Makefile | 5 + ...verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso | 131 ++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso
arch/arm64/boot/dts/ti/Makefile +5 -0
@@ -30,6 +30,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-tqma62xx-mba62xx.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-mezzanine-can.dtbo +dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-nau8822-btl.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dsi-to-hdmi.dtbo
@@ -232,6 +233,9 @@ k3-am625-verdin-wifi-dev-dsi-to-lvds-panel-cap-touch-10inch-dtbs := \ k3-am625-verdin-dsi-to-lvds-panel-cap-touch-10inch.dtbo k3-am625-verdin-wifi-dev-mezzanine-can-dtbs := k3-am625-verdin-wifi-dev.dtb \ k3-am625-verdin-dev-mezzanine-can.dtbo +k3-am625-verdin-wifi-dev-mezzanine-lvds-lg-lp156wf1-dtbs := \ + k3-am625-verdin-wifi-dev.dtb \ + k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtbo k3-am625-verdin-wifi-dev-mezzanine-panel-cap-touch-10inch-lvds-dtbs := \ k3-am625-verdin-wifi-dev.dtb \ k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtbo
@@ -352,6 +356,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ k3-am625-sk-hdmi-audio.dtb \ k3-am625-verdin-wifi-dev-dsi-to-lvds-panel-cap-touch-10inch.dtb \ k3-am625-verdin-wifi-dev-mezzanine-can.dtb \ + k3-am625-verdin-wifi-dev-mezzanine-lvds-lg-lp156wf1.dtb \ k3-am625-verdin-wifi-dev-mezzanine-panel-cap-touch-10inch-lvds.dtb \ k3-am625-verdin-wifi-dev-nau8822-btl.dtb \ k3-am625-verdin-wifi-dev-ov5640-24mhz.dtb \
arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso new file +131 -0
131 lines not on this page · raw message
Signature · 1 line
2.54.0
Quoted 6 lines · Vitor Soares
From: Vitor Soares <[email protected]>
Add support for the LG LP156WF1 15.6" Full-HD dual-link LVDS panel and a Verdin AM62 overlay for using it through the Verdin Development Board with the Verdin AM62 Mezzanine LVDS interface.
Quoted 6 lines
This is a follow-up to an earlier attempt [1], where
panel-lvds.yamlwas incorrectly extended to describe dual-link panels. Back in 2023, when a generic dual-channel LVDS binding was proposed, Rob Herring [2] pointed out that dual-link panels should follow the existing advantech,idk-2121wr pattern instead of introducing a new generic compatible.
Hi all,
Quoted 32 lines · Vitor Soares
From: Vitor Soares <[email protected]>
Add support for the LG LP156WF1 15.6" Full-HD dual-link LVDS panel and a Verdin AM62 overlay for using it through the Verdin Development Board with the Verdin AM62 Mezzanine LVDS interface.
This is a follow-up to an earlier attempt [1], where
panel-lvds.yamlwas incorrectly extended to describe dual-link panels. Back in 2023, when a generic dual-channel LVDS binding was proposed, Rob Herring [2] pointed out that dual-link panels should follow the existing advantech,idk-2121wr pattern instead of introducing a new generic compatible.Following that approach, this series adds a dedicated binding for lg,lp156wf1, with the dual-link LVDS ports described by
lvds-dual-ports.yaml, and excludes it from the generic panel-lvds schema selection.
The second patch adds the Verdin AM62 overlay for the LG LP156WF1 panel on the Mezzanine LVDS connector.This series should be applied on top of [3] to avoid conflicts in the TI device-tree
Makefilewith the other overlay additions.[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/Vitor Soares (2):
dt-bindings: display: panel: Add LG LP156WF1
arm64: dts: ti: k3-am62-verdin: Add Mezzanine with LG LP156WF1 LVDS
panel
Quoted 7 lines
.../bindings/display/panel/lg,lp156wf1.yaml | 105 ++++++++++++++ .../bindings/display/panel/panel-lvds.yaml | 1 + arch/arm64/boot/dts/ti/Makefile | 5 + ...verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso | 131 ++++++++++++++++++ 4 files changed, 242 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lp156wf1.yaml create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-lvds-lg-lp156wf1.dtso
Gentle ping on this series. The binding has a Reviewed-by from Conor, and as far as I can see nothing is pending on my side.
Let me know if a rebase or a resend would help.
Thanks,
Vitor