Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1571936ybz; Sat, 18 Apr 2020 03:57:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJn9Jm5XiTT1lRtxsVTEBUU9N/pRTMjvjCpyvfR3QR8v2nG44B/zb9rrLXJbuZISkAyH8wZ X-Received: by 2002:a17:906:16ce:: with SMTP id t14mr7397963ejd.366.1587207438942; Sat, 18 Apr 2020 03:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587207438; cv=none; d=google.com; s=arc-20160816; b=AIkJccHHk+F7uEiG0xdyBVee+pN8Rku3cPmjs7fae8cIMgPfs0e0ZUhw7VVwOFJxsP y0eCwpjVxJEC35/epblgVQbwYH2qdAvFdlcZe2+7I6j4m0Y0zz1x98L5kHcTKDxzBAPz rCapiDBGnYwr9B/XvdhxRkVwu7UGrvMWoYjsraxeof+RzfCZ0esVRPwjYOp2wlsfah7w LTKSv3htwqmk0+rJC1f0aKZDlS8foRMRbayg6lw0J6Mbo5y8kRq35pOcEzxNzxSiBDY3 xRm0iLtrIi3uWR61L1Oq5N2tuM3l2sNIwXGn1jnesH8DHCkj2Jxc819slvN95ykCLnwF AAmw== 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:message-id:date:subject:cc:to:from; bh=lRK6VWzcA1SNZVAfVCqPGVgzuZcQ/YXUJ/FFzX1U6bs=; b=PHIlIqfiqMuaHALPhqNAz6tHqUt86HXUoiVsb0fBx34ATEOkiNPmAgyRQfT2S/FmAX 6moFbpBl4gIVDeNE74Y7caBeU50xOflRmpl8cVfEpvNYgHhFgAoWGxd8TiexHaphfSmc 0cOYaiXFxUY92mMfm9XFKYHh2o/HyuZqcPZCy6hL2OkUNDJKvPBq8AYE4vq86+hf8pIH PUAMc9qdRi5lbOvO7sAiqVNf44d8Y7QyPN+43at+AKundQnz3Exv+SGCzcPdSzO3wSuh /AWvTRHRZSKMeWfFwvEUBJZHm0TV64rRzqd4HDlrKCLwBJnwbbXtFvQjlBY08ujbQ351 pZ8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pv20si12233917ejb.295.2020.04.18.03.56.56; Sat, 18 Apr 2020 03:57:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725987AbgDRKxi (ORCPT + 99 others); Sat, 18 Apr 2020 06:53:38 -0400 Received: from gloria.sntech.de ([185.11.138.130]:48358 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbgDRKxh (ORCPT ); Sat, 18 Apr 2020 06:53:37 -0400 Received: from p57b77241.dip0.t-ipconnect.de ([87.183.114.65] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPl6J-00011g-3g; Sat, 18 Apr 2020 12:53:31 +0200 From: Heiko Stuebner To: Justin Swartz Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mark.rutland@arm.com, robh+dt@kernel.org Subject: Re: [PATCH v4 2/3] ARM: dts: rockchip: add rga node for rk322x Date: Sat, 18 Apr 2020 12:53:30 +0200 Message-ID: <2533855.f5ZhyS2AsA@phil> In-Reply-To: References: <3593382.iQIKm1rSL1@phil> 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 Am Samstag, 18. April 2020, 11:56:03 CEST schrieb Justin Swartz: > Hi Johan, Heiko, > > On 2020-04-18 11:49, Heiko Stuebner wrote: > > > Am Samstag, 18. April 2020, 11:15:27 CEST schrieb Johan Jonker: > > > >> Hi Justin, Heiko, > >> > >> In the discussion about "rockchip,px30-rga" it was mentioned that: > >> "no status for soc internal components without any board-specifics". > >> The binding is in mainline, but the dts node is missing I think. > >> Should this also be changed? > > > > yep, drop the status disabled from the dtsi and that then results > > in not needing the board-level enablement > > > > (background: rga is a simple mem2mem device without any > > board-specific hooks) > > Shall I submit version 5 of this patch series? I guess so ... especially as we expect patch1 to go through the media tree and sending a new version might serve as a ping :-) and include the Ack by Rob for easy applying Heiko > > > Johan > > > > +&rga { > > + status = "okay"; > > +}; > > + > > > > Add a node to define the presence of RGA, a 2D raster > > graphic acceleration unit. > > > > Signed-off-by: Justin Swartz > > --- > > arch/arm/boot/dts/rk322x.dtsi | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/arch/arm/boot/dts/rk322x.dtsi > > b/arch/arm/boot/dts/rk322x.dtsi > > index 340ed6ccb..29d50bebc 100644 > > --- a/arch/arm/boot/dts/rk322x.dtsi > > +++ b/arch/arm/boot/dts/rk322x.dtsi > > @@ -621,6 +621,17 @@ > > status = "disabled"; > > }; > > > > + rga: rga@20060000 { > > + compatible = "rockchip,rk3228-rga", "rockchip,rk3288-rga"; > > + reg = <0x20060000 0x1000>; > > + interrupts = ; > > + clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>; > > + clock-names = "aclk", "hclk", "sclk"; > > + resets = <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru > > SRST_RGA_H>; > > + reset-names = "core", "axi", "ahb"; > > + status = "disabled"; > > remove? > > > > + }; > > + > > iep_mmu: iommu@20070800 { > > compatible = "rockchip,iommu"; > > reg = <0x20070800 0x100>; >