Skip to content
Snippets Groups Projects
Commit 3eb759a2 authored by Nicola Sparnacci's avatar Nicola Sparnacci
Browse files

[C57][OVERLAY][C57-43] Add 1280x800 LVDS panel

Tested with FN101PGRGUL034C 1280*800 with cable LVDS CV-1412/240.

The panel is AUO G101EAN02.
parent 4717a027
No related branches found
No related tags found
1 merge request!150[iMX8QXP][C57] Add support to iMX8QXP SoC and SECO C57 board
...@@ -53,6 +53,7 @@ dtbo-$(CONFIG_ARCH_MXC) += \ ...@@ -53,6 +53,7 @@ dtbo-$(CONFIG_ARCH_MXC) += \
seco-imx8mn-c72-lvds-dual-156.dtbo \ seco-imx8mn-c72-lvds-dual-156.dtbo \
seco-imx8qxp-c57-lvds-800x480.dtbo \ seco-imx8qxp-c57-lvds-800x480.dtbo \
seco-imx8qxp-c57-lvds-1024x600.dtbo \ seco-imx8qxp-c57-lvds-1024x600.dtbo \
seco-imx8qxp-c57-lvds-1280x800.dtbo \
seco-imx8qxp-c57-sn65dsi86-edp.dtbo seco-imx8qxp-c57-sn65dsi86-edp.dtbo
# seco-imx8qm-c26-dp.dtbo\ # seco-imx8qm-c26-dp.dtbo\
......
/*
* Copyright 2017-2018 NXP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <dt-bindings/display/media-bus-format.h>
#include <dt-bindings/gpio/gpio.h>
/dts-v1/;
/plugin/;
/ {
compatible = "fsl,imx8qxp-mek","seco,imx8qxp-c57","fsl,imx8qxp";
/* __________________________________________________________________________
* | |
* | LVDS 1280x800 (SINGLE CHANNEL) |
* |__________________________________________________________________________|
*/
fragment@0 {
target-path = "/";
__overlay__ {
regulators {
mux_sel: mux_sel {
compatible = "regulator-fixed";
regulator-name = "MUX_SEL";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
regulator-always-on;
};
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
lvds_panel {
compatible = "panel-lvds";
status = "okay";
data-mapping = "vesa-24";
width-mm = <217>;
height-mm = <136>;
panel-timing {
clock-frequency = <66100000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <35>;
hfront-porch = <35>;
vback-porch = <4>;
vfront-porch = <4>;
hsync-len = <10>;
vsync-len = <2>;
de-active = <0>;
pixelclk-active = <0>;
};
port@0 {
panel_lvds_in: endpoint {
remote-endpoint = <&lvds_out>;
};
};
};
};
};
fragment@2 {
target = <&ldb1_phy>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&ldb1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
lvds-channel@0 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
/delete-node/ port@1;
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
lvds_out: endpoint {
remote-endpoint = <&panel_lvds_in>;
};
};
};
};
};
fragment@4 {
target = <&ldb2_phy>;
__overlay__ {
status = "disabled";
};
};
fragment@5 {
target = <&ldb2>;
__overlay__ {
status = "disabled";
};
};
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment