From patchwork Mon Nov 16 08:57:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7621821 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 68EEB9F2E2 for ; Mon, 16 Nov 2015 08:56:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8483B205AA for ; Mon, 16 Nov 2015 08:56:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3C6320546 for ; Mon, 16 Nov 2015 08:56:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238AbbKPI4N (ORCPT ); Mon, 16 Nov 2015 03:56:13 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34441 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbbKPI4M (ORCPT ); Mon, 16 Nov 2015 03:56:12 -0500 Received: by padhx2 with SMTP id hx2so168973120pad.1 for ; Mon, 16 Nov 2015 00:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=SXSEgCIQMRXCqY5VmBSvOo99tRY6QiyzOd5vLIDgQoc=; b=oOzCw0oxoPZX+ZdFGaHTOGbv3bewGnrFqd6PYLfpdmGmJEvokWkEZy3AVCBJSEiVgC 1NPZ+iHKyAIzMWXHAwS3R/Pi12FBn/Hulqw6o2d3ehPgXBDyoeWlcwLr1qBS0DyjDu9s LpiwrtI6d81AEkWUryO++Wj9Vr2/XWpoEnQU/IKVfGjyQxmXUa+jNzeRv0GSugGUqBTw TkidTvWqWUGomTF5ePrSkOPhJzpu6BhL1ieVXzeqly9IytwgcUSaLhEC5Kt/hDh+dwbh TEQheMRVBvDPctOtLROPhhkYt6xIsxihQ7jwdFus2bAJrGmQQyTPYo2VMIs6azhTVJu4 a7hg== X-Received: by 10.66.190.66 with SMTP id go2mr51681096pac.114.1447664172440; Mon, 16 Nov 2015 00:56:12 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id z12sm34969911pbt.73.2015.11.16.00.56.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 00:56:11 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Mon, 16 Nov 2015 17:57:20 +0900 Message-Id: <20151116085720.7119.57488.sendpatchset@little-apple> In-Reply-To: <20151116085703.7119.2518.sendpatchset@little-apple> References: <20151116085703.7119.2518.sendpatchset@little-apple> Subject: [PATCH v2 02/03] ARM: shmobile: r8a7794: Add DU node to device tree Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Pinchart Add the DU device with a disabled state. Boards that want to enable the DU need to specify the output topology. Signed-off-by: Laurent Pinchart Signed-off-by: Magnus Damm --- Previously part of the following series: [PATCH 0/5] R-Car DU: Add support for R8A7793 and R8A7794 Changes since V1: - None arch/arm/boot/dts/r8a7794.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index 2a0d375e45b3..409f6c4b1044 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -401,6 +401,34 @@ status = "disabled"; }; + du: display@feb00000 { + compatible = "renesas,du-r8a7794"; + reg = <0 0xfeb00000 0 0x40000>; + reg-names = "du"; + interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>, + <0 268 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7794_CLK_DU0>, + <&mstp7_clks R8A7794_CLK_DU0>; + clock-names = "du.0", "du.1"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + du_out_rgb0: endpoint { + }; + }; + port@1 { + reg = <1>; + du_out_rgb1: endpoint { + }; + }; + }; + }; + clocks { #address-cells = <2>; #size-cells = <2>;