From patchwork Mon Oct 6 15:37:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris BREZILLON X-Patchwork-Id: 5038251 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E6A1E9F295 for ; Mon, 6 Oct 2014 15:38:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAE68201B9 for ; Mon, 6 Oct 2014 15:38:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 2539B2015A for ; Mon, 6 Oct 2014 15:38:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 12E586E3CD; Mon, 6 Oct 2014 08:38:09 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by gabe.freedesktop.org (Postfix) with ESMTP id 706B06E3D8 for ; Mon, 6 Oct 2014 08:38:06 -0700 (PDT) Received: by mail.free-electrons.com (Postfix, from userid 106) id 6B16978C; Mon, 6 Oct 2014 17:38:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, URIBL_RHS_DOB autolearn=ham version=3.3.1 Received: from localhost.localdomain (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id AC43E74A; Mon, 6 Oct 2014 17:38:10 +0200 (CEST) From: Boris Brezillon To: David Airlie , dri-devel@lists.freedesktop.org Subject: [RFC 7/7] ARM: at91/dt: define sama5d3xek panel as a DPI device Date: Mon, 6 Oct 2014 17:37:53 +0200 Message-Id: <1412609873-1894-8-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412609873-1894-1-git-send-email-boris.brezillon@free-electrons.com> References: <1412609873-1894-1-git-send-email-boris.brezillon@free-electrons.com> Cc: Laurent Pinchart X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Replace old panel node with a new one relying on DPI bus support. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d36ek.dts | 12 ++++++++---- arch/arm/boot/dts/sama5d3_lcd.dtsi | 6 +++--- arch/arm/boot/dts/sama5d3xdm.dtsi | 28 ++++++---------------------- 3 files changed, 17 insertions(+), 29 deletions(-) diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts index 1c65741..c83b846 100644 --- a/arch/arm/boot/dts/sama5d36ek.dts +++ b/arch/arm/boot/dts/sama5d36ek.dts @@ -43,6 +43,14 @@ hlcdc: hlcdc@f0030000 { status = "okay"; + + hlcdc-display-controller { + dpi { + panel@0 { + status = "okay"; + }; + }; + }; }; macb1: ethernet@f802c000 { @@ -63,10 +71,6 @@ status = "okay"; }; - panel: panel { - status = "okay"; - }; - sound { status = "okay"; }; diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi index 611ff8a..7c516c3 100644 --- a/arch/arm/boot/dts/sama5d3_lcd.dtsi +++ b/arch/arm/boot/dts/sama5d3_lcd.dtsi @@ -179,10 +179,10 @@ #address-cells = <1>; #size-cells = <0>; - port@0 { - #address-cells = <1>; + dpi { + compatible = "atmel,hlcdc-dpi-host"; #size-cells = <0>; - reg = <0>; + #address-cells = <1>; }; }; diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi index 91975eb..39aba49 100644 --- a/arch/arm/boot/dts/sama5d3xdm.dtsi +++ b/arch/arm/boot/dts/sama5d3xdm.dtsi @@ -42,10 +42,13 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888_alt>; - port@0 { - hlcdc_panel_output: endpoint@0 { + dpi { + panel@0 { + compatible = "foxlink,fl500wvr00-a0t"; reg = <0>; - remote-endpoint = <&panel_input>; + backlight = <&backlight>; + power-supply = <&panel_reg>; + status = "disabled"; }; }; }; @@ -77,23 +80,4 @@ power-supply = <&bl_reg>; status = "disabled"; }; - - panel: panel { - compatible = "foxlink,fl500wvr00-a0t", "simple-panel"; - backlight = <&backlight>; - power-supply = <&panel_reg>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - - port@0 { - #address-cells = <1>; - #size-cells = <0>; - - panel_input: endpoint@0 { - reg = <0>; - remote-endpoint = <&hlcdc_panel_output>; - }; - }; - }; };