From patchwork Thu Apr 26 16:53:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10366479 X-Patchwork-Delegate: horms@verge.net.au 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 DFE10601BE for ; Thu, 26 Apr 2018 16:57:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D30A92910D for ; Thu, 26 Apr 2018 16:57:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7E5B29117; Thu, 26 Apr 2018 16:57:23 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 892B12910D for ; Thu, 26 Apr 2018 16:57:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757088AbeDZQ5U (ORCPT ); Thu, 26 Apr 2018 12:57:20 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:58080 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756723AbeDZQyK (ORCPT ); Thu, 26 Apr 2018 12:54:10 -0400 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 D7E3B3FC6; Thu, 26 Apr 2018 18:54:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524761643; bh=R7XF8bBRSvCnhuyOtvBznmeFPlNWEn7JfeJFFAzpTGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IRaeS2Y2NBN1PVOscVaKXOqPDdVXksWze3xEKXG6OEEkUriGRTaTvRD+TrgeDCjXi 8FnVrVIokppIgdbAC8+lDf9aKuu3rMQyUm24Wfoba+kpamvcU7TXYaPlGKTtRbr7v2 4qpSprPggDUSW2o0oVR5L8OGkgv6arnwAIp7H+1g= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org Cc: Kieran Bingham , Takeshi Kihara , Simon Horman , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 17/17] arm64: dts: r8a77965-salvator-xs: Enable HDMI output Date: Thu, 26 Apr 2018 17:53:46 +0100 Message-Id: <20180426165346.494-18-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> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Takeshi Kihara This patch enables the HDMI encoder for the Salvator-X 2nd version board on the R8A77965 SoC and hook it up to the HDMI connector. Based on code of the Salvator-X 2nd version board on the R8A7796 SoC device tree by Geert Uytterhoeven Signed-off-by: Takeshi Kihara Signed-off-by: Kieran Bingham --- .../boot/dts/renesas/r8a77965-salvator-xs.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts index 2223cc2bd6bc..dcf1849f1a67 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts +++ b/arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts @@ -31,3 +31,20 @@ clock-names = "du.0", "du.1", "du.3", "lvds.0", "dclkin.0", "dclkin.1", "dclkin.3"; }; + +&hdmi0 { + status = "okay"; + + ports { + port@1 { + reg = <1>; + rcar_dw_hdmi0_out: endpoint { + remote-endpoint = <&hdmi0_con>; + }; + }; + }; +}; + +&hdmi0_con { + remote-endpoint = <&rcar_dw_hdmi0_out>; +};