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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36E13ECAAA1 for ; Fri, 28 Oct 2022 15:05:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbiJ1PFV (ORCPT ); Fri, 28 Oct 2022 11:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiJ1PFS (ORCPT ); Fri, 28 Oct 2022 11:05:18 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525FE3B475; Fri, 28 Oct 2022 08:05:10 -0700 (PDT) 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=m1naYypMZxihx03/xrGzfTuZ4moWiQ/R0mJ6CyIw0Eo=; b=ImfikutahMjz8u+Ij+EaxTdtjZ jOEBhU0BZ3LdpGiQvC6GWBZWCO10liuvJ8KeZBIm+WRHY03QxtSJA7Uacr2L1aOSe32cks+mHu7zl TIegGQZXw6TNZaBglNyqPoGNBe0mmwh5f6j23EHVnFfIxSRpSbMJ/6/9qiA4qtcS34qHrRim7DL6S X7zaFdZ1Wtbhz+uNANCAlUhOyVlweu4SyO6I6yZnXkr6Pm3+U3gomEBDw2x3MO6YdQsAEOsrPeB8T VAn3kflEp0//5AUv61G0zV+UbWW4pxSsgeU+NyFnYZFd73FAt7Z37fiyyi9sIY7N0kZF8n80GJpYi wAY5iODw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35006) 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 1ooQux-0008QG-8S; Fri, 28 Oct 2022 16:05:07 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1ooQuv-0002eD-GQ; Fri, 28 Oct 2022 16:05:05 +0100 Date: Fri, 28 Oct 2022 16:05:05 +0100 From: "Russell King (Oracle)" To: Linus Walleij , Bartosz Golaszewski , Rob Herring Cc: devicetree@vger.kernel.org, Hector Martin , Krzysztof Kozlowski , linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Oct 28, 2022 at 02:32:02PM +0100, 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 | 41 +++++++++++++++++++ Sorry, just realised I hadn't renamed this file. I'll do that for v3. Please review assuming I've made that change. > 1 file changed, 41 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..2bb8faa2c08c > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/gpio-macsmc.yaml > @@ -0,0 +1,41 @@ > +# 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: > + compatible: > + items: > + - enum: > + - apple,t8103-smc-gpio > + - const: apple,smc-gpio > + > + gpio-controller: true > + > + '#gpio-cells': > + const: 2 > + > +required: > + - compatible > + - gpio-controller > + - '#gpio-cells' > + > +additionalProperties: false > + > +examples: > + - | > + gpio { > + compatible = "apple,t8103-smc-gpio", "apple,smc-gpio"; > + gpio-controller; > + #gpio-cells = <2>; > + }; > -- > 2.30.2 > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!