Received: by 10.223.185.116 with SMTP id b49csp1027675wrg; Fri, 16 Feb 2018 11:04:36 -0800 (PST) X-Google-Smtp-Source: AH8x224fAhFrP2PMzchXpb3YZUjYgQGAgUYSU44a7RAGstr7Jh3EBgX/nqKGnejDofxbAE7Ek9BJ X-Received: by 10.98.131.139 with SMTP id h133mr6940791pfe.155.1518807876303; Fri, 16 Feb 2018 11:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518807876; cv=none; d=google.com; s=arc-20160816; b=kUdZYobCJwdYThclzYkmiaUcRwMELa43wu7e9UViX8nTMTySTjy21QNrrsgU8BUoPP TdjnXoFHb/xt+b6nkoT82NVQQYZu/zSA9Rjf4EtxmRUPY/oeH6gg/YznFwSPL3/YTgps pMxlVibdI1g4xfQzb0WcSsxVnV2l5KFjXN8SRs5uDdZAB+X9uVLU96vic2I13xEUetLK paEJ0Ch8Ht5HxxILdgCiJBfRXM9YLmnrzDTtZWbAaZAmLVRVJLo8Lodz3sgog0xezmq6 3mUjPNhhdzJK7PB4tWPx0KYvuMLOQ+wf+258/HZ6QFvWPSLwbYqTQY67t+0Vf886IRXR tP/Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=6kLivSwUHgvzKJYLOTB7z1qpB5lbKgupXOwCXmlPK/A=; b=q2QXeEZWRZTVBbJ5F/VlARwf3tTVDWTFXhfrEgyzTokJ79oJVEhSof3caDUv7ZBm7V e2/r8S9izptZRmU7WMDLqdR/F1n+ekyVtqfzJvT4JxsEcevlsBWxGsDL3flsyOZVVJ2x AOiWexXf03aIV3pOEuQMclTHw5mnzS9kWdI48CVq3v6KnMNeGCnYAIQkFDR+mLqyyIAH YSJ0w1Gdu0D9oXoF/2spAK1u3MWKnyNkO2hKqh1LpeY8sM5pU/yDU42WdU8tvKHs0zlo 1Bq5Im0UBR86ZDlGPWDBf3K+LR9AgxXBS26IuK8XMpXzXmUFZZdQGNSuGjsJ0HGPHrlZ liEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=IlQeMGq/; 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 c129si978487pfa.362.2018.02.16.11.04.21; Fri, 16 Feb 2018 11:04:36 -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=IlQeMGq/; 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 S965407AbeBPLv6 (ORCPT + 99 others); Fri, 16 Feb 2018 06:51:58 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:38142 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964875AbeBPLv4 (ORCPT ); Fri, 16 Feb 2018 06:51:56 -0500 Received: from [192.168.0.20] (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id B6F08200BF; Fri, 16 Feb 2018 12:50:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518781820; bh=GJcml7YVFxFbwgftE+WKBkc1Kxbmc+yBqRTt4e1T1UM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=IlQeMGq//y6++XXPfnM5dRs10hKy/1lmfRxJv1sOS+bS9oxJBXNKXgW8qtVi+k7bt cxNxdnB60YDRP8jBPpB+qLoXfdIkDZBQTjvfIriQGhA6rYpqitxUYD8XH0EYmeqpRH JGJDuAerlc7lh1YORJr+qz1eb4fTRLwICzWrlsvM= Subject: Re: [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511 To: Laurent Pinchart 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 References: <1518683903-10681-1-git-send-email-kbingham@kernel.org> <1518683903-10681-8-git-send-email-kbingham@kernel.org> <2517305.jdPBFiRQEk@avalon> From: Kieran Bingham Organization: Ideas on Board Message-ID: <95b1fa2c-8302-e264-2f00-eba5ac34bcd3@ideasonboard.com> Date: Fri, 16 Feb 2018 11:51:51 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <2517305.jdPBFiRQEk@avalon> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On 15/02/18 14:16, Laurent Pinchart wrote: > 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. Ok, understood. - I'll drop this patch for now until we can schedule time to dedicate to looking into this. I'm sure the archive's will hold on to this patch for us as a starting point :-) -- Regards Kieran > >> 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"; >> }; > >