Received: by 10.223.185.116 with SMTP id b49csp2105064wrg; Thu, 15 Feb 2018 06:40:35 -0800 (PST) X-Google-Smtp-Source: AH8x225eKCBPCrz5vXavMPzB8rNIe7NzSHz8SUPnrCJBgm7enOVmAdVXPB7xVVeSMqwDAtcfe+Ad X-Received: by 10.99.105.132 with SMTP id e126mr2371444pgc.250.1518705635420; Thu, 15 Feb 2018 06:40:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518705635; cv=none; d=google.com; s=arc-20160816; b=UwBHr+/CgVy1XCsnSKZwdnFnyxLkIRXuqgzoj2Avq23n9mgQpT66w7RLkjOz9CLqF8 0bDdPI3oZm6vG/wDqj7Lz086JGlczllmqN7oIXkFWAxdMm8B5AF5MvaYnjbvUJMyTN+e EP6u5+/8RUAkObB+gbe7xU9/lCOpLBlwImbGsFJseLIu6pZwmPZPG7JPoygn5uc0v04x mRQZAbK35EV0RH/mpkULzogWY/bQ8XXBPtygCIGICl3xg1vEgm8tBC7lrY0m1637wNGj dP/WZEzzjTQgK5KGh5h+/aIpmchb1RPB8shh2vTYiYujLpeNvUDjHLBiIbvf+9sIDR+5 Uefg== 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=19vjWzBrYCyuRT1ojLLNkO5rVN4tXxYPKleOEIFZHJc=; b=gN+DqfzjFw6VHhguYjy3qx6KX3qi8oGVCx9B/ttg7ANW/BXiuhvA1u14FJTGeKjmnr WbHWoiaLAmFqMH7lrmUXrMhxfuoWVPSo6BQXft8u9kYNRRgbCOvv2GvFzbA+4M8RJshw QjOyw+TiXIciaNLjgPF6qHqISTdcjMyMy/XeBE6I1+0bKW1izuejpRs9W4aU+0ntEi5T H4bCEIjPdKoCsT9lKQJDhT5McDKveW04Z3TnJ9QR9wmxTtt+xwyXJRfW74P7ufJ0v8Zi f7cezuvD8686IJy1s0klrum/NEdX3hoR2/Ma8rw+yNAOx5GTa/xffvj/FLYTgrrnBWCD IqWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OUhxqmGE; 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 y14si1619758pfl.356.2018.02.15.06.40.20; Thu, 15 Feb 2018 06:40:35 -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=OUhxqmGE; 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 S1033209AbeBOOaf (ORCPT + 99 others); Thu, 15 Feb 2018 09:30:35 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:49302 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032974AbeBOOae (ORCPT ); Thu, 15 Feb 2018 09:30:34 -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 F1FCA200BF; Thu, 15 Feb 2018 15:28:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1518704939; bh=WRumgihwH2s21UXYG6JqJh0cxWC6+Mx9MjYbuhuCdv4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=OUhxqmGENYMQvu/rhITUixB0oSUROMP8bL8lpCDkxa/95hY+4tWa/20IUQZBtNAJ9 pw04H+1RNwJ/Qja+vGaGnHelNstSq0rfQJXB3/jXkxg8XHTftl1GfPIcwhwGLygjjW Uzvt7GHVO9UEWfKEIjdNndth8ocM0nCGUZwSG8nA= Subject: Re: [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU To: Laurent Pinchart , Simon Horman , Ulrich Hecht Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kieran Bingham , 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-7-git-send-email-kbingham@kernel.org> <6281511.bskcdgqsgb@avalon> From: Kieran Bingham Organization: Ideas on Board Message-ID: <8b2c853c-2963-a116-a246-5fdb30b0688e@ideasonboard.com> Date: Thu, 15 Feb 2018 14:30:28 +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: <6281511.bskcdgqsgb@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, Simon, On 15/02/18 14:12, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 15 February 2018 10:38:21 EET Kieran Bingham wrote: >> From: Kieran Bingham >> >> Enable the DU, providing only the VGA output for now. >> >> Signed-off-by: Kieran Bingham > > Reviewed-by: Laurent Pinchart > > I assume Simon will take care of this patch. That will be great, - One small caveat on this patch though: >> --- >> arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 51 +++++++++++++++++++++++ >> 1 file changed, 51 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts >> b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index >> af07da240be0..668e246dfc5d 100644 >> --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts >> +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts >> @@ -27,6 +27,38 @@ >> stdout-path = "serial0:115200n8"; >> }; >> >> + vga { >> + compatible = "vga-connector"; >> + >> + port { >> + vga_in: endpoint { >> + remote-endpoint = <&adv7123_out>; >> + }; >> + }; >> + }; >> + >> + vga-encoder { >> + compatible = "adi,adv7123"; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + adv7123_in: endpoint { >> + remote-endpoint = <&du_out_rgb>; >> + }; >> + }; >> + port@1 { >> + reg = <1>; >> + adv7123_out: endpoint { >> + remote-endpoint = <&vga_in>; >> + }; >> + }; >> + }; >> + }; >> + >> memory@48000000 { >> device_type = "memory"; >> /* first 128MB is reserved for secure area. */ >> @@ -46,6 +78,11 @@ >> }; >> }; >> >> + du_pins: du { >> + groups = "du_rgb888", "du_sync", "du_disp", "du_dotclkout0"; The du_dotclkout0 is named differently in Uli's patch. (Of course I believe my version is correct, but there is some precedent set it would seem). Anyway, If Uli's version of the PFC is accepted (Which I'm sure it will be), then I will have to re-spin this patch with the 'different' "du_clk_out_0" value in the groups. -- Kieran >> + function = "du"; >> + }; >> + >> i2c0_pins: i2c0 { >> groups = "i2c0"; >> function = "i2c0"; >> @@ -95,6 +132,20 @@ >> status = "okay"; >> }; >> >> +&du { >> + pinctrl-0 = <&du_pins>; >> + pinctrl-names = "default"; >> + status = "okay"; >> + >> + ports { >> + port@0 { >> + endpoint { >> + remote-endpoint = <&adv7123_in>; >> + }; >> + }; >> + }; >> +}; >> + >> &ehci0 { >> status = "okay"; >> }; > >