From patchwork Sat Oct 31 12:56:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 7531031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 38FD7BEEA4 for ; Sat, 31 Oct 2015 13:01:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DF2A206CC for ; Sat, 31 Oct 2015 13:01:51 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 85F02206AD for ; Sat, 31 Oct 2015 13:01:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZsVlY-00073x-EK; Sat, 31 Oct 2015 13:00:16 +0000 Received: from mail-qg0-f54.google.com ([209.85.192.54]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZsVjj-0004iF-94; Sat, 31 Oct 2015 12:58:24 +0000 Received: by qgbb65 with SMTP id b65so82591748qgb.2; Sat, 31 Oct 2015 05:58:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gngUUiPJbAIVMOtHM8BDhv1uyoKyqPywb1fmDTwTNlw=; b=TAoygKTzkc8GqcQCS9x48aQWTlFotUwRLSvPMZzaPnvOj7Nz4l796pyOgcIDX4EKOZ 7YFX8w62kUb0Firib4+KvNQR1gOFWfpaWP8hP8hMHDmkuhws9Dq8cfpmqTZq25GMsvRL C+j5ALOhXK3tjOVvfxZ5ocqBb2HCtopsyfY8NFJDxO4mwqltR6w3b2LcapKJAmObyGAD IejrbfULlpnbD3ESfKydT5irDK1YGGWnRzIDUcF6h8JG6/q4hMmEnvkcgERPDL5dbEX5 IUfHD/NN0NN6n8b+p+9huUbGPmcFgXkT5knaxO8c8IlBK6wIlDoA9n0nplFNep0BeT9/ S1Kg== X-Received: by 10.140.34.75 with SMTP id k69mr16897977qgk.64.1446296282063; Sat, 31 Oct 2015 05:58:02 -0700 (PDT) Received: from localhost.localdomain ([45.74.60.60]) by smtp.gmail.com with ESMTPSA id 64sm4362161qgn.12.2015.10.31.05.57.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Oct 2015 05:58:01 -0700 (PDT) From: Chris Zhong To: heiko@sntech.de, linux-rockchip@lists.infradead.org Subject: [PATCH v2 13/13] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb Date: Sat, 31 Oct 2015 20:56:09 +0800 Message-Id: <1446296170-3702-14-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446296170-3702-1-git-send-email-zyw@rock-chips.com> References: <1446296170-3702-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151031_055823_561028_AEB4B0A5 X-CRM114-Status: GOOD ( 11.49 ) X-Spam-Score: -0.5 (/) 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 , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , Kumar Gala , Chris Zhong , 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-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, URIBL_BLACK autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong --- Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index f6d2e78..d04878f 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi @@ -47,7 +47,7 @@ reg = <0x0 0x80000000>; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; brightness-levels = < 0 1 2 3 4 5 6 7 @@ -177,6 +177,21 @@ status = "okay"; }; +&mipi_dsi { + status = "okay"; + + panel { + compatible ="boe,tv080wum-nl0"; + reg = <0>; + + enable-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&lcd_en>; + backlight = <&backlight>; + status = "okay"; + }; +}; + &sdmmc { bus-width = <4>; cap-mmc-highspeed; @@ -247,6 +262,9 @@ bl_en: bl-en { rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>; }; + lcd_en: lcd-en { + rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; buttons {