From patchwork Tue Jan 23 08:35:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 190779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp196549dyi; Tue, 23 Jan 2024 00:39:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1KI0vYOwYLJbW9yjcoc+/HAD4y7+9uWCsBwi3X/sk0L541HKZwTtnv/mUG/nvcZ1/bEwt X-Received: by 2002:a05:6358:5e1a:b0:175:f3e0:381a with SMTP id q26-20020a0563585e1a00b00175f3e0381amr4823593rwn.38.1705999154332; Tue, 23 Jan 2024 00:39:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705999154; cv=pass; d=google.com; s=arc-20160816; b=eoeqmrE5Tm6dTy0TK+GlE377i3Hmp6VSKDvmW5d7a59c/2TzpTjFaHoRWWfeFZ4qoe O3S22Nsglrlcj7PO3VB7UclnTPN78CiM/H80KKVOGddZAYPSaKY+TDbYPb5gFHg8uHbe hte8O+jVmlXinXUTxBdTmA1RhZs097rCr2o0tcKiF+pKiF8CWBYkDgfWAJaU0ZURwwG7 lbBHAFUbwY3PryjCgBJFOHe4q5AepSsTjBN2wG0vOvwHH0+IxMg8TEO5ynTpluA3d32D 5HrYvqqighds+bMSuyXCoPQhfmh7jKOoiXXBzmsHNEbg7+PDHI0oODt3+xzFflRfUmAx roRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=fdfFrklpfzHBV16Dhq98a7qVy1esOltm6odDyiqYZd0=; fh=Wl4/7PgDWaVOfK4YBv9gEWr+zESAOPcpK4/SdoQ3D8M=; b=lTIi0DD8d1ye5UqClCWJOsVomIqSqcOuRtbN1C2ShrW6HzteX/GVf40dHFA3XW4+Ro T8acW18LxB7w5iYxp97IHTsphA9TN2PRg/+ScOuSUXFHk1XB9yJ8hPwFPVqjAwn5j4Ap O7DA+qA4pRtMSTJbdJR5VsLFmytPRToZmzFFiZblGxhJYRaPe+qYVumA3AVlMe/34kUW W2fAPxBCG/4BjcvUzvQM6EIwJoEIZgiywWkBbks1fgKfGnd+VJah3P7Ik6GYNwlsNhU8 Q0VkBjFamUqgCGNOe4Ss02+SJr/W/A4Tc9oCj8n7dsT9uIgBlNmYgMtTZyo/tvWDe/fv Nfpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lY10ZFkS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34916-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34916-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bz9-20020a056a02060900b005cdffc2828esi10071728pgb.182.2024.01.23.00.39.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 00:39:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34916-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lY10ZFkS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34916-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34916-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7542528EFE6 for ; Tue, 23 Jan 2024 08:37:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD97A5C5E2; Tue, 23 Jan 2024 08:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lY10ZFkS" Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D8AD5A78B for ; Tue, 23 Jan 2024 08:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705998917; cv=none; b=FKT4LeVKHAQ+0GGI2iBzc28xgzFY4AgnoEfD+PqdJnyFSL0eHdDZwzM4OWSN9SWX8/4d76vtGMk8ZjjZKlYvnpDa648x7PfgpGuIO7nxFexz8EJ0UkA/RpD40V98gWjFYLJ9ZfsA+o+/SAEhCJFxolx10VrDhODdF9iZ7CO9cZA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705998917; c=relaxed/simple; bh=kWqtesvHjoSkng0XcFoXgTex3TV+vC9xmsJIv0b0Rx4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pJGUpUogYZPDioxacu/J0Jkz/2lki298PSlycLkmxCYLu9tKH4RWVqXZWxrnzdeSeLEmosAfCyD7g7EiOKmcDXwe0DKBVDUMEeGNev2BgEQN37waIWoJZVGvtixlmsBYJwmp7FTB5WpojdfS5pOGrmvSZ6FNzJI+noo7fkyGtjI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lY10ZFkS; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-40e87d07c07so51378595e9.1 for ; Tue, 23 Jan 2024 00:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705998914; x=1706603714; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fdfFrklpfzHBV16Dhq98a7qVy1esOltm6odDyiqYZd0=; b=lY10ZFkSr64GM1PZTEqyK6Mh6IaepPFy6wRzD9oc6Oc5ifV4zZ6x/xFXLKhg0w0BNn ZkhNJxRhi37DluF5BIEgibFBOM4WP1La7rjC1iTwwxj9t6QKJNpse0RCczlzykEIHsVm E9Fqba0H+yfWds9WYSKxsOujg8EygAnfSFmLsGalMBJ4bpm/bz2MMr7bR+y0ECMuSrpA hOcez4pgB5K1GD/SHBTfQhMasUzhPbmRaqCvW/dd2acJ493NSaRKCqnY3IC08KkxcEYm zYU6dMCLfbZu3/vMNP7LA8fTXDCEByiP51z4B/5zNyA5qFpCquDoXt/l+Ieq6BkHyR/H okEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705998914; x=1706603714; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fdfFrklpfzHBV16Dhq98a7qVy1esOltm6odDyiqYZd0=; b=lqC8yX9R+xILVILgaiJn/kbvaqSJ1IFKfZLgUBOUYmMO+2qJHXQ4zLgoo4kYknaPNw V2t6ih34LpQTYmihjjnO88vGQdLOvhDpIZ9QKH+BejRT+2FxVe+3fVqQCRLbxVqUheqY 6ZybLzXU+ZDLFe2NVA66VgcTSkJUn3ySfJqy61L2atyXuv9RXQNOstW3MtXBS2xyxqMc +CsHzmmruvINU0Rw2JZR/6s+v43OyMmyqDgSj3VCRbgQirAyAhgiLZg8Q+Kvz3/BwgRW YYszmH80L0X/pP4YGkFKwV4Dmg9037bWJf1WHL7p6JU5Pnr6j1TIf+HIJjRrTHrH1oRu aBGg== X-Gm-Message-State: AOJu0Yy4yaFDWbMlRzjwWnxYCqPyD6UjoBHhupAE0IWuiExuV/3Aw8D/ yRdwNB6hIR9nHAl8EnJ4Ki7WPV3ZsUYudeNPQnZju1/D21SeP8dkWFGWSTUxZIo= X-Received: by 2002:a05:600c:2247:b0:40e:4576:53f7 with SMTP id a7-20020a05600c224700b0040e457653f7mr330077wmm.49.1705998914494; Tue, 23 Jan 2024 00:35:14 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id iv11-20020a05600c548b00b0040d8ff79fd8sm41778732wmb.7.2024.01.23.00.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 00:35:14 -0800 (PST) From: Krzysztof Kozlowski To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: pinctrl: amlogic: narrow regex for unit address to hex numbers Date: Tue, 23 Jan 2024 09:35:11 +0100 Message-Id: <20240123083511.21063-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788869769524861520 X-GMAIL-MSGID: 1788869769524861520 Regular expression used to match the unit address part should not allow non-hex numbers. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- .../devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml | 2 +- .../bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml | 2 +- .../bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml | 2 +- .../bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml | 2 +- .../bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml index c7df4cd34197..d9e0b2c48e84 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-a1.yaml @@ -24,7 +24,7 @@ required: - compatible patternProperties: - "^bank@[0-9a-z]+$": + "^bank@[0-9a-f]+$": $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml index 0942ea60c6cd..108719bde0d0 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-aobus.yaml @@ -21,7 +21,7 @@ required: - compatible patternProperties: - "^bank@[0-9a-z]+$": + "^bank@[0-9a-f]+$": $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml index e3c8bde30559..dc277f2e2edf 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson-pinctrl-g12a-periphs.yaml @@ -21,7 +21,7 @@ required: - compatible patternProperties: - "^bank@[0-9a-z]+$": + "^bank@[0-9a-f]+$": $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml index c1b03147e8ec..add83c676327 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml @@ -29,7 +29,7 @@ required: - compatible patternProperties: - "^bank@[0-9a-z]+$": + "^bank@[0-9a-f]+$": $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml index 4ec85b8248fa..412bbcc276f3 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml @@ -29,7 +29,7 @@ required: - compatible patternProperties: - "^bank@[0-9a-z]+$": + "^bank@[0-9a-f]+$": $ref: amlogic,meson-pinctrl-common.yaml#/$defs/meson-gpio unevaluatedProperties: false