From patchwork Mon Jul 31 15:03:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9872033 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2C7A2602F0 for ; Mon, 31 Jul 2017 15:07:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F01E26CFC for ; Mon, 31 Jul 2017 15:07:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03C1D27E5A; Mon, 31 Jul 2017 15:07:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8555626CFC for ; Mon, 31 Jul 2017 15:07:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oyj2pttlVAWKm43nX07Z5u9yWKeD8BC9wLvQgrC2XMM=; b=Xw7OZPu9S/N0Hf8/ESYnglFzkH 3vrUbBxsvG4XvbmfaAEJJCrr9lVAeBPVKR5g3DYeMmqTTVV3qdg2+mIjuP9kSRH8s1uwvbq5PnBH/ 2GC/fRFavDrxt+yUaEgNGuxjvhQDhyTrsxwZROh0wuOGw22NWN8MnPP5PcH8AW1dVwwfo5m/UXBoD mnOzAgtU52zROHYEeJ8t+UQu6rbeWKweNPbmV6jGv8V20yUFHDBkOdU6EsbKqYtI1Y7YgIKdgfcaU oQooLd05FEWwJSnmR7uh7Bk3z1mKLDTnwFY2gR2WrM3SaSCtE/ou7ZgIoqEj1iT1CvU5Uk+2SCozI xC5kqBmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCHr-0003Zc-6N; Mon, 31 Jul 2017 15:07:15 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCFj-0000Xq-ME for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 15:05:41 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id E6BFD25BEDE; Tue, 1 Aug 2017 01:03:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1501513413; bh=dfW6bsuBeqnM3hp+8mxGv8slguJVCfbIKHo7qXUuvw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ayjFqF6fg8zk6PhVvsZFQ7OkC5Jtp1BAlODBa2IVLTO6u/hwDj8cIG5pw/7L+lYeN sbqKDiMwwOAXEw/+air6YTtbmMiuSxPhIfoSUeyVWdMf65N35EH+EVlln/cOJDM/v7 fJNeLFTKaQlLuvIOu74mHRbuEdhW1DqOL2erOLeg= Received: by penelope.horms.nl (Postfix, from userid 7100) id 21B85E209B2; Mon, 31 Jul 2017 17:03:25 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 10/31] arm64: dts: r8a7796: Add DU device to DT Date: Mon, 31 Jul 2017 17:03:02 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170731_080504_471476_EFA65502 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Laurent Pinchart , Magnus Damm , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Pinchart Add the DU device to r8a7796.dtsi in a disabled state. Signed-off-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index 9ef1729a800c..8c0d58d49bdf 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -1666,7 +1666,21 @@ }; du: display@feb00000 { - /* placeholder */ + compatible = "renesas,du-r8a7796"; + reg = <0 0xfeb00000 0 0x70000>, + <0 0xfeb90000 0 0x14>; + reg-names = "du", "lvds.0"; + interrupts = , + , + ; + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 727>; + clock-names = "du.0", "du.1", "du.2", "lvds.0"; + status = "disabled"; + + vsps = <&vspd0 &vspd1 &vspd2>; ports { #address-cells = <1>; @@ -1677,6 +1691,16 @@ du_out_rgb: endpoint { }; }; + port@1 { + reg = <1>; + du_out_hdmi0: endpoint { + }; + }; + port@2 { + reg = <2>; + du_out_lvds0: endpoint { + }; + }; }; };