From patchwork Mon Nov 21 11:55:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 13050788 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 06706C4332F for ; Mon, 21 Nov 2022 11:56:42 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=s3y6PgrWWluutO7Dl3vCUoJG/3E1vF/ua+lCB/A0GLM=; b=KTCQiNI/6jRZ8i SdTuWD/bI59FMQEfTYZoMHlQ1XcXhWjzSzKTO3wDZvW6V/lAExlLAZRtvS9sn65NwK4sLpsKrHFIX kG4/lIa1v48LGwMPPVZ0zwunqdAC/eBAD/9UQ2QnSJ6fPyabgzTrQhiOKzIoecOaBeVoharZOlqA/ 5TF8OaCB839wRls+zz2EVtlhekeTN/Aij4B3j8p8fIjRcfS1u2jsywa/ie1wM4utg4qb3jrm3Q4+K kuM/tb522fJUjx9lhbYk+Q32TNAJCdv66kXNvUxm00U35TpVJHDmMerktP4SNFprId7WUxiZFmNsL SL8cvlsjSiSjwgvsKl4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox5Op-00D7M8-Kh; Mon, 21 Nov 2022 11:55:43 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox5Od-00D7Fn-Sa for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 11:55:33 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 898E080A7; Mon, 21 Nov 2022 11:45:17 +0000 (UTC) From: Tony Lindgren To: Rob Herring , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Krzysztof Kozlowski , Nishanth Menon , Vignesh Raghavendra Subject: [PATCH v2 1/2] dt-bindings: pwm: Allow decimal format in addition to hex format Date: Mon, 21 Nov 2022 13:55:24 +0200 Message-Id: <20221121115525.36362-1-tony@atomide.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221121_035531_995538_0A49C377 X-CRM114-Status: GOOD ( 10.79 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Let's allow node numbering in decimal format too. Simple human-readable increments/IDs are usually decimal, hex is only for addresses as noted by Krzysztof Kozlowski . Cc: Thierry Reding Cc: Uwe Kleine-König Suggested-by: Krzysztof Kozlowski Signed-off-by: Tony Lindgren Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pwm/pwm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/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 properties: $nodename: - pattern: "^pwm(@.*|-[0-9a-f])*$" + pattern: "^pwm(@.*|-([0-9a-f]|1[0-5]))*$" "#pwm-cells": description: