From patchwork Mon Aug 29 22:50:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ayaka X-Patchwork-Id: 9304597 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 1B160601C0 for ; Mon, 29 Aug 2016 22:53:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 022A7285F7 for ; Mon, 29 Aug 2016 22:53:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA2B828752; Mon, 29 Aug 2016 22:53: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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7BF7F285F7 for ; Mon, 29 Aug 2016 22:53:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1beVOH-0007XV-QN; Mon, 29 Aug 2016 22:50:53 +0000 Received: from kozue.soulik.info ([2001:19f0:7000:8404:5054:ff:fe75:428f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1beVOC-0007Vk-PY for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2016 22:50:49 +0000 Received: from ritsuko.sumomo.pri (unknown [IPv6:2001:470:b30d:2::3bd]) by kozue.soulik.info (Postfix) with ESMTPA id 625C510142C; Tue, 30 Aug 2016 07:52:32 +0900 (JST) From: Randy Li To: devicetree@vger.kernel.org Subject: [PATCH RFC] ARM: dts: samsung: add rga-lvds panel in itop elite Date: Tue, 30 Aug 2016 06:50:02 +0800 Message-Id: <1472511002-9019-1-git-send-email-ayaka@soulik.info> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160829_155049_045219_26092481 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, Randy Li , linux@armlinux.org.uk, krzk@kernel.org, linux-kernel@vger.kernel.org, inki.dae@samsung.com, kyungmin.park@samsung.com, kgene@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It is actually a lvds panel connected through a rga-lvds bridge. But I really have no idea about what does a port mean in fimd node. Also how should I configure this panel size? I think the i2c found on the panel schematic, but it more likely to be used a touch screen touth. Also the touch screen is not supported in currently driver. Signed-off-by: Randy Li --- arch/arm/boot/dts/exynos4412-itop-elite.dts | 35 ++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts index e1cda54..2d67385 100644 --- a/arch/arm/boot/dts/exynos4412-itop-elite.dts +++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts @@ -139,6 +139,20 @@ assigned-clocks = <&clock CLK_MOUT_CAM0>; assigned-clock-parents = <&clock CLK_XUSBXTI>; }; + + vcc_sys_lcd: sys-lcd { + compatible = "regulator-fixed"; + regulator-name = "vcc_5v"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>; + }; + + panel: panel { + ddc-i2c-bus = <&i2c_3>; + power-supply = <&vcc_sys_lcd>; + enable-gpios = <&gpl0 2 GPIO_ACTIVE_HIGH>; + }; }; &pinctrl_1 { @@ -221,9 +235,6 @@ }; &pwm { - pinctrl-0 = <&pwm1_out>; - pinctrl-names = "default"; - samsung,pwm-outputs = <1>; status = "okay"; }; @@ -239,3 +250,21 @@ assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>; assigned-clock-rates = <0>, <176000000>; }; + +&i2c_3 { + status = "okay"; +}; + +&fimd { + pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + rga_lvds: endpoint { + remote-endpoint = <&panel>; + }; + }; +};