Received: by 10.223.185.116 with SMTP id b49csp2078652wrg; Thu, 15 Feb 2018 06:16:49 -0800 (PST) X-Google-Smtp-Source: AH8x2258T67ZVxzLjLvEx8I25AvHhIXTEunVitTt3YOzP/Ci9nXKwZNAEvlLJPCnNwXCrJSSQi7j X-Received: by 10.98.245.131 with SMTP id b3mr2830455pfm.20.1518704209223; Thu, 15 Feb 2018 06:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518704209; cv=none; d=google.com; s=arc-20160816; b=BXEufpy7qbPVtyzKgINlKpzxVc8s2fE7lPft9r9HLGdbMXHpGxRx7jux5K/uK/Od2d E4qvB27hdDKpRKuR5VRlM81qeP9mGbvzTXqtGKKKzw+cY8HJBm2mQCDpEEdJVfv92AiP PEeNidVx9SWSiCA0XC29OYyH4xXdZOeQNmgROygf0Y+yoywwKFm/XF3PJIW4IdsAZmed IeiH5DMpOP7q8nOEE/JE1NKFLcZRgTxMi0rHOpVNqWAsNuPrPoKzDyDxdBe216ZBkqy0 A5Atypgt+oWYX+DviiO1BIMXHef8MRrfpy+zIBp42TfS6926BkjUuVDgPegGkQr3IlB9 Nifg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=T1+v0oxKtgDsElFcA8XPjUdngrV5Lptzt1NGGqshZsk=; b=EwSNlwO98w3GtKUOT3VWlRDjv4t3v2tULloCKSMnCv+hx8T6KBs5a2bh17cBbAqgKe q3+RxwzWLAAmpn07Y5spV7uw6Hvd1NiP9m3wbovYW6hOIyRdVHuJGtYX6jCyjhyv+qun fa4VivZw7wM1YqS0d6G/j9sm7IOId6fx/Dj0DfXiSHFpnRPY+xf+ZF4KoXKObOEwHqVf spEtU+0vekqA3cEx9QSYjy44EspxYMS8wpCEi+B+nDaKevzjw5IDOp6y88nYFMkM/mfS MVtxvyN0ylNYos59X/kWEaO6h27ipaSbuq9LShuHcNI7GMEaBmCrsfdynok4TujZhbT3 Ce5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=wJJHi7VG; 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 i11-v6si1107351plr.671.2018.02.15.06.16.35; Thu, 15 Feb 2018 06:16:49 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=wJJHi7VG; 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 S1033176AbeBOOP3 (ORCPT + 99 others); Thu, 15 Feb 2018 09:15:29 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:48582 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032968AbeBOOP0 (ORCPT ); Thu, 15 Feb 2018 09:15:26 -0500 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 18538200BF; Thu, 15 Feb 2018 15:13:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518704032; bh=WkZ5byUSsfW6RDfpG++0KXonFGqZF+5Kct9vnooJW8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wJJHi7VGUYbrH/L8+6w6jKg9EH9rF2Xxp3t3DgBnLp86FfAtDzmgGbTsF2KV9nfBx rTzF6H4PassulVOC2Mg1SLqgqWjGC+F+WMD7q0wreGvY/9cra7fHM1qJqwiBOmmrD8 kISmMw+duF4HUnz5aBmbJujhGarHJDrNTL/F6uFA= From: Laurent Pinchart To: Kieran Bingham Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kieran Bingham , Simon Horman , geert@glider.be, Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , open list Subject: Re: [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511 Date: Thu, 15 Feb 2018 16:16:00 +0200 Message-ID: <2517305.jdPBFiRQEk@avalon> Organization: Ideas on Board Oy In-Reply-To: <1518683903-10681-8-git-send-email-kbingham@kernel.org> References: <1518683903-10681-1-git-send-email-kbingham@kernel.org> <1518683903-10681-8-git-send-email-kbingham@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kieran, Thank you for the patch. On Thursday, 15 February 2018 10:38:22 EET Kieran Bingham wrote: > 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. You need to model the LVDS decoder in DT too. I know that no driver and no DT bindings are available at the moment, and I'm aware that this patch enables the HDMI output on the Draak board, but I don't think it's upstreamable as-is. > 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"; > }; -- Regards, Laurent Pinchart