From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09FC4ECAAD5 for ; Tue, 6 Sep 2022 15:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-ID:References:Subject :In-Reply-To:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OGfHwV7Ch584HCBoC3Mgj6B8nGVQWZpl4VfUl5LK2S8=; b=zQkuLOpn35QnV1 D15apZZnLqlr5IR0F9DZL9EZp7rQC8EzFBztvsuV7vcSMOWz0/zhCUVQWQsjlG9GXlzizkoqDZ9ZE 0dtt1ic9gy0heFMlHdjrqMdo840GVCboEDGkjJFtvvQzsNC2FEPbhOG2cdTByhcdNaVSM9obVdXGN FPuG3/w29+7vlvrDz+oP3lGu/1HJCOgIPCzoa+vPm5K/4FMQMGbC1vqPgFH7RXawKUrLyXYO/G8dX WRtFgAA3nAY2w3L4wteKt91+Cp0a3tmLWub8L619b9uyCQ3NGxfyt0TZbjEJwlNV/V4U4sXukn0mF +rxdMDjmf55bpVX+KmCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVa8J-00EYmZ-15; Tue, 06 Sep 2022 15:04:59 +0000 Received: from 80-61-163-207.fixed.kpn.net ([80.61.163.207] helo=sibelius.xs4all.nl) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVZCZ-00E8H0-AJ for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2022 14:05:21 +0000 Received: from localhost (bloch.sibelius.xs4all.nl [local]) by bloch.sibelius.xs4all.nl (OpenSMTPD) with ESMTPA id 59c289f3; Tue, 6 Sep 2022 16:05:16 +0200 (CEST) Date: Tue, 6 Sep 2022 16:05:16 +0200 (CEST) From: Mark Kettenis To: "Russell King (Oracle)" 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 In-Reply-To: (rmk+kernel@armlinux.org.uk) Subject: Re: [PATCH 2/7] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC References: Message-ID: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220906_070519_693546_85BC7977 X-CRM114-Status: GOOD ( 15.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > From: "Russell King (Oracle)" > 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) Reviewed-by: Mark Kettenis > --- > .../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 > + > +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