[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211211211412.10791-8-digetx@gmail.com>
Date: Sun, 12 Dec 2021 00:13:51 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
David Heidelberg <david@...t.cz>,
Svyatoslav Ryhel <clamor95@...il.com>,
Anton Bambura <jenneron@...tonmail.com>,
Antoni Aloy Torrens <aaloytorrens@...il.com>,
Nikola Milosavljevic <mnidza@...look.com>,
Ion Agorria <ion@...rria.com>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>,
Ihor Didenko <tailormoon@...bler.ru>,
Andreas Westman Dorcsak <hedmoo@...oo.com>,
Maxim Schwalm <maxim.schwalm@...il.com>,
Raffaele Tranquillini <raffaele.tranquillini@...il.com>,
Jasper Korten <jja2000@...il.com>,
Thomas Graichen <thomas.graichen@...il.com>,
Stefan Eichenberger <stefan.eichenberger@...adex.com>,
Stefan Agner <stefan@...er.ch>,
Peter Geis <pgwipeout@...il.com>
Cc: devicetree@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v6 07/28] ARM: tegra: Add common device-tree for LVDS display panels of Tegra30 ASUS tablets
From: Maxim Schwalm <maxim.schwalm@...il.com>
All Tegra30 ASUS tablets have a similar design pattern in terms of
hardware integration of LVDS display panels, like exactly the same GPIOs
are used for power and reset, etc. Add a common device-tree for LVDS
display panels of Tegra30 ASUS tablets to avoid replicating the
boilerplate panel description.
[digetx@...il.com: factored out common part into separate patch and wrote commit message]
Co-developed-by: Svyatoslav Ryhel <clamor95@...il.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@...il.com>
Signed-off-by: Maxim Schwalm <maxim.schwalm@...il.com>
Signed-off-by: Dmitry Osipenko <digetx@...il.com>
---
.../boot/dts/tegra30-asus-lvds-display.dtsi | 61 +++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 arch/arm/boot/dts/tegra30-asus-lvds-display.dtsi
diff --git a/arch/arm/boot/dts/tegra30-asus-lvds-display.dtsi b/arch/arm/boot/dts/tegra30-asus-lvds-display.dtsi
new file mode 100644
index 000000000000..a047abfa6369
--- /dev/null
+++ b/arch/arm/boot/dts/tegra30-asus-lvds-display.dtsi
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/* This dtsi file describes parts common for Asus T30 devices with a LVDS panel. */
+
+/ {
+ host1x@...00000 {
+ lcd: dc@...00000 {
+ rgb {
+ status = "okay";
+
+ port@0 {
+ dpi_output: endpoint {
+ remote-endpoint = <&bridge_input>;
+ bus-width = <24>;
+ };
+ };
+ };
+ };
+ };
+
+ display-panel {
+ power-supply = <&vdd_pnl>;
+ ddc-i2c-bus = <&lcd_ddc>;
+ backlight = <&backlight>;
+
+ port {
+ panel_input: endpoint {
+ remote-endpoint = <&bridge_output>;
+ };
+ };
+ };
+
+ /* Texas Instruments SN75LVDS83B LVDS Transmitter */
+ lvds-encoder {
+ compatible = "ti,sn75lvds83", "lvds-encoder";
+
+ powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
+ power-supply = <&vdd_3v3_sys>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ bridge_input: endpoint {
+ remote-endpoint = <&dpi_output>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ bridge_output: endpoint {
+ remote-endpoint = <&panel_input>;
+ };
+ };
+ };
+ };
+};
--
2.33.1
Powered by blists - more mailing lists