From: Rob Herring <robh@kernel.org>
To: Daniel Palmer <daniel@0x0f.com>
Cc: devicetree@vger.kernel.org, soc@kernel.org, arnd@arndb.de,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep
Date: Tue, 28 Jul 2020 13:18:42 -0600 [thread overview]
Message-ID: <20200728191842.GB2778962@bogus> (raw)
In-Reply-To: <20200728100321.1691745-2-daniel@0x0f.com>
On Tue, Jul 28, 2020 at 07:03:13PM +0900, Daniel Palmer wrote:
> This adds a YAML description of the pmsleep node used by
> MStar/SigmaStar Armv7 SoCs.
>
> Signed-off-by: Daniel Palmer <daniel@0x0f.com>
> ---
> .../bindings/arm/mstar/mstar,pmsleep.yaml | 43 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 44 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml
> new file mode 100644
> index 000000000000..ef78097a7087
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml
> @@ -0,0 +1,43 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2020 thingy.jp.
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/arm/mstar/mstar,pmsleep.yaml#"
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: MStar/SigmaStar Armv7 SoC pmsleep register region
> +
> +maintainers:
> + - Daniel Palmer <daniel@thingy.jp>
> +
> +description: |
> + MStar/Sigmastar's Armv7 SoCs contain a region of registers that are
> + in the always on domain that the vendor code calls the "pmsleep" area.
> +
> + This area contains registers and bits for a broad range of functionality
> + ranging from registers that control going into deep sleep to bits that
> + turn things like the internal temperature sensor on and off.
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - mstar,pmsleep
Needs to be SoC specific. Random collections of bits are never
'standard' from one SoC to the next.
If your never going to have child nodes, then you can just add the
compatible to syscon.yaml.
> + - const: syscon
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pmsleep: pmsleep@1c00 {
> + compatible = "mstar,pmsleep", "syscon";
> + reg = <0x0x1c00 0x100>;
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 991814ea6f76..432fcc867ed6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2140,6 +2140,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> S: Maintained
> W: http://linux-chenxing.org/
> F: Documentation/devicetree/bindings/arm/mstar.yaml
> +F: Documentation/devicetree/bindings/arm/mstar/*
> F: arch/arm/boot/dts/infinity*.dtsi
> F: arch/arm/boot/dts/mercury*.dtsi
> F: arch/arm/boot/dts/mstar-v7.dtsi
> --
> 2.27.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-28 19:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 10:03 [PATCH v2 0/9] ARM: mstar: DT filling out Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar, pmsleep Daniel Palmer
2020-07-28 19:16 ` Rob Herring
2020-07-28 19:18 ` Rob Herring [this message]
2020-07-29 9:13 ` Daniel Palmer
2020-07-29 12:13 ` Arnd Bergmann
2020-07-29 12:34 ` Daniel Palmer
2020-07-29 14:11 ` Rob Herring
2020-07-29 14:17 ` Arnd Bergmann
2020-07-28 10:03 ` [PATCH v2 2/9] dt-bindings: arm: mstar: Move existing MStar binding descriptions Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 3/9] ARM: mstar: Add IMI SRAM region Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 4/9] ARM: mstar: Adjust IMI size of infinity Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 5/9] ARM: mstar: Adjust IMI size for mercury5 Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 6/9] ARM: mstar: Adjust IMI size for infinity3 Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 7/9] ARM: mstar: Add PMU Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 8/9] ARM: mstar: Add "pmsleep" node to base dtsi Daniel Palmer
2020-07-28 10:03 ` [PATCH v2 9/9] ARM: mstar: Add reboot support Daniel Palmer
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=20200728191842.GB2778962@bogus \
--to=robh@kernel.org \
--cc=arnd@arndb.de \
--cc=daniel@0x0f.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=soc@kernel.org \
/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