Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp573483ima; Wed, 24 Oct 2018 06:04:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5cm4GTxQysj31E/NMZ8IYjFYFXzPizsOQzgFUN0KVIXtlHTIVuZY5ds4iFLBVNaw7IdtXO5 X-Received: by 2002:a63:fe13:: with SMTP id p19-v6mr2433067pgh.265.1540386284263; Wed, 24 Oct 2018 06:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540386284; cv=none; d=google.com; s=arc-20160816; b=vMWjxkC3H4mQKlhmIOsQfEQfvwfE2zGJeLCLNoxyUTmMjDbrtidPvq8svYMAseUBu+ XTLKbGiCwyKXj6GndtDCn+ELFgA/M7eCJao02fuvm5BZoKi0k0qpipvHFjtbJT77LXMJ WqVmWTHAl6ka/3uoP95lTN3X6qRtsyNw8b0AzZFpQ92MhiQo1uqGYlXZTdPXkAnjM8c9 we8LOrjci7TM7r/+wq30/MDfyzB3VObQHuvhxDgjKRN33h3a2n05tuLENrzt9qsFQQ83 A9VdbMuEoC50LQjzQbiLSRNkQn3QyhlbGZDcTciT/HSm+YEPhGRLOAGfySm6B8fYLNbi /jBw== 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=3zOlZ3RWObuCKG8JXVCoJNfB4MGV0fGL4zprxG6+oo4=; b=sxPbBCr7uspKzqbBtXJuEtSP1nXjFPHvmychUGacdwJvrjdK4FGphR/PFvyhtaRtoo vYkVad5z1BkVCyN1e0p10Tv4Nt2fhO4nmA3/QLJXqxhe39DSPXbLa9v47r9rfUx78+Kx alOAiaZnv2WQHe1wQTx0/WnYSSTfVTdguaAeN0cfBIS5qW1C3lL1kicYhm4srqz8sSIh X2QOIFr2GU2R8XAEWkwSeSzsgFhik0gqnhn4ay2jdqgUQ9B+zXaT5ocT+zj83TkM5vR0 kafnWhfcYckhUY7KAWbSzqttJYSYXyPlh4/CrV9nByIth63G8/SgRs4NQgtoQBMldB/9 cXXg== 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 ay8-v6si4287606plb.235.2018.10.24.06.04.27; Wed, 24 Oct 2018 06:04:44 -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 S1726433AbeJXV3U (ORCPT + 99 others); Wed, 24 Oct 2018 17:29:20 -0400 Received: from 3.mo2.mail-out.ovh.net ([46.105.58.226]:56943 "EHLO 3.mo2.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbeJXV3U (ORCPT ); Wed, 24 Oct 2018 17:29:20 -0400 X-Greylist: delayed 601 seconds by postgrey-1.27 at vger.kernel.org; Wed, 24 Oct 2018 17:29:19 EDT Received: from player759.ha.ovh.net (unknown [10.109.159.69]) by mo2.mail-out.ovh.net (Postfix) with ESMTP id 572A316EE0F for ; Wed, 24 Oct 2018 14:42:42 +0200 (CEST) Received: from localhost.localdomain (22.220.201.77.rev.sfr.net [77.201.220.22]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player759.ha.ovh.net (Postfix) with ESMTPSA id 895D76400B1; Wed, 24 Oct 2018 14:42:27 +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: [RESEND PATCH 2/2] ARM: dts: opos6uldev: use OF graph to describe the display Date: Wed, 24 Oct 2018 14:54:57 +0200 Message-Id: <20181024125457.25204-2-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20181024125457.25204-1-sebastien.szymanski@armadeus.com> References: <20181024125457.25204-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7548595925547308165 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrgeejgdehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd 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