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 495CCC54EE9 for ; Thu, 8 Sep 2022 14:28:57 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=n+Z3CpQtAJl9UqQMvVBP0KAaE6DsT6jA0VsXzV1b9kU=; b=nL/1/FcK/e/+e/ HrerF1Ideu6Rl8bhPjJBm0shGd3UENXXUxpYwA2uqWtnBZ0FtrnOXfbUFLBTCB0Na3UmbTHXkr40h 0i3AQTiymdgkKbncvn3oPjXcr6+CxD5ujGqaacM+9BzZLT2HGDeplFyy30w9wGZWsDodwoCSnwilI AHoH3unBjLtHYSXEARaJA3HnjUZwK52MwPKBjvs5gqstnGGdMBp5dMNQyfpsHffosH9LlTXPBW5fI TfOmp8QbJksow3wbAaT/SE9w5lm0WsQNTnixMEz72tAJZfsYTAE6u/rR9q6ga+XZT4oZTN+GeLNAH 1kyxvbotlSYgm+APZ4CA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWIVP-004ex0-CN; Thu, 08 Sep 2022 14:27:48 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWIVJ-004dY0-F5 for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2022 14:27:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=N1TrM7TbvW4pn1BGGWDOrYT43Tz4PeQhBJcHN6NEPZo=; b=t0cis0RtsabCUAQD0/556FaEXb /Y5PIXTg4fPBLDK4Nd1zu9jZjHyZCf2xVGeGJMWPy0SZJ3FbyLkWnfRHmE/yBkgATZhPxJCBKDb18 Dd8uUVtcWFpbIuhKesY55pkxbNoqxln4mRqPGQuMyha9K0acIpc7nI+yTN/Y3pOn8+WWUqwXAFsNU EPh6dvoPSjKtcctEmP35dFDb0Z27OSJLj39NQWbjAdHOGiW9JL+UvYjPHk/dpSNrQiV6h6dDiIhNN 6eTqn9ndo6ELOgJc1OySUxNwVwYnW40h7riiWCwfOd4gCw2BkIH6Gp7hKIqjZdr8eN3QKXQoFrqLI NApesA6Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34204) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oWISt-0006cE-FH; Thu, 08 Sep 2022 15:25:11 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oWISo-00028R-RL; Thu, 08 Sep 2022 15:25:06 +0100 Date: Thu, 8 Sep 2022 15:25:06 +0100 From: "Russell King (Oracle)" To: Krzysztof Kozlowski Cc: Arnd Bergmann , Lee Jones , Linus Walleij , Alyssa Rosenzweig , Andy Shevchenko , asahi@lists.linux.dev, Bartosz Golaszewski , devicetree@vger.kernel.org, Hector Martin , Jonathan Corbet , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, Petr Mladek , Rasmus Villemoes , Rob Herring , Sergey Senozhatsky , Steven Rostedt , Sven Peter Subject: Re: [PATCH 2/7] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC Message-ID: References: <39b08217-b939-d188-12ce-ce6006282e1e@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <39b08217-b939-d188-12ce-ce6006282e1e@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220908_072741_535102_667BD730 X-CRM114-Status: GOOD ( 21.22 ) 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: , 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 On Thu, Sep 08, 2022 at 02:17:54PM +0200, Krzysztof Kozlowski wrote: > On 06/09/2022 15:19, Russell King (Oracle) wrote: > > Add the DT binding for the Apple Mac System Management Controller GPIOs. > > > > Signed-off-by: Russell King (Oracle) > > --- > > .../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: > > This is not a pattern. Should be in properties. > > Please run `make dt_binding_check` (see > Documentation/devicetree/bindings/writing-schema.rst for instructions). I did. It didn't warn for me. Yes, I had updated it immediately prior. Yes I had installed the lint package. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel