From patchwork Wed May 30 12:16:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10438839 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 98CF4601E9 for ; Wed, 30 May 2018 12:18:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82F3128607 for ; Wed, 30 May 2018 12:18:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76E8928617; Wed, 30 May 2018 12:18:22 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40AFC28A15 for ; Wed, 30 May 2018 12:18:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbeE3MSA (ORCPT ); Wed, 30 May 2018 08:18:00 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:34188 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbeE3MQg (ORCPT ); Wed, 30 May 2018 08:16:36 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180530121634euoutp02761fd7918578fc9bce0bf7db246019b2~zaznLwV5z0118901189euoutp02g; Wed, 30 May 2018 12:16:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180530121634euoutp02761fd7918578fc9bce0bf7db246019b2~zaznLwV5z0118901189euoutp02g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1527682594; bh=WAGeyVXjCfhIxhXHuAU/fQIrwqGl53gpMDpYdOvaSX4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=gs5eTDSECb7IIsLQowNxxCADS2VNLnBSybTD4lFR7kxwq1KoPeuX1RYAEC3ya+9IE 4CE3uEx5x7QA2CpAL5Ogw9UMDrQNwPQdqJjCSt8TMQUAh6k8Sg0hhUSAWXxmN7jsad VoB8OpulLw60m91kfDUODoKVzvjNbhlspVfAMxbU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180530121632eucas1p2cfd539574a5db04162219142a062d718~zazlnOsM41219812198eucas1p2s; Wed, 30 May 2018 12:16:32 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 73.3D.17380.F169E0B5; Wed, 30 May 2018 13:16:31 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180530121630eucas1p1584c59b67815a65d0747afab214979ef~zazjM7t3U2529325293eucas1p1Z; Wed, 30 May 2018 12:16:30 +0000 (GMT) X-AuditID: cbfec7f4-b4fc79c0000043e4-94-5b0e961f517f Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E6.0A.04178.E169E0B5; Wed, 30 May 2018 13:16:30 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P9J00FMPJF35I90@eusync1.samsung.com>; Wed, 30 May 2018 13:16:30 +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 Cc: David Airlie , Rob Herring , Mark Rutland , Thierry Reding , Kukjin Kim , Krzysztof Kozlowski , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Maciej Purski Subject: [PATCH v2 10/10] ARM: dts: exynos5250-arndale: add DSI and panel nodes Date: Wed, 30 May 2018 14:16:01 +0200 Message-id: <1527682561-1386-11-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1527682561-1386-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSaUhUURTHu2/e5uDYYzS8WZoMRCFkVn64WUiBxEuihb6EI+mUzwXHpRl3 KRfcRnNPnUrUyDE1d83SHE2zJrFGzd0yBSNcRiPMUNTK8em33/9/zv2fc+DSAnEyYUX7BYZw ikCZXEIK8eb3a/pjh/LNpA6jT+zRRI2eQOn6HgzFpywSqF5dS6Di7i1vaOUniXKmsnA0+20A R5kzCwLU11dHoU/xBgqpsksp1DAzQqDB1kISqfvaMVQyN4Gj6u5JCmlGBzCUqO2mkDp3jkRr rUX4uX1sVVEVYAcz0jG25dEkxT5OeUiwDZUqkn35Z5pgp9J0GNtYGsNmNFUCdrnB5qrQTXjW i5P7hXGK486eQt/e+x2C4BbziNnVaTwW1O5NBSY0ZBzh2LslMhUIaTFTDuBmZjHBi2UAC1OX wG7XUlI5xhfKAEx7Fkfx4h+ALTMaPBXQNMnYwapkD6NvwVQC2Di2CIxCwOQRsL94gTBGmTPX YEJ2PGlknDkMDUMPtlnEuEDtm6cUP84GjutVAmOoyZb/vM3ZmAOZXArONdfurOQCqzpGSJ7N 4byuaeftQahK6cR4DoKJP2Z2/AjYnt5L8HwGvtUNbLOAMYM5zQXbsyAjgilJYr6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Flv6jEo/BUXUWRwI 6D3vIpPkHG/aeTjAXTtlgvCWZRW5kzX5mtr9Rb6azWCNtXO8+bj/Outi7xoNDo4lcx1s6q81 744K3vVZfvKrXYZpO+UV36Y4J/z5t1nx2J4Lm9SUWIozEg21mIuKEwFobRvaeAIAAA== X-CMS-MailID: 20180530121630eucas1p1584c59b67815a65d0747afab214979ef X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180530121630eucas1p1584c59b67815a65d0747afab214979ef References: <1527682561-1386-1-git-send-email-m.purski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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>;