Received: by 10.223.185.116 with SMTP id b49csp2089068wrg; Thu, 15 Feb 2018 06:26:01 -0800 (PST) X-Google-Smtp-Source: AH8x2244OE96VbYlDxCFVv/CVeBsTlETrSal5iMDZvHdBsFx9i/5JsfEa73oeYtKC3s7DPXdeemC X-Received: by 2002:a17:902:8bcb:: with SMTP id r11-v6mr285101plo.242.1518704760923; Thu, 15 Feb 2018 06:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518704760; cv=none; d=google.com; s=arc-20160816; b=KemAJgzPnnm6J8YN+DA8od5AgLlcPMiaIiSTQPYSJVGTToJoaNB3fcxsheuGxvy8h0 HPeJcthGfqrpWXNTI2Y31IJiLsmQRWcsK/aMPvsecx+fB+okkPpTR7oPORm4PHsHDp5o 2WAN/cZUP0Ge0ZBHPUuST1ioCJt9rWlS69Jhw2GwpaFD+tMqzvs4l5QmXtRWQpXrZEP3 5vW4qd7lLT25G9kBRmcU0eST44adR7NWHTXhhPnGCaxZHeKUdGKKdeciFKp+WpnP+tta lgKeVkp+nJ8obrme8VGjCMka6c3r0KEwAYEENtSFND6aP1LqAtwt/qTYyV5lOrv9ZS1v 2FGw== 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=CpstAZ6FQNjQdSuPlqBTRxrjCQdx9ozkLd3sJPflmDI=; b=uUh7OsTvewleYx15uo6kcAb8ZVtPqibLZoHMUP7qguPNGfvY2npYuGJroeztwUtW4O VtNg88pt28p+zZQrIFYSkdx55U3+wSzsWuqOU/pIVCmpi1GudyoljMpCrUT5je6ANYQ6 KHkt7vf4spe7QqPBmuBqkoFM9jaU3/CMh75Ncq+PLK4NgQlJzwG2luNgAlAqADJ9lFKa 5v1NXJlQMUNmspGCwfzaK+90RVx+5jsox7HrEv/YpReRJVp5P8Wg9K1UX5GBLlBSXeR7 PmEfxfUpzUcRs+wEbMQhAlbwPDO7m1tuZDShwZvunyYkx0+6jySzbEjsT4+E6EVjrMgD dqDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=qSMAc+uF; 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 j5si3300353pfe.415.2018.02.15.06.25.46; Thu, 15 Feb 2018 06:26:00 -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=qSMAc+uF; 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 S1033222AbeBOOZF (ORCPT + 99 others); Thu, 15 Feb 2018 09:25:05 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:49042 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033071AbeBOOZD (ORCPT ); Thu, 15 Feb 2018 09:25:03 -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 4F1D8200BF; Thu, 15 Feb 2018 15:23:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518704608; bh=9gVLvjXDcfrdAYvinuD/PhbxWo7IDTuUVRJ3uu/5s04=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qSMAc+uFw7atLRzQCM6D0KVecBtYAwlzra8kiaes3SkqLkh0VMfDdxRfY+Xv5SCIY qQfY3TQw2EY9ySDc5CgDMgptl8up3TIWzHgivVBT5TbaOJc931bsDY+2jLHrXrsUwl yadXYulfyQKkLXFxQivQYMBLCDdsAAp3Pu2H7ehI= Subject: Re: [PATCH 5/8] arm64: dts: renesas: r8a77995: Add LVDS support 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, Kieran Bingham , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , open list References: <1518683903-10681-1-git-send-email-kbingham@kernel.org> <1518683903-10681-6-git-send-email-kbingham@kernel.org> <1558036.KTdDODi8F6@avalon> From: Kieran Bingham Organization: Ideas on Board Message-ID: <095ac482-8117-4b39-f770-3941053b3dc0@ideasonboard.com> Date: Thu, 15 Feb 2018 14:24:58 +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: <1558036.KTdDODi8F6@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 On 15/02/18 14:10, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 15 February 2018 10:38:20 EET Kieran Bingham wrote: >> From: Kieran Bingham >> >> The r8a77995 D3 platform has 2 LVDS channels connected to the DU. >> >> Signed-off-by: Kieran Bingham >> --- >> arch/arm64/boot/dts/renesas/r8a77995.dtsi | 52 ++++++++++++++++++++++++++++ >> 1 file changed, 52 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi >> b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index >> a57d5fecf79c..7851e37cfff1 100644 >> --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi >> +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi >> @@ -773,18 +773,70 @@ >> port@1 { >> reg = <1>; >> du_out_lvds0: endpoint { >> + remote-endpoint = <&du_out_lvds0>; >> }; >> }; >> >> port@2 { >> reg = <2>; >> du_out_lvds1: endpoint { >> + remote-endpoint = <&du_out_lvds1>; > > It's interesting how the DU ports reference themselves :-) Ah, yes - that's ... that's a feature... -- Kieran >> }; >> }; >> }; >> }; >> }; >> >> + lvds0: lvds@feb90000 { >> + compatible = "renesas,lvds-r8a77995"; >> + reg = <0 0xfeb90000 0 0x20>; >> + clocks = <&cpg CPG_MOD 727>; >> + status = "disabled"; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + lvds0_in: endpoint { >> + remote-endpoint = <&du_out_lvds0>; >> + }; >> + }; >> + >> + port@1 { >> + reg = <1>; >> + lvds0_out: endpoint { >> + }; >> + }; >> + }; >> + }; >> + >> + lvds1: lvds@feb90100 { >> + compatible = "renesas,lvds-r8a77995"; >> + reg = <0 0xfeb90100 0 0x20>; >> + clocks = <&cpg CPG_MOD 727>; >> + status = "disabled"; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + lvds1_in: endpoint { >> + remote-endpoint = <&du_out_lvds1>; >> + }; >> + }; >> + >> + port@1 { >> + reg = <1>; >> + lvds1_out: endpoint { >> + }; >> + }; >> + }; >> + }; >> + >> timer { >> compatible = "arm,armv8-timer"; >> interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | >> IRQ_TYPE_LEVEL_LOW)>, >