From patchwork Tue Jan 7 13:10:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 855615 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 BFFD71E0DCE for ; Tue, 7 Jan 2025 13:10:31 +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=1736255434; cv=none; b=o4uo2cTJZuqnPTAzO35CHyhGKf/sWpKOABSUZ1s10niLfwujXe2EihiK7rbjSVN8jxQ7cWjN+9PBiyY2zGD/4vL7ebNBNFGYkZ0UcnN6G0BikXsGR9IB4Ym5Gxq6OIZXg8aJ9f2sAxJ9EHEtMbagmbovoSTSYMM0w2EXWCrOH0M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736255434; c=relaxed/simple; bh=Yp7wtG/6fbwK5J4heCVRQsbeAIaIxac6wdVB/naceR8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IN0wMQbBvXUN//e3T40VjIsZvPSi9JyXvbPi/7M4T8FkEiY8JrlLv6w/67WSGIsRlivL4S60fjd+/2zKiI4nVeyjI5+cJfmmE9ma/84kSGwBdzima0iXYKX2eMpedRtAAJSi9xou0kFnFoIZxVyBb09eg3ToxZEyA58Av84AxVA= 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=h8wdJ7pI; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h8wdJ7pI" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43658c452f5so22139985e9.0 for ; Tue, 07 Jan 2025 05:10:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736255430; x=1736860230; 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=cV4oC9+EL8srSyzO8Y7L+t+TVZRrKU1b9fLi0ltBXl4=; b=h8wdJ7pIy5SkhzAeW027VbvRrsQFzXiE+C133Ho/JYFQLWoC9HpM/J4I1hElPFINe0 t3MQEq8vlkwsVaCxqOQqUBNKeQBQYYYsVL8ABozXcIPaq5zE2rKrt9Cjo6/IyYgu5NRc uDYjPOpJ5F8lRXHycJUKdBwQE3lNVNjvaYGt478TySyii8RJ873CSZUGac6PoffKR1tV jsrCcDzAcK1c6rhKmfJENKseWDEu6l2Dd8JeFofnHCWQHYWg40YLks6h2lCGcqv3Yp0Q Imlby4YPbtWc8DmnLcwMrvX0uwoDRRHvJ9fQ0t3aUbGFPvZ671dou2KvBcNvwp+2gEVW kNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736255430; x=1736860230; 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=cV4oC9+EL8srSyzO8Y7L+t+TVZRrKU1b9fLi0ltBXl4=; b=PiO06pAxuYRDh8kENlbkslpx5Ofl87g3tetorRRVqx1EM8xsErhGEmV4JybSRteOgz gaL+20Ax60Yjlhi5sjJqmbVlaBqxhHRqIUZjnsypk1p8dXuz/MjBIVHSQQtP0/u83nUQ T3qq10kM5jnm4Ne7lNng/6ghNV6Rk/eJtzFnmYJiS54rMjJb8bz/0pYzh3Yo50jxgTSb yrolmbX7hmwBb+58tVByp4v9BFEwXXuqgWcL4F62agV+uefwfzM0UBGkJhrnrEbgPgZz Mz66NYI/S028fVXiMLMego+stoaWd1yXifhUuLE0AFARArL/zEy/V4lnwHxFThVLUBLT VwEA== X-Forwarded-Encrypted: i=1; AJvYcCXo/f4KzmvhqD2iTpYyN9mzFzGWwAURusPqNGP+Pu4u7tKofbNtIhKCo/eKgBSQUHu2IR6RZ/gXbA==@vger.kernel.org X-Gm-Message-State: AOJu0Yzo2JbYmvrYkGiuvYaSdh4kTKCHhdnflD+JyAEOPJT98pbLdPWI r9O21W6rjeXVxgEOLSpi2VBw1/l7qQK4MvZsj/9pHs2GzaWDC4sVK+tQdxA8y1o= X-Gm-Gg: ASbGnct5olzR6xYtbsAS/O4XSB9+xlL7ti3zfp9cqQKMiJslWndIzvjIWU3xsImhdVw Kiy3/d/3O/gHdIbRV9EwuPO6Y8kWcVxAtHIQ5WNQW1ydJzTZp6ZgDpdnDQ/zVyu5Kufv+ReNkD2 oecKqQFKpmUl+YJmiHHW060PIx1e2JYgWPbpfzUVXFpguaLo+8qhJcOli4mWJGl5FPR4O7Bj1jR SZuQ3zlpV83emQNSsjsBaKE08wvZIUw207q+jf96DA5fpy7KyBYmCQHOJIFOON/98U0MQU= X-Google-Smtp-Source: AGHT+IFojlvlfBDLwc4jTLHA9St8h6hsy3yqCuHX8QBdkRJhEHjq4U9E5nYclZkRpdSwtLeTTkzBFQ== X-Received: by 2002:a05:600c:1da0:b0:42c:aeee:80a with SMTP id 5b1f17b1804b1-43668b7a8b8mr201416125e9.7.1736255430084; Tue, 07 Jan 2025 05:10:30 -0800 (PST) Received: from krzk-bin.. ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611ea387sm603189915e9.6.2025.01.07.05.10.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2025 05:10:29 -0800 (PST) From: Krzysztof Kozlowski To: Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, imx@lists.linux.dev Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: thermal: Correct indentation and style in DTS example Date: Tue, 7 Jan 2025 14:10:26 +0100 Message-ID: <20250107131027.246608-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski --- .../thermal/allwinner,sun8i-a83t-ths.yaml | 48 +++++++++---------- .../bindings/thermal/imx-thermal.yaml | 36 +++++++------- .../bindings/thermal/imx8mm-thermal.yaml | 8 ++-- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml index dad8de900495..3e61689f6dd4 100644 --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml @@ -142,38 +142,38 @@ unevaluatedProperties: false examples: - | thermal-sensor@1f04000 { - compatible = "allwinner,sun8i-a83t-ths"; - reg = <0x01f04000 0x100>; - interrupts = <0 31 0>; - nvmem-cells = <&ths_calibration>; - nvmem-cell-names = "calibration"; - #thermal-sensor-cells = <1>; + compatible = "allwinner,sun8i-a83t-ths"; + reg = <0x01f04000 0x100>; + interrupts = <0 31 0>; + nvmem-cells = <&ths_calibration>; + nvmem-cell-names = "calibration"; + #thermal-sensor-cells = <1>; }; - | thermal-sensor@1c25000 { - compatible = "allwinner,sun8i-h3-ths"; - reg = <0x01c25000 0x400>; - clocks = <&ccu 0>, <&ccu 1>; - clock-names = "bus", "mod"; - resets = <&ccu 2>; - interrupts = <0 31 0>; - nvmem-cells = <&ths_calibration>; - nvmem-cell-names = "calibration"; - #thermal-sensor-cells = <0>; + compatible = "allwinner,sun8i-h3-ths"; + reg = <0x01c25000 0x400>; + clocks = <&ccu 0>, <&ccu 1>; + clock-names = "bus", "mod"; + resets = <&ccu 2>; + interrupts = <0 31 0>; + nvmem-cells = <&ths_calibration>; + nvmem-cell-names = "calibration"; + #thermal-sensor-cells = <0>; }; - | thermal-sensor@5070400 { - compatible = "allwinner,sun50i-h6-ths"; - reg = <0x05070400 0x100>; - clocks = <&ccu 0>; - clock-names = "bus"; - resets = <&ccu 2>; - interrupts = <0 15 0>; - nvmem-cells = <&ths_calibration>; - nvmem-cell-names = "calibration"; - #thermal-sensor-cells = <1>; + compatible = "allwinner,sun50i-h6-ths"; + reg = <0x05070400 0x100>; + clocks = <&ccu 0>; + clock-names = "bus"; + resets = <&ccu 2>; + interrupts = <0 15 0>; + nvmem-cells = <&ths_calibration>; + nvmem-cell-names = "calibration"; + #thermal-sensor-cells = <1>; }; ... diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index 337560562337..949b154856c5 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -80,19 +80,19 @@ examples: #include efuse@21bc000 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "fsl,imx6sx-ocotp", "syscon"; - reg = <0x021bc000 0x4000>; - clocks = <&clks IMX6SX_CLK_OCOTP>; + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,imx6sx-ocotp", "syscon"; + reg = <0x021bc000 0x4000>; + clocks = <&clks IMX6SX_CLK_OCOTP>; - tempmon_calib: calib@38 { - reg = <0x38 4>; - }; + tempmon_calib: calib@38 { + reg = <0x38 4>; + }; - tempmon_temp_grade: temp-grade@20 { - reg = <0x20 4>; - }; + tempmon_temp_grade: temp-grade@20 { + reg = <0x20 4>; + }; }; anatop@20c8000 { @@ -103,12 +103,12 @@ examples: <0 127 IRQ_TYPE_LEVEL_HIGH>; tempmon { - compatible = "fsl,imx6sx-tempmon"; - interrupts = ; - fsl,tempmon = <&anatop>; - nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; - nvmem-cell-names = "calib", "temp_grade"; - clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; - #thermal-sensor-cells = <0>; + compatible = "fsl,imx6sx-tempmon"; + interrupts = ; + fsl,tempmon = <&anatop>; + nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; + nvmem-cell-names = "calib", "temp_grade"; + clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; + #thermal-sensor-cells = <0>; }; }; diff --git a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml index bef0e95e7416..df6c7c5d519f 100644 --- a/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx8mm-thermal.yaml @@ -63,10 +63,10 @@ examples: #include thermal-sensor@30260000 { - compatible = "fsl,imx8mm-tmu"; - reg = <0x30260000 0x10000>; - clocks = <&clk IMX8MM_CLK_TMU_ROOT>; - #thermal-sensor-cells = <0>; + compatible = "fsl,imx8mm-tmu"; + reg = <0x30260000 0x10000>; + clocks = <&clk IMX8MM_CLK_TMU_ROOT>; + #thermal-sensor-cells = <0>; }; ...