From nobody Fri Apr 3 22:12:21 2026 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.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 9F7A23AC0E6 for ; Mon, 23 Mar 2026 13:38:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774273120; cv=none; b=dNHRnxkR9eK2rBw0TFISqyKfVj5rAPxGAqPvryjaPeu2t1d4S4q9DRxSpkmFJ0Z1pYmQ80gbbok+mOHRZjCIAEAEpMb5Gq/FgC9tEjWRTY9f7ybwYuS7/aiJjMwPwAhtN4dY74tVjCkwdkCVk0N2XB2bCcuWXJf2KeldA0COxAg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774273120; c=relaxed/simple; bh=twEAMEZQuHixVTy0TIBpDgrHMP/lw6YTgCVvQ+QbrXs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aYL60YyVDS8nNHT9yNZ+yWl6BTg5ca2/C5J3IsNIj+SzqFcfqt5FZd2U9CRzSi/9cKtmEElP3xnyRDmvIfnpum7c2+QdM6IGSnhbilKxwvOuHibNZ6D36MLxxGu2WUevOUkkvvXUQCJNF+Zin1KpkjnbhCiVarS+a9spxiB+6Go= 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=FGjr4zeK; arc=none smtp.client-ip=209.85.210.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="FGjr4zeK" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8296dabef74so3555421b3a.1 for ; Mon, 23 Mar 2026 06:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1774273119; x=1774877919; 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=GCVrVoKT9G2CjfYu/PBNCmXq2eaEsPu9cALs8eUDlig=; b=FGjr4zeK7BNjMDd5ZFqt71eDMbzzpClQez1pipLEroPt4dobGp4cYsrrtQrE/hz6kz 79edx6eWGOLqer63D670wxpXmUuvGikZ7RsAywa1qWawgKqJ5EiTEIAZpN1KogO9Sb8y VH6VNLotAlIqP20hj4gBXxdejnnVEthMa9Pj2rGejD4ghf8DTr6qAq6FpjUHDrdOIqGM NcUo+igufjIXd3KBzWPCo77cNpBPnRQa1fHc6CI0T95zOdg9FQaKcd6c3jTK7RHJD3l2 yXrXrxv5FQrI04HhRa6P4/zb3rLvItUHXVH5H6wR6zVhFePCrUrnI1CF59mhhVVFAOCi wSVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774273119; x=1774877919; 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=GCVrVoKT9G2CjfYu/PBNCmXq2eaEsPu9cALs8eUDlig=; b=LTD+N+/J7/EzPx062R5tEaGZnBNvYO/6viwb6FqIsTJLB7D1sqTUDDcB22/Gae3dUr HBJMNZdpGU3vjALc4OgkhtuR+f4nGho4D7bcPXHVfNonggZUwk9p8jFfwmw6RIhixzmN fN5nEQ/k1KQ9tw8ozyPpUlLOLC+r1Dz8/De9qkp2+OUv+8d4xwD3LWYc4/8FDwBRQYP7 0eEbSHpl+yaBAgVv/xVhcPOxnoh+bUSBo5Thl669cYw63w6wn9zxskJYkhGKvDiw7vfV jgxBurpt5vku7aQ58B+ldtyFH4Yrl3fxz3yBzAvpMyNCwzfgXjrrmCtE1pU5HJiStDjH 6I2A== X-Forwarded-Encrypted: i=1; AJvYcCUHj8wALoOxNypTLQqvw0J/3s5tYKov0Mx2o268ZhbCLVINUwrxobRQF8rK4OYLyZbz90hSuH+ZmBqnmWs=@vger.kernel.org X-Gm-Message-State: AOJu0YyBvvu35C+OhhLBO3WI6es+B4/xZMqwyfYZPBz8lB+MH9rWXMu2 TpSMXtUsnOB8uuXSgU+MGhd+lQj/4rfczKsjnlQW4ANJy+WqmjO8IWlN X-Gm-Gg: ATEYQzxtmV722o4XgwPeJjUsFXA+TTb05mXN5A+2OkvSuN+IRnIne0OVUtiq5Zm9sV8 Bpmp2CRuIyQSgp7B0QZnp34W03sJ7hvd11G+YJJ8zvr7mQziMX4gm8v/hESfefrGvKv4NFGKYcJ oBzjqEP1dbG8YY9uv70ahnozEp5f13SnvFBWQyOvvD3cBpvnusJD7eUq14Fnxyo1+WwSPyEwQy7 yVAZPhsGfCNucpy5UVRvWubDJ6oEliAd+q3WInXHGu6aXsC602Yh5ZQJegJqrSNVs3ebxliKB5X jRbTTFWAS2XZU3x2wyAs3k/1wCXKyiPNPPmqV7EfEN5rXSqfDTDsysUqmxwKCHEJpzOU+C2ARhq 5XKYNMHqTSYetjVJZ5csL/qE5mzVO2NIjYJSOPlGkiAnNYLE+lpC6FV7v2fHxjlxhOTN73gNybl fNLuQB6kpJCwA0rBdMbjzmTsoJs4tRma40FiFgWVUitn6DR6PHJ+O2RHCXOHIIkco/w8tpCjiwQ 3Y= X-Received: by 2002:a05:6a00:13a6:b0:827:3b1b:43e8 with SMTP id d2e1a72fcca58-82a8c22d99bmr11433015b3a.15.1774273118883; Mon, 23 Mar 2026 06:38:38 -0700 (PDT) Received: from toolbx.gk.pfsense.com ([103.70.166.143]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82b0410b1bdsm12069224b3a.57.2026.03.23.06.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 06:38:38 -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 1/2] dt-bindings: thermal: st,thermal-spear1340: convert to dtschema Date: Mon, 23 Mar 2026 19:08:08 +0530 Message-ID: <20260323133814.14152-2-krishnagopi487@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260323133814.14152-1-krishnagopi487@gmail.com> References: <20260323133814.14152-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. Signed-off-by: Gopi Krishna Menon --- 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..125632163911 --- /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 + +unevaluatedProperties: false + +examples: + - | + thermal@fc000000 { + compatible =3D "st,thermal-spear1340"; + reg =3D <0xfc000000 0x1000>; + st,thermal-flags =3D <0x7000>; + }; --=20 2.52.0