From nobody Thu Apr 2 12:13:09 2026 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (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 587D236BCC3 for ; Sun, 29 Mar 2026 12:35:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774787713; cv=none; b=XC4SEep5HwF3AWnYCdqbHcgNXINtwyXN+ikL8Zp+QIwAC/QXiln5ICQKxWUpkHbyEDtwew7ozpqcKkBIO5yrLl9Zh/o5ekEprwsMChnNvLYMQ7TqXjkM2u9bz2LrdxNKpy6Ejk+6M0nOln/kLCzEfvOhQAlGyTGrYJ12Inr2gOU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774787713; c=relaxed/simple; bh=Z3qCgdReWQ1prJb0XmYEgTOQ/bvofKyS6Un91gtBtJ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hFLL3H8ZKc7PPfwga6J0ZPegt2VUC+QcrqXy6uerXQP5zMu9O1uGwQ2vwRU6rzTKpE3qFP0gRtymBzpC3mFJI8chF9EJ0HCs5V1/C8U92ceKHd9yQ6aepuxy4CT7jVxoncrYevwy4fooFCrqqwTXTH/Cb7XrnyqrXL9Z3DRFqaY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BXncDH9W; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BXncDH9W" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-c70f91776fcso1441051a12.0 for ; Sun, 29 Mar 2026 05:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774787711; x=1775392511; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7tLsn8hpa4BdCwst8VwbSLWHz/M72CzfhEMC9Z3GeEs=; b=BXncDH9W3zj+WaCTqor75xZHyvDsNzpEiElUC+59+6FJlUjBgUboRLknZzBNFNJKGO 5nn2O3fKxIgFmkdQSxJGW/48IO1x2n2k9RZbkhKRLWD8EhXFHVWsUDVXLIVB7x0ntwcL /v8tkPkHunMEaSZCvENjj9uW9iSm0IjBCwdSnZMymhxnz7ep5D7mp+g3zD/zuh8wJIkn 7k/0O8RadGm3nr/vCH7Cn52+aKFRWDUq21EHgcawyEFIz/Vi9YKA2AUAnXLPVybJ24kh xRkE+Wnj1f0g7n38PWVBhHKOmVs6NPJ1XLfI/tF9/WZiASAe9P5fiJC9ZGS06vDJjpk+ YpOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774787711; x=1775392511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7tLsn8hpa4BdCwst8VwbSLWHz/M72CzfhEMC9Z3GeEs=; b=ZMoJLAeqDWv88KjGMAW1vB0A1xDjPIjzxMcRlZv868ycYGUashew3EA0kBPCgd07W4 4uVtDYwk45q3BSv+ifcywDPOwd4JWV8s/qpfUlTUL+IPtqfQScQGHoKfMxLukr1tyVOw Z3gkPgGGLbMAwpp+xozhcV2Ly7/MmnfBM+qPy5Zei5CNrGXgzUTkyGqyHIl+m3hgqLbz JMgksaJVv7KZVSQ8yffg7b4KnweBPgJugxYi4zq4ZP850Uppy1f7ZzEmfdtKZD88dW/I PRLOJKrSx4ELRNTWzoBOIieM93yA2++LRBwRPCt8WIzxIuFv0aBNhnL5zrUB/OnIlEVC FZtw== X-Forwarded-Encrypted: i=1; AJvYcCVO2UVxTjAiTV8FOznJfLDLgBeCEVg+E+dKIn8nIU5eATbwK3SRIf0mD+oeDQeZpcAzUj5VaIJCYCA+USI=@vger.kernel.org X-Gm-Message-State: AOJu0YzVfbxdqW4il6Ji/NcYiCjIat6pFalo3Bj1CYQjO9i9dHEBTWpI NxFXs/8CCniVdIxKzB1YfRV+aURb5HMcDtUmiDfF6MpAw9c90GoNXQLU X-Gm-Gg: ATEYQzyK3faSqYtibAArFJtdiAtdngcP5g+XAtS2UyJQrWYA9rg2SY9vBPFrhk7WYFr tXJN5tNApOm9R1oTkR6DinMOfQy1yoNNyzkB2ckGi0ErdaloYEbke+jaWdpjERqiqYs3d6WdS4h o5NNbdabov3HpeJFlzIIEELIBWcLK2yevePo8kBvoQhx0W2MSyKZJwjZa1WsRhqIJ6ELH0YJ+C/ svecaW2tfbn4IfEniA3sS/Y90UyXxvC2x3AMVEv43C+X9siGgDFA74+c/Izy/lLzV4vaMkF7U6+ x/TsToCt6Jfx+qnKa2NqkCTh6jTMdtYDlX4snbXxKd0jSKM6Gqz+2YVGOZHJuxiW8AbKa5GW7Yj nR7Ri2JziHZBlXTnAzo//rOraBsUglzlqfiScF1lFixbS+uyffy6jjngBOJbGTd0epFTXR9Y53O lXzr7Tc+ZDnZAfq4iC3ypXygMBpk2WMLaDkQu7axz9+IY8ZLUN0X5v6aW0AlL9SjBnNCSwfaewK kY= X-Received: by 2002:a17:902:d588:b0:2b0:6e60:9582 with SMTP id d9443c01a7336-2b0cdc48fbfmr101671395ad.18.1774787711463; Sun, 29 Mar 2026 05:35:11 -0700 (PDT) Received: from toolbx.gk.pfsense.com ([103.70.166.143]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b2427afbe0sm58709665ad.72.2026.03.29.05.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2026 05:35:10 -0700 (PDT) From: Gopi Krishna Menon To: rafael@kernel.org, daniel.lezcano@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, robh@kernel.org, krzk+dt@kernel.org, vireshk@kernel.org, conor+dt@kernel.org Cc: Gopi Krishna Menon , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev, daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com, m-chawdhry@ti.com, Krzysztof Kozlowski Subject: [PATCH v3 1/2] dt-bindings: thermal: st,thermal-spear1340: convert to dtschema Date: Sun, 29 Mar 2026 18:04:43 +0530 Message-ID: <20260329123449.309814-2-krishnagopi487@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260329123449.309814-1-krishnagopi487@gmail.com> References: <20260329123449.309814-1-krishnagopi487@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the SPEAr Thermal Sensor bindings to DT schema. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Gopi Krishna Menon Acked-by: Viresh Kumar --- Changes since v2: - No changes Changes since v1: - Changed unevaluatedProperties to additionalProperties in the binding - Reword the commit message and subject in the second patch Note: * This patch is part of the GSoC2026 application process for device tree bi= ndings conversions * https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device= -Tree-Bindings .../bindings/thermal/spear-thermal.txt | 14 -------- .../thermal/st,thermal-spear1340.yaml | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/spear-thermal= .txt create mode 100644 Documentation/devicetree/bindings/thermal/st,thermal-sp= ear1340.yaml diff --git a/Documentation/devicetree/bindings/thermal/spear-thermal.txt b/= Documentation/devicetree/bindings/thermal/spear-thermal.txt deleted file mode 100644 index 93e3b67c102d..000000000000 --- a/Documentation/devicetree/bindings/thermal/spear-thermal.txt +++ /dev/null @@ -1,14 +0,0 @@ -* SPEAr Thermal - -Required properties: -- compatible : "st,thermal-spear1340" -- reg : Address range of the thermal registers -- st,thermal-flags: flags used to enable thermal sensor - -Example: - - thermal@fc000000 { - compatible =3D "st,thermal-spear1340"; - reg =3D <0xfc000000 0x1000>; - st,thermal-flags =3D <0x7000>; - }; diff --git a/Documentation/devicetree/bindings/thermal/st,thermal-spear1340= .yaml b/Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml new file mode 100644 index 000000000000..e3462a974691 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/st,thermal-spear1340.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SPEAr Thermal Sensor + +maintainers: + - Viresh Kumar + +properties: + compatible: + const: st,thermal-spear1340 + + reg: + maxItems: 1 + + st,thermal-flags: + description: flags used to enable thermal sensor + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - reg + - st,thermal-flags + +additionalProperties: false + +examples: + - | + thermal@fc000000 { + compatible =3D "st,thermal-spear1340"; + reg =3D <0xfc000000 0x1000>; + st,thermal-flags =3D <0x7000>; + }; --=20 2.52.0 From nobody Thu Apr 2 12:13:09 2026 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 556B236B05E for ; Sun, 29 Mar 2026 12:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774787721; cv=none; b=lPrlK0trmYWnE9JXIX4BRwYdy1g7fU+TmLsrLLUq6IGmrBJbyPwNIYnBr9tkOn6YjADQyVdFOSzoPP8HVDLmZio028oP5jnOLDSw7VXwgaKLJwmr22msqCc/dUZpd+KkhHg6fyuC/jf+g+1Ho3fEYO1Xfms4h16unThfWJogDOM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774787721; c=relaxed/simple; bh=hb3b5Xn6nqgDmPUXGa8SEWTqyas5qT4V0APOofxhyPQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S4DBVrpYx66D4gi1F4El0mULX2rRBS3ZWAsZMKjoQvTniiwm4DZyrYYp0bAnaoYdVMmRJBvmzEq3NXIuzJ4exu4AqK8E9vEHTef40FX25lCcu9mQ8nkNFtINI+Yehm65BMkUuqj7KT/i3pGpyg/xbA96J6HjTwA6bbB5bCYcswQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GvjEv4dg; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GvjEv4dg" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2a871daa98fso27889155ad.1 for ; Sun, 29 Mar 2026 05:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774787720; x=1775392520; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5wKSxAHN0Stzff0w5tTcgOX+ksB7Z1iTuqZjXxjUVhY=; b=GvjEv4dgw0TyGju87nChsRll8zSJE5Gs7b71k4rez4mNcMFHrHSvkRAj4qjPoMtP7S 9x1rLXFS81NWf9y8FycZlkt9qqRJtZInqcWD14iLLw1UBDfJLPcDgtcQqfZxk2TSs6x6 LdGavDrt+B+iY0ubkMY5VVp/1IyOFau4B6xQ3QVVC+k+7CJWADMYZpGePar90IRCWX41 7k1qXqYJZyE0QT+xUp70bi1glgNRWScd7xv2gN76SHesyokkFmmAPWju3zjwfYXIiOr8 Rn2KL++P1eMcbq4yz3IsMqMdiv+t2x8uqvmr70+P4bQZlq8MIpxLNcPAc13VgoRXxiYT VaJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774787720; x=1775392520; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5wKSxAHN0Stzff0w5tTcgOX+ksB7Z1iTuqZjXxjUVhY=; b=bIRhDhAGfgAw+BBsJh59Vlp/SYqQlQypCl0di3Ee/riHvnzI/HBa8tA829LF20lgW3 wSOIFXXVherOFT/ucowCazHLJOFjhFEioGNRUa7oCmIXR+n3JDED25c6ri7JX1e8pnqq C/WfwT/hw7tBsMXcYlSLMhYh7PsqJr/ik4ID3r6lMr2SbBB0SZGim7IGXfetH+aWhK7c o3XbdyU3IKvHCszs4wl+ZIfiMneRiWJ+Vjf2ntbQmSsvm6JzLHvOfS0TuejwHJySHclq 8DU4D236uMbzFT8gPXWxaZ6CuhQ37esXkmYdz1q7nLDdTnMhP6COhzyi8ToUHgmSE9qo qCHg== X-Forwarded-Encrypted: i=1; AJvYcCUhczDEPyiExWuYEtzhYSoMAmiEe54lxEIwGJraGrJmv2TujDhVHJ+IUBmX8E2wQgbY3SBatZVtPVccXi8=@vger.kernel.org X-Gm-Message-State: AOJu0YwtbYZhPl7zMWJihtTFuAW+xvRHkjfmnXbKr796vol+1cpkiMpE 2udRikmuxaTpxUxoILyKjjmd39bnNNavGdDdL/YKjwBRt9HTcMl0EKrg X-Gm-Gg: ATEYQzyA0QyZqOX/GsH0oIrP/ROmgywIdRYsFt4yVPtYN8McJTDI+SFGBD5LXgkJ0gA Ec+JqMrX5bAjgzPXVN1bn2B85FsvHfBdfg/w/LB/ofcqqey2d2z9YCPJjiV23ZNTIMmTtL6XrDn q3Ro+S9VdIKQp2hPNeqMn+Hf2pjvq2iRu/vAmsDeZHR4Pv8e2IR/rrLhMrBbPo3A3aFPYroRGRt YmntK3og/+TPS7gQCoSBQRgSjBohw0gZyijxsSLX5HXmLVZkOxs/VTB2uTlNd0AvUYg/KyblWjZ ASWUZoxAyFXbgZ0beyJw2nsyxwuiT2orFlX9wJ0PZbBiWUeHq9toVFg8LLewVcgoYey7LDXPidz P+a8SVh7TPkDWtg3G1GxlmL0I/okXI6SPYPb8G6SpCjfGerz1SmIg1Gc200sM1XggvyRiLcjLv+ UTwHVr58byfAMIAaZso8OwiX/IQ4mS2fsXZTTWZ9ExrjzgStypxQH//eLJUSvLfqi9BqXHJuGAl FA= X-Received: by 2002:a17:903:1a67:b0:2b2:51e8:2c20 with SMTP id d9443c01a7336-2b251e831bemr6342265ad.21.1774787719650; Sun, 29 Mar 2026 05:35:19 -0700 (PDT) Received: from toolbx.gk.pfsense.com ([103.70.166.143]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b2427afbe0sm58709665ad.72.2026.03.29.05.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2026 05:35:19 -0700 (PDT) From: Gopi Krishna Menon To: rafael@kernel.org, daniel.lezcano@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, robh@kernel.org, krzk+dt@kernel.org, vireshk@kernel.org, conor+dt@kernel.org Cc: Gopi Krishna Menon , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev, daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com, m-chawdhry@ti.com Subject: [PATCH v3 2/2] ARM: dts: st: spear: remove undocumented thermal_flags property Date: Sun, 29 Mar 2026 18:04:44 +0530 Message-ID: <20260329123449.309814-3-krishnagopi487@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260329123449.309814-1-krishnagopi487@gmail.com> References: <20260329123449.309814-1-krishnagopi487@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" spear13xx.dtsi defines a thermal_flags property in spear thermal sensor node which is both unused in kernel and undocumented in spear thermal sensor's binding. There were no dtbs_check warnings associated with this property as the underlying spear thermal binding was not converted to DTSchema. Most likely st,thermal-flags is a misspelling of thermal_flags in spear13xx.dtsi. Since both st/spear1310.dtsi and st/spear1340.dtsi define st,thermal-flags property in spear thermal sensor node, we can safely remove this property from spear13xx.dtsi. Signed-off-by: Gopi Krishna Menon Acked-by: Viresh Kumar Reviewed-by: Krzysztof Kozlowski --- Changes since v2: - Reword the commit message and subject to correct explanation in patch 2 Changes since v1: - Changed unevaluatedProperties to additionalProperties in the binding - Reword the commit message and subject in the second patch Note: * This patch is part of the GSoC2026 application process for device tree bi= ndings conversions * https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device= -Tree-Bindings arch/arm/boot/dts/st/spear13xx.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/st/spear13xx.dtsi b/arch/arm/boot/dts/st/spe= ar13xx.dtsi index 159e941708ca..0bb88f2d4ef5 100644 --- a/arch/arm/boot/dts/st/spear13xx.dtsi +++ b/arch/arm/boot/dts/st/spear13xx.dtsi @@ -332,7 +332,6 @@ wdt@ec800620 { thermal@e07008c4 { compatible =3D "st,thermal-spear1340"; reg =3D <0xe07008c4 0x4>; - thermal_flags =3D <0x7000>; }; }; }; --=20 2.52.0