From: Rob Herring <robh@kernel.org>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "Philipp Zabel" <p.zabel@pengutronix.de>,
devicetree@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
"Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH 1/2] dt-bindings: reset: document Broadcom's PMC binding
Date: Wed, 11 Nov 2020 15:23:30 -0600 [thread overview]
Message-ID: <20201111212330.GA2054669@bogus> (raw)
In-Reply-To: <20201109163519.32605-1-zajec5@gmail.com>
On Mon, Nov 09, 2020 at 05:35:18PM +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> Broadcom's PMC is Power Management Controller that is used for disabling
> and enabling SoC devices.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
> .../bindings/reset/brcm,bcm-pmc.yaml | 69 +++++++++++++++++++
> 1 file changed, 69 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/reset/brcm,bcm-pmc.yaml
>
> diff --git a/Documentation/devicetree/bindings/reset/brcm,bcm-pmc.yaml b/Documentation/devicetree/bindings/reset/brcm,bcm-pmc.yaml
> new file mode 100644
> index 000000000000..2afc2048997f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/reset/brcm,bcm-pmc.yaml
> @@ -0,0 +1,69 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/reset/brcm,bcm-pmc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom PMC (Power Management Controller) reset controller
> +
> +description: This document describes the Broadcom's PMC (Power Management
> + Controller). It supports resetting devices identified by the bus id and device
> + address.
> +
> +maintainers:
> + - Rafał Miłecki <rafal@milecki.pl>
> +
> +properties:
> + compatible:
> + enum:
> + - brcm,bcm4908-pmc # PMC on BCM4908 and compatible SoCs
> +
> + reg:
> + maxItems: 1
> +
> + syscon-misc:
Needs a vendor prefix
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + Phandle to the MISC system controller node.
> +
> + syscon-procmon:
Needs a vendor prefix
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + Phandle to the PROC MON system controller node.
> +
> + big-endian:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + Flag to use for block working in big endian mode.
> +
> + "#reset-cells":
> + const: 2
> +
> +required:
> + - compatible
> + - reg
> + - syscon-misc
> + - syscon-procmon
> + - "#reset-cells"
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pmc: reset-controller@80200000 {
> + compatible = "brcm,bcm4908-pmc";
> + reg = <0x80200000 0x5000>;
> + syscon-misc = <&misc>;
> + syscon-procmon = <&procmon>;
> + #reset-cells = <2>;
> + };
> +
> + procmon: syscon@80280000 {
> + compatible = "brcm,misc", "syscon";
IIRC, not a documented compatible. Nor is it specific enough.
You can just drop these from the example.
> + reg = <0x80280000 0x1000>;
> + };
> +
> + misc: syscon@ff802600 {
> + compatible = "brcm,misc", "syscon";
> + reg = <0xff802600 0xe4>;
> + };
> --
> 2.27.0
>
prev parent reply other threads:[~2020-11-11 21:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 16:35 [PATCH 1/2] dt-bindings: reset: document Broadcom's PMC binding Rafał Miłecki
2020-11-09 16:35 ` [PATCH 2/2] reset: brcm-pmc: add driver for Broadcom's PMC Rafał Miłecki
2020-11-10 4:52 ` Florian Fainelli
2020-11-12 14:55 ` Rafał Miłecki
2020-11-17 18:44 ` Rafał Miłecki
2020-11-17 18:55 ` Florian Fainelli
2020-11-17 20:29 ` Rafał Miłecki
2020-11-10 4:40 ` [PATCH 1/2] dt-bindings: reset: document Broadcom's PMC binding Florian Fainelli
2020-11-11 21:23 ` Rob Herring [this message]
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=20201111212330.GA2054669@bogus \
--to=robh@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=devicetree@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=rafal@milecki.pl \
--cc=zajec5@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).