From patchwork Mon Jul 7 14:51:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris BREZILLON X-Patchwork-Id: 4506331 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A49EFBEEAA for ; Tue, 8 Jul 2014 16:12:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 42B8E20357 for ; Tue, 8 Jul 2014 16:12:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 56C20202B8 for ; Tue, 8 Jul 2014 16:12:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9ABA86E58F; Tue, 8 Jul 2014 09:12:20 -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 902B16E3C7 for ; Mon, 7 Jul 2014 07:51:42 -0700 (PDT) Received: by mail.free-electrons.com (Postfix, from userid 106) id ED5F917CB; Mon, 7 Jul 2014 16:51:42 +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=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 DC7207E9; Mon, 7 Jul 2014 16:51:41 +0200 (CEST) From: Boris BREZILLON To: Samuel Ortiz , Lee Jones , Thierry Reding , linux-pwm@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, Nicolas Ferre , Jean-Christophe Plagniol-Villard , Alexandre Belloni , Andrew Victor Subject: [PATCH v3 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards Date: Mon, 7 Jul 2014 16:51:11 +0200 Message-Id: <1404744671-1629-12-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1404744671-1629-1-git-send-email-boris.brezillon@free-electrons.com> References: <1404744671-1629-1-git-send-email-boris.brezillon@free-electrons.com> X-Mailman-Approved-At: Tue, 08 Jul 2014 09:12:18 -0700 Cc: Mark Rutland , devicetree@vger.kernel.org, Jean-Jacques Hiblot , Pawel Moll , Ian Campbell , Rob Herring , Laurent Pinchart , Bo Shen , Kumar Gala , Thomas Petazzoni 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 Enable LCD related nodes and reference panel node in the hlcdc (HLCD Controller) node. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d31ek.dts | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/sama5d33ek.dts | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/sama5d34ek.dts | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/sama5d36ek.dts | 24 ++++++++++++++++++++++++ 4 files changed, 96 insertions(+) diff --git a/arch/arm/boot/dts/sama5d31ek.dts b/arch/arm/boot/dts/sama5d31ek.dts index 04eec0d..338f4c3 100644 --- a/arch/arm/boot/dts/sama5d31ek.dts +++ b/arch/arm/boot/dts/sama5d31ek.dts @@ -33,6 +33,14 @@ status = "okay"; }; + hlcdc: hlcdc@f0030000 { + status = "okay"; + + hlcdc-display-controller { + atmel,panel = <&panel 3 0>; + }; + }; + macb1: ethernet@f802c000 { status = "okay"; }; @@ -46,6 +54,22 @@ }; }; + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; + + backlight: backlight { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + sound { status = "okay"; }; diff --git a/arch/arm/boot/dts/sama5d33ek.dts b/arch/arm/boot/dts/sama5d33ek.dts index cbd6a3f..f2ab41d 100644 --- a/arch/arm/boot/dts/sama5d33ek.dts +++ b/arch/arm/boot/dts/sama5d33ek.dts @@ -36,9 +36,33 @@ macb0: ethernet@f0028000 { status = "okay"; }; + + hlcdc: hlcdc@f0030000 { + status = "okay"; + + hlcdc-display-controller { + atmel,panel = <&panel 3 0>; + }; + }; }; }; + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; + + backlight: backlight { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + sound { status = "okay"; }; diff --git a/arch/arm/boot/dts/sama5d34ek.dts b/arch/arm/boot/dts/sama5d34ek.dts index 878aa16..0d0049c 100644 --- a/arch/arm/boot/dts/sama5d34ek.dts +++ b/arch/arm/boot/dts/sama5d34ek.dts @@ -46,6 +46,14 @@ macb0: ethernet@f0028000 { status = "okay"; }; + + hlcdc: hlcdc@f0030000 { + status = "okay"; + + hlcdc-display-controller { + atmel,panel = <&panel 3 0>; + }; + }; }; }; @@ -56,6 +64,22 @@ }; }; + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; + + backlight: backlight { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + sound { status = "okay"; }; diff --git a/arch/arm/boot/dts/sama5d36ek.dts b/arch/arm/boot/dts/sama5d36ek.dts index 59576c6..8350358 100644 --- a/arch/arm/boot/dts/sama5d36ek.dts +++ b/arch/arm/boot/dts/sama5d36ek.dts @@ -41,12 +41,36 @@ status = "okay"; }; + hlcdc: hlcdc@f0030000 { + status = "okay"; + + hlcdc-display-controller { + atmel,panel = <&panel 3 0>; + }; + }; + macb1: ethernet@f802c000 { status = "okay"; }; }; }; + bl_reg: backlight_regulator { + status = "okay"; + }; + + panel_reg: panel_regulator { + status = "okay"; + }; + + backlight: backlight { + status = "okay"; + }; + + panel: panel { + status = "okay"; + }; + sound { status = "okay"; };