From 877647b4d9555acd53b4d0a0c55c55016836f746 Mon Sep 17 00:00:00 2001 From: Dietmar Muscholik <dietmar.muscholik@seco.com> Date: Wed, 19 Feb 2025 15:40:05 +0000 Subject: [PATCH] [E81][DTB] Add dtsi files for 7" and 10.1" LVDS displays --- .../include/display-e81-fn070pgrgul037c.dtsi | 69 +++++++++++++++++++ .../seco/include/display-e81-g101ean02.dtsi | 67 ++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 arch/arm64/boot/dts/seco/include/display-e81-fn070pgrgul037c.dtsi create mode 100644 arch/arm64/boot/dts/seco/include/display-e81-g101ean02.dtsi diff --git a/arch/arm64/boot/dts/seco/include/display-e81-fn070pgrgul037c.dtsi b/arch/arm64/boot/dts/seco/include/display-e81-fn070pgrgul037c.dtsi new file mode 100644 index 0000000000000..7c2246c982044 --- /dev/null +++ b/arch/arm64/boot/dts/seco/include/display-e81-fn070pgrgul037c.dtsi @@ -0,0 +1,69 @@ +/*****************************************************************************/ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Device-tree-file for the 7" FANNAL LVDS-display with the bulky name on + * SECO-E81 modules + * see: C3007054491027A_SPEC V1.pdf + * + * Copyright 2025 SECO NE Dietmar Muscholik <dietmar.muscholik@seco.com> + * + *****************************************************************************/ + +#ifndef DISPLAY_E81_FN070PGRGUL037C_DTSI +#define DISPLAY_E81_FN070PGRGUL037C_DTSI + +#include "e81-pinfunc.h" + + +// bridge +&edp2lvds { + backlight = <&backlight0>; + width-mm = <154>; + height-mm = <86>; + data-mapping = "jeida-24"; + status = "okay"; + + panel-timing { + clock-frequency = <33300000>; + //clock-frequency = <35571428>; + hactive = <800>; + hfront-porch = <210>; + hsync-len = <6>; + hback-porch = <40>; + //htotal = <1056>; + + vactive = <480>; + vfront-porch = <22>; + vsync-len = <3>; + vback-porch = <20>; + //vtotal = <525>; + + vsync-active = <0>; + hsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; +}; + + +// qualcomm edp +&mdss_edp0 { + qcom,display-type = "primary"; + status = "okay"; +}; + +// backlight +&backlight0 { + status = "okay"; +}; + +&pm8350c_pwm { + status = "okay"; +}; + +// connect to eDP +&mdss_mdp0 { + connectors = <&smmu_sde_unsec &mdss_edp0>; +}; + +#endif diff --git a/arch/arm64/boot/dts/seco/include/display-e81-g101ean02.dtsi b/arch/arm64/boot/dts/seco/include/display-e81-g101ean02.dtsi new file mode 100644 index 0000000000000..227bc0d815281 --- /dev/null +++ b/arch/arm64/boot/dts/seco/include/display-e81-g101ean02.dtsi @@ -0,0 +1,67 @@ +/*****************************************************************************/ +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +/* + * Device-tree-file for the 10.1" AOE LVDS-display on SECO-E81 modules + * see: G101EAN02.2.pdf + * + * Copyright 2025 SECO NE Dietmar Muscholik <dietmar.muscholik@seco.com> + * + *****************************************************************************/ + +#ifndef DISPLAY_E81_G101EAN02_DTSI +#define DISPLAY_E81_G101EAN02_DTSI + +#include "e81-pinfunc.h" + + +// bridge +&edp2lvds { + backlight = <&backlight0>; + width-mm = <228>; + height-mm = <148>; + data-mapping = "vesa-24"; + status = "okay"; + + panel-timing { + clock-frequency = <71100000>; + hactive = <1280>; + hfront-porch = <75>; + hsync-len = <10>; + hback-porch = <75>; + //htotal = <1440>; + + vactive = <800>; + vfront-porch = <10>; + vsync-len = <3>; + vback-porch = <10>; + //vtotal = <823>; + + vsync-active = <0>; + hsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; +}; + + +// qualcomm edp +&mdss_edp0 { + qcom,display-type = "primary"; + status = "okay"; +}; + +// backlight +&backlight0 { + status = "okay"; +}; + +&pm8350c_pwm { + status = "okay"; +}; + +// connect to eDP +&mdss_mdp0 { + connectors = <&smmu_sde_unsec &mdss_edp0>; +}; + +#endif -- GitLab