Received: by 10.223.185.116 with SMTP id b49csp1753599wrg; Thu, 15 Feb 2018 00:40:03 -0800 (PST) X-Google-Smtp-Source: AH8x227IaXQRU13u5xtzzN3k8Edh5c0fCdIKxdhv7mQcP0nW+ncpVmJHlOvBfOFJq2Eeudezax1F X-Received: by 10.98.152.86 with SMTP id q83mr1597832pfd.218.1518684003213; Thu, 15 Feb 2018 00:40:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518684003; cv=none; d=google.com; s=arc-20160816; b=Hbaw8ZMcuUW7317MjWEvxCX38h36H4Xbzb+f2EX821BAIlxPPGz/11WxeWhl0qnF1o ZaVoXr7Za8P94XZ+fTnRusrlwusLwvQskopkkw6eybC1zMJtjCt0RKdrvlOQFXQU4/X4 1Id0/8d4HdWpiU76MI/6/IQp9e84W+V8YZEAqDOFLf/FOtFnbVraJlnKDG/DfOvdJmEj shyeYiAh/CAj3fXiRQT5d2pNJlLsAVXQ9p5mQUPyziilS6QvgWH0p79urYGMM7fcFcX2 3Rc8UtMr3fcm/uvjUe7MM/4y5nO3oedjxsZAKT2bU2uAtc2l+c6L4uR9/OPfkz4EtlnO uo8A== 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:dmarc-filter:arc-authentication-results; bh=UYjuSsXcOV64vc6lyEqiGUxkWAUGjFqQImDFtUF/Gnc=; b=lJVqAH4xfXh13245XTS1+7MsdT10rOwYt8oawfZ0yL9QPwrH8VcG7nQsKPlr0kgwlj YKkj4RgmcPPnftECWvFSvd2UKtqsIWD+m+/pQB4K2k4PEIIVsG+soFdFS4QibFQM6XJJ NxGI1to+Baf5ZfXZmEUzsjeMPRwvHECdhyDhjcKql0FPGvE+AItR+bVE8Nj1nMmRG2Nz SLmJKC6gXagTh6lKx9OOrXpWc8vxcBhDfLNrY+obZkbh7TAL4EGP1Wk6rKd5EcCj6WHA Mq9xu/KF4ONUHPiaa+eFvqkKTHNzRgMEnoDL9rW2uL2KW4Qe5F8c4drUTT78kIuo79Fg g5+w== 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 e6si3528551pfg.279.2018.02.15.00.39.48; Thu, 15 Feb 2018 00:40:03 -0800 (PST) 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 S1755359AbeBOIi7 (ORCPT + 99 others); Thu, 15 Feb 2018 03:38:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:58016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755345AbeBOIi4 (ORCPT ); Thu, 15 Feb 2018 03:38:56 -0500 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 A8232217BB; Thu, 15 Feb 2018 08:38:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8232217BB 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 Cc: Laurent Pinchart , Simon Horman , geert@glider.be, Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511 Date: Thu, 15 Feb 2018 08:38:22 +0000 Message-Id: <1518683903-10681-8-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kieran Bingham Provide a device node for the ADV7511 as found on the Draak D3 platform. The ADV7511 is connected to the DU through a parallel mux chip, and is configurable in hardware whether it is connected to LVDS0 or LVDS1. Connect through to LVDS0 as a default implementation. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 56 ++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 668e246dfc5d..df0c7773cb7d 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-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_out: endpoint { + remote-endpoint = <&adv7511_out>; + }; + }; + }; + vga { compatible = "vga-connector"; @@ -124,6 +135,39 @@ reg = <0x50>; pagesize = <8>; }; + + hdmi@39 { + compatible = "adi,adv7511w"; + reg = <0x39>, <0x3f>, <0x38>, <0x3c>; + reg-names = "main", "edid", "packet", "cec"; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + + adi,input-depth = <8>; + adi,input-colorspace = "rgb"; + adi,input-clock = "1x"; + adi,input-style = <1>; + adi,input-justification = "evenly"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7511_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + + port@1 { + reg = <1>; + adv7511_out: endpoint { + remote-endpoint = <&hdmi_con_out>; + }; + }; + }; + }; }; &i2c1 { @@ -146,6 +190,18 @@ }; }; +&lvds0 { + status = "okay"; + + ports { + port@1 { + endpoint { + remote-endpoint = <&adv7511_in>; + }; + }; + }; +}; + &ehci0 { status = "okay"; }; -- 2.7.4