mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sven Peter <sven@kernel.org>
To: Janne Grunau <j@jannau.net>, Neal Gompa <neal@gompa.dev>,
	 Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Sven Peter <sven@kernel.org>
Subject: [PATCH] arm64: dts: apple: Lowercase hwmon node names
Date: Sat, 14 Nov 2026 14:03:35 +0100	[thread overview]
Message-ID: <20261114-b4-hwmon-nodes-v1-1-7d0a9674e3ae@kernel.org> (raw)

Fix the following dt-check-style strict warnings by using lower-case for
hwmon node names:

  arch/arm64/boot/dts/apple/hwmon-common.dtsi:9: [node-name] node name "power-PSTR" is using discouraged style

Signed-off-by: Sven Peter <sven@kernel.org>
---
 arch/arm64/boot/dts/apple/hwmon-common.dtsi   | 12 ++++++------
 arch/arm64/boot/dts/apple/hwmon-fan-dual.dtsi |  4 ++--
 arch/arm64/boot/dts/apple/hwmon-fan.dtsi      |  2 +-
 arch/arm64/boot/dts/apple/hwmon-laptop.dtsi   | 12 ++++++------
 arch/arm64/boot/dts/apple/hwmon-mini.dtsi     |  2 +-
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/arch/arm64/boot/dts/apple/hwmon-common.dtsi b/arch/arm64/boot/dts/apple/hwmon-common.dtsi
index a35c7b14fec8..b5153332e819 100644
--- a/arch/arm64/boot/dts/apple/hwmon-common.dtsi
+++ b/arch/arm64/boot/dts/apple/hwmon-common.dtsi
@@ -6,32 +6,32 @@
  */
 
 &smc_hwmon {
-	power-PSTR {
+	power-pstr {
 		apple,key-id = "PSTR";
 		label = "Total System Power";
 	};
 
-	power-PDTR {
+	power-pdtr {
 		apple,key-id = "PDTR";
 		label = "AC Input Power";
 	};
 
-	power-PMVR {
+	power-pmvr {
 		apple,key-id = "PMVR";
 		label = "3.8 V Rail Power";
 	};
 
-	temperature-TH0x {
+	temperature-th0x {
 		apple,key-id = "TH0x";
 		label = "NAND Flash Temperature";
 	};
 
-	voltage-VD0R {
+	voltage-vd0r {
 		apple,key-id = "VD0R";
 		label = "AC Input Voltage";
 	};
 
-	current-ID0R {
+	current-id0r {
 		apple,key-id = "ID0R";
 		label = "AC Input Current";
 	};
diff --git a/arch/arm64/boot/dts/apple/hwmon-fan-dual.dtsi b/arch/arm64/boot/dts/apple/hwmon-fan-dual.dtsi
index e87997d21e22..771484ed5870 100644
--- a/arch/arm64/boot/dts/apple/hwmon-fan-dual.dtsi
+++ b/arch/arm64/boot/dts/apple/hwmon-fan-dual.dtsi
@@ -8,11 +8,11 @@
 #include "hwmon-fan.dtsi"
 
 &smc_hwmon {
-	fan-F0Ac {
+	fan-f0ac {
 		label = "Fan 1";
 	};
 
-	fan-F1Ac {
+	fan-f1ac {
 		apple,key-id = "F1Ac";
 		label = "Fan 2";
 		apple,fan-minimum = "F1Mn";
diff --git a/arch/arm64/boot/dts/apple/hwmon-fan.dtsi b/arch/arm64/boot/dts/apple/hwmon-fan.dtsi
index 180eb8d7441f..b36d0c9b6af3 100644
--- a/arch/arm64/boot/dts/apple/hwmon-fan.dtsi
+++ b/arch/arm64/boot/dts/apple/hwmon-fan.dtsi
@@ -6,7 +6,7 @@
  */
 
 &smc_hwmon {
-	fan-F0Ac {
+	fan-f0ac {
 		apple,key-id = "F0Ac";
 		label = "Fan";
 		apple,fan-minimum = "F0Mn";
diff --git a/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi b/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi
index cadffd000c76..674013b1f387 100644
--- a/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi
+++ b/arch/arm64/boot/dts/apple/hwmon-laptop.dtsi
@@ -6,32 +6,32 @@
  */
 
 &smc_hwmon {
-	power-PHPC {
+	power-phpc {
 		apple,key-id = "PHPC";
 		label = "Heatpipe Power";
 	};
 
-	temperature-TB0T {
+	temperature-tb0t {
 		apple,key-id = "TB0T";
 		label = "Battery Hotspot";
 	};
 
-	temperature-TCHP {
+	temperature-tchp {
 		apple,key-id = "TCHP";
 		label = "Charge Regulator Temp";
 	};
 
-	temperature-TW0P {
+	temperature-tw0p {
 		apple,key-id = "TW0P";
 		label = "WiFi/BT Module Temp";
 	};
 
-	voltage-SBAV {
+	voltage-sbav {
 		apple,key-id = "SBAV";
 		label = "Battery Voltage";
 	};
 
-	voltage-VD0R {
+	voltage-vd0r {
 		apple,key-id = "VD0R";
 		label = "Charger Input Voltage";
 	};
diff --git a/arch/arm64/boot/dts/apple/hwmon-mini.dtsi b/arch/arm64/boot/dts/apple/hwmon-mini.dtsi
index 7fd86e911acf..ce61805dc879 100644
--- a/arch/arm64/boot/dts/apple/hwmon-mini.dtsi
+++ b/arch/arm64/boot/dts/apple/hwmon-mini.dtsi
@@ -9,7 +9,7 @@
 #include "hwmon-fan.dtsi"
 
 &smc_hwmon {
-	temperature-TW0P {
+	temperature-tw0p {
 		apple,key-id = "TW0P";
 		label = "WiFi/BT Module Temp";
 	};

---
base-commit: 7809dfc2040bd6b8808da2cb7b8ce429ce3df946
change-id: 20261114-b4-hwmon-nodes-a69b2ae51277

Best regards,
--  
Sven Peter <sven@kernel.org>



                 reply	other threads:[~2026-11-14 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261114-b4-hwmon-nodes-v1-1-7d0a9674e3ae@kernel.org \
    --to=sven@kernel.org \
    --cc=asahi@lists.linux.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=j@jannau.net \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neal@gompa.dev \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®