From patchwork Thu Apr 26 16:53:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10366499 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 D4841601BE for ; Thu, 26 Apr 2018 16:58:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C49CD287F9 for ; Thu, 26 Apr 2018 16:58:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B90EF28EBD; Thu, 26 Apr 2018 16:58:48 +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 2AB12287F9 for ; Thu, 26 Apr 2018 16:58:48 +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=NUVF3PFxAXyO4oijS08xdVRpjhYM+co0WoAhGmA+OHQ=; b=Is5u4Q+hMY6U4v7hzimuyKecsV f+waUNY3LVzlqfYibPDXqzg0lpSlCKIhKn1A+dzNOQg/2iGFo8dUUnK1vN3VaonMUiUhHae3aV0FS k3ZSltIePMGAIBcj/IcfTtbMpDeQb7Pr0m5JGH5feUJjK1w2+2l5fHTKSq5VGpeFCXJJfiTwulYY2 0CxQKBr75XOsxNG7Odu/lmxcAHw6lVdAI1UFwN2G3C9ObY2SA4h41s7LsbLNgnVlfFB5Qjp7enLrz GgHqY1rfUtmX6kKOFWAPolbGJDDGEJ0cdOLjQGW0MGTE01VvvZz4Sx6uzs/ithDXJO7kwCvjEBLYn EEZhK0Gw==; 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 1fBkED-00014U-2B; Thu, 26 Apr 2018 16:58:41 +0000 Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBkAi-0006bK-N6 for linux-arm-kernel@lists.infradead.org; Thu, 26 Apr 2018 16:55:11 +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 850A93FC3; Thu, 26 Apr 2018 18:53:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524761640; bh=4DlRJdr5PLzU5g+X8hZuHhVsrMK6NREBONzjeO02yNY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mNZMoiU/Y70NZ79Ls+ulAoSz0I3dRM3L/g8dIvg6RNu/xbf4CREIfXUxRalGFLh5d zisXkQLo4S9QvJNjJwYnmYelTU4pH6r7/3WZILaa7tBi3DvitqCHWR21j5pGEJNegK Mdn5vNb91LHWH3GdBy+RYowIaptqEsfDbrsFKrFA= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 13/17] arm64: dts: r8a77965: Add HDMI encoder instance Date: Thu, 26 Apr 2018 17:53:42 +0100 Message-Id: <20180426165346.494-14-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180426165346.494-1-kieran.bingham+renesas@ideasonboard.com> References: <20180426165346.494-1-kieran.bingham+renesas@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180426_095505_000186_2B40E85E X-CRM114-Status: GOOD ( 10.39 ) 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 , Simon Horman , Catalin Marinas , Kieran Bingham , Magnus Damm , open list , Will Deacon , Rob Herring , "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 --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 8a40bba53027..972be1460a32 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -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>, @@ -1134,6 +1161,7 @@ port@1 { reg = <1>; du_out_hdmi0: endpoint { + remote-endpoint = <&dw_hdmi0_in>; }; }; port@2 {