Skip to content

Commit

Permalink
ARM64: dts: imx93-axon-wb: add lvds panel VXT-VL15613676YL-C03 support
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZhang-tn committed Apr 16, 2024
1 parent f9aa590 commit af6b1a0
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/freescale/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dtbo-$(CONFIG_ARCH_MXC) += imx8mn-edm-g-wb-sn65dsi84-vl10112880.dtbo imx8mn-edm-
dtbo-$(CONFIG_ARCH_MXC) += imx8mn-edm-g-wizard-sn65dsi84-vl10112880.dtbo imx8mn-edm-g-wizard-sn65dsi84-vl15613676.dtbo imx8mn-edm-g-wizard-sn65dsi84-vl215192108.dtbo \
imx8mn-edm-g-wizard-tevi-ov5640.dtbo

dtbo-$(CONFIG_ARCH_MXC) += imx93-axon-wb-lvds-vl10112880.dtbo imx93-axon-wb-vxt-vl0508048nt.dtbo imx93-axon-wb-vxt-vl0808060nt.dtbo
dtbo-$(CONFIG_ARCH_MXC) += imx93-axon-wb-lvds-vl10112880.dtbo imx93-axon-wb-lvds-vl15613676.dtbo imx93-axon-wb-vxt-vl0508048nt.dtbo imx93-axon-wb-vxt-vl0808060nt.dtbo
dtbo-$(CONFIG_ARCH_MXC) += imx93-axon-wb-tevi-ap1302.dtbo

targets += dtbs dtbs_install
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2020 Technexion Ltd.
*
* Author: Ray Chang <ray.chang@technexion.com>
*
*/

/dts-v1/;
/plugin/;

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

/ {
fragment@0 {
target-path = "/";
__overlay__ {
reg_lvds_pwr: regulator_lvdspwr {
status = "okay";
};
};
};

fragment@1 {
target-path = "/";
__overlay__ {
reg_lvds_backlight_pwr: regulator_lvdsblpwr {
status = "okay";
};
};
};

fragment@2 {
target-path = "/";
__overlay__ {
disp_backlight: disp_backlight {
status = "okay";
};
};
};

fragment@3 {
target-path = "/";
__overlay__ {
lvds0_panel {
compatible = "vxt,vl15613676", "panel-lvds";
backlight = <&disp_backlight>;
power-supply = <&reg_lvds_pwr>;

data-mapping = "vesa-24";
height-mm = <193>;
width-mm = <344>;

panel-timing {
clock-frequency = <76000000>;
hactive = <1368>;
vactive = <768>;
hback-porch = <90>;
hfront-porch = <90>;
vback-porch = <17>;
vfront-porch = <17>;
hsync-len = <20>;
vsync-len = <4>;
de-active = <1>;
};

port {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
};
};

fragment@4 {
target = <&ldb>;
__overlay__ {
status = "okay";
lvds-channel@0 {
#address-cells = <1>;
#size-cells = <0>;
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";

port@1 {
reg = <1>;

lvds_out: endpoint {
remote-endpoint = <&panel_lvds_in>;
};
};
};
};
};

fragment@5 {
target = <&ldb_phy>;
__overlay__ {
status = "okay";
};
};

fragment@6 {
target = <&lcdif>;
__overlay__ {
status = "okay";
assigned-clock-rates = <498000000>, <71100000>, <400000000>, <133333333>;
};
};

fragment@7 {
target = <&lpi2c3>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

exc80w46: touchscreen@2a {
compatible = "eeti,exc80h60";
reg = <0x2a>;
interrupt-parent = <&pcal6524>;
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&adp5585gpio 1 GPIO_ACTIVE_LOW>;
};
};
};
};

0 comments on commit af6b1a0

Please sign in to comment.