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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 AFFE3C678D4 for ; Wed, 1 Mar 2023 21:10:06 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4090F74C; Wed, 1 Mar 2023 22:09:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4090F74C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1677705004; bh=rCPgKyY8pL4WsWbwal7/GnROcvnC0cplhyx7czzuBrI=; h=In-Reply-To:References:Subject:From:To:Date:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=LLAwsrKz24ir9BsgBHXpw187nUEVq17yKHpWOI9a6aqX+NBVAcV2UOGYcwta28IzQ 4ymmDmUfQ1ySC/9ObIRTnXkX8AV1wqyWj8UYt4v69dxdYXf7htg/9EQbQww6AUBxDL eM3HZS5HqT0OoCyP1M49k5A8XYHWEkPoxjcIkxDE= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id BF53DF800BA; Wed, 1 Mar 2023 22:09:13 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7EEB1F8049C; Wed, 1 Mar 2023 22:09:09 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 04166F800DF for ; Wed, 1 Mar 2023 22:09:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 04166F800DF Authentication-Results: alsa1.perex.cz; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=XPtEoCOK Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5C204B8111A; Wed, 1 Mar 2023 21:09:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 074E4C433EF; Wed, 1 Mar 2023 21:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677704944; bh=rCPgKyY8pL4WsWbwal7/GnROcvnC0cplhyx7czzuBrI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=XPtEoCOK0uCzDk5+9/F+HsvDisG6x30coh35MtKooxhGCdVLAujsC16RjuFJNeJSs j7ciysEU7AIVDGDF0mVl0eCUtDQPZdCGf/LDWZa7s46dd2DQYHGUjBbGf6Ck8HIGfp QaPDKylGnfmK/uLRTK7f5kJ4WEuHlXrjDJUcqkdMIUgs9xlO4K/9BBusrKlAGzSaFK 9bZOKQsXERsjEMkdZTHcBw9PEuUsfTHkY5vQ4UEhdVKlT6sTmtmkWE2uREh5ZQ3l4U XeMOJhBFHPbU3QD2rS1Om+3BJzD9KFZ3Tb2gxhY/s7cVeRc2dMWj7kw3wy45x80er/ Aj12X7L3l1l0A== Message-ID: <5d53f8abdaa50b19ac60c198252c5a5e.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230228215433.3944508-1-robh@kernel.org> References: <20230228215433.3944508-1-robh@kernel.org> Subject: Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples From: Stephen Boyd To: Krzysztof Kozlowski , Rob Herring Date: Wed, 01 Mar 2023 13:09:01 -0800 User-Agent: alot/0.10 Message-ID-Hash: Y22N2KIKWW4WUJO5NQWIUOUMKDR6A34F X-Message-ID-Hash: Y22N2KIKWW4WUJO5NQWIUOUMKDR6A34F X-MailFrom: sboyd@kernel.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devicetree@vger.kernel.org, Miguel Ojeda , Benson Leung , Guenter Roeck , 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 , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-gpio@vger.kernel.org, linux-i2c@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 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Quoting Rob Herring (2023-02-28 13:54:33) > 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: >=20 > 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 {/' >=20 > With this, a few errors in examples were exposed and fixed. >=20 > Signed-off-by: Rob Herring > --- Reviewed-by: Stephen Boyd > diff --git a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml b/D= ocumentation/devicetree/bindings/clock/ti,lmk04832.yaml > index 73d17830f165..13d7b3d03d84 100644 > --- a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > +++ b/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > @@ -160,7 +160,7 @@ examples: > }; > }; > =20 > - spi0 { > + spi { > #address-cells =3D <1>; > #size-cells =3D <0>; > 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 3F0D4C7EE23 for ; Wed, 1 Mar 2023 21:09:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 603AA10E252; Wed, 1 Mar 2023 21:09:08 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0B39010E252 for ; Wed, 1 Mar 2023 21:09:07 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5C204B8111A; Wed, 1 Mar 2023 21:09:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 074E4C433EF; Wed, 1 Mar 2023 21:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677704944; bh=rCPgKyY8pL4WsWbwal7/GnROcvnC0cplhyx7czzuBrI=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=XPtEoCOK0uCzDk5+9/F+HsvDisG6x30coh35MtKooxhGCdVLAujsC16RjuFJNeJSs j7ciysEU7AIVDGDF0mVl0eCUtDQPZdCGf/LDWZa7s46dd2DQYHGUjBbGf6Ck8HIGfp QaPDKylGnfmK/uLRTK7f5kJ4WEuHlXrjDJUcqkdMIUgs9xlO4K/9BBusrKlAGzSaFK 9bZOKQsXERsjEMkdZTHcBw9PEuUsfTHkY5vQ4UEhdVKlT6sTmtmkWE2uREh5ZQ3l4U XeMOJhBFHPbU3QD2rS1Om+3BJzD9KFZ3Tb2gxhY/s7cVeRc2dMWj7kw3wy45x80er/ Aj12X7L3l1l0A== Message-ID: <5d53f8abdaa50b19ac60c198252c5a5e.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230228215433.3944508-1-robh@kernel.org> References: <20230228215433.3944508-1-robh@kernel.org> Subject: Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples From: Stephen Boyd To: Krzysztof Kozlowski , Rob Herring Date: Wed, 01 Mar 2023 13:09:01 -0800 User-Agent: alot/0.10 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Andrzej Hajda , dri-devel@lists.freedesktop.org, Eric Dumazet , Thierry Reding , linux-i2c@vger.kernel.org, Pavel Machek , Guenter Roeck , Sam Ravnborg , linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, Robert Foss , Bartosz Golaszewski , Lee Jones , Chanwoo Choi , MyungJoo Ham , Miguel Ojeda , Jakub Kicinski , Paolo Abeni , Wolfgang Grandegger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Kalle Valo , linux-can@vger.kernel.org, Mark Brown , linux-gpio@vger, kernel.org@freedesktop.org, Mauro Carvalho Chehab , Neil Armstrong , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, Sebastian Reichel , netdev@vger.kernel.org, "David S. Miller" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Quoting Rob Herring (2023-02-28 13:54:33) > 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: >=20 > 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 {/' >=20 > With this, a few errors in examples were exposed and fixed. >=20 > Signed-off-by: Rob Herring > --- Reviewed-by: Stephen Boyd > diff --git a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml b/D= ocumentation/devicetree/bindings/clock/ti,lmk04832.yaml > index 73d17830f165..13d7b3d03d84 100644 > --- a/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > +++ b/Documentation/devicetree/bindings/clock/ti,lmk04832.yaml > @@ -160,7 +160,7 @@ examples: > }; > }; > =20 > - spi0 { > + spi { > #address-cells =3D <1>; > #size-cells =3D <0>; >