From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: arnd@arndb.de, lee@kernel.org, linus.walleij@linaro.org,
alyssa@rosenzweig.io, andriy.shevchenko@linux.intel.com,
asahi@lists.linux.dev, brgl@bgdev.pl, devicetree@vger.kernel.org,
marcan@marcan.st, corbet@lwn.net,
krzysztof.kozlowski+dt@linaro.org,
linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org,
linux-gpio@vger.kernel.org, pmladek@suse.com,
linux@rasmusvillemoes.dk, robh+dt@kernel.org,
senozhatsky@chromium.org, rostedt@goodmis.org,
sven@svenpeter.dev
Subject: Re: [PATCH 2/7] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC
Date: Tue, 6 Sep 2022 16:05:16 +0200 (CEST) [thread overview]
Message-ID: <d3ced0a542757823@bloch.sibelius.xs4all.nl> (raw)
In-Reply-To: <E1oVYUI-005CmB-84@rmk-PC.armlinux.org.uk> (rmk+kernel@armlinux.org.uk)
> From: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
> Date: Tue, 06 Sep 2022 14:19:34 +0100
>
> Add the DT binding for the Apple Mac System Management Controller GPIOs.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> ---
> .../devicetree/bindings/gpio/gpio-macsmc.yaml | 28 +++++++++++++++++++
> .../devicetree/bindings/mfd/apple,smc.yaml | 4 +++
> 2 files changed, 32 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-macsmc.yaml
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-macsmc.yaml b/Documentation/devicetree/bindings/gpio/gpio-macsmc.yaml
> new file mode 100644
> index 000000000000..ee620fe50ca8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/gpio-macsmc.yaml
> @@ -0,0 +1,28 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/gpio/gpio-macsmc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Apple Mac System Management Controller GPIO
> +
> +maintainers:
> + - Hector Martin <marcan@marcan.st>
> +
> +description:
> + This describes the binding for the Apple Mac System Management Controller
> + GPIO block.
> +
> +properties:
> + gpio-controller: true
> + '#gpio-cells':
> + const: 2
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + smc_gpio: gpio {
> + gpio-controller;
> + #gpio-cells = <2>;
> + };
> diff --git a/Documentation/devicetree/bindings/mfd/apple,smc.yaml b/Documentation/devicetree/bindings/mfd/apple,smc.yaml
> index 168f237c2962..47e3cd58bf19 100644
> --- a/Documentation/devicetree/bindings/mfd/apple,smc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/apple,smc.yaml
> @@ -37,6 +37,10 @@ title: Apple Mac System Management Controller
> description:
> A phandle to the mailbox channel
>
> +patternProperties:
> + gpio:
> + $ref: /schemas/gpio/gpio-macsmc.yaml
> +
> additionalProperties: false
>
> required:
> --
> 2.30.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
_______________________________________________
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:[~2022-09-06 15:06 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 13:18 [PATCH v2 0/7] Add Apple Mac System Management Controller GPIOs Russell King (Oracle)
2022-09-06 13:19 ` [PATCH 1/7] dt-bindings: mfd: add binding for Apple Mac System Management Controller Russell King (Oracle)
2022-09-06 14:04 ` Mark Kettenis
2022-09-07 15:41 ` Rob Herring
2022-09-06 13:19 ` [PATCH 2/7] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC Russell King (Oracle)
2022-09-06 14:05 ` Mark Kettenis [this message]
2022-09-07 15:38 ` Rob Herring
2022-09-08 12:17 ` Krzysztof Kozlowski
2022-09-08 14:25 ` Russell King (Oracle)
2022-09-06 13:19 ` [PATCH 3/7] soc: apple: rtkit: Add apple_rtkit_poll Russell King
2022-09-06 13:19 ` [PATCH 4/7] lib/vsprintf: Add support for generic FOURCCs by extending %p4cc Russell King
2022-09-06 22:11 ` Rasmus Villemoes
2022-10-19 10:00 ` Petr Mladek
2022-10-19 11:20 ` Andy Shevchenko
2022-10-19 11:48 ` Russell King (Oracle)
2022-10-24 4:53 ` Hector Martin
2022-09-06 13:19 ` [PATCH 5/7] platform/apple: Add new Apple Mac SMC driver Russell King
2022-09-06 13:39 ` Sven Peter
2022-09-06 13:19 ` [PATCH 6/7] gpio: Add new gpio-macsmc driver for Apple Macs Russell King
2022-09-06 13:40 ` Sven Peter
2022-09-06 13:20 ` [PATCH 7/7] arm64: dts: apple: Add SMC node to t8103/t6001 devicetrees Russell King
2022-09-06 13:42 ` Sven Peter
2022-09-08 16:46 ` Russell King (Oracle)
2022-09-08 8:03 ` Janne Grunau
2022-09-06 13:38 ` [PATCH v2 0/7] Add Apple Mac System Management Controller GPIOs Linus Walleij
2022-09-07 10:02 ` Bartosz Golaszewski
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=d3ced0a542757823@bloch.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=alyssa@rosenzweig.io \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=asahi@lists.linux.dev \
--cc=brgl@bgdev.pl \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=marcan@marcan.st \
--cc=pmladek@suse.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh+dt@kernel.org \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
--cc=sven@svenpeter.dev \
/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).