From nobody Thu Apr 2 13:48:21 2026 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 C09022BD5A7 for ; Sun, 29 Mar 2026 06:15:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774764949; cv=none; b=hFTzGgTd5muqM0tBU+H87LyA9PG6lc2w9FaFU+U7Hck6nWpl2ehyVHf0RSg9hsjvRW9N5LLceI7rPHocSnFqE+41yRZ8IXf7ZRKRvVwJGL6810Ai9AH8iP9xH8qZ/g2k5qBOwhte/SXRAZpmaPhH7hUzChFOwrIrN2sNct13xeE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774764949; c=relaxed/simple; bh=2otHkcmCT9w8sLLXpwrGseCnidGp/GU8lh5rUN96wp8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XhmZCcevWdPT6Fco5f84NLcRDMHTNS9k9aFHBVbyyJVxFfGZlfqfomTXad74lJXT5pFslhxF2VslcUDNJ5eoV6d+qW42ea47QBjiYlsd5Xrt8MpiOW4il5GLh99jlhIQPWlsg96bdQoQKDqFLH9ESMb0vPAKQQII+maT7/HXgk8= 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=gt0EuAwl; arc=none smtp.client-ip=209.85.210.181 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="gt0EuAwl" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-82a07738118so1957179b3a.0 for ; Sat, 28 Mar 2026 23:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774764947; x=1775369747; 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=PyUhv8dZe5OountEy6t4pKCcPVDlgAwS0iiOUhBetOM=; b=gt0EuAwl2QTwnnFrDZdN0XF+Fg/Gj3mNudO7d8wW7LU++uFc6JPWThIFiYlTPMuQjN XhIUW1Zg3zGx2S1R0IFPY6tEF7o6cTxYmFr8lfY8fzuMd1UgNNLvyh7YotWVmN7cdviE B04J0tEMoGAeQnVghLlJqa+E6CmFTeKlLjbqdgpvOBd6WcZFsEpE6mLfMBbozFJ+GG+o 29EYcprqW1bQkV7hn516WfHSxACZ/bI28wuGwnKg0kLYuTK6IGZFf+R1cVVQ9erpfsny 8W/dcZ28AVurzO92Ror/AfMkWIshe3pwisKPBwUmE0RA2jwv0DKHi1pmvVjDOOF1eB+V kDCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774764947; x=1775369747; 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=PyUhv8dZe5OountEy6t4pKCcPVDlgAwS0iiOUhBetOM=; b=pUATw2mbCPpDL5rHQ2nEagsNICZn+44ivKlR1114HXnjBEEfdXofVVypNBMV2MNzhW 7i2jOYgwtinoG10dmjHEuHdiJJtTiC53wJT3Z8WkARq0/Use5WC3e0afUtgCTIJa6M++ hPgiAvvqMuVwhvIYb3YrkKaJlyPQMibRL4cSqwO82hKgG5SWwaWUUhIfCD6yoSzaM8Ik lsgtX4cF9XdcgU+G2dPXgOxvbDpd6VrO1FN2S3U5IaR1+ttmFt83k0CNrMSN85/S/bdj TWt0yC8Rhb/AhsMhNxNCtZmVg5UZU+vp4jY68hgDcJdaGmrxPTa0Jzj8b90oneSURaxA WH+A== X-Forwarded-Encrypted: i=1; AJvYcCWvO3shjL4SQM6nn4ZA3M7qBztPLGTJJQRk61PbtUixwTOnfwsV2MkFc1j7lqxyQ5O0CV1oEOD6O5Il91s=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4vo766ytVBkPjQsQmRHDD3yWn6XuSDuIQGmpQcKP6YBduGCX9 QWfZSLhGcVPGi77RNNJM3LhVibsidBS0cZmLY4A56kQbqKXoRx4DJhcP X-Gm-Gg: ATEYQzzTRDVrHHQAve4sWNg2oD7CX2agvCPocLI8RHm08gOSDtpCnJ4yrRZz7q8LFNr Y2CHq2kt+7jqH1j5Y0SL83JWhlULTjJpg0TROuWiPR2sfJf+a6+vIEilLLX1TVxwEYT2maPS1B4 yM7BP8kLzWSehQYbBd/f+UAxNA1dcGFyxwka1QVjcTLsEBAVpHpWALYDvaG7VLTGPofDmr4rIYz 3z/nGfi6BVAbAwYA6YfgFHN8hXa7jLfen11lxQ3d0NmOttNhxxRt6DT3G+TzfejCsXWjZ5WrNWJ clrWlRBpaiAttPt2qjBjcpyPcVIlmPT0XSKOboHUkL+LMjkyOc2AxlQnpirPDncE8nksjeES3A8 jqxbn4C9eIqw6MaHVw/9BgR7aEU+OB+t3FNEGaqUzRz5MvXLq/pSMCrBL41WmEldP0+NAv6veb6 2OgJOICudhiuue8kIqU8MM7d/uzGSOiX1LBlZF9Y9lBxTIsQ060q7KzgT1esqQpbYca9RnPQ20n Fk= X-Received: by 2002:a05:6a00:2d27:b0:82a:1337:493c with SMTP id d2e1a72fcca58-82c95e9559amr7945631b3a.14.1774764946822; Sat, 28 Mar 2026 23:15:46 -0700 (PDT) Received: from toolbx.gk.pfsense.com ([103.70.166.143]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82ca8436f19sm3709731b3a.9.2026.03.28.23.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Mar 2026 23:15:46 -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 v2 1/2] dt-bindings: thermal: st,thermal-spear1340: convert to dtschema Date: Sun, 29 Mar 2026 11:45:19 +0530 Message-ID: <20260329061523.98346-2-krishnagopi487@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260329061523.98346-1-krishnagopi487@gmail.com> References: <20260329061523.98346-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 Reviewed-by: Krzysztof Kozlowski --- Changes since v1: - Changed unevaluatedProperties to additionalProperties 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