From patchwork Tue May 19 15:50:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 6439221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4E47A9F1C1 for ; Tue, 19 May 2015 15:53:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7FF54203B6 for ; Tue, 19 May 2015 15:53:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B6A3C203B5 for ; Tue, 19 May 2015 15:53:07 +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 1YujnK-0003kA-Un; Tue, 19 May 2015 15:51:02 +0000 Received: from mail-pa0-f53.google.com ([209.85.220.53]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yujn0-0003dq-VJ for linux-arm-kernel@lists.infradead.org; Tue, 19 May 2015 15:50:43 +0000 Received: by padbw4 with SMTP id bw4so29956718pad.0 for ; Tue, 19 May 2015 08:50:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=y+4up8a4241qQzMWnyRYiVlSf6/yfGgPeyQUz2IvSo0=; b=A98lZWTtYjyQ6zDYg0seh7aQaPDReJBclQu0Yvzt0ksX+ZnDib5secmEBEsrKhUlI6 rqGbVLlj7HTYuZ7qTswgEu6OKfD8WdmcoRJkTWFTlvTRBBFqPvQ+6JCCE8xEM/Uq9lTs 3DsjnXwx39OZSIs4Bar6IBYxUgFQ2N6szxzaMaHZ61sH8+/ZoiEHLmAMd2ijmqf+NRTU b+9VA8ZV9xHKoNP0xuAHmhH0MYUsHPSw1Gt9F1cc7ouBUW4djc6jUBfMBFIOqmKTsIaN cx0Z77AB3YSzwpngMwktJI/wMKGnT4E8ND2FpdWh9RD92Etc8Pp6qQjmd2H9pFW8H+9K uTzg== X-Gm-Message-State: ALoCoQkoNODx9FkZAODxYl+g2Ci7PR46mPSHx8nlb6ESUlpC8uJqQFDg6SqcRFcLw8Do2QiK+fF9 X-Received: by 10.69.17.130 with SMTP id ge2mr21646133pbd.75.1432050622008; Tue, 19 May 2015 08:50:22 -0700 (PDT) Received: from localhost.localdomain (ip98-165-98-97.ph.ph.cox.net. [98.165.98.97]) by mx.google.com with ESMTPSA id a11sm13485272pdj.54.2015.05.19.08.50.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 May 2015 08:50:21 -0700 (PDT) From: Eric Nelson To: devicetree@vger.kernel.org Subject: [PATCH V2 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Date: Tue, 19 May 2015 08:50:15 -0700 Message-Id: <1432050616-11465-2-git-send-email-eric.nelson@boundarydevices.com> X-Mailer: git-send-email 2.4.1 In-Reply-To: <1432050616-11465-1-git-send-email-eric.nelson@boundarydevices.com> References: <20150518075844.7e1b5916@ipc1.ka-ro> <1432050616-11465-1-git-send-email-eric.nelson@boundarydevices.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150519_085043_027655_A02F8C7D X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.8 (-) Cc: fabio.estevam@freescale.com, p.zabel@pengutronix.de, Eric Nelson , gary.bisson@boundarydevices.com, kernel@pengutronix.de, shawn.guo@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Also add label for backlight_lvds and connect it to the display. Signed-off-by: Eric Nelson --- V2 changes 'alias' in commit message to 'label' arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index fd096dc..712c5ec 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -122,7 +122,7 @@ status = "okay"; }; - backlight_lvds { + backlight_lvds: backlight_lvds { compatible = "pwm-backlight"; pwms = <&pwm4 0 5000000>; brightness-levels = <0 4 8 16 32 64 128 255>; @@ -130,6 +130,17 @@ power-supply = <®_3p3v>; status = "okay"; }; + + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &audmux { @@ -379,18 +390,11 @@ fsl,data-width = <18>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: hsd100pxn1 { - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hback-porch = <220>; - hfront-porch = <40>; - vback-porch = <21>; - vfront-porch = <7>; - hsync-len = <60>; - vsync-len = <10>; + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; }; }; };