Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1037912pxb; Fri, 26 Feb 2021 00:26:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJymNNFW0m/iyWn+TZVxcKHw6hAMv8hCcJ0BPJfHmN6XAFA9vLdozigyfi3Ps2wtnkyt9Idi X-Received: by 2002:a17:906:95c3:: with SMTP id n3mr2010866ejy.269.1614328009668; Fri, 26 Feb 2021 00:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614328009; cv=none; d=google.com; s=arc-20160816; b=T3SelCEtspQZiRN2Pz66oHLGw5yr5KwYON8W8ZqYTYUJy2OIvJ5juyyelAbUy1xmEn jwqXM/2OzPqctXJANHWVbvo10MTsyVJ2f+gppl5Y5+ER43jukXHGN0Bk4pPd6xDhxp8A aAXeJZaAkN8JzJBD2BSPPksqeicwUQfUhvWdg1O3mOxcAE/0oQnJLzi6ZU4iZGKyKqO5 J3GgPn/xz1oJas8lCuH6VRJNEgYuefoDGN+pKLzdynLYB6xiRKF4sfdvfx4ccC4BuIv0 gTw4fl3/jvBo4ZN1SWIJ+ctDYG404pqjc/HryYXteVhuk3/hB91XEuPgVp7CIfnW/n+a /+wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=K2X4s7NLy+kqgw4+mXBdiO972CuV6SSY99OCFgNyeOk=; b=iqVao0yzrlhBrJFbVqQWL+RUaM07Ruc7hCBM1Hg9WLAAB83Ad3Yqs2v1PWxrTlb726 WXPzURnW6HkH9M0vyPEvQaaYjk3/rJELsCQQXJP+sNm0gqEgtFjT6mmVBBvZgMw/L1/5 d3qkwlG9+mtIl26M+QVYngIhDdRlTn69RIcWa/QJHkU/njxs8sq+gf9q7q7WJz5x+whi o0uJD0O4sM8lq4O8X4nLoNHvAXerzERgPahPt4QIQ8QBe/rbH/A/YYgoDwNewKAmEVKT OKAC5cX7AWe7fTCklRL9GRxNi7z/rSqMhdgVRBXoCMM9oHchlbtHm41inS3kPBG2oXAj brww== 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 m5si3330936edi.319.2021.02.26.00.26.27; Fri, 26 Feb 2021 00:26:49 -0800 (PST) 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 S230134AbhBZIZR (ORCPT + 99 others); Fri, 26 Feb 2021 03:25:17 -0500 Received: from lucky1.263xmail.com ([211.157.147.130]:50492 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhBZIZH (ORCPT ); Fri, 26 Feb 2021 03:25:07 -0500 Received: from localhost (unknown [192.168.167.225]) by lucky1.263xmail.com (Postfix) with ESMTP id D8F71D0163; Fri, 26 Feb 2021 16:22:43 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P5973T140596920432384S1614327760837004_; Fri, 26 Feb 2021 16:22:43 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: X-RL-SENDER: zhangqing@rock-chips.com X-SENDER: zhangqing@rock-chips.com X-LOGIN-NAME: zhangqing@rock-chips.com X-FST-TO: mturquette@baylibre.com X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: Elaine Zhang To: mturquette@baylibre.com, robh+dt@kernel.org, sboyd@kernel.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, cl@rock-chips.com, huangtao@rock-chips.com, kever.yang@rock-chips.com, tony.xie@rock-chips.com, finley.xiao@rock-chips.com, Elaine Zhang Subject: [PATCH v2 1/4] dt-binding: clock: Document rockchip,rk3568-cru bindings Date: Fri, 26 Feb 2021 16:22:31 +0800 Message-Id: <20210226082234.1733-2-zhangqing@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210226082234.1733-1-zhangqing@rock-chips.com> References: <20210226082234.1733-1-zhangqing@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the device tree bindings of the rockchip Rk3568 SoC clock driver in Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml. Signed-off-by: Elaine Zhang --- .../bindings/clock/rockchip,rk3568-cru.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml new file mode 100644 index 000000000000..612da341ea67 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/rockchip,rk3568-cru.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/rockchip,rk3568-cru.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROCKCHIP rk3568 Family Clock Control Module Binding + +maintainers: + - Elaine Zhang + +description: | + The RK3568 clock controller generates and supplies clock to various + controllers within the SoC and also implements a reset controller for SoC + peripherals. + +properties: + compatible: + enum: + - rockchip,rk3568-cru + - rockchip,rk3568-pmucru + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + + '#reset-cells': + const: 1 + +required: + - compatible + - reg + - "#clock-cells" + - "#reset-cells" + +additionalProperties: false + +examples: + # Clock Control Module node: + - | + pmucru: clock-controller@fdd00000 { + compatible = "rockchip,rk3568-pmucru"; + reg = <0x0 0xfdd00000 0x0 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + - | + cru: clock-controller@fdd20000 { + compatible = "rockchip,rk3568-cru"; + reg = <0x0 0xfdd20000 0x0 0x1000>; + #clock-cells = <1>; + #reset-cells = <1>; + }; -- 2.17.1