From patchwork Mon Jul 31 03:07:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Chen X-Patchwork-Id: 9870785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D08F603B4 for ; Mon, 31 Jul 2017 03:09:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D14028540 for ; Mon, 31 Jul 2017 03:09:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21F7328557; Mon, 31 Jul 2017 03:09:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F2322855E for ; Mon, 31 Jul 2017 03:09:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751935AbdGaDI6 (ORCPT ); Sun, 30 Jul 2017 23:08:58 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34810 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbdGaDI5 (ORCPT ); Sun, 30 Jul 2017 23:08:57 -0400 Received: by mail-pf0-f196.google.com with SMTP id t86so2927453pfe.1; Sun, 30 Jul 2017 20:08:56 -0700 (PDT) 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=zFGubjmAUKRY3Yt4e7rQlRQ9+TgDJn2iJ+LFLMmAcAc=; b=C2ZtdixlV4rY0MNq+twhq7I3Gi0nEnxBYyuSGdq822Tg1mCgNfVUn1fE+mPeyVq1h+ rV/f6scXKBg229QSysHGuMU5FGWFGIrAsiDf2TRIum+ejC7wqZgiCUZWUUxmdgSsItYh Dee1+TK+VI2acYxnKwXs3cbn2Uu/9rrzjfCl2Q04yhQphhz9XcXsveyDhIjbc47wsWRm 5GYCpwrv0xd62isTckFBBLPoOZ7g2rtUbLQ0mZNGg3UR7180zi67kuYDkXwsOi31/9Aa t+sXqdrtRGHEMwWIyP+VdZtbDoMycn5u1aXSonEusugUiXZc0x8Jj3VeIVqbqL8dcTBV uVGQ== X-Gm-Message-State: AIVw110lh2I3D1PLWbG3YX+g+OeTDG9zkiR7hMzCXvM3z7MmncWr2EbO kkPfcjA/+47mfg== X-Received: by 10.84.131.162 with SMTP id d31mr15218837pld.384.1501470536388; Sun, 30 Jul 2017 20:08:56 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id p9sm47491747pgn.87.2017.07.30.20.08.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 30 Jul 2017 20:08:55 -0700 (PDT) From: Jacob Chen To: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, heiko@sntech.de, robh+dt@kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com, hans.verkuil@cisco.com, s.nawrocki@samsung.com, tfiga@chromium.org, nicolas@ndufresne.ca, Jacob Chen , Yakir Yang Subject: [PATCH v3 5/5] dt-bindings: Document the Rockchip RGA bindings Date: Mon, 31 Jul 2017 11:07:40 +0800 Message-Id: <1501470460-12014-6-git-send-email-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501470460-12014-1-git-send-email-jacob-chen@iotwrt.com> References: <1501470460-12014-1-git-send-email-jacob-chen@iotwrt.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add DT bindings documentation for Rockchip RGA Signed-off-by: Jacob Chen Signed-off-by: Yakir Yang --- .../devicetree/bindings/media/rockchip-rga.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-rga.txt diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.txt b/Documentation/devicetree/bindings/media/rockchip-rga.txt new file mode 100644 index 0000000..fd5276a --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip-rga.txt @@ -0,0 +1,33 @@ +device-tree bindings for rockchip 2D raster graphic acceleration controller (RGA) + +RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D +graphics operations, such as point/line drawing, image scaling, rotation, +BitBLT, alpha blending and image blur/sharpness. + +Required properties: +- compatible: value should be one of the following + "rockchip,rk3288-rga"; + "rockchip,rk3399-rga"; + +- interrupts: RGA interrupt specifier. + +- clocks: phandle to RGA sclk/hclk/aclk clocks + +- clock-names: should be "aclk", "hclk" and "sclk" + +- resets: Must contain an entry for each entry in reset-names. + See ../reset/reset.txt for details. +- reset-names: should be "core", "axi" and "ahb" + +Example: +SoC-specific DT entry: + rga: rga@ff680000 { + compatible = "rockchip,rk3399-rga"; + reg = <0xff680000 0x10000>; + interrupts = ; + clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>; + clock-names = "aclk", "hclk", "sclk"; + + resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>; + reset-names = "core, "axi", "ahb"; + };