From patchwork Mon Nov 16 09:15:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7623041 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 84935BF90C for ; Mon, 16 Nov 2015 09:14:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A933A205BE for ; Mon, 16 Nov 2015 09:14:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2BBC205B8 for ; Mon, 16 Nov 2015 09:14:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752326AbbKPJOR (ORCPT ); Mon, 16 Nov 2015 04:14:17 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35231 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbbKPJOQ (ORCPT ); Mon, 16 Nov 2015 04:14:16 -0500 Received: by pacej9 with SMTP id ej9so62700286pac.2 for ; Mon, 16 Nov 2015 01:14:15 -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=HkkLD8BQFVEqVGW9hdkxdEtPLrTSZX+gcFvvloH74yk=; b=h0gNSFqIaQyMuxXwdLgyj7uE7Mzy+76pURBRiHSYUICc3kTlgU/wIrRefABF0Pt/9P LQmSetOxZ8XFK1zjyKJqR137/BUbcuE2ZIsDYpSqNebl5tzXTCiy8WrNAdnsI1qFy5n0 rqC/yNsoO63ImO5qRoCkCJNSpA56tCqklsIZk/ELt8atHwp8yWD0AqyXvkDISewJl82W sKnbOUklTC4BRUyeUxT2t/ZuR1ENKLfM+l0mEHs1SS1xxqVsngy/zBsYXD4NZw+Edwkm nyE+nKUL9w1Q5p8y5i8OkUeonJFY7N5E/j77XpOsUOHAmT3HTKplkiKKG+GGLGoRITtJ j8hA== X-Received: by 10.68.196.131 with SMTP id im3mr52460969pbc.59.1447665255768; Mon, 16 Nov 2015 01:14:15 -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 fk8sm35189226pab.33.2015.11.16.01.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 01:14:14 -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 18:15:23 +0900 Message-Id: <20151116091523.20711.53542.sendpatchset@little-apple> In-Reply-To: <20151116091515.20711.14784.sendpatchset@little-apple> References: <20151116091515.20711.14784.sendpatchset@little-apple> Subject: [PATCH 01/02] ARM: shmobile: r8a7793: 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 arch/arm/boot/dts/r8a7793.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index c50c5f65388a..2072f55a524a 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -140,6 +140,36 @@ status = "disabled"; }; + du: display@feb00000 { + compatible = "renesas,du-r8a7793"; + reg = <0 0xfeb00000 0 0x40000>, + <0 0xfeb90000 0 0x1c>; + reg-names = "du", "lvds.0"; + interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>, + <0 268 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp7_clks R8A7793_CLK_DU0>, + <&mstp7_clks R8A7793_CLK_DU1>, + <&mstp7_clks R8A7793_CLK_LVDS0>; + clock-names = "du.0", "du.1", "lvds.0"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + du_out_rgb: endpoint { + }; + }; + port@1 { + reg = <1>; + du_out_lvds0: endpoint { + }; + }; + }; + }; + clocks { #address-cells = <2>; #size-cells = <2>;