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

[C57][OVERLAY][C57-66] Add 800x480 LVDS panel

Tested with FN070PGRGUL037C 800x480 with cable LVDS CV-1408/750.

The panel is Innolux NE070NB-04F.
parent 2e19c1ba
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ dtbo-$(CONFIG_ARCH_MXC) += \
seco-imx8mn-c72-lvds-dual-215.dtbo\
seco-imx8mn-c72-lvds-dual-156.dtbo
seco-imx8mn-c72-edp.dtbo \
seco-imx8qxp-c57-lvds-800x480.dtbo \
seco-imx8qxp-c57-lvds-1024x600.dtbo \
seco-imx8qxp-c57-sn65dsi86-edp.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 800x480 (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>;
enable-active-down;
regulator-always-on;
};
};
};
};
fragment@1 {
target-path = "/";
__overlay__ {
lvds_panel {
compatible = "seco-innolux,ne070nb-04f", "panel-dpi";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
no-hpd;
bpc = <8>;
width-mm = <154>;
height-mm = <89>;
prepare-ms = <10>;
enable-ms = <100>;
disable-ms = <100>;
unprepare-ms = <800>;
bus-format = <DT_MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA>;
panel-timing {
clock-frequency = <50000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <1>;
hsync-len = <45>;
hfront-porch = <200>;
vback-porch = <22>;
vsync-len = <2>;
vfront-porch = <9>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
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