From nobody Fri Sep 20 01:35:11 2024 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 9EC0F16A938 for ; Fri, 5 Jul 2024 09:52:35 +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=1720173158; cv=none; b=tZ94oVKybJmnb++bIBSMs7z4TP6fj0YCibN2ncRlRAyitn1tzkj1ODvQnTTFAFxTGKnfc6ZveI2DGZalYRavHhULOVweUacpDrDyZQ4bh1fH+mFFKDg70F5BG9hScj73Dp32HUVBwzel7jodqaPCmpDKiXVA6RvryEcvKi3iEF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720173158; c=relaxed/simple; bh=H6+ILgi/j/YqzVvmiz8JSiOJwoMUpOHpLCtc3/i93XA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MJ83nyppYsl0Cj48tu+Q4XPl0hAG9WdGnxz7uEeYCNYkw5+5ei0sOMXGS6fmqXt8vm862Fl6gFw1j853QalE3gnssfyJJYTnhVuoD/Xrjnd7LiqZbjRrLsNAWUVU1CJNta5hv59a9Rv4+TcjJ7fqCZFsyQBCQbMP1Nqz33k/UHI= 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=gVkIgvNU; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gVkIgvNU" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-42565670e20so15713405e9.0 for ; Fri, 05 Jul 2024 02:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720173154; x=1720777954; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LG/4CrXAqptFfEbMYtGXqzKFaFf7btwysdnKxl9qum8=; b=gVkIgvNUmzNSIOE8mzlKc8bLGvNJG0tgCkLuC7kTHxuMEadDRMdUeTdZ5OUR+VSKUT O8S91adOYIbPx6Eh/W3LYwQCEVdGegfP/gr+HNfGMLZ97XjhO8BBDL54VgDv0srdxZSH F+VRq6vebZ2snS5FUpUJkwlk+3bEtuietpCeioeZCamb7uU26GxRJh9j7zZxBsUJTmGF D0O3oRCqjbE9dinqUXYs4gexxGS5rs6vecLjvg7xpMmuyncx0fpNIuaDJ/KKW3Deqhym O0qBWi6vm4ZhIbUqQ1dNju0QLrd7nNyl1caETw6AoYQUWy76tLX0yiCaz71Ms2UJ+pZO BjOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720173154; x=1720777954; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LG/4CrXAqptFfEbMYtGXqzKFaFf7btwysdnKxl9qum8=; b=NDaXxSNYMGLUw889u2x+sUkeDyHZ/TJCvz7uT/nEu4ydd3F6YMOayOETKq+iRltF8m AeWB5TbtGNbMppIiR9vJ1foAcjEXWLBwnBbMKOFb4w++5V1BT3X3t//AXmLJgXf+9Ca2 mvY/WzIzqTjPvIOFELy2zByKzTGXNYQ90cW9rvSC0e2RH9ynElQTr7QuMA+HiHgcC5h2 OWSFE1OlnLzPl5mcqap8iANi9XbV7+PksTRsRxSivQ34+dqU1jelB/dc8ZOeOVmCbpfe 3AAOnPyZAOBLiTbvy+s9uzNxvJhVrqlheXxfXobOgWwCD+mhGavnTE5oxD0jsXPWTB3w Xurw== X-Forwarded-Encrypted: i=1; AJvYcCXq62GW1PvqVTScAwsr6Jp1c4JUFQGsIDOjtQH7Klo2lMQp3BTGioqmlmb3yO1SmxJFEsXbM5pywy8qn5eUVNL4T6DMuQwl20wzG+6t X-Gm-Message-State: AOJu0YxJS4AO9wn7f6Wy+PFqc5Y35O/9A+V0avaikD1Cn7jqqz9wuoR9 Rk0NnjN/6Cx33VDNcfWJlv5AgiUArSXcVIwOAsNZ5AI321vCmDxWnlrQDvBHuuc= X-Google-Smtp-Source: AGHT+IEvcyctBw9s7z1yzwNzhKPTOdYB5wBXpkTjIqVgkLrTSK+XCUaUI+wUWDgZyRBoOJfeGDCZdw== X-Received: by 2002:a05:600c:54e6:b0:424:ac5a:fc38 with SMTP id 5b1f17b1804b1-4264b161646mr38383395e9.13.1720173154161; Fri, 05 Jul 2024 02:52:34 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4264a1d1650sm55528995e9.2.2024.07.05.02.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 02:52:33 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 05 Jul 2024 11:51:41 +0200 Subject: [PATCH RESEND 22/22] dt-bindings: thermal: cleanup examples indentation Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240705-dt-bindings-thermal-allof-v1-22-554061b52fbc@linaro.org> References: <20240705-dt-bindings-thermal-allof-v1-0-554061b52fbc@linaro.org> In-Reply-To: <20240705-dt-bindings-thermal-allof-v1-0-554061b52fbc@linaro.org> To: Daniel Lezcano , Zhang Rui , Rob Herring , Conor Dooley , Guillaume La Roque , Krzysztof Kozlowski , Chen-Yu Tsai , Fabio Estevam Cc: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-sunxi@lists.linux.dev, imx@lists.linux.dev, linux-tegra@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Conor Dooley , Krzysztof Kozlowski X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=21322; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=H6+ILgi/j/YqzVvmiz8JSiOJwoMUpOHpLCtc3/i93XA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmh8I3KWNyjKUf6Omk6AZm7Ylgqw4Wej0VBP0Q/ dfW4TPk90mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZofCNwAKCRDBN2bmhouD 1y/eD/9hz+J9T+3Z9JNwdjgkBSteuKRo2tZtK+Y+nIPKxk38RUIAjoLSIEpHW2305PRXQL/iWJT tPKk4pA8jBpY036K/0Q2mUVJcMRQqq9CCD/A+btrsYo7gyQMNWrDUemRB8RFXcWC/vPHhHNwh3M ruSoHurBL16z3Qgye18xAmkPj/8JFDrgIxCLd3iau1Ow1IB0703+TiS8scRumqXyWsfbjk1rCIw svHGBzHRhzmNKQ94uEEVMXiaORIqxV+udqAAp/cZ0B3DBlJN6HfrXP+OxA0o6SQBe2d2fhlIZBj bS2Q8q1wmgKI2Lfes3FjLdiPhHi9YBaPh814SOPhl6Pr82/8/XX+XVndpCgxNfp0WeTyqR4dZ+1 nX2SK44yMzQD3vW1GScfvlCJh01BnKuw3tIZ0xhkmVu2JtjstvHRdjJAJmTyT93ythxNkgYc9YY +pv+4Qm3KUbterflF80nCwUwScwrHO1SijiGaV1CWoLrmkEFmSUyF+vMgj+NcaajuZ+NkHz4zSj lui42bIU1vS7eTNLCMpYmcDzl8+1vczVzMPu9s+Hajk6tcP8v4YXVHR4IkfeGy50PL+EaCMVmf3 IXVcDMzNrk83IodG9775AdoGYzImrJR0MQouys+NglEUF0vjJtm4jWFglAodEHBS8s8I93mqGIk 2oJwJMZN9+UrwwA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Preferred indentation for DTS examples in the bindings is 4-space. It is also preferred not to have redundant/unused labels. No functional change Acked-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski --- .../bindings/thermal/amlogic,thermal.yaml | 18 ++--- .../bindings/thermal/brcm,avs-ro-thermal.yaml | 16 ++-- .../devicetree/bindings/thermal/brcm,avs-tmon.yaml | 16 ++-- .../devicetree/bindings/thermal/qcom-tsens.yaml | 88 ++++++++++--------= ---- .../bindings/thermal/rcar-gen3-thermal.yaml | 64 ++++++++-------- .../devicetree/bindings/thermal/rcar-thermal.yaml | 60 +++++++-------- .../devicetree/bindings/thermal/rzg2l-thermal.yaml | 36 ++++----- .../devicetree/bindings/thermal/sprd-thermal.yaml | 42 +++++------ .../bindings/thermal/ti,am654-thermal.yaml | 10 +-- 9 files changed, 172 insertions(+), 178 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml= b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml index e52fc40e215d..725303e1a364 100644 --- a/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml @@ -50,13 +50,13 @@ unevaluatedProperties: false =20 examples: - | - cpu_temp: temperature-sensor@ff634800 { - compatible =3D "amlogic,g12a-cpu-thermal", - "amlogic,g12a-thermal"; - reg =3D <0xff634800 0x50>; - interrupts =3D <0x0 0x24 0x0>; - clocks =3D <&clk 164>; - #thermal-sensor-cells =3D <0>; - amlogic,ao-secure =3D <&sec_AO>; - }; + temperature-sensor@ff634800 { + compatible =3D "amlogic,g12a-cpu-thermal", + "amlogic,g12a-thermal"; + reg =3D <0xff634800 0x50>; + interrupts =3D <0x0 0x24 0x0>; + clocks =3D <&clk 164>; + #thermal-sensor-cells =3D <0>; + amlogic,ao-secure =3D <&sec_AO>; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.= yaml b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml index 0271a0bc1843..29a9844e8b48 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml @@ -35,14 +35,14 @@ unevaluatedProperties: false =20 examples: - | - avs-monitor@7d5d2000 { - compatible =3D "brcm,bcm2711-avs-monitor", - "syscon", "simple-mfd"; - reg =3D <0x7d5d2000 0xf00>; + avs-monitor@7d5d2000 { + compatible =3D "brcm,bcm2711-avs-monitor", + "syscon", "simple-mfd"; + reg =3D <0x7d5d2000 0xf00>; =20 - thermal: thermal { - compatible =3D "brcm,bcm2711-thermal"; - #thermal-sensor-cells =3D <0>; - }; + thermal: thermal { + compatible =3D "brcm,bcm2711-thermal"; + #thermal-sensor-cells =3D <0>; }; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml b= /Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml index 32730211e15b..081486b44382 100644 --- a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.yaml @@ -45,11 +45,11 @@ required: =20 examples: - | - thermal@f04d1500 { - compatible =3D "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; - reg =3D <0xf04d1500 0x28>; - interrupts =3D <0x6>; - interrupt-names =3D "tmon"; - interrupt-parent =3D <&avs_host_l2_intc>; - #thermal-sensor-cells =3D <0>; - }; + thermal@f04d1500 { + compatible =3D "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; + reg =3D <0xf04d1500 0x28>; + interrupts =3D <0x6>; + interrupt-names =3D "tmon"; + interrupt-parent =3D <&avs_host_l2_intc>; + #thermal-sensor-cells =3D <0>; + }; diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Do= cumentation/devicetree/bindings/thermal/qcom-tsens.yaml index cce6624228c7..01f9f45b94c2 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -295,22 +295,16 @@ unevaluatedProperties: false examples: - | #include - // Example msm9860 based SoC (ipq8064): - gcc: clock-controller { + thermal-sensor { + compatible =3D "qcom,ipq8064-tsens"; =20 - /* ... */ + nvmem-cells =3D <&tsens_calib>, <&tsens_calib_backup>; + nvmem-cell-names =3D "calib", "calib_backup"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - tsens: thermal-sensor { - compatible =3D "qcom,ipq8064-tsens"; - - nvmem-cells =3D <&tsens_calib>, <&tsens_calib_backup>; - nvmem-cell-names =3D "calib", "calib_backup"; - interrupts =3D ; - interrupt-names =3D "uplow"; - - #qcom,sensors =3D <11>; - #thermal-sensor-cells =3D <1>; - }; + #qcom,sensors =3D <11>; + #thermal-sensor-cells =3D <1>; }; =20 - | @@ -347,66 +341,66 @@ examples: #include // Example 1 (legacy: for pre v1 IP): tsens1: thermal-sensor@4a9000 { - compatible =3D "qcom,msm8916-tsens", "qcom,tsens-v0_1"; - reg =3D <0x4a9000 0x1000>, /* TM */ - <0x4a8000 0x1000>; /* SROT */ + compatible =3D "qcom,msm8916-tsens", "qcom,tsens-v0_1"; + reg =3D <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ =20 - nvmem-cells =3D <&tsens_caldata>, <&tsens_calsel>; - nvmem-cell-names =3D "calib", "calib_sel"; + nvmem-cells =3D <&tsens_caldata>, <&tsens_calsel>; + nvmem-cell-names =3D "calib", "calib_sel"; =20 - interrupts =3D ; - interrupt-names =3D "uplow"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - #qcom,sensors =3D <5>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <5>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 2 (for any platform containing v1 of the TSENS IP): tsens2: thermal-sensor@4a9000 { - compatible =3D "qcom,qcs404-tsens", "qcom,tsens-v1"; - reg =3D <0x004a9000 0x1000>, /* TM */ - <0x004a8000 0x1000>; /* SROT */ + compatible =3D "qcom,qcs404-tsens", "qcom,tsens-v1"; + reg =3D <0x004a9000 0x1000>, /* TM */ + <0x004a8000 0x1000>; /* SROT */ =20 - nvmem-cells =3D <&tsens_caldata>; - nvmem-cell-names =3D "calib"; + nvmem-cells =3D <&tsens_caldata>; + nvmem-cell-names =3D "calib"; =20 - interrupts =3D ; - interrupt-names =3D "uplow"; + interrupts =3D ; + interrupt-names =3D "uplow"; =20 - #qcom,sensors =3D <10>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <10>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 3 (for any platform containing v2 of the TSENS IP): tsens3: thermal-sensor@c263000 { - compatible =3D "qcom,sdm845-tsens", "qcom,tsens-v2"; - reg =3D <0xc263000 0x1ff>, - <0xc222000 0x1ff>; + compatible =3D "qcom,sdm845-tsens", "qcom,tsens-v2"; + reg =3D <0xc263000 0x1ff>, + <0xc222000 0x1ff>; =20 - interrupts =3D , - ; - interrupt-names =3D "uplow", "critical"; + interrupts =3D , + ; + interrupt-names =3D "uplow", "critical"; =20 - #qcom,sensors =3D <13>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <13>; + #thermal-sensor-cells =3D <1>; }; =20 - | #include // Example 4 (for any IPQ8074 based SoC-s): tsens4: thermal-sensor@4a9000 { - compatible =3D "qcom,ipq8074-tsens"; - reg =3D <0x4a9000 0x1000>, - <0x4a8000 0x1000>; + compatible =3D "qcom,ipq8074-tsens"; + reg =3D <0x4a9000 0x1000>, + <0x4a8000 0x1000>; =20 - interrupts =3D ; - interrupt-names =3D "combined"; + interrupts =3D ; + interrupt-names =3D "combined"; =20 - #qcom,sensors =3D <16>; - #thermal-sensor-cells =3D <1>; + #qcom,sensors =3D <16>; + #thermal-sensor-cells =3D <1>; }; ... diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.ya= ml b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml index d92e882c9e8d..b6657d64cf3d 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml @@ -106,33 +106,33 @@ examples: #include =20 tsc: thermal@e6198000 { - compatible =3D "renesas,r8a7795-thermal"; - reg =3D <0xe6198000 0x100>, - <0xe61a0000 0x100>, - <0xe61a8000 0x100>; - interrupts =3D , - , - ; - clocks =3D <&cpg CPG_MOD 522>; - power-domains =3D <&sysc R8A7795_PD_ALWAYS_ON>; - resets =3D <&cpg 522>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r8a7795-thermal"; + reg =3D <0xe6198000 0x100>, + <0xe61a0000 0x100>, + <0xe61a8000 0x100>; + interrupts =3D , + , + ; + clocks =3D <&cpg CPG_MOD 522>; + power-domains =3D <&sysc R8A7795_PD_ALWAYS_ON>; + resets =3D <&cpg 522>; + #thermal-sensor-cells =3D <1>; }; =20 thermal-zones { - sensor_thermal: sensor-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsc 0>; + sensor_thermal: sensor-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsc 0>; =20 - trips { - sensor1_crit: sensor1-crit { - temperature =3D <90000>; - hysteresis =3D <2000>; - type =3D "critical"; - }; - }; + trips { + sensor1_crit: sensor1-crit { + temperature =3D <90000>; + hysteresis =3D <2000>; + type =3D "critical"; + }; }; + }; }; - | #include @@ -140,14 +140,14 @@ examples: #include =20 tsc_r8a779a0: thermal@e6190000 { - compatible =3D "renesas,r8a779a0-thermal"; - reg =3D <0xe6190000 0x200>, - <0xe6198000 0x200>, - <0xe61a0000 0x200>, - <0xe61a8000 0x200>, - <0xe61b0000 0x200>; - clocks =3D <&cpg CPG_MOD 919>; - power-domains =3D <&sysc R8A779A0_PD_ALWAYS_ON>; - resets =3D <&cpg 919>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r8a779a0-thermal"; + reg =3D <0xe6190000 0x200>, + <0xe6198000 0x200>, + <0xe61a0000 0x200>, + <0xe61a8000 0x200>, + <0xe61b0000 0x200>; + clocks =3D <&cpg CPG_MOD 919>; + power-domains =3D <&sysc R8A779A0_PD_ALWAYS_ON>; + resets =3D <&cpg 919>; + #thermal-sensor-cells =3D <1>; }; diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml b/= Documentation/devicetree/bindings/thermal/rcar-thermal.yaml index 119998d10ff4..221a58d18cad 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.yaml @@ -98,8 +98,8 @@ examples: # Example (non interrupt support) - | thermal@ffc48000 { - compatible =3D "renesas,thermal-r8a7779", "renesas,rcar-therma= l"; - reg =3D <0xffc48000 0x38>; + compatible =3D "renesas,thermal-r8a7779", "renesas,rcar-thermal"; + reg =3D <0xffc48000 0x38>; }; =20 # Example (interrupt support) @@ -109,12 +109,12 @@ examples: #include =20 thermal@e61f0000 { - compatible =3D "renesas,thermal-r8a73a4", "renesas,rcar-therma= l"; - reg =3D <0xe61f0000 0x14>, <0xe61f0100 0x38>, - <0xe61f0200 0x38>, <0xe61f0300 0x38>; - interrupts =3D ; - clocks =3D <&mstp5_clks R8A73A4_CLK_THERMAL>; - power-domains =3D <&pd_c5>; + compatible =3D "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; + reg =3D <0xe61f0000 0x14>, <0xe61f0100 0x38>, + <0xe61f0200 0x38>, <0xe61f0300 0x38>; + interrupts =3D ; + clocks =3D <&mstp5_clks R8A73A4_CLK_THERMAL>; + power-domains =3D <&pd_c5>; }; =20 # Example (with thermal-zone) @@ -124,32 +124,32 @@ examples: #include =20 thermal: thermal@e61f0000 { - compatible =3D "renesas,thermal-r8a7790", - "renesas,rcar-gen2-thermal", - "renesas,rcar-thermal"; - reg =3D <0xe61f0000 0x10>, <0xe61f0100 0x38>; - interrupts =3D ; - clocks =3D <&cpg CPG_MOD 522>; - power-domains =3D <&sysc R8A7790_PD_ALWAYS_ON>; - resets =3D <&cpg 522>; - #thermal-sensor-cells =3D <0>; + compatible =3D "renesas,thermal-r8a7790", + "renesas,rcar-gen2-thermal", + "renesas,rcar-thermal"; + reg =3D <0xe61f0000 0x10>, <0xe61f0100 0x38>; + interrupts =3D ; + clocks =3D <&cpg CPG_MOD 522>; + power-domains =3D <&sysc R8A7790_PD_ALWAYS_ON>; + resets =3D <&cpg 522>; + #thermal-sensor-cells =3D <0>; }; =20 thermal-zones { - cpu_thermal: cpu-thermal { - polling-delay-passive =3D <1000>; - polling-delay =3D <5000>; + cpu_thermal: cpu-thermal { + polling-delay-passive =3D <1000>; + polling-delay =3D <5000>; =20 - thermal-sensors =3D <&thermal>; + thermal-sensors =3D <&thermal>; =20 - trips { - cpu-crit { - temperature =3D <115000>; - hysteresis =3D <0>; - type =3D "critical"; - }; - }; - cooling-maps { - }; + trips { + cpu-crit { + temperature =3D <115000>; + hysteresis =3D <0>; + type =3D "critical"; + }; }; + cooling-maps { + }; + }; }; diff --git a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml b= /Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml index 2f96c0fe0f75..136589f5adee 100644 --- a/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml @@ -53,27 +53,27 @@ examples: #include =20 tsu: thermal@10059400 { - compatible =3D "renesas,r9a07g044-tsu", - "renesas,rzg2l-tsu"; - reg =3D <0x10059400 0x400>; - clocks =3D <&cpg CPG_MOD R9A07G044_TSU_PCLK>; - resets =3D <&cpg R9A07G044_TSU_PRESETN>; - power-domains =3D <&cpg>; - #thermal-sensor-cells =3D <1>; + compatible =3D "renesas,r9a07g044-tsu", + "renesas,rzg2l-tsu"; + reg =3D <0x10059400 0x400>; + clocks =3D <&cpg CPG_MOD R9A07G044_TSU_PCLK>; + resets =3D <&cpg R9A07G044_TSU_PRESETN>; + power-domains =3D <&cpg>; + #thermal-sensor-cells =3D <1>; }; =20 thermal-zones { - cpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsu 0>; + cpu-thermal { + polling-delay-passive =3D <250>; + polling-delay =3D <1000>; + thermal-sensors =3D <&tsu 0>; =20 - trips { - sensor_crit: sensor-crit { - temperature =3D <125000>; - hysteresis =3D <1000>; - type =3D "critical"; - }; - }; + trips { + sensor_crit: sensor-crit { + temperature =3D <125000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; }; + }; }; diff --git a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml b/= Documentation/devicetree/bindings/thermal/sprd-thermal.yaml index f65076fc68f9..afa551f6185f 100644 --- a/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/sprd-thermal.yaml @@ -86,27 +86,27 @@ unevaluatedProperties: false =20 examples: - | - ap_thm0: thermal@32200000 { - compatible =3D "sprd,ums512-thermal"; - reg =3D <0x32200000 0x10000>; - clock-names =3D "enable"; - clocks =3D <&aonapb_gate 32>; - #thermal-sensor-cells =3D <1>; - nvmem-cells =3D <&thm0_sign>, <&thm0_ratio>; - nvmem-cell-names =3D "thm_sign_cal", "thm_ratio_cal"; - #address-cells =3D <1>; - #size-cells =3D <0>; + thermal@32200000 { + compatible =3D "sprd,ums512-thermal"; + reg =3D <0x32200000 0x10000>; + clock-names =3D "enable"; + clocks =3D <&aonapb_gate 32>; + #thermal-sensor-cells =3D <1>; + nvmem-cells =3D <&thm0_sign>, <&thm0_ratio>; + nvmem-cell-names =3D "thm_sign_cal", "thm_ratio_cal"; + #address-cells =3D <1>; + #size-cells =3D <0>; =20 - prometheus-sensor@0 { - reg =3D <0>; - nvmem-cells =3D <&thm0_sen0>; - nvmem-cell-names =3D "sen_delta_cal"; - }; - - ank-sensor@1 { - reg =3D <1>; - nvmem-cells =3D <&thm0_sen1>; - nvmem-cell-names =3D "sen_delta_cal"; - }; + prometheus-sensor@0 { + reg =3D <0>; + nvmem-cells =3D <&thm0_sen0>; + nvmem-cell-names =3D "sen_delta_cal"; }; + + ank-sensor@1 { + reg =3D <1>; + nvmem-cells =3D <&thm0_sen1>; + nvmem-cell-names =3D "sen_delta_cal"; + }; + }; ... diff --git a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yam= l b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml index 16801aa78bc2..c123d9070525 100644 --- a/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml @@ -47,11 +47,11 @@ examples: thermal-sensors =3D <&vtm0 0>; =20 trips { - mpu0_crit: mpu0_crit { - temperature =3D <125000>; /* milliCelsius */ - hysteresis =3D <2000>; /* milliCelsius */ - type =3D "critical"; - }; + mpu0_crit: mpu0_crit { + temperature =3D <125000>; /* milliCelsius */ + hysteresis =3D <2000>; /* milliCelsius */ + type =3D "critical"; + }; }; }; ... --=20 2.43.0