From patchwork Sat Dec 19 11:26:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346082 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44CC9C3526E for ; Sat, 19 Dec 2020 11:28:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E0A6233CE for ; Sat, 19 Dec 2020 11:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726472AbgLSL1m (ORCPT ); Sat, 19 Dec 2020 06:27:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbgLSL1m (ORCPT ); Sat, 19 Dec 2020 06:27:42 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15900C0617B0; Sat, 19 Dec 2020 03:27:02 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id x16so6945108ejj.7; Sat, 19 Dec 2020 03:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=w7bfMZw3OlzVmdxPUhFwa+L05rVOJFwc17cC0KrbB70=; b=F9RtDOYXu0jJz54KjSoV1lnH2k/gT7gWse7vPCb66cSSJNaMIXUyTuWKtiRZl7/U3t 6YRBwFwZLfyDqg3xraL55Q4kDFhNWIGvNRns7TMl+K8YXoQsCVBQt7rTi/3ncugYtWrx b0M0akUOlAjaukWeZn6Nk4i67DzZcm5xTcUDkn2QFZ0hwQYqmCtKM8lfKHlv9t4i35jc TE6IPU+JcWrOLPeooudYVq1cm+kxxmRkotT0D7JDqm5Ac2XvWp71HjoYzXX4+ja0Mp9s 16HXh25Uy13BdxjM67wa1sB1C6ck0lu+mlUWSdhC6e7z1EzBgILMZtfCtFSPv0khHVap 6Wpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=w7bfMZw3OlzVmdxPUhFwa+L05rVOJFwc17cC0KrbB70=; b=ZVMBOX/EEhgWdm9OJVXs7RxV5VUHQZhswKcvZ+IRUVNeLzGxgz3Kl14dAf2c8zZBbd yDrj6ZJwHmVqLpq1U/e+eiEjxZMLlTwJJwooqZKnKkNE3yCrATJDESvPs9sUB0VYjOKk XF+WwSjl5mNC9RmVIXZpEQEiQIQTIcvKlJXgpxzgdXQnTQxlYlzkBMzHNfws4l9RPE5G eBuPuXGGqsA0A89l6xCTEh+Rs0ZGrKR4zYK1c4vIcKqlnIUlGDZ3AQfyQaBQFKblKpc0 3sD1kiQNXTrFaJeQu+W921euvuwNl5dTkfrZDWK8jV7KVztY4+ylOLSmzGuss6wrP1+A ocGQ== X-Gm-Message-State: AOAM532A2nonrtHoxqv5TL95n2R7BOjzbrzBwbQTyqJyGFC8Xy3hP5sK FUzwjkklLZ6Rf5pMna7VO6E= X-Google-Smtp-Source: ABdhPJxTO3GxjEeEfGLDh17vpE4kocndXhPi43Oo7WFCNnSItdhXmIQN6UWABtBYcBAG6gkhp4x4pg== X-Received: by 2002:a17:907:6e6:: with SMTP id yh6mr8197457ejb.512.1608377220767; Sat, 19 Dec 2020 03:27:00 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n17sm6651785ejh.49.2020.12.19.03.26.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Dec 2020 03:27:00 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, mchehab@kernel.org, jacob-chen@iotwrt.com, ezequiel@collabora.com, 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 Subject: [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Date: Sat, 19 Dec 2020 12:26:50 +0100 Message-Id: <20201219112653.10705-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add more rga compatible properties. "rockchip,px30-rga", "rockchip,rk3288-rga" "rockchip,rk3328-rga", "rockchip,rk3288-rga" "rockchip,rk3368-rga", "rockchip,rk3288-rga" make ARCH=arm64 dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-rga.yaml Signed-off-by: Johan Jonker Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml index dd645ddcc..a609b63bb 100644 --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml @@ -21,7 +21,11 @@ properties: - const: rockchip,rk3288-rga - const: rockchip,rk3399-rga - items: - - const: rockchip,rk3228-rga + - enum: + - rockchip,px30-rga + - rockchip,rk3228-rga + - rockchip,rk3328-rga + - rockchip,rk3368-rga - const: rockchip,rk3288-rga reg: From patchwork Sat Dec 19 11:26:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 346083 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C615DC3526F for ; Sat, 19 Dec 2020 11:27:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 972D823406 for ; Sat, 19 Dec 2020 11:27:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726561AbgLSL1o (ORCPT ); Sat, 19 Dec 2020 06:27:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbgLSL1o (ORCPT ); Sat, 19 Dec 2020 06:27:44 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9519AC061282; Sat, 19 Dec 2020 03:27:03 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id c7so4996520edv.6; Sat, 19 Dec 2020 03:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dWKio+Hu+6BJFwiEu0pqQ0A1lkCqJjEmlgSWcdnhaHw=; b=QBAP15iG2B0sWDxIf6ZPg6D6vGmITWRKuzpw0fXAPZ3+tBsZGksDw+or4En1mvTu73 XCpNPdWONJzOIBQwywgli8PQJlp7ONPeCgq4hHDrfHLTQvvfqbmaSc0MgXsICzH959kH MsBBWBXdT7RcetcaRQyp1liyXGSpzhtmNTgsZd0Hdrqr6/ngzQPzs0AbX2ahE7Whlqry fYV2SGR5aNpU2JA7+4jxfPXzAkgMbulNuft08iqlYuVltKroTP27bHcGWZgzGyx+SFKA VwY5KWnL+im9Q93QLIWWQEyvbPbCJvSfP9ibMxKauZKs/fbHUZ/1ezeRs6kpTGs4Zoev Mzkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dWKio+Hu+6BJFwiEu0pqQ0A1lkCqJjEmlgSWcdnhaHw=; b=lb4sOUFv+gDtMShcu6ZaYYPPMweYB4UkesqoImHPrDd5NM+P6YNFOASiCm7WKpIXwp YplACfw6dWTbfx6yFoGfPCe9Yp+gRB5n79wOe2VgKR2Ce3En8Pc2f0UVSnfLA2g3Yuha Z4P+P82GWjiwNTTEZZ+XpBNMLnIH3QW324KnWpRKxwoZdc8CKtyKDnsZae/6dKB0OP9X 1veXohLyqccNopx7PLrcqDggR92QK4FPJji3FTjY/d4jciKYkwrpCYWotpg7kPvYATij S2r0Dctpy9egQyzywN+Iidg74Q7UoPkKftTVfub7mn5QnngrmViEvQpdxNhu7GFj74Ug 8NoQ== X-Gm-Message-State: AOAM530vsvBxff1+9RfJP3eWanAdZiQHC0mB2tix8zpAh2KvjlbUCTNp DKc4G8FrC8POE0hNt5WfPfU= X-Google-Smtp-Source: ABdhPJwx1hVRFyRILC7+TRy2vR59YpHyeP29I4+mqb9LKbQOqPBC/QkLkjmdiCHQMuq4MkSDaVdTaA== X-Received: by 2002:aa7:c0c2:: with SMTP id j2mr8548577edp.343.1608377222442; Sat, 19 Dec 2020 03:27:02 -0800 (PST) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id n17sm6651785ejh.49.2020.12.19.03.27.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Dec 2020 03:27:01 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, mchehab@kernel.org, jacob-chen@iotwrt.com, ezequiel@collabora.com, 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 Subject: [RFC PATCH v1 3/4] arm64: dts: rockchip: add rga node to rk3328.dtsi Date: Sat, 19 Dec 2020 12:26:52 +0100 Message-Id: <20201219112653.10705-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20201219112653.10705-1-jbx6244@gmail.com> References: <20201219112653.10705-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add rga node to the rk3328.dtsi file. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 1e3e1086e..c4170dc19 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -711,6 +711,16 @@ status = "disabled"; }; + rga: rga@ff3900000 { + compatible = "rockchip,rk3328-rga", "rockchip,rk3288-rga"; + reg = <0x0 0xff390000 0x0 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"; + }; + hdmi: hdmi@ff3c0000 { compatible = "rockchip,rk3328-dw-hdmi"; reg = <0x0 0xff3c0000 0x0 0x20000>;