From patchwork Mon Jul 31 15:03:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9872031 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 5603A602F0 for ; Mon, 31 Jul 2017 15:07:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3782326CFC for ; Mon, 31 Jul 2017 15:07:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A59227E5A; Mon, 31 Jul 2017 15:07:03 +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 C193526CFC for ; Mon, 31 Jul 2017 15:07:02 +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=I196dhKIZKf66HJpKbfEVsW4pmWJ/aWcC04Ua3N+5+Q=; b=sa/zO7mBBfWZS6Zyb5qrXikSuX 7n2Vk/lNM2e9VjI307MIqp6+DOdJoPntVp9guYtNBkaW9kt/zucwcCBROsMbfc7wj0w0FoPcsrjKt VfSuMti2omofTd03bD6pQ5mBkYckA/AcsmRr9dQ0xx1Y9T2TosB54BLUgFwONT5dPHEY6jqSsZISg n/eUyCApWOgXsOtJyp37SSlxVG83W30h7RI/XJ++0tirI11r3DVUtJjYfbaXRXFNG5d24sCvlYZsi PNvuYvjlGLuKyblScQUsJ/DP+WoS8gyxJ3Gff9Qegy0AcNMRUOstuxhXXpgLyztUd2yBbktsNTmVR uFWedV7g==; 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 1dcCHa-0003LN-3d; Mon, 31 Jul 2017 15:06:58 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCFb-0000Xq-KZ for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 15:05:03 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id E441325BEDA; 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=MAhhNIPfJRRyM7f5SDdpP2JhrTrHUkoMTMM98DpNrPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jyJIwLPLfpgDskM4ubDbTSqIyjKeExshBjvmqbMv+Pcw9XF4hHxZG/q8kokW13gUR CVn6tfXOOTuE66MFSt2tbBy51QeiGEu2FzR0w7/amhw4mpIKEPZDMAZuy1q+GmurEc 2krcaZLhbJa2NEcMmSuhEanS0lelSlP6MDOan9EI= Received: by penelope.horms.nl (Postfix, from userid 7100) id 24D07E209B3; Mon, 31 Jul 2017 17:03:25 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 11/31] arm64: dts: r8a7796: Add HDMI encoder instance Date: Mon, 31 Jul 2017 17:03:03 +0200 Message-Id: <565f5b6f01b8686a4278ec2f60db59cc62b2c312.1501509525.git.horms+renesas@verge.net.au> 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_080456_512285_A5474481 X-CRM114-Status: UNSURE ( 8.18 ) 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 HDMI encoder to the R8A7796 DT in 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, 26 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index 8c0d58d49bdf..016cdd0bf289 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -1665,6 +1665,31 @@ resets = <&cpg 601>; }; + hdmi0: hdmi@fead0000 { + compatible = "renesas,r8a7796-hdmi", "renesas,rcar-gen3-hdmi"; + reg = <0 0xfead0000 0 0x10000>; + interrupts = ; + clocks = <&cpg CPG_MOD 729>, <&cpg CPG_CORE R8A7796_CLK_HDMI>; + clock-names = "iahb", "isfr"; + power-domains = <&sysc R8A7796_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-r8a7796"; reg = <0 0xfeb00000 0 0x70000>, @@ -1694,6 +1719,7 @@ port@1 { reg = <1>; du_out_hdmi0: endpoint { + remote-endpoint = <&dw_hdmi0_in>; }; }; port@2 {