Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp198714lqd; Tue, 23 Apr 2024 22:02:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPekd3E9EFiMD01PA2V/FXTsDJRYliQ/DqwuEPeURpqbhij2WDwDj01jQgPzG5tB+AoS4tCncq5cM0Sz2ow3HruXjdjjjyINNsBNJqWg== X-Google-Smtp-Source: AGHT+IHf7HwcBeNGcDSmAsqz3sCx+OVd+b4jHtJ24AoYDfIffbX2mDg6I4B3eSx1OAeg9Nptz0ib X-Received: by 2002:a17:907:3f07:b0:a58:920a:e204 with SMTP id hq7-20020a1709073f0700b00a58920ae204mr514636ejc.29.1713934938129; Tue, 23 Apr 2024 22:02:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713934938; cv=pass; d=google.com; s=arc-20160816; b=VFJlLTHWbu4lQZsFXQxeVFLEdrztVx+xcx8FB7/N6uHFQX0IaAvEMcE/IJDlIkUVoZ MD8tljslG0kTA+STCKx24qFPNS/Nk6S1hJxO/kvb7FSAwOw0u3yBGfmWy4IG1Yunn7/y BdKo91RaflWCKtZQm8/ntjuUkiWih2Ey06OR/dNmdjHMIa1GKaWvTy4XamkV2lSEJSOU hNq89CCQTkyL6Lq8FhzwQgooBUAdjc3d8QmKJv+4Dk76joy04ApCRJvwIq1QRj7EzwFm UqPiIYSWf2JwHIwvLz1Xx1cpHJHDZGVb1E8wzTGjB51FiBVTprm3OpdKX7q+wYfkQQHD 3gag== 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=zwJb8zBIwU1qwrSJtAlaHALtfn+UoOXAgTY/Ygz1F0c=; fh=PQ4HBviGg/qaQhw1gkIpEiraZokqAXejcEEEnnrVd6Y=; b=TaRYS367tVm6X/7dzbhdx4n38AlIyPVZ7gYHCjaVuGI8+uX01y0gxf4rPYglsv15Pj +pp3YLkkenv4Dl3gzpFRP2LGjTBpjVKVRTr3JWBoDsycbugf6eslheZyo5FVlK+u0ona s26dUXcBh5WsnUG98fZ6hEsleEIan0X8267y07fnz7J300Al0aNypypdkSccMI2NZaSy ni+K9Xu3ci4i+gul+X23hvFDH9JQYBsxw2S0FaFY4P04zt3RNY8qYXQH3a/nVx7tAVug UrYMhKz7B3KMbWjmMNZP9ecmtzRAy7IL4uVkksuD/SRWYJFthFtwOY0WzrfvglGn1U0R PcpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PB4HwtaL; 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-156280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h3-20020a17090619c300b00a55b58c12c0si3449672ejd.719.2024.04.23.22.02.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 22:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PB4HwtaL; 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-156280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156280-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 368671F25072 for ; Wed, 24 Apr 2024 04:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42A5E154455; Wed, 24 Apr 2024 04:56:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PB4HwtaL" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 CA0D4152DE3 for ; Wed, 24 Apr 2024 04:56:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713934572; cv=none; b=fnsnCV/FUmCpZcfrgrFCNwhdVkLIQrspyHfkUI5QHJzShlhUsrzKBzZKsmt2BRy3n3GCk2gGr9YZf9UYgdFN7Y0NG8mtlpUMQ/n8WuAm+wGVTz1lTNiFpPuoFZiCXN577LPelOQCiXjp+Cd5sc8yvA6E9aF7LhtzFdXW7CEBAE4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713934572; c=relaxed/simple; bh=6mib2j9Tqix0TaZXohSBIbKHbCUlawrXg7W6KyigNSw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BICHM0meSqn5q+dbkU5iHVAkCYyFccsMgo//h81aN39YVLu5ejOqkxgJwOzgSssn7/0s37RDdrTNwAK1IYa5vvw6Ia1Tm+xIO+x/WUM2uEhKIzAmQvuIaKGBooVohRnXe8+/17dPYoO65bLUhE0tqtWlVA+xe7lahXoWadhXzTU= 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=PB4HwtaL; arc=none smtp.client-ip=209.85.128.47 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-f47.google.com with SMTP id 5b1f17b1804b1-41a4f291f9dso23109665e9.2 for ; Tue, 23 Apr 2024 21:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713934569; x=1714539369; 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=zwJb8zBIwU1qwrSJtAlaHALtfn+UoOXAgTY/Ygz1F0c=; b=PB4HwtaLxwQuDAJ1+4S6Hh0f3R9pSQgD9j4bouQ7/8tkP2kNldm7ADdNkwhct/otUn pMniQwo1pll6SZ3QhbksTV/wDktKPTRT9A3Dc+cvjx0i4dA2ZSxbzADfawhOwc7RaArM uz4LrY+2kT4ZyHAX4bi42Do+gFLFQRFmuqMdEL2fU195fCIZXo2FpbQE5xsQY0FPWmL3 NaMuHkUG1cq3c6ZKbKXw2gZJPOI6DDysFp8ImTR4EOR/E6Us/CfZlWDLfbBAbvQlHbHk 7Rhh/Rxa6/Uy9F9lsCsU1Lz4t7O3fo4WPpTgDxgvDmUwR+SqflPe2vAo4/sSWO9eXcGb cuwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713934569; x=1714539369; 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=zwJb8zBIwU1qwrSJtAlaHALtfn+UoOXAgTY/Ygz1F0c=; b=rMJpVWFD0zxfB0X8vnZqdy2ni1bjbi2BPq94D1FTdYwxshD1QJv3jGUzbuwmPSMwt8 JOZDOPtpMJ/7o4A/gURxcG+OgjYMmAE3oid2WdWiKoYs0Uek7v97ivyU4tCm4pTKrXju c9IDqOZZ0i7VOAag+rL7fV97PGdWnI3UqE2aL2xE8V0grgUctc9bon4E2dChs0an6Y6Y /Jp6zygXnryj31riUcEYy5k4vek9/VyMmfUS2qDERjM6t4k04g6DvUTBJ/QTPVi3YKKn TlBhqJnmJtfVerm1xX7PHkO6n/+VmJRnpV5iYLUmeYQo+zHaTFBriAfC9rpFraZV54uO VmqA== X-Forwarded-Encrypted: i=1; AJvYcCW6avO58GztHKyPIO/rSLB8E5c67PEQ8KXuHXXZxRjCfw5z9/CfcWh2esekJsInrBd9cfJdzuQipoCJVCkeVKSa7mM3Z3cBUBxJa29s X-Gm-Message-State: AOJu0YwBUdQa4vOIz7Su/W+sb/uV17U6Nxu4HF1X8GWcVtodfPklR5Ws F6Ui0+MNtAtgYMu1+xlFilKgnLboxm3iSWqPKMtYjmA4iNKv/iH7rpB4g8uwlcU= X-Received: by 2002:a5d:4c82:0:b0:346:85a0:20af with SMTP id z2-20020a5d4c82000000b0034685a020afmr705374wrs.35.1713934568774; Tue, 23 Apr 2024 21:56:08 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id j6-20020adff006000000b00349856b640bsm16124704wro.67.2024.04.23.21.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 21:56:08 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: mfd: allwinner,sun6i-a31-prcm: Use hyphens in node names Date: Wed, 24 Apr 2024 06:55:21 +0200 Message-ID: <20240424045521.31857-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Underscores should not be used in node names (dtc with W=2 warns about them), so replace them with hyphens. This should have no impact on known users: Linux MFD driver does not care about children node names. DTS was already adjusted in commit 0f47ef3ff1bd ("arm: dts: allwinner: drop underscore in node names"), so without this change, we observe dtbs_check warnings: sun6i-a31s-colorfly-e708-q1.dtb: prcm@1f01400: 'ahb0-clk', 'apb0-clk', 'apb0-gates-clk', 'apb0-rst', 'ar100-clk', 'ir-clk' do not match any of the regexes: '^.*_(clk|rst)$', 'pinctrl-[0-9]+' Reported-by: Rob Herring Closes: https://lore.kernel.org/all/CAL_JsqJfT-jui5P56CO4Fr37kr5iNN8dpxt8ecKeFmdVGnRYbA@mail.gmail.com/ Signed-off-by: Krzysztof Kozlowski --- .../bindings/mfd/allwinner,sun6i-a31-prcm.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml b/Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml index 8789e3639ff7..ca0e9f1f2354 100644 --- a/Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml +++ b/Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml @@ -20,7 +20,7 @@ properties: maxItems: 1 patternProperties: - "^.*_(clk|rst)$": + "^.*-(clk|rst)$": type: object unevaluatedProperties: false @@ -171,7 +171,7 @@ examples: compatible = "allwinner,sun6i-a31-prcm"; reg = <0x01f01400 0x200>; - ar100: ar100_clk { + ar100: ar100-clk { compatible = "allwinner,sun6i-a31-ar100-clk"; #clock-cells = <0>; clocks = <&rtc 0>, <&osc24M>, @@ -180,7 +180,7 @@ examples: clock-output-names = "ar100"; }; - ahb0: ahb0_clk { + ahb0: ahb0-clk { compatible = "fixed-factor-clock"; #clock-cells = <0>; clock-div = <1>; @@ -189,14 +189,14 @@ examples: clock-output-names = "ahb0"; }; - apb0: apb0_clk { + apb0: apb0-clk { compatible = "allwinner,sun6i-a31-apb0-clk"; #clock-cells = <0>; clocks = <&ahb0>; clock-output-names = "apb0"; }; - apb0_gates: apb0_gates_clk { + apb0_gates: apb0-gates-clk { compatible = "allwinner,sun6i-a31-apb0-gates-clk"; #clock-cells = <1>; clocks = <&apb0>; @@ -206,14 +206,14 @@ examples: "apb0_i2c"; }; - ir_clk: ir_clk { + ir_clk: ir-clk { #clock-cells = <0>; compatible = "allwinner,sun4i-a10-mod0-clk"; clocks = <&rtc 0>, <&osc24M>; clock-output-names = "ir"; }; - apb0_rst: apb0_rst { + apb0_rst: apb0-rst { compatible = "allwinner,sun6i-a31-clock-reset"; #reset-cells = <1>; }; -- 2.43.0