Message ID | 20230119-rk3568-rga-v1-1-43d4d14365e6@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp95731wrn; Fri, 20 Jan 2023 01:16:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXv7HGxEVWxQubJkihZPJBr7FwoYmjEPlfKS3jg5lQ8Mp8Ty2rFMuqLOUYBgbvbEiuOTlWeU X-Received: by 2002:a05:6402:4284:b0:499:b672:ee30 with SMTP id g4-20020a056402428400b00499b672ee30mr18074261edc.11.1674206197892; Fri, 20 Jan 2023 01:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674206197; cv=none; d=google.com; s=arc-20160816; b=iKF2SA/41uheqGDk0TinFN5Ucc3py6zPCLmmsqsTHow1XU5zfkCu6Age7+vu2dnU/K ZjJhuh1UX6i72iPuwvXumMbhWhH3GrbRWXfpy3x0WbSyrWSCctjMBzWtzjsEXbYVHVFQ Oa98UqOtRRB9A9WT+YYY/gkpos1VnYI2QK+l06zeh/8IDfb/oB6s5l4UvGAy+GmkQQM9 Iypnxrn7T7jOU0mKgjupXCdolfSC4wzh64Nu8qO6UtjU5q0OW6kTyYQ4/yIdvDRW3r5T sUV4/OvsqV84H9M0TZNlzW+axaGvHqYW4gq4tyBByXzqdOQkT78ZHQDE6dwvgcVT+isn +0hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=8CVVVXhoIhOceBN2RdmxUj55qIMnJQF/R09MBsFNEcc=; b=IL218Xi/baI/QzvHWPJGI3AWLHHwCckuAjKHhgBN/4jq5w/Ct3h9B5RZO8umgE7ZnQ zh1n2RsB0WtSTKShK57UabiwJ+CFObwZKMl702Z1rw3MuAE4j6Unj8qDlFdLPvpnuK4x 2MAU1HtBQwmGdHBNJjAL3EH6TubGuDLhBjFC4cOMilS+cloolE924UADiPZ9C9Xr37gq RISBDNoozVTggJUNLJMcT+b6HluNlowUTSulMtGmSID+g4d65FUoa1QIxvm4XOZdpeQN 8MxV5t+B0YGD1hLHCYi1lWuOkp9ePxaqMEjpQK/2nqEklSNxb/kmMJZqYhnjyvkphgyX DIjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o3-20020aa7dd43000000b00486b6bfad93si16949703edw.421.2023.01.20.01.16.13; Fri, 20 Jan 2023 01:16:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229998AbjATJPR (ORCPT <rfc822;changwoo.m@gmail.com> + 99 others); Fri, 20 Jan 2023 04:15:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbjATJPI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Jan 2023 04:15:08 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D8538CE46 for <linux-kernel@vger.kernel.org>; Fri, 20 Jan 2023 01:14:48 -0800 (PST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from <m.tretter@pengutronix.de>) id 1pInTf-0001QK-QB; Fri, 20 Jan 2023 10:14:27 +0100 From: Michael Tretter <m.tretter@pengutronix.de> Date: Fri, 20 Jan 2023 10:14:21 +0100 Subject: [PATCH RESEND 1/2] media: dt-bindings: media: rockchip-rga: add rockchip,rk3568-rga MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230119-rk3568-rga-v1-1-43d4d14365e6@pengutronix.de> References: <20230119-rk3568-rga-v1-0-43d4d14365e6@pengutronix.de> In-Reply-To: <20230119-rk3568-rga-v1-0-43d4d14365e6@pengutronix.de> To: Jacob Chen <jacob-chen@iotwrt.com>, Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de> Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Nicolas Frattaroli <frattaroli.nicolas@gmail.com>, Michael Tretter <m.tretter@pengutronix.de> X-Mailer: b4 0.11.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54 X-SA-Exim-Mail-From: m.tretter@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755532438186486899?= X-GMAIL-MSGID: =?utf-8?q?1755532438186486899?= |
Series |
media: rockchip: rga: Add rk3568 support
|
|
Commit Message
Michael Tretter
Jan. 20, 2023, 9:14 a.m. UTC
Add a new compatible for the rk3568 Rockchip SoC, which also features an RGA, which is called RGA2 in the TRM Part2. It is the same core as used on the rk3288, which documents the same RGA2. Specify a new compatible for the rk3568 to be able to handle unknown SoC-specific differences in the driver. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> --- Documentation/devicetree/bindings/media/rockchip-rga.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Comments
Am Freitag, 20. Januar 2023, 10:14:21 CET schrieb Michael Tretter: > Add a new compatible for the rk3568 Rockchip SoC, which also features an > RGA, which is called RGA2 in the TRM Part2. It is the same core as used > on the rk3288, which documents the same RGA2. > > Specify a new compatible for the rk3568 to be able to handle unknown > SoC-specific differences in the driver. > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Heiko Stuebner <heiko@sntech.de> @media people: I'd guess this should go through the media-tree, while I would pick the devicetree patch. I can also apply this binding patch, but would need an Ack from the media-side for it. Thanks Heiko > --- > Documentation/devicetree/bindings/media/rockchip-rga.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml > index dd645ddccb07..ea2342222408 100644 > --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml > +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml > @@ -21,7 +21,9 @@ properties: > - const: rockchip,rk3288-rga > - const: rockchip,rk3399-rga > - items: > - - const: rockchip,rk3228-rga > + - enum: > + - rockchip,rk3228-rga > + - rockchip,rk3568-rga > - const: rockchip,rk3288-rga > > reg: > >
On Fri, Jan 20 2023 at 10:14:21 AM +0100, Michael Tretter <m.tretter@pengutronix.de> wrote: > Add a new compatible for the rk3568 Rockchip SoC, which also features > an > RGA, which is called RGA2 in the TRM Part2. It is the same core as > used > on the rk3288, which documents the same RGA2. > > Specify a new compatible for the rk3568 to be able to handle unknown > SoC-specific differences in the driver. > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> > --- > Documentation/devicetree/bindings/media/rockchip-rga.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git > a/Documentation/devicetree/bindings/media/rockchip-rga.yaml > b/Documentation/devicetree/bindings/media/rockchip-rga.yaml > index dd645ddccb07..ea2342222408 100644 > --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml > +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml > @@ -21,7 +21,9 @@ properties: > - const: rockchip,rk3288-rga > - const: rockchip,rk3399-rga > - items: > - - const: rockchip,rk3228-rga > + - enum: > + - rockchip,rk3228-rga > + - rockchip,rk3568-rga > - const: rockchip,rk3288-rga > > reg: > > -- > 2.30.2
diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml index dd645ddccb07..ea2342222408 100644 --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml @@ -21,7 +21,9 @@ properties: - const: rockchip,rk3288-rga - const: rockchip,rk3399-rga - items: - - const: rockchip,rk3228-rga + - enum: + - rockchip,rk3228-rga + - rockchip,rk3568-rga - const: rockchip,rk3288-rga reg: