Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4761508pxj; Tue, 25 May 2021 16:08:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDQlxh07KlTcwVApE4kZa5PowaSwNIWfIixXerrIw74snmypb5u63Ye78rCI0ZFQPAqU77 X-Received: by 2002:aa7:c499:: with SMTP id m25mr33825321edq.109.1621984139652; Tue, 25 May 2021 16:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621984139; cv=none; d=google.com; s=arc-20160816; b=GyWrIQTUeSwznTdbWO1nj0pgRuDmQz6WlNcvTJtFUJztBTEb+/zngTu0uOv6EMN6lJ yYozhB15x4LZnakbTHiqmFScETfo0RozjMbfuu0RIK2VfVbMzMqLPwa5aPaAj0nBQVcN Kx7v0bT0VT0HlwAxfNwYFMeOLS/AnUT4/3VcCgZ06nPxdwBAccdVR+HW8Rug3JxTpg+Q XVyGL11essWYqvxwSgZcKi2uHoUFMT1WZ38fZZijrrVo/32FR1J8Hh4sX7q64vcUhGiO hp5+A61lrbxlH69fpcMiqeRz/8CBp11YLXoLo5ZBQNtJb2eahW7V1S7beCQpwweSeROI 1ogA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HuOEGCIAD2e6dGhdOgrVqfGRFMWCbG8vq7zQ+pZR4J4=; b=yTkfNS7FjFGRCU65pWxX3WLSKG4xW4UaAqJjOJiJPXHimG9wLH5bApHUcfx8TEVndL 12OB9BmPCf1AMbSBGVZ7YOQvAMWbguR2xfIvJUvWGFCj/qq5u3NyA+6nJg6Ts6LfnNFj evn+IP1yMnRuibo22iqRo/VhACkm+/xmpKaXYT89Ks0+A1+2f1dF4azZrDT00JFIKavO ELXKa6MV+Fex9G3OyvzXkifERyu2qs/hJVon/UQSVzvfSzi1h/TSYyQ0JhuL34vCoHsi lW1iuUmuxqeEe6a85lKnaJLtyYHL6DdnhPITttgx4coRl28hqSXn3lM/UbisWhl8L2Lu jO+w== 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 f21si15842606edw.535.2021.05.25.16.08.36; Tue, 25 May 2021 16:08:59 -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 S230145AbhEYXGm (ORCPT + 99 others); Tue, 25 May 2021 19:06:42 -0400 Received: from gloria.sntech.de ([185.11.138.130]:54198 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhEYXGm (ORCPT ); Tue, 25 May 2021 19:06:42 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llg6m-00071l-Fk; Wed, 26 May 2021 01:05:08 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Ezequiel Garcia , Mauro Carvalho Chehab , Rob Herring , Philipp Zabel , Lee Jones , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Alex Bee Cc: Alex Bee , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 07/10] ARM: dts: rockchip: add vpu node for RK322x Date: Wed, 26 May 2021 01:05:06 +0200 Message-ID: <4871345.LM0AJKV5NW@diego> In-Reply-To: <20210525152225.154302-8-knaerzche@gmail.com> References: <20210525152225.154302-1-knaerzche@gmail.com> <20210525152225.154302-8-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 25. Mai 2021, 17:22:22 CEST schrieb Alex Bee: > The VPU IP block of RK322x is the same as RK3399 has and the driver can > be used as-is. > > Add the respective nodes to the device tree. > > Signed-off-by: Alex Bee > --- > arch/arm/boot/dts/rk322x.dtsi | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi > index c8095ede7d7a..62d1113b7804 100644 > --- a/arch/arm/boot/dts/rk322x.dtsi > +++ b/arch/arm/boot/dts/rk322x.dtsi > @@ -611,6 +611,18 @@ gpu: gpu@20000000 { > status = "disabled"; > }; > > + vpu: video-codec@20020000 { > + compatible = "rockchip,rk3228-vpu", "rockchip,rk3399-vpu"; > + reg = <0x20020000 0x800>; > + interrupts = , > + ; > + interrupt-names = "vepu", "vdpu"; > + clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; > + clock-names = "aclk", "hclk"; > + power-domains = <&power RK3228_PD_VPU>; > + iommus = <&vpu_mmu>; NIT: [if you need to resend for other reasons] iommus before power-domains please > + }; > + > vpu_mmu: iommu@20020800 { > compatible = "rockchip,iommu"; > reg = <0x20020800 0x100>; > @@ -619,7 +631,6 @@ vpu_mmu: iommu@20020800 { > clock-names = "aclk", "iface"; > power-domains = <&power RK3228_PD_VPU>; > #iommu-cells = <0>; > - status = "disabled"; > }; > > vdec_mmu: iommu@20030480 { >