From patchwork Tue Jun 19 08:19:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10473933 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9533360230 for ; Tue, 19 Jun 2018 09:51:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 983A828AE3 for ; Tue, 19 Jun 2018 09:51:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C60B28B70; Tue, 19 Jun 2018 09:51:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3ED6D28B5F for ; Tue, 19 Jun 2018 09:51:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 78BB56E50A; Tue, 19 Jun 2018 09:51:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id B419F6E4F1 for ; Tue, 19 Jun 2018 08:20:07 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180619082006euoutp015faabc82bdfc9ed3cc7c240216ef6e87~5ge2ccjFL0236902369euoutp01G; Tue, 19 Jun 2018 08:20:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180619082006euoutp015faabc82bdfc9ed3cc7c240216ef6e87~5ge2ccjFL0236902369euoutp01G Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180619082005eucas1p26100ce80ff2ee207aba2c96d8a60c2b2~5ge1ji6Ut2285022850eucas1p2f; Tue, 19 Jun 2018 08:20:05 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4D.88.10409.4BCB82B5; Tue, 19 Jun 2018 09:20:04 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180619082004eucas1p25ccebb3286e978645e3e09ebb8cb65f2~5ge0yPC5L2076520765eucas1p2b; Tue, 19 Jun 2018 08:20:04 +0000 (GMT) X-AuditID: cbfec7f5-b45ff700000028a9-e8-5b28bcb4b3d9 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D9.E3.04183.4BCB82B5; Tue, 19 Jun 2018 09:20:04 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PAK00EJ59T2RV00@eusync4.samsung.com>; Tue, 19 Jun 2018 09:20:04 +0100 (BST) From: Maciej Purski 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 Subject: [PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes Date: Tue, 19 Jun 2018 10:19:30 +0200 Message-id: <1529396370-18761-10-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1529396370-18761-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzVSeUhTcRzvt/fe3nO1fE3NXxYSo3BIadHBr4NIMHogdCEkWtorH9OaU/bU ssBUMjfNIyXv1MKr4ZHzSM0U1JoiOcdM01haBt5FmaUU2eb0v8/1veBLYRIN4UKFKiM5lZJV SIUivOnNsmFvQ5ssYF9p/R40WtNPoNT+XgFKUM8TqC63lkDF3RZtcPGbEGWOZeBo6qMRR+kT sxgyGJ6T6G3CHIk0D0tJpJsYIpCptVCIcg3tAlQyPYqj6m4zicqGjQKU+KqbRLlZ00K03FqE n3RiqoqqAGNKSxUwLflmkilQ5xGMTqsRMi9+jRPMWIpewNSX3mXSGrSAWdC5nhP5i44Hc4rQ aE7leeKKKKTvQQcW0eJwa2ppHI8DtfbJwI6C9EHYm/mVSAYiSkJXAphUPYzbyAKAmqeD5Hqq TPtaaDPKAXyZs7RGViypkS5LCUUJaXdYlRRk1R1pLYD17+eBlWD0IwIOFM8S1lYO9Flo7Pi+ inF6N1xu/IRZsZg+BY0/6gjbOFc40q9Z1e0sev7j3wJrI0ink3CuoHJtJ28431O9hh3gjL5h De+ApqwU3IbvwGfTFbitOA7An2YTZjOOwS69cXUaRm+GmU05mPUESIuh+r7EFmFgnnmAtJ2Z C+CHoWQ8A2wrARu0wJmL4sPkHH9Ayd304NkwPkop97gWHqYDlgfp+6dfbAbtf692ApoC0k1i Wa1bgIRgo/mYsE4AKUzqKG4skwVIxMFszG1OFR6kilJwfCfYTuFSZ3GgLNZfQsvZSO4Gx0Vw qnVXQNm5xIHmkj9OvpdSDPERR+omuxUNFZN9sRPlCxVDjga3FarHyVs3seLn1DvOn6+ZaWuz 89/q2O4bKy/duSsplGjaWRL4ZayvyvOw5NC9xnihQp01KMvr3xJpSrrM2g8HZBeCtDifxCez 2Ue99Ite8xsrfJoC/d6xbmeUF09ntanl1z9fkOJ8CLvfHVPx7H8EHDtjHAMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsVy+t/xa7pb9mhEG7Rs47a4te4cq0XvuZNM Fk0db1ktNs5Yz2ox/whQ7MrX92wWk+5PYLF4ce8ii0X/49fMFufPb2C3ONv0ht2ic+ISdotN j6+xWlzeNYfNYsb5fUwWC17eYrFYe+Quu8XS6xeZLFr3HmG3mDH5JZvFz13zWBxEPdbMW8Po cbmvl8lj56y77B6zO2ayemxa1cnmsf3bA1aP+93HmTw2L6n36NuyitHj8ya5AK4oLpuU1JzM stQifbsErozTPfuZC3YKV7z48YClgXE9fxcjJ4eEgInE0lVH2boYuTiEBJYwSsxd9I4ZJCEk 0MgkMeVidBcjBwebgJbEmvZ4kBoRgVWMElP/3mEHcZgFZrNKvHo0gRGkSFjAV+JHAxNIL4uA qsTPrQ/B5vAKuEpc/LSRFWKZnMTNc51gcU6g+Ky535kgdrlIvFh9hWkCI88CRoZVjCKppcW5 6bnFRnrFibnFpXnpesn5uZsYgWG/7djPLTsYu94FH2IU4GBU4uFt2KgeLcSaWFZcmXuIUYKD WUmEd+tSjWgh3pTEyqrUovz4otKc1OJDjNIcLErivOcNKqOEBNITS1KzU1MLUotgskwcnFIN jG5VBlMm/vA+ktnSrHjo+d4gl8fO3xW9/9z8n+fw8yMb+5Ef/+9MfbqIOftK2rNMtz/W7+R1 lm91CbQqLuN1n/Tuw/Nr1pFcn3rNVXlMyny8lnNZJB/yWS9c/eymS9QkawnzLTqW558ZiTyI rrXUWWJ+166ycWLlDdMrv80a3/98fZvD/THvMSWW4oxEQy3mouJEAN8Vb6V3AgAA X-CMS-MailID: 20180619082004eucas1p25ccebb3286e978645e3e09ebb8cb65f2 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180619082004eucas1p25ccebb3286e978645e3e09ebb8cb65f2 References: <1529396370-18761-1-git-send-email-m.purski@samsung.com> X-Mailman-Approved-At: Tue, 19 Jun 2018 09:51:26 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Maciej Purski , Bartlomiej Zolnierkiewicz , David Airlie , Seung-Woo Kim , Krzysztof Kozlowski , Kyungmin Park , Rob Herring , Thierry Reding , Kukjin Kim , Marek Szyprowski , Laurent Pinchart MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Andrzej Hajda 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 Signed-off-by: Maciej Purski --- 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>;