From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C15F62CA7 for ; Wed, 9 Nov 2022 09:12:34 +0000 (UTC) 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=7FkDY4oj1rMqWjAFX8ryGroL69XLlGkF+Dk3sIIItkc=; b=jS8KQa6iYyl1mZl9jYXbxIE+f1 yDaxqbKVroPuSxw1V06dCavLSTRANfnZAxIBBNdRZ5m/wofYn4D777ru3VpB9ORNMHRM6A0jITtm+ 2xbh6uA8DrhW0ztoacIrSgAWwTTpFW2fg5iPmJj4kFK4zFsXcfvqrg3jKEBb+Mz/D4bqIGKoHOdN+ PY79dV+qctzz6Qt2LNCY4+pzFokF4QLLJHVaupTrJ5pFu+NQpmt0CoIr4acGmhoAejb3ttpE6o/J4 BMfDym3GeSAV4cM/KmhuouWiqRhUG1jugfqrVTw+XFl2wXbcjgJZnHdH4/NShTUhJU0yNr3+oowpZ Uh1pkkGQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35188) 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 1osh8A-0004Gg-2W; Wed, 09 Nov 2022 09:12:23 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1osh82-0005b1-Jp; Wed, 09 Nov 2022 09:12:14 +0000 Date: Wed, 9 Nov 2022 09:12:14 +0000 From: "Russell King (Oracle)" To: Krzysztof Kozlowski Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Lee Jones , Alyssa Rosenzweig , Andy Shevchenko , asahi@lists.linux.dev, 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 , Sergey Senozhatsky , Steven Rostedt , Sven Peter Subject: Re: [PATCH v3 6/7] dt-bindings: gpio: add binding for the GPIO block for Apple Mac SMC Message-ID: References: <3d51c0e2-1e59-5767-4be1-5754ca8dc902@linaro.org> Precedence: bulk X-Mailing-List: asahi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) On Wed, Nov 09, 2022 at 09:36:12AM +0100, Krzysztof Kozlowski wrote: > On 08/11/2022 23:09, Russell King (Oracle) wrote: > > On Tue, Nov 08, 2022 at 09:56:40PM +0100, Krzysztof Kozlowski wrote: > >> On 08/11/2022 17:33, Russell King (Oracle) wrote: > >>> Add the DT binding for the Apple Mac System Management Controller GPIOs. > >>> > >>> Signed-off-by: Russell King (Oracle) > >>> --- > >>> .../bindings/gpio/apple,smc-gpio.yaml | 37 +++++++++++++++++++ > >>> 1 file changed, 37 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/gpio/apple,smc-gpio.yaml > >>> > >>> diff --git a/Documentation/devicetree/bindings/gpio/apple,smc-gpio.yaml b/Documentation/devicetree/bindings/gpio/apple,smc-gpio.yaml > >>> new file mode 100644 > >>> index 000000000000..1a415b78760b > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/gpio/apple,smc-gpio.yaml > >>> @@ -0,0 +1,37 @@ > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >>> +%YAML 1.2 > >>> +--- > >>> +$id: http://devicetree.org/schemas/gpio/gpio-macsmc.yaml# > >> > >> Does not look like you tested the bindings. Please run `make > >> dt_binding_check` (see > >> Documentation/devicetree/bindings/writing-schema.rst for instructions). > > > > Oh ffs. DT bindings are utterly impossible to get correct. > > Why? You write, you test and then you see the error. Srsly... It's utterly impossible for me to remember the dependencies. It's utterly impossible for me to remember the make incantation to test this bloody things - especially as I need to limit it otherwise it takes a very long time to test. The whole bloody thing is just too sodding difficult. I'm not going to bother with this patch set any more. Too frustrated with this piecemeal approach and the crappy slow tooling and the idiotic incomprehensible error messages it spits out. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!