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 CF553C6FD19 for ; Mon, 6 Mar 2023 08:33:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbjCFIdn (ORCPT ); Mon, 6 Mar 2023 03:33:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjCFIdl (ORCPT ); Mon, 6 Mar 2023 03:33:41 -0500 X-Greylist: delayed 964 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 06 Mar 2023 00:33:01 PST Received: from smtp16.bhosted.nl (smtp16.bhosted.nl [IPv6:2a02:9e0:8000::27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72D099767 for ; Mon, 6 Mar 2023 00:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonic.nl; s=202111; h=message-id:references:in-reply-to:reply-to:subject:cc:to:from:date: content-transfer-encoding:content-type:mime-version:from; bh=iGJBerep9CUnwc0kKc070FLg5wgjahdY5flMGzZYQMs=; b=oDYibHiF3QQbdSnLfVFRXWqS6z3NQmb6kugL8YV+AzvXesLHyr5JzoQv36TlUtoc6W5KCotN1l9wN 9LSOB4Bu9Yfgb0XpMplMCVfXibebalo7a5aESxI1lFy0L3DA6RZo6UFgR79W8gl98jQrxQ/tLvd2T2 0xEQnuRgzH1ORWF+wpRq+raboR/TqFqi3nosbBYytoNMkARO5GE2FASMRvbgozacXT968pNevzID08 kd2Bb6hh7pzuv819gTpRFHFjwmhc4+RnlmqnZW8aNjXY3z24ty79Y1uQG7spYocRbf484LhNNLEwf4 6CAVA7hl0v6jQA7FXN1mdH2h85/uHYw== X-MSG-ID: 412d5329-bbf7-11ed-829c-0050569d2c73 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 06 Mar 2023 09:16:54 +0100 From: Robin van der Gracht To: Rob Herring Cc: devicetree@vger.kernel.org, Miguel Ojeda , Greg Kroah-Hartman , linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-can@vger.kernel.org, linux-wireless@vger.kernel.org, linux-pm@vger.kernel.org, alsa-devel@alsa-project.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples Organization: Protonic Holland Reply-To: robin@protonic.nl Mail-Reply-To: robin@protonic.nl In-Reply-To: References: <20230228215433.3944508-1-robh@kernel.org> Message-ID: <61190cb766083d73ef3b1455dcf3ff61@protonic.nl> X-Sender: robin@protonic.nl User-Agent: Roundcube Webmail/1.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > From: Rob Herring > Date: Tue, Feb 28, 2023 at 10:54 PM > Subject: [PATCH] dt-bindings: Fix SPI and I2C bus node names in > examples > To: Krzysztof Kozlowski > Cc: , Miguel Ojeda , > Benson Leung , Guenter Roeck > , Stephen Boyd , Andrzej Hajda > , Neil Armstrong , > Robert Foss , Thierry Reding > , Sam Ravnborg , MyungJoo > Ham , Chanwoo Choi , > Linus Walleij , Bartosz Golaszewski > , Pavel Machek , Lee Jones > , Mauro Carvalho Chehab , David S. > Miller , Eric Dumazet , > Jakub Kicinski , Paolo Abeni , > Wolfgang Grandegger , Kalle Valo > , Sebastian Reichel , Mark Brown > , Greg Kroah-Hartman , > , , > , , > , , > , , > , , > , > > > SPI and I2C bus node names are expected to be "spi" or "i2c", > respectively, with nothing else, a unit-address, or a '-N' index. A > pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these > cases. Mostly scripted with the following commands: > > git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/i2c[0-9] {/i2c {/' > git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e > 's/spi[0-9] {/spi {/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring > --- > Cc: Miguel Ojeda > Cc: Krzysztof Kozlowski > Cc: Benson Leung > Cc: Guenter Roeck > Cc: Stephen Boyd > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Robert Foss > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Pavel Machek > Cc: Lee Jones > Cc: Mauro Carvalho Chehab > Cc: "David S. Miller" > Cc: Eric Dumazet > Cc: Jakub Kicinski > Cc: Paolo Abeni > Cc: Wolfgang Grandegger > Cc: Kalle Valo > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: linux-clk@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-gpio@vger.kernel.org > Cc: linux-i2c@vger.kernel.org > Cc: linux-leds@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: netdev@vger.kernel.org > Cc: linux-can@vger.kernel.org > Cc: linux-wireless@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-usb@vger.kernel.org > --- > .../bindings/auxdisplay/holtek,ht16k33.yaml | 2 +- .... > 86 files changed, 110 insertions(+), 103 deletions(-) > > diff --git > a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > index fc4873deb76f..286e726cd052 100644 > --- a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > +++ b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml > @@ -72,7 +72,7 @@ examples: > #include > #include > #include > - i2c1 { > + i2c { > #address-cells = <1>; > #size-cells = <0>; Acked-by: Robin van der Gracht