From: Rob Herring <robh@kernel.org>
To: Chunyan Zhang <zhang.lyra@gmail.com>
Cc: Stephen Boyd <sboyd@kernel.org>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
Baolin Wang <baolin.wang7@gmail.com>,
Orson Zhai <orsonzhai@gmail.com>,
Chunyan Zhang <chunyan.zhang@unisoc.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 1/4] dt-bindings: mfd: sprd: Add bindings for ums512 global registers
Date: Thu, 16 Sep 2021 08:08:50 -0500 [thread overview]
Message-ID: <YUNB4jtbh9y2Gn96@robh.at.kernel.org> (raw)
In-Reply-To: <20210916084714.311048-2-zhang.lyra@gmail.com>
On Thu, Sep 16, 2021 at 04:47:11PM +0800, Chunyan Zhang wrote:
> From: Chunyan Zhang <chunyan.zhang@unisoc.com>
>
> Add bindings for Unisoc system global register which provide register map
> for clocks.
>
> Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
> ---
> .../bindings/mfd/sprd,ums512-glbreg.yaml | 67 +++++++++++++++++++
> 1 file changed, 67 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml
>
> diff --git a/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml b/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml
> new file mode 100644
> index 000000000000..cf9dad06bb4e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/sprd,ums512-glbreg.yaml
> @@ -0,0 +1,67 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Unisoc System Global Register Device Tree Bindings
> +
> +maintainers:
> + - Orson Zhai <orsonzhai@gmail.com>
> + - Baolin Wang <baolin.wang7@gmail.com>
> + - Chunyan Zhang <zhang.lyra@gmail.com>
> +
> +description:
> + Unisoc system global registers provide register map
> + for clocks and some multimedia modules of the SoC.
> +
> +properties:
> + "#address-cells": true
> + "#size-cells": true
> +
> + compatible:
> + items:
> + - const: sprd,ums512-glbregs
> + - const: syscon
> + - const: simple-mfd
> +
> + ranges:
> + maxItems: 1
> +
> + reg:
> + maxItems: 1
> +
> +patternProperties:
> + "^.*@[0-9a-f]+$":
"clock-controller@[0-9a-f]+$"
> + # Child node
> + type: object
> + $ref: "../clock/sprd,ums512-clk.yaml"
> + description:
> + Clock controller for the SoC clocks. This child node definition
> + should follow the bindings specified in
> + Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml.
No need to reference this file twice.
> +
> +required:
> + - compatible
> + - reg
> + - "#address-cells"
> + - "#size-cells"
> + - ranges
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + ap_apb_regs: syscon@71000000 {
> + compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
> + reg = <0x71000000 0x3000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0 0x71000000 0x3000>;
> +
> + apahb_gate: clock-controller@0 {
Drop unused labels.
> + compatible = "sprd,ums512-apahb-gate";
> + reg = <0x0 0x2000>;
> + #clock-cells = <1>;
> + };
> + };
> --
> 2.25.1
>
>
next prev parent reply other threads:[~2021-09-16 13:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 8:47 [PATCH v2 0/4] Add Unisoc's UMS512 clock support Chunyan Zhang
2021-09-16 8:47 ` [PATCH v2 1/4] dt-bindings: mfd: sprd: Add bindings for ums512 global registers Chunyan Zhang
2021-09-16 12:21 ` Rob Herring
2021-09-16 13:03 ` Rob Herring
2021-09-16 13:08 ` Rob Herring [this message]
2021-09-16 8:47 ` [PATCH v2 2/4] dt-bindings: clk: sprd: Add bindings for ums512 clock controller Chunyan Zhang
2021-09-16 12:21 ` Rob Herring
2021-09-16 14:29 ` Rob Herring
2021-09-17 8:40 ` Chunyan Zhang
2021-09-20 12:42 ` Rob Herring
2021-09-22 3:32 ` Chunyan Zhang
2021-09-22 20:35 ` Rob Herring
2021-09-16 8:47 ` [PATCH v2 3/4] clk: sprd: Add dt-bindings include file for UMS512 Chunyan Zhang
2021-09-16 8:47 ` [PATCH v2 4/4] clk: sprd: Add Unisoc's UMS512 clock driver Chunyan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YUNB4jtbh9y2Gn96@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=baolin.wang7@gmail.com \
--cc=chunyan.zhang@unisoc.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=orsonzhai@gmail.com \
--cc=sboyd@kernel.org \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).