All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maciej Purski <m.purski@samsung.com>
To: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
	dri-devel@lists.freedesktop.org
Cc: David Airlie <airlied@linux.ie>, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Archit Taneja <architt@codeaurora.org>,
	Andrzej Hajda <a.hajda@samsung.com>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Inki Dae <inki.dae@samsung.com>,
	Joonyoung Shim <jy0922.shim@samsung.com>,
	Seung-Woo Kim <sw0312.kim@samsung.com>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Maciej Purski <m.purski@samsung.com>
Subject: [PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes
Date: Tue, 19 Jun 2018 10:19:30 +0200	[thread overview]
Message-ID: <1529396370-18761-10-git-send-email-m.purski@samsung.com> (raw)
In-Reply-To: <1529396370-18761-1-git-send-email-m.purski@samsung.com>

From: Andrzej Hajda <a.hajda@samsung.com>

The patch adds bridge and panel nodes.
It adds also DSI properties specific for arndale board and
regulators required by the bridge.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Maciej Purski <m.purski@samsung.com>
---
 arch/arm/boot/dts/exynos5250-arndale.dts | 61 ++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 7a8a5c5..816d89d 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -71,6 +71,17 @@
 		};
 	};
 
+	panel: panel {
+		compatible = "boe,hv070wsa-100";
+		power-supply = <&vcc_3v3_reg>;
+		enable-gpios = <&gpd1 3 GPIO_ACTIVE_HIGH>;
+		port {
+			panel_ep: endpoint {
+				remote-endpoint = <&bridge_out_ep>;
+			};
+		};
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
@@ -97,6 +108,30 @@
 			reg = <2>;
 			regulator-name = "hdmi-en";
 		};
+
+		vcc_1v2_reg: regulator@3 {
+			compatible = "regulator-fixed";
+			reg = <3>;
+			regulator-name = "VCC_1V2";
+			regulator-min-microvolt = <1200000>;
+			regulator-max-microvolt = <1200000>;
+		};
+
+		vcc_1v8_reg: regulator@4 {
+			compatible = "regulator-fixed";
+			reg = <4>;
+			regulator-name = "VCC_1V8";
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+		};
+
+		vcc_3v3_reg: regulator@5 {
+			compatible = "regulator-fixed";
+			reg = <5>;
+			regulator-name = "VCC_3V3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+		};
 	};
 
 	fixed-rate-clocks {
@@ -119,6 +154,32 @@
 	cpu0-supply = <&buck2_reg>;
 };
 
+&dsi_0 {
+	vddcore-supply = <&ldo8_reg>;
+	vddio-supply = <&ldo10_reg>;
+	samsung,pll-clock-frequency = <24000000>;
+	samsung,burst-clock-frequency = <320000000>;
+	samsung,esc-clock-frequency = <10000000>;
+	status = "okay";
+
+	bridge@0 {
+		reg = <0>;
+		compatible = "toshiba,tc358764";
+		vddc-supply = <&vcc_1v2_reg>;
+		vddio-supply = <&vcc_1v8_reg>;
+		vddlvds-supply = <&vcc_3v3_reg>;
+		reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		port@1 {
+			reg = <1>;
+			bridge_out_ep: endpoint {
+				remote-endpoint = <&panel_ep>;
+			};
+		};
+	};
+};
+
 &dp {
 	status = "okay";
 	samsung,color-space = <0>;
-- 
2.7.4


WARNING: multiple messages have this Message-ID (diff)
From: m.purski@samsung.com (Maciej Purski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes
Date: Tue, 19 Jun 2018 10:19:30 +0200	[thread overview]
Message-ID: <1529396370-18761-10-git-send-email-m.purski@samsung.com> (raw)
In-Reply-To: <1529396370-18761-1-git-send-email-m.purski@samsung.com>

From: Andrzej Hajda <a.hajda@samsung.com>

The patch adds bridge and panel nodes.
It adds also DSI properties specific for arndale board and
regulators required by the bridge.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Maciej Purski <m.purski@samsung.com>
---
 arch/arm/boot/dts/exynos5250-arndale.dts | 61 ++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index 7a8a5c5..816d89d 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -71,6 +71,17 @@
 		};
 	};
 
