Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3959968yba; Tue, 7 May 2019 09:43:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVSP3JE/XbOQpW7b3Q+JSDyxIitnuRhtnJrxcM61G0rXosURspqXkAU5iJgP+FbjZVxdG7 X-Received: by 2002:a63:e004:: with SMTP id e4mr40963987pgh.344.1557247437874; Tue, 07 May 2019 09:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557247437; cv=none; d=google.com; s=arc-20160816; b=hae6dsYEoQE0wnDwmbXcpofuj67dsitOr8Ea7BetmD7k6HyKyxDxipCMZoS/DeXZyG x3QCOZs0jp5LlVy0eqTsIBOGO9Cfzcdv6RTrMKYKpmdntYoe1YCzon8q2ozN5fnBFPc4 bwdIjlmi4KEsUW4o/uqnYu6HqG0Ko1pQAwYAeDYFeUKEEFn2YLGK36IS1hs/gt3pU6Cn tMXCmD/bn8u01s7itSmSKk0Bsb3x+0phpzqfZgPeWKrlguzhoMyz4LGvU95QECf71IqB xel3qwdxA+0triF5YlO1y3kT7NmDSo5GyFHw8nOIuEyfvbxPJ2wNb++8hbyAP8aXULW4 LV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=X69eW/QAgS4d2moL8AW4BMDoye3DEYHuIFaa18kFB7M=; b=joJSwFXw6r7+1hNb2C4V7kFGo/6O6B2c3FoylU7aUwzTEcgcwJL620W2n9/Evl7Qws SIaqKsVYkRNoQtjN6yg9uEeC6VghiZwGpRSQHl4NjbnY9pVhQtKE69BuELbHh4865cAP uqggRaEeHBURxfSYb3J4jpP8BppDNTGenUIpCHwQD77eUVSx2GHK6wQec9oNRb/0a6JJ S2LGHllcbnEhLxK1iiwAX4dXd4qDeaMx/zGjWj0IfFC//0lS5eAr+7eDaR45QcGlpON2 cR5UEDj+6DorjDhIEUvqxK8ZqghBmJTMzwsiX93P3PxvSTjHjVYHsdBmZkEmzHcDeXcr tzZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23si19008111pfa.277.2019.05.07.09.43.42; Tue, 07 May 2019 09:43:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726688AbfEGQmp (ORCPT + 99 others); Tue, 7 May 2019 12:42:45 -0400 Received: from 1.mo179.mail-out.ovh.net ([178.33.111.220]:57223 "EHLO 1.mo179.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbfEGQmp (ORCPT ); Tue, 7 May 2019 12:42:45 -0400 X-Greylist: delayed 3600 seconds by postgrey-1.27 at vger.kernel.org; Tue, 07 May 2019 12:42:44 EDT Received: from player697.ha.ovh.net (unknown [10.109.159.69]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id E0A79125116 for ; Tue, 7 May 2019 17:27:42 +0200 (CEST) Received: from armadeus.com (lfbn-1-7591-179.w90-126.abo.wanadoo.fr [90.126.248.179]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player697.ha.ovh.net (Postfix) with ESMTPSA id 261115875B80; Tue, 7 May 2019 15:27:23 +0000 (UTC) From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team Cc: Fabio Estevam , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Mark Rutland , Rob Herring , Daniel Vetter , David Airlie , Thierry Reding , =?UTF-8?q?S=C3=A9bastien=20Szymanski?= , stable@vger.kernel.org Subject: [PATCH RE-RESEND 2/2] ARM: dts: opos6uldev: use OF graph to describe the display Date: Tue, 7 May 2019 17:27:13 +0200 Message-Id: <20190507152713.27494-2-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190507152713.27494-1-sebastien.szymanski@armadeus.com> References: <20190507152713.27494-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11812378874205393943 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkedtgdelgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To make use of the new eLCDIF DRM driver OF graph description is required. Describe the display using OF graph nodes. Cc: stable@vger.kernel.org # v4.19 Signed-off-by: Sébastien Szymanski --- arch/arm/boot/dts/imx6ul-opos6uldev.dts | 37 +++++++++++-------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul-opos6uldev.dts b/arch/arm/boot/dts/imx6ul-opos6uldev.dts index 0e59ee57fd55..8ecdb9ad2b2e 100644 --- a/arch/arm/boot/dts/imx6ul-opos6uldev.dts +++ b/arch/arm/boot/dts/imx6ul-opos6uldev.dts @@ -56,7 +56,7 @@ stdout-path = &uart1; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm3 0 191000>; brightness-levels = <0 4 8 16 32 64 128 255>; @@ -97,6 +97,18 @@ gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; }; + panel: panel { + compatible = "armadeus,st0700-adapt"; + power-supply = <®_3v3>; + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&lcdif_out>; + }; + }; + }; + reg_5v: regulator-5v { compatible = "regulator-fixed"; regulator-name = "5V"; @@ -182,28 +194,11 @@ &lcdif { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcdif>; - display = <&display0>; - lcd-supply = <®_3v3>; status = "okay"; - display0: display0 { - bits-per-pixel = <32>; - bus-width = <18>; - - display-timings { - timing0: timing0 { - clock-frequency = <33000033>; - hactive = <800>; - vactive = <480>; - hback-porch = <96>; - hfront-porch = <96>; - vback-porch = <20>; - vfront-porch = <21>; - hsync-len = <64>; - vsync-len = <4>; - de-active = <1>; - pixelclk-active = <0>; - }; + port { + lcdif_out: endpoint { + remote-endpoint = <&panel_in>; }; }; }; -- 2.19.2