From patchwork Thu Feb 15 08:38:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10220655 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 B82766055C for ; Thu, 15 Feb 2018 08:45:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A080A290BB for ; Thu, 15 Feb 2018 08:45:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90660290C0; Thu, 15 Feb 2018 08:45: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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 0F60A290BB for ; Thu, 15 Feb 2018 08:45:23 +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=lDFXmQR0MraBfmc62hhBbcpu1TwZgF3TnLtqchU4XQ4=; b=YabgejdmvjwTc7Rq95bUWWwps9 s1zQLaZ7ALy6kcTrKMv/F/B5MmZZ24A+PfGxv4UwcoezfIf7VWvDndx58w2f2E+M2fhIzwr0g0Q3/ KD/7Igim3xLqOdxdZtwtyP+shXyWPbPrMztmJr94+7msftrfi4RmUhN7fosHZ5+8WVgMeBg/XhSik ck/L5DeI8Axywrf66w93fUpNWqAI283K1i0o4za5IshRN4ld1zsubMotnCB+AdWVhA1S2ShNdfMZ9 GB+xWJvEUyz6lKYy+VWWSa2YUNSP0491hjzIZHqYh3/3Oy5F3TjMzrhxgAP6Txq4xpGjZGaLV9Op5 4AJhMGMA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emFAI-00034w-5d; Thu, 15 Feb 2018 08:45:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emF4M-00059P-Mt for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2018 08:39:17 +0000 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B55AE2177F; Thu, 15 Feb 2018 08:38:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B55AE2177F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=kbingham@kernel.org From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kieran Bingham Subject: [PATCH 8/8] [PoC] arm64: dts: renesas: r8a77995-draak: Add ADV7612 Date: Thu, 15 Feb 2018 08:38:23 +0000 Message-Id: <1518683903-10681-9-git-send-email-kbingham@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518683903-10681-1-git-send-email-kbingham@kernel.org> References: <1518683903-10681-1-git-send-email-kbingham@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_003906_860708_313EAFEE X-CRM114-Status: GOOD ( 15.12 ) 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 , Catalin Marinas , Magnus Damm , open list , Rob Herring , Simon Horman , geert@glider.be, Laurent Pinchart , Will Deacon 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: Kieran Bingham Provide a node for the ADV7612. There is no VIN support yet, so this node will only instantiate the device on the I2C bus for I2C address testing. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 43 ++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index df0c7773cb7d..d7dd471c9fde 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -27,6 +27,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-in { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&adv7612_in>; + }; + }; + }; + hdmi-out { compatible = "hdmi-connector"; type = "a"; @@ -168,6 +179,38 @@ }; }; }; + + hdmi-in@4c { + compatible = "adi,adv7612"; + reg = <0x4c>, <0x5a>, <0x5b>, <0x5c>, <0x5d>, <0x5e>, <0x5f>, + <0x6a>, <0x6b>, <0x6c>, <0x6d>, <0x6e>, <0x6f>; + reg-names = "main", "avlink", "cec", "infoframe", "esdp", + "dpp", "afe", "rep", "edid", "hdmi", "test", + "cp", "vdp"; + + /* ADV7612_INTn connected only to test point CP56. */ + + default-input = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7612_in: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; + }; + + port@2 { + reg = <2>; + adv7612_out: endpoint { + // remote-endpoint = <&vin0ep2>; + }; + }; + }; + }; }; &i2c1 {