+	panel: panel {
+		compatible = "boe,hv070wsa-100";
+		power-supply = <&vcc_3v3_reg>;
+		enable-gpios = <&gpd1 3 GPIO_ACTIVE_HIGH>;
+		port {
+			panel_ep: endpoint {
+				remote-endpoint = <&bridge_out_ep>;
+			};
+		};
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
@@ -97,6 +108,30 @@
 			reg = <2>;
 			regulator-name = "hdmi-en";
 		};
+
+		vcc_1v2_reg: regulator at 3 {
+			compatible = "regulator-fixed";
+			reg = <3>;
+			regulator-name = "VCC_1V2";
+			regulator-min-microvolt = <1200000>;
+			regulator-max-microvolt = <1200000>;
+		};
+
+		vcc_1v8_reg: regulator at 4 {
+			compatible = "regulator-fixed";
+			reg = <4>;
+			regulator-name = "VCC_1V8";
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+		};
+
+		vcc_3v3_reg: regulator at 5 {
+			compatible = "regulator-fixed";
+			reg = <5>;
+			regulator-name = "VCC_3V3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+		};
 	};
 
 	fixed-rate-clocks {
@@ -119,6 +154,32 @@
 	cpu0-supply = <&buck2_reg>;
 };
 
+&dsi_0 {
+	vddcore-supply = <&ldo8_reg>;
+	vddio-supply = <&ldo10_reg>;
+	samsung,pll-clock-frequency = <24000000>;
+	samsung,burst-clock-frequency = <320000000>;
+	samsung,esc-clock-frequency = <10000000>;
+	status = "okay";
+
+	bridge at 0 {
+		reg = <0>;
+		compatible = "toshiba,tc358764";
+		vddc-supply = <&vcc_1v2_reg>;
+		vddio-supply = <&vcc_1v8_reg>;
+		vddlvds-supply = <&vcc_3v3_reg>;
+		reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		port at 1 {
+			reg = <1>;
+			bridge_out_ep: endpoint {
+				remote-endpoint = <&panel_ep>;
+			};
+		};
+	};
+};
+
 &dp {
 	status = "okay";
 	samsung,color-space = <0>;
-- 
2.7.4

  parent reply	other threads:[~2018-06-19  8:20 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180619081956eucas1p1de0ce0c89abdbf021c9942a2af39fe52@eucas1p1.samsung.com>
2018-06-19  8:19 ` [PATCH v3 0/9] Add TOSHIBA TC358764 DSI/LVDS bridge driver Maciej Purski
2018-06-19  8:19   ` Maciej Purski
     [not found]   ` <CGME20180619081957eucas1p2d2b9075a9b7a90837b40e4529ab31888@eucas1p2.samsung.com>
2018-06-19  8:19     ` [PATCH v3 1/9] drm/exynos: rename "bridge_node" to "mic_bridge_node" Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-07-24  7:49       ` Inki Dae
2018-07-24  7:49         ` Inki Dae
2018-07-24  7:49         ` Inki Dae
2018-07-25  8:11         ` Andrzej Hajda
2018-07-25  8:11           ` Andrzej Hajda
2018-07-25  8:11           ` Andrzej Hajda
2018-07-25  8:13           ` Inki Dae
2018-07-25  8:13             ` Inki Dae
2018-07-25  8:13             ` Inki Dae
     [not found]   ` <CGME20180619081958eucas1p16911ee9962441735d929dc588e70ce70@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 2/9] drm/exynos: move connector creation to attach callback Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-07-24  8:04       ` Inki Dae
2018-07-24  8:04         ` Inki Dae
2018-07-24  8:04         ` Inki Dae
     [not found]       ` <5B56DD97.3030508@samsung.com>
2018-07-24  8:10         ` Inki Dae
2018-07-24  8:10           ` Inki Dae
2018-07-24  8:10           ` Inki Dae
     [not found]   ` <CGME20180619081959eucas1p14aee2dfc0231d2f645e3c9071b92341e@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 3/9] drm/exynos: enable out_bridge in exynos_dsi_enable() Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-07-24  8:02       ` Inki Dae
2018-07-24  8:02         ` Inki Dae
2018-07-24  8:02         ` Inki Dae
     [not found]   ` <CGME20180619082000eucas1p1c5cc2b526583c3fd5e9fc13656ed4858@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 4/9] dt-bindings: display: add DT bindings for BOE HV070WSA-100 panel Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-20 18:25       ` Rob Herring
2018-06-20 18:25         ` Rob Herring
2018-06-20 18:25         ` Rob Herring
2018-07-10  9:56       ` Thierry Reding
2018-07-10  9:56         ` Thierry Reding
2018-07-10  9:56         ` Thierry Reding
     [not found]   ` <CGME20180619082000eucas1p1ed44d7aea857b12ce2c92c240be4dedd@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 5/9] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-07-10  9:57       ` Thierry Reding
2018-07-10  9:57         ` Thierry Reding
2018-07-10  9:57         ` Thierry Reding
     [not found]   ` <CGME20180619082001eucas1p1df565ba7d1eaa320c2703e7dc019792b@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 6/9] dt-bindings: tc358754: add DT bindings Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-20 18:26       ` Rob Herring
2018-06-20 18:26         ` Rob Herring
2018-06-20 18:26         ` Rob Herring
     [not found]   ` <CGME20180619082002eucas1p2e3606dff0191ab5380cc455e33083459@eucas1p2.samsung.com>
2018-06-19  8:19     ` [PATCH v3 7/9] drm/bridge: tc358764: Add DSI to LVDS bridge driver Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-06-19 11:05       ` kbuild test robot
2018-06-19 11:05         ` kbuild test robot
2018-06-19 11:05         ` kbuild test robot
2018-06-19 11:05       ` [PATCH] drm/bridge: tc358764: fix noderef.cocci warnings kbuild test robot
2018-06-19 11:05         ` kbuild test robot
2018-06-19 11:05         ` kbuild test robot
2018-07-09 14:08       ` [PATCH v3 7/9] drm/bridge: tc358764: Add DSI to LVDS bridge driver Andrzej Hajda
2018-07-09 14:08         ` Andrzej Hajda
2018-07-09 14:08         ` Andrzej Hajda
     [not found]       ` <CGME20180725080241eucas1p21f0aa8aa7f265ee71ab68f02aff9bef3@eucas1p2.samsung.com>
2018-07-25  8:02         ` [PATCH v4] " Andrzej Hajda
     [not found]   ` <CGME20180619082003eucas1p1ee69166282872a3c031caf08cb550269@eucas1p1.samsung.com>
2018-06-19  8:19     ` [PATCH v3 8/9] ARM: dts: exynos5250: add DSI node Maciej Purski
2018-06-19  8:19       ` Maciej Purski
2018-07-07  8:55       ` Krzysztof Kozlowski
2018-07-07  8:55         ` Krzysztof Kozlowski
2018-07-07  8:55         ` Krzysztof Kozlowski
     [not found]   ` <CGME20180619082004eucas1p25ccebb3286e978645e3e09ebb8cb65f2@eucas1p2.samsung.com>
2018-06-19  8:19     ` Maciej Purski [this message]
2018-06-19  8:19       ` [PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes Maciej Purski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1529396370-18761-10-git-send-email-m.purski@samsung.com \
    --to=m.purski@samsung.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=a.hajda@samsung.com \
    --cc=airlied@linux.ie \
    --cc=architt@codeaurora.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=jy0922.shim@samsung.com \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sw0312.kim@samsung.com \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.