From patchwork Sat May 16 19:23:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 6422051 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 A1BEFC0432 for ; Sat, 16 May 2015 19:26:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C4E67204A7 for ; Sat, 16 May 2015 19:26:29 +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 09271204A2 for ; Sat, 16 May 2015 19:26:29 +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 1Ythgz-0001x4-87; Sat, 16 May 2015 19:24:13 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ythgd-0001sX-OM for linux-arm-kernel@lists.infradead.org; Sat, 16 May 2015 19:23:52 +0000 Received: by pacwv17 with SMTP id wv17so78231894pac.2 for ; Sat, 16 May 2015 12:23:30 -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=y9DNVwFToLGmATuJE834z+oVuVHOoaJmAJMr3RMzbVM=; b=kYLgwXvNZIUzqjtV0U5PVgVBoUFAm1J5uXfGbHmMsuGjjTuacZPaSBKGQMNtTeSi57 ZFVxaPs7i4Htty5pFJPLPIefboxzgVWzRhZBj2GSoHjdpxNRXuL+j2BQ5O+Lhx1rBD3b bcuxKY1CpQmVW0BhQQgogGQ/ez6mqKt+5puXelCvgTDX5CkYpVq4cH/idCJZuHCJcSSO gjfvxh/4iu4jnR+934a3GBdh04Be7CbufczDlDNbSwAvIGTpFYeEqVDhCjQBDx17eNpE RYZGLWIw6/wCTP9kb87nibkVlC/imYtJh00e/xwsqDvPQcIxu8xisiwRx/Gx89V+teUF /Uuw== X-Gm-Message-State: ALoCoQlAKhwgUS4AnyWBbcsIsGUk2t0ix1omh2qsM1rKrEwMIipDaK3/sF8KCWW5Dt22ICKsm5xl X-Received: by 10.70.140.38 with SMTP id rd6mr8739069pdb.47.1431804210520; Sat, 16 May 2015 12:23:30 -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.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 16 May 2015 12:23:29 -0700 (PDT) From: Eric Nelson To: devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0 Date: Sat, 16 May 2015 12:23:22 -0700 Message-Id: <1431804202-11067-3-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_122351_837239_1DC65D41 X-CRM114-Status: UNSURE ( 9.27 ) 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 LVDS display. Signed-off-by: Eric Nelson --- arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index 483856e2..6ed80b8 100644 --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi @@ -121,7 +121,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>; @@ -129,6 +129,17 @@ power-supply = <®_3p3v>; status = "okay"; }; + + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &audmux { @@ -374,18 +385,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>; }; }; };