Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3227458imm; Tue, 17 Jul 2018 00:52:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpceeOL+L2A2wsIJXI8G3WM3qmYv9HvXeQvABKFrwBsTUWjd4NkagchXSfgsVjTgET73HzU1 X-Received: by 2002:a63:440a:: with SMTP id r10-v6mr549782pga.27.1531813930271; Tue, 17 Jul 2018 00:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531813930; cv=none; d=google.com; s=arc-20160816; b=wvBZtbKT+L6P8iEYY/eRP8aJ2pPTzTWnGQU1KCHax43tf4IY5xjfzA/4Bji8Ygqp4T giphedOsFvmL6Wr27jbHNxf39PZpSPjVwNRaaAHJzViseP6m3DSDKFd99l5sE65rOlgI 9NQOedTuejiJfkpjf9XeICyR1MAl6FnxzHllTVrBUGNazoIUXKseuS4YaLqZZ5gl+IYw 96AnepbBcmIG/n66xyeCsrS93Iul8n8q9TjOYKyLBIRGADZ5l/oAmck0GSTlsQnjKJI/ RJeTfmrnAHJ6ZYd56tBLfvhUVv6zq4gHYBjIzq+NNyI0z9XlvdRYbYlTKeX5lTQu7vJ0 7gwg== 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 :arc-authentication-results; bh=3zOlZ3RWObuCKG8JXVCoJNfB4MGV0fGL4zprxG6+oo4=; b=u3RWllIlWPDmR2B/MwIxKm4fhWRmEymv8ip0hwfv7mWwI91HsOHspUjOpkz2+ufnHD Le7+gc97NXBGQ1T3GwtJjp5i9909srB62Rd6uFnXb3NAFUedDNgzPn0u5Z/6wdP7KaDO 3DYWI4mBa2t6umyThNVAo+xQ0fjJF/mWkg7yW8iiDJ5mM9bTlKmtjWuWw/JuPwyMTMdV QKsfq3KBc7Rb3g4CFlryYcdntR28bmkSQ+nhLv0k+zdMgjPhXttgn9Vi9Q4iU3EzYAdJ dQYfZ8psDyrEiHqwGD5CtlK/8XR+F3Oq1GwLI7W3hp+AHVgCb/XYUlMvyGKSwSsYaQjS rLzQ== 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 n11-v6si280220plk.225.2018.07.17.00.51.54; Tue, 17 Jul 2018 00:52:10 -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 S1728330AbeGQIWi (ORCPT + 99 others); Tue, 17 Jul 2018 04:22:38 -0400 Received: from 9.mo179.mail-out.ovh.net ([46.105.76.148]:50737 "EHLO 9.mo179.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727978AbeGQIWi (ORCPT ); Tue, 17 Jul 2018 04:22:38 -0400 Received: from player691.ha.ovh.net (unknown [10.109.143.189]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id 317BED5622 for ; Tue, 17 Jul 2018 09:12:14 +0200 (CEST) Received: from localhost.localdomain (22.220.201.77.rev.sfr.net [77.201.220.22]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player691.ha.ovh.net (Postfix) with ESMTPSA id 906322600A4; Tue, 17 Jul 2018 09:11:59 +0200 (CEST) From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?S=C3=A9bastien=20Szymanski?= Subject: [PATCH 2/2] ARM: dts: opos6uldev: use OF graph to describe the display Date: Tue, 17 Jul 2018 09:23:18 +0200 Message-Id: <20180717072318.18730-2-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180717072318.18730-1-sebastien.szymanski@armadeus.com> References: <20180717072318.18730-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10866622952201213061 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrheekgdduudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm 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. 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.16.4