Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4760244pxj; Tue, 25 May 2021 16:06:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzan74PrK0N2mRIxL39BcMrQus/GS51s3id5d9VR07zaWGDGFeWv1gUolnTgxkJnzsqgyL1 X-Received: by 2002:a5d:9804:: with SMTP id a4mr23877286iol.164.1621984018556; Tue, 25 May 2021 16:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621984018; cv=none; d=google.com; s=arc-20160816; b=AE3DsFfdKTtxo8Unoj5ZZbdPeYZia3617JvupnPvRKZszaCeYcoo/m/hnjSX0S1UKg 2tCDfU6C25v/VtI9qjEUikSGPklIiCUcGiUjgXa5XhDGwZIZQzISA43kZiw9+I5YrV44 xkADJAg0zN8vh+jJjqxuKNFLmh0C0qglLiJgCSaKaor/l1mBf1MhTpbG23OdZ98gsBnm QUZln5Omt+Y0Ino0W3ca5hSX+RQUzzakvgliIhPR5gDS+9LyCfZ+1Wc5e1bpb8IJCIp1 3LPGUwSlvHA0j9PHZxWfRXXbVJr8Y/1BlVDT26K89U6M1JU7CuHn5xFwsp7xq+Vu+VD8 RPKA== 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=w6zfxqGZeyai2+mn9AvAXGyMxOBS00M+R0P2As2jcTY=; b=Rt/JdgGTdL3Fc6hinWyrObRg82oUt69Kg8jyG//nmccYhZ7peqzOt7Jn4c8nqZ8ekp zw6FRU0/cnINOVVJmZzfHl32JrwM0vp0Xku8T0fTbOj87mY3YeVPVOGn1/uwIUtL6+Z6 Ppnb0p6sdkorJ0DuMrqw3Wx1GJSwVc8g7ofkqiqCEaqbRX2Q8Pvzun6liHdpG8HLvceW 9vLX/vviewy9TFQ9Qw86BBk1xEq171DatbKIrsU3ohLTNiUXssNd1Z0gYiLSMO3q31rB A82FUsmZ0RBkB4AUh9HDb5+UvhpcB0uJ9WEFVygqFsftb8/S3TFs0OUMszNT4e0ClbCu uYXA== 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 q13si17452361jap.33.2021.05.25.16.06.45; Tue, 25 May 2021 16:06:58 -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 S230247AbhEYXD1 (ORCPT + 99 others); Tue, 25 May 2021 19:03:27 -0400 Received: from gloria.sntech.de ([185.11.138.130]:54140 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbhEYXD0 (ORCPT ); Tue, 25 May 2021 19:03:26 -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 1llg3b-00070s-VH; Wed, 26 May 2021 01:01:52 +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 00/10] Add support for older Rockchip SoCs to V4L2 hantro and rkvdec drivers Date: Wed, 26 May 2021 01:01:51 +0200 Message-ID: <38327082.10thIPus4b@diego> In-Reply-To: <20210525152225.154302-1-knaerzche@gmail.com> References: <20210525152225.154302-1-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 Hi Alex, Am Dienstag, 25. Mai 2021, 17:22:15 CEST schrieb Alex Bee: > Hi list, > > this series adds support for older Rockchip SoCs (RK3036, RK3066, RK3188 > and RK322x) to the existing V4L2 video decoder/-encoder drivers - namely > hantro and rkvdec. > They can be used as-is or with very little modifications. > > In preparation to that patches 1-3 add power-controller support for RK3036 > and RK322x, since both drivers rely on pm. The drivers for them exist > already in the common Rockchip pm driver, they just haven't be added to > the device trees yet. on first glance, looks good. Just a small ordering nit, if you need to resend the series for other reasons: Please try to order patches like: (1) dt-binding - compatible addition (2) driver patches (3) devicetree node patches That makes it way easier to keep track of dependencies when glancing at the series. Like for patches 1+2, I need to wait for Lee to apply (or Ack) the binding addition in patch 3. Same for the hantro devicetree additions, that need to wait for both bindings (and driver) changes to get applied to the media tree. Thanks Heiko > > Thanks for your feedback, > Alex. > > Alex Bee (10): > ARM: dts: rockchip: add power controller for RK322x > ARM: dts: rockchip: add power controller for RK3036 > dt-bindings: mfd: syscon: add Rockchip RK3036/RK3228 qos compatibles > media: hantro: add support for Rockchip RK3066 > media: hantro: add support for Rockchip RK3036 > ARM: dts: rockchip: add vpu nodes for RK3066 and RK3188 > ARM: dts: rockchip: add vpu node for RK322x > media: dt-bindings: media: rockchip-vpu: add new compatibles > ARM: dts: rockchip: add vdec node for RK322x > media: dt-bindings: media: rockchip-vdec: add RK3228 compatible > > .../bindings/media/rockchip,vdec.yaml | 10 +- > .../bindings/media/rockchip-vpu.yaml | 33 +++- > .../devicetree/bindings/mfd/syscon.yaml | 2 + > arch/arm/boot/dts/rk3036.dtsi | 51 ++++++ > arch/arm/boot/dts/rk3066a.dtsi | 4 + > arch/arm/boot/dts/rk3188.dtsi | 5 + > arch/arm/boot/dts/rk322x.dtsi | 139 ++++++++++++++- > arch/arm/boot/dts/rk3xxx.dtsi | 12 ++ > drivers/staging/media/hantro/hantro_drv.c | 2 + > drivers/staging/media/hantro/hantro_hw.h | 2 + > drivers/staging/media/hantro/rk3288_vpu_hw.c | 165 ++++++++++++++++++ > 11 files changed, 414 insertions(+), 11 deletions(-) > > > base-commit: 5d765451c2409e63563fa6a3e8005bd03ab9e82f >