Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2018360imm; Wed, 16 May 2018 06:43:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZocHGQvR3rs31+M5CEuKbuLyU1cE1lQYdV5cfwmPVceHjdQE0vdU6rujFS2xrLM0dNMjuAV X-Received: by 2002:a62:ca98:: with SMTP id y24-v6mr1012202pfk.187.1526478186363; Wed, 16 May 2018 06:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526478186; cv=none; d=google.com; s=arc-20160816; b=IgSV2VC1gV3U0h8uFU11O44q/KJMc0K28XDovdeAGtjq8FHmI0MPDWJD52awxHWOVW /e67l2dFg2e85XzRLXXXSGpv6N2oL8/STuW2YyuyKMLNVuTwgn2sSk1Aa8ZNvuxVr5h3 Zx3vgxhq1d7GalYWg4W1WUHvy+ZkzTb02/rDn/4JlxuDjqDEJGF9pm67elMFi3mgjQOc yr8/3FjTOD66fFL8vZ7cQQiMwxkv3GYiheLdwqYIWPxzpRvBsp+3XC+p3ocJKP9r5EHv VGKS8N3Q+4Sp0+bjtWFHd6iuCXVOkTI+ljuySvBBkn+NzZP+JWaOHa23Lvd0TNLrh/je KHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=bFVxQ+gY728akEDFRj027rXvq3fGdwSx8hvuGHIU4ro=; b=veXyWktXlrXUjBQisEAqKq+hC89jpED/VhFpUwa6NQ7Lfbh10IeEMHjAa7ieai6O3w ZVNsFWFUX/RmEYArmMUxv6T+AwUZquz7cK9C9Blkp4jsXygg7xbOBsbhav4wcpxJmia4 ehTttb7mc4HNl/zlt02a9JY7UQ1ayIVNuhwDlidKCPHxiLE9CNclIN09la7CO1CCgDl1 /hUG744jdKDdjrs14h43Pry3rhxUMfinrJMZHoFRkwbDAP4md8hs3s8/2jmgx2K9orxK tb0/OIzKwgcOKF1zm4Xc5xMRnY0Ffi2OoucN+BDpf5HF561YZn/ZPQLfuo/i4IW0ivm3 MSQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si2761455pfk.287.2018.05.16.06.42.51; Wed, 16 May 2018 06:43:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752448AbeEPNmo (ORCPT + 99 others); Wed, 16 May 2018 09:42:44 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:41979 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752555AbeEPNm1 (ORCPT ); Wed, 16 May 2018 09:42:27 -0400 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id CD41324000D; Wed, 16 May 2018 15:42:23 +0200 (CEST) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se, laurent.pinchart@ideasonboard.com, horms@verge.net.au, geert@glider.be, magnus.damm@gmail.com, robh+dt@kernel.org Cc: Jacopo Mondi , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: renesas: draak: Describe HDMI input Date: Wed, 16 May 2018 15:42:09 +0200 Message-Id: <1526478129-16465-4-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526478129-16465-1-git-send-email-jacopo+renesas@jmondi.org> References: <1526478129-16465-1-git-send-email-jacopo+renesas@jmondi.org> X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe HDMI input connector and ADV7612 HDMI decoder installed on R-Car Gen3 Draak board. The video signal routing to the HDMI decoder to the video input interface VIN4 is multiplexed with CVBS input path, and enabled/disabled through on-board switches SW-49, SW-50, SW-51 and SW-52. As the default board switches configuration connects CVBS input to VIN4, leave the HDMI decoder unconnected in DTS. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 9aba28f..ea99dc9 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -59,6 +59,17 @@ }; }; + hdmi-in { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&adv7612_in>; + }; + }; + }; + memory@48000000 { device_type = "memory"; /* first 128MB is reserved for secure area. */ @@ -170,6 +181,33 @@ }; }; }; + + hdmi-decoder@4c { + compatible = "adi,adv7612"; + reg = <0x4c>; + 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 { + pclk-sample = <0>; + hsync-active = <0>; + vsync-active = <0>; + }; + }; + }; + }; }; &i2c1 { -- 2.7.4