From: Ulf Hansson <ulf.hansson@linaro.org>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "Florian Fainelli" <f.fainelli@gmail.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
"Kevin Hilman" <khilman@kernel.org>,
DTML <devicetree@vger.kernel.org>,
"BCM Kernel Feedback" <bcm-kernel-feedback-list@broadcom.com>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
"Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH V2 1/2] dt-bindings: power: document Broadcom's PMB binding
Date: Tue, 12 Jan 2021 14:14:18 +0100 [thread overview]
Message-ID: <CAPDyKFphRU+zhM5G7C-PU_tK_3R9mj5HUvY4SUDRvTmZec4b+Q@mail.gmail.com> (raw)
In-Reply-To: <20201214180743.14584-2-zajec5@gmail.com>
On Mon, 14 Dec 2020 at 19:08, Rafał Miłecki <zajec5@gmail.com> wrote:
>
> From: Rafał Miłecki <rafal@milecki.pl>
>
> Broadcom's PMB is power controller used for disabling and enabling SoC
> devices.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Apologize for the delay!
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Kind regards
Uffe
> ---
> .../bindings/power/brcm,bcm-pmb.yaml | 50 +++++++++++++++++++
> include/dt-bindings/soc/bcm-pmb.h | 11 ++++
> 2 files changed, 61 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/power/brcm,bcm-pmb.yaml
> create mode 100644 include/dt-bindings/soc/bcm-pmb.h
>
> diff --git a/Documentation/devicetree/bindings/power/brcm,bcm-pmb.yaml b/Documentation/devicetree/bindings/power/brcm,bcm-pmb.yaml
> new file mode 100644
> index 000000000000..40b08d83c80b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/brcm,bcm-pmb.yaml
> @@ -0,0 +1,50 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/brcm,bcm-pmb.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom PMB (Power Management Bus) controller
> +
> +description: This document describes Broadcom's PMB controller. It supports
> + powering various types of connected devices (e.g. PCIe, USB, SATA).
> +
> +maintainers:
> + - Rafał Miłecki <rafal@milecki.pl>
> +
> +properties:
> + compatible:
> + enum:
> + - brcm,bcm4908-pmb
> +
> + reg:
> + description: register space of one or more buses
> + maxItems: 1
> +
> + big-endian:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description: Flag to use for block working in big endian mode.
> +
> + "#power-domain-cells":
> + description: cell specifies device ID (see bcm-pmb.h)
> + const: 1
> +
> +required:
> + - reg
> + - "#power-domain-cells"
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/soc/bcm-pmb.h>
> +
> + pmb: power-controller@802800e0 {
> + compatible = "brcm,bcm4908-pmb";
> + reg = <0x802800e0 0x40>;
> + #power-domain-cells = <1>;
> + };
> +
> + foo {
> + power-domains = <&pmb BCM_PMB_PCIE0>;
> + };
> diff --git a/include/dt-bindings/soc/bcm-pmb.h b/include/dt-bindings/soc/bcm-pmb.h
> new file mode 100644
> index 000000000000..744dc3af4d41
> --- /dev/null
> +++ b/include/dt-bindings/soc/bcm-pmb.h
> @@ -0,0 +1,11 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later OR MIT */
> +
> +#ifndef __DT_BINDINGS_SOC_BCM_PMB_H
> +#define __DT_BINDINGS_SOC_BCM_PMB_H
> +
> +#define BCM_PMB_PCIE0 0x01
> +#define BCM_PMB_PCIE1 0x02
> +#define BCM_PMB_PCIE2 0x03
> +#define BCM_PMB_HOST_USB 0x04
> +
> +#endif
> --
> 2.26.2
>
next prev parent reply other threads:[~2021-01-12 13:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 18:07 [PATCH V2 0/2] Broadcom's PMB (Power Management Bus) support Rafał Miłecki
2020-12-14 18:07 ` [PATCH V2 1/2] dt-bindings: power: document Broadcom's PMB binding Rafał Miłecki
2020-12-15 17:51 ` Rob Herring
2020-12-15 18:22 ` Florian Fainelli
2021-01-12 13:14 ` Ulf Hansson [this message]
2020-12-14 18:07 ` [PATCH V2 2/2] soc: bcm: add PM driver for Broadcom's PMB Rafał Miłecki
2020-12-15 18:24 ` Florian Fainelli
2021-01-12 13:14 ` Ulf Hansson
2021-01-13 4:46 ` [PATCH V2 0/2] Broadcom's PMB (Power Management Bus) support Florian Fainelli
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=CAPDyKFphRU+zhM5G7C-PU_tK_3R9mj5HUvY4SUDRvTmZec4b+Q@mail.gmail.com \
--to=ulf.hansson@linaro.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=khilman@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=rafal@milecki.pl \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--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).