From patchwork Sat May 16 19:23:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 6422041 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 8811D9F1C1 for ; Sat, 16 May 2015 19:26:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAEC2204A7 for ; Sat, 16 May 2015 19:26:15 +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 C5862204A2 for ; Sat, 16 May 2015 19:26:14 +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 1Ythgr-0001vX-KU; Sat, 16 May 2015 19:24:05 +0000 Received: from mail-pa0-f41.google.com ([209.85.220.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ythgc-0001sG-Az for linux-arm-kernel@lists.infradead.org; Sat, 16 May 2015 19:23:51 +0000 Received: by padbw4 with SMTP id bw4so78262622pad.0 for ; Sat, 16 May 2015 12:23:29 -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=r1BIgdBdUppeozC7chBCjU1HyrhdwmP0d5Fz1kubv5k=; b=IKHe+SKVkiiNwTe4jTx1iWHPIU/Suftf823q0Ey4a/tX1IiQEMFH0Aq8tfaeU9Xgh0 BIvNsx51r1QRyfT//oXo6bWH5g3lPPl+vM22vNpaYN+85q2cunHyA2FNx46bFO6zjV9t nFHf2Cj0Hh01hlDsBS6iegYOfEynQlnUQv5WQILh1ND5fA28I/sRxcs5euml3njbCgRA U0o/uU39V2zB1iSZ5YYn1XT0CZdHxv3lThX1rIVETcXEGGrjnu3SNjUBExyeC15PzJL9 eqUnntYWzuPBh7GzlhOTWYlFZYEjCBfb8B29tEKr42X1JyZx5SIbShPqHGZUJ31wLWj3 Rnww== X-Gm-Message-State: ALoCoQlqzxT79EZ1Entj07lFaeYuL9PnkfkR0VF5CDhltVtzk9o3uaFq1nAv7mQ4OgG1Asj80gkd X-Received: by 10.70.133.66 with SMTP id pa2mr30335092pdb.164.1431804209067; Sat, 16 May 2015 12:23:29 -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 fu7sm5486981pac.26.2015.05.16.12.23.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 May 2015 12:23:28 -0700 (PDT) From: Eric Nelson To: devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: nitrogen6x: use simple-panel instead of display-timings for LVDS0 Date: Sat, 16 May 2015 12:23:21 -0700 Message-Id: <1431804202-11067-2-git-send-email-eric.nelson@boundarydevices.com> X-Mailer: git-send-email 2.4.1 In-Reply-To: <1431804202-11067-1-git-send-email-eric.nelson@boundarydevices.com> References: <1431804202-11067-1-git-send-email-eric.nelson@boundarydevices.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150516_122350_430525_EF72499F X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) 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 alias for backlight_lvds and connect it to the display. Signed-off-by: Eric Nelson --- 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>; }; }; };