Received: by 10.223.185.116 with SMTP id b49csp479141wrg; Fri, 16 Feb 2018 02:09:20 -0800 (PST) X-Google-Smtp-Source: AH8x227XBXDI5haA8/VOQwkAF7LN54gHoFfFOryEsXhpr3NsD7SHlbNpjvvgRiSt/TXmPSqu7wCU X-Received: by 2002:a17:902:900b:: with SMTP id a11-v6mr5390878plp.249.1518775760168; Fri, 16 Feb 2018 02:09:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518775760; cv=none; d=google.com; s=arc-20160816; b=IYDwcUAGM3eP0wrkfBGXhBWXHkosjVpGCmCdKKLSXE/7Nou7zPZdrPa6dkYH4pofyg /3M++mGoKDqLBvgFoGPt8lzsXTjP+ncvZtMktUe0632MBkP6jabthy0Js5797Xf8KBGH V8rIRaE4w4Y5PsmLx0Srhis6Mg+s8XYbN5LMnUS9sGCzNQrjvn0jr2pfBGjIksN9gHzL Ta4/Lb+O0SHzxrvawcQ0REG5cpTFvcoN4HUtT/c1D0R6FmOFg6qluG0K/mKVSZ8U2InR XfPj5ElU+WPf/CMWV7ZKs+g0vEDHQbiLlGV+v1xk7yFX5qYMVuDLKUuMM24Of9THwH0p wArw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=chZzzfWzrefD8wFssdDCZ4woX6S/SZyKeRj+C3mBlWM=; b=Tvnr8aYc/u+lOAatB5lQuRZbqh3dniiNwqHjUxuqDu+YsRJAUZ24g+ZpJrTc4+rKBG CIz2dT6xNiaiYxpsV7mIAftLRV/WO1ydxkda7YYjYIR5medMXffmAxOITgTjOmX+Mnjn i67KZRfwDmWHTUJjMFt7/y/sqxKAig+cS2tz5KmOuMt8CmgLJ0VyDBBFyxQ+Huc1WFd7 Z773+wvF4rbtQsVZJ6yWeUw4yCOYn2yD9+2L4ATxfklOE0q/8XVUgv41Mj+83W7BUPOL SrvZa0qoBf7yEhrT3GRTN8PvRWKHgXeQW47ynW+R0NqUxB8qbkUr7zIQdUYbu9ibr3q4 aWAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=GYHvJu2m; 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 x9-v6si1160135plv.317.2018.02.16.02.09.05; Fri, 16 Feb 2018 02:09:20 -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=fail header.i=@verge.net.au header.s=mail header.b=GYHvJu2m; 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 S1426715AbeBOQ4K (ORCPT + 99 others); Thu, 15 Feb 2018 11:56:10 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:51816 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423693AbeBOQ4H (ORCPT ); Thu, 15 Feb 2018 11:56:07 -0500 Received: from reginn.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0E4AD25B830; Fri, 16 Feb 2018 03:56:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1518713765; bh=5ZXLjdkCKjy/i5qO52T1ywGsREehId4tUVAH02jwYFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GYHvJu2mIktl3EdHaBY24ZuZRMwQV72Nv8X5C/fW2zkYDc+9YaEAmSCg+pMT21aRW nseCjVwY69hxjzL2P225L103c2Dn+24fp1bUkOHJi4ag3Btgik/o3/A8cQ3m2+fcev 6dCkIbtZA/mj2fdHUuHRyeteQ6a4Y5mCdt4YCNj0= Received: by reginn.horms.nl (Postfix, from userid 7100) id BB39D9403FF; Thu, 15 Feb 2018 17:56:02 +0100 (CET) Date: Thu, 15 Feb 2018 17:56:02 +0100 From: Simon Horman To: Kieran Bingham Cc: linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Kieran Bingham , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list Subject: Re: [PATCH v3 2/5] arm64: dts: renesas: r8a77995: add VSP instances Message-ID: <20180215165602.hkmwhwzt365ntton@verge.net.au> References: <1518602108-1724-1-git-send-email-kbingham@kernel.org> <1518602108-1724-3-git-send-email-kbingham@kernel.org> <20180215163342.4evihm3uts3lfu5c@verge.net.au> <7db13491-f4f6-4c7c-e9e3-c1e91b0054b6@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7db13491-f4f6-4c7c-e9e3-c1e91b0054b6@ideasonboard.com> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 15, 2018 at 04:41:58PM +0000, Kieran Bingham wrote: > Hi Simon, > > On 15/02/18 16:33, Simon Horman wrote: > > On Wed, Feb 14, 2018 at 09:55:05AM +0000, Kieran Bingham wrote: > >> From: Kieran Bingham > >> > >> The r8a77995 has a VSPBS to support image processing such as blending of > >> two input images, and has two VSPDs to handle display pipelines with a > >> DU. > >> > >> Signed-off-by: Kieran Bingham > >> Reviewed-by: Laurent Pinchart > >> > >> --- > >> v2: > >> - Fix VSPD register map size > >> - Squash VSPBS and VSPD patches together > >> > >> v3: > >> - Fix VSPBS register map size too :-) > >> > >> arch/arm64/boot/dts/renesas/r8a77995.dtsi | 30 ++++++++++++++++++++++++++++++ > >> 1 file changed, 30 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi > >> index 196a917afea6..0db242114bc5 100644 > >> --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi > >> +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi > >> @@ -692,6 +692,16 @@ > >> status = "disabled"; > >> }; > >> > >> + vspbs: vsp@fe960000 { > >> + compatible = "renesas,vsp2"; > >> + reg = <0 0xfe960000 0 0x8000>; > >> + interrupts = ; > >> + clocks = <&cpg CPG_MOD 627>; > >> + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; > >> + resets = <&cpg 627>; > >> + renesas,fcp = <&fcpvb0>; > >> + }; > >> + > >> fcpvb0: fcp@fe96f000 { > >> compatible = "renesas,fcpv"; > >> reg = <0 0xfe96f000 0 0x200>; > >> @@ -701,6 +711,16 @@ > >> iommus = <&ipmmu_vp0 5>; > >> }; > >> > >> + vspd0: vsp@fea20000 { > >> + compatible = "renesas,vsp2"; > >> + reg = <0 0xfea20000 0 0x8000>; > >> + interrupts = ; > >> + clocks = <&cpg CPG_MOD 623>; > >> + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; > >> + resets = <&cpg 623>; > >> + renesas,fcp = <&fcpvd0>; > >> + }; > >> + > >> fcpvd0: fcp@fea27000 { > >> compatible = "renesas,fcpv"; > >> reg = <0 0xfea27000 0 0x200>; > >> @@ -710,6 +730,16 @@ > >> iommus = <&ipmmu_vi0 8>; > >> }; > >> > >> + vspd1: vsp@fea80000 { > > > > The above should be: > > > > vspd1: vsp@fea28000 { > > Good spot. > > That is correct. > > Would you like me to resubmit this patch ? Or will you fix this up locally? Thanks for confirming. I noticed this using make dtbs W=1 I have fixed this up locally and applied your patch. The result is: From: Kieran Bingham Subject: [PATCH] arm64: dts: renesas: r8a77995: add VSP instances The r8a77995 has a VSPBS to support image processing such as blending of two input images, and has two VSPDs to handle display pipelines with a DU. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart [simon: updated base address of vsp node to fea28000] Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index 196a917afea6..0db242114bc5 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -692,6 +692,16 @@ status = "disabled"; }; + vspbs: vsp@fe960000 { + compatible = "renesas,vsp2"; + reg = <0 0xfe960000 0 0x8000>; + interrupts = ; + clocks = <&cpg CPG_MOD 627>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 627>; + renesas,fcp = <&fcpvb0>; + }; + fcpvb0: fcp@fe96f000 { compatible = "renesas,fcpv"; reg = <0 0xfe96f000 0 0x200>; @@ -701,6 +711,16 @@ iommus = <&ipmmu_vp0 5>; }; + vspd0: vsp@fea20000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea20000 0 0x8000>; + interrupts = ; + clocks = <&cpg CPG_MOD 623>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 623>; + renesas,fcp = <&fcpvd0>; + }; + fcpvd0: fcp@fea27000 { compatible = "renesas,fcpv"; reg = <0 0xfea27000 0 0x200>; @@ -710,6 +730,16 @@ iommus = <&ipmmu_vi0 8>; }; + vspd1: vsp@fea80000 { + compatible = "renesas,vsp2"; + reg = <0 0xfea28000 0 0x8000>; + interrupts = ; + clocks = <&cpg CPG_MOD 622>; + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; + resets = <&cpg 622>; + renesas,fcp = <&fcpvd1>; + }; + fcpvd1: fcp@fea2f000 { compatible = "renesas,fcpv"; reg = <0 0xfea2f000 0 0x200>; -- 2.11.0