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 174CDC4332F for ; Mon, 21 Nov 2022 15:12:01 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+qqvjmXBhB1MxH9RmP3pGALYXTkF+VEQfVxwls6IPEg=; b=sDlOjAOlSXa23innRGQ2trRr9h a1xqTCojr+qqFWLMRqvsWC+mUW3iSlCuGgm7uycIJJDcNBqPbIrnILPj/HW0KjmKT6U8/KPIdvuv4 EuM5uOKsROUn3FgflXfttke9X8nmv3N8uZ6eAhLlnuYYR5CN/7ya1i7Ls4oxDAmL9UjY2CIWhvmv/ t9THX4oOAFB1CES3X24NrSN96RjZnKZuHq487fx6crz77AyQWnQcrOfqkeVibiFFhnx2iD6MG+bJv 4kr/3f1vqVPPW/mWle9Lz3NH2T987WTRZjsqyP5ktSBlSs6e3AZBMHtRHKJMBeSzuhVpYq3ZWDIq7 8giEE4Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox8RN-00F1RA-7F; Mon, 21 Nov 2022 15:10:34 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox7y9-00Ej8L-9i for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 14:40:23 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox7xw-0004wY-P9; Mon, 21 Nov 2022 15:40:08 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ox7xt-005fnr-Os; Mon, 21 Nov 2022 15:40:06 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ox7xu-000akk-0z; Mon, 21 Nov 2022 15:40:06 +0100 Date: Mon, 21 Nov 2022 15:40:00 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Tony Lindgren Cc: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Thierry Reding , Krzysztof Kozlowski , Nishanth Menon , Vignesh Raghavendra Subject: Re: [PATCH v2 1/2] dt-bindings: pwm: Allow decimal format in addition to hex format Message-ID: <20221121144000.7weeyfbbulltfxmd@pengutronix.de> References: <20221121115525.36362-1-tony@atomide.com> MIME-Version: 1.0 In-Reply-To: <20221121115525.36362-1-tony@atomide.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_064021_394953_5BEF63FE X-CRM114-Status: GOOD ( 19.99 ) 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: multipart/mixed; boundary="===============5331347702439685179==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5331347702439685179== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mvnzhqz5rtb7bfhq" Content-Disposition: inline --mvnzhqz5rtb7bfhq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 21, 2022 at 01:55:24PM +0200, Tony Lindgren wrote: > Let's allow node numbering in decimal format too. >=20 > Simple human-readable increments/IDs are usually decimal, hex is only for > addresses as noted by Krzysztof Kozlowski . >=20 > Cc: Thierry Reding > Cc: Uwe Kleine-K=F6nig > Suggested-by: Krzysztof Kozlowski > Signed-off-by: Tony Lindgren > --- > Documentation/devicetree/bindings/pwm/pwm.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentati= on/devicetree/bindings/pwm/pwm.yaml > --- a/Documentation/devicetree/bindings/pwm/pwm.yaml > +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml > @@ -13,7 +13,7 @@ select: false > =20 > properties: > $nodename: > - pattern: "^pwm(@.*|-[0-9a-f])*$" > + pattern: "^pwm(@.*|-([0-9a-f]|1[0-5]))*$" I wonder why you don't make this: + pattern: "^pwm(@.*|-[0-9a-f]*)$" Is there a use case to match pwm-1-2-3-4-5 ? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --mvnzhqz5rtb7bfhq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmN7jbEACgkQwfwUeK3K 7Ak8dgf/atfKNt71rGzkk4AfyRplgjB1ipeRHY5+IS01+0ucveDejarUIE4B/i2T ORZmHocWEjjLq4invfvjxNDwlJsp8L8HM8xOt9Kugj892DbNnJ/8iXvV334fwH4S uNBShNMfq9KYqNsrknxI5IFWXUetgOPbcnHluyZivNTIsbIQxAmPJNBS3Mti7m// FjD+bHBELl2vXz6wM1oAjkQOZB0rGE0g3UqU7cScGKkX8igwx6FG1Ld1mQSL37ok zEvmTVyC1kCtdUi+ZDRZGcXCG+rIRnLRxPNfzTAEoxfYckqdXOyPzqu5y8Fe8S9l ADMczadutThcO+1jTvE/yMGnt4MTeA== =vPi1 -----END PGP SIGNATURE----- --mvnzhqz5rtb7bfhq-- --===============5331347702439685179== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5331347702439685179==--