From patchwork Fri Apr 27 16:57:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10369489 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 3F041602B3 for ; Fri, 27 Apr 2018 17:01:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DCA9294A0 for ; Fri, 27 Apr 2018 17:01:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21CEF294A4; Fri, 27 Apr 2018 17:01:31 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 79FF2294A0 for ; Fri, 27 Apr 2018 17:01:29 +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=OEvxlesqSN214pXLWBz+NvV43Hlws/rDosIx3UbCsOM=; b=nOiXOCRzIlB0fYjIgmJRRYKSgy FjlSrlJWo/HRX896I1aUFbNve1GNJkY2VlVC2TxtWUDp1APj66YGXjpdlheqcIWf5H91vHR9XX+Pc Z4c3SzKLaOrzSuqm0r74WqapDqPI3PIiZugA/WsP/KLy4bcgNawRthos+0D0mxqgio8JJSu4xH0Hy xBjnu/eTwQnBcAbk4e13eH8QSN+al34zVuMjRhWgxFScO9LdBQaQE+mtzrLvNvP7pC4gxU/iIG9w+ f2LI8IsYqcntCermVF2Hw/TNucrP/H4Pu7npV6lPSK29ItZIgk29pbZiCV1atfGjKDiGFaHGLCMzp JNDhVOqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fC6kK-0008Jt-35; Fri, 27 Apr 2018 17:01:20 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fC6hH-0005Y0-AC for linux-arm-kernel@lists.infradead.org; Fri, 27 Apr 2018 16:58:26 +0000 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2208660E7; Fri, 27 Apr 2018 18:57:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524848252; bh=q0nj9JCAlD6hqN6lwOb8H2f9Wc+bBS3L5v+YhOOW0X4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6JIp3phz0IgAVHMUOitCJTb9kc4vzb0yy+abG2Iqmh+anjHnpaAh3OFuumv6lkMM XNBCWzatc0YcH7xOy4Y8EXO4AgHP/uB6PEFgKJTZEyM3c4N7tU5dH0LwtBUb7/4Y9T Jhj7QCmr4qVQjA7NrKwKLGx7D28r+rwkq004VbOw= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Kieran Bingham , dri-devel@lists.freedesktop.org Subject: [PATCH v2 09/11] arm64: dts: r8a77965: Add HDMI encoder instance Date: Fri, 27 Apr 2018 17:57:20 +0100 Message-Id: <20180427165722.19445-10-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427165722.19445-1-kieran.bingham+renesas@ideasonboard.com> References: <20180427165722.19445-1-kieran.bingham+renesas@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180427_095811_619975_196E6259 X-CRM114-Status: GOOD ( 11.65 ) 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: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Takeshi Kihara , Catalin Marinas , Magnus Damm , open list , Rob Herring , Simon Horman , Will Deacon , "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" 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 Add the HDMI encoder to the R8A77965 DT in disabled state. Based on a similar patch of the R8A7796 device tree by Laurent Pinchart . Signed-off-by: Takeshi Kihara [Kieran: Rebase to top of tree] Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- v2: - Provide correct CPC MSSR header --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 30 ++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index a35ea2f32da2..b46af2744135 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -8,7 +8,7 @@ * Copyright (C) 2016 Renesas Electronics Corp. */ -#include +#include #include #include @@ -1105,6 +1105,33 @@ }; }; + hdmi0: hdmi@fead0000 { + compatible = "renesas,r8a77965-hdmi", + "renesas,rcar-gen3-hdmi"; + reg = <0 0xfead0000 0 0x10000>; + interrupts = ; + clocks = <&cpg CPG_MOD 729>, + <&cpg CPG_CORE R8A77965_CLK_HDMI>; + clock-names = "iahb", "isfr"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 729>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + dw_hdmi0_in: endpoint { + remote-endpoint = <&du_out_hdmi0>; + }; + }; + port@1 { + reg = <1>; + }; + }; + }; + du: display@feb00000 { compatible = "renesas,du-r8a77965"; reg = <0 0xfeb00000 0 0x80000>; @@ -1132,6 +1159,7 @@ port@1 { reg = <1>; du_out_hdmi0: endpoint { + remote-endpoint = <&dw_hdmi0_in>; }; }; port@2 {