From: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
To: robh@kernel.org, conor+dt@kernel.org,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org
Subject: Re: [PATCH v6 1/3] dt-bindings: embedded-controller: Add Lenovo ThinkPad T14s thermal sensor provider support
Date: Tue, 7 Jul 2026 23:34:53 +0200 [thread overview]
Message-ID: <22c4909c-9d2e-4b49-bca2-f218e701138c@oss.qualcomm.com> (raw)
In-Reply-To: <20260707193005.3CEA11F000E9@smtp.kernel.org>
On 7/7/26 21:30, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] The newly added '#thermal-sensor-cells' property is missing from the 'required' list.
> --
>
> --- Patch [1]: [PATCH v6 1/3] dt-bindings: embedded-controller: Add Lenovo ThinkPad T14s thermal sensor provider support ---
> commit 48ae118884c307667e25a720a62e87b8e32443c5
> Author: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
>
> dt-bindings: embedded-controller: Add Lenovo ThinkPad T14s thermal sensor provider support
>
> This commit documents the Lenovo ThinkPad T14s Embedded Controller as a
> thermal sensor provider by adding the #thermal-sensor-cells property. This
> allows the EC temperature sensors to be referenced from thermal zones.
>
>> diff --git a/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
>> --- a/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
>> +++ b/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
>> @@ -26,6 +26,9 @@ properties:
>>
>> wakeup-source: true
>>
>> + "#thermal-sensor-cells":
>> + const: 1
>> +
>> required:
>> - compatible
>> - reg
>
> [Severity: Medium]
> Should #thermal-sensor-cells be added to this required list?
>
> When hardware gains new provider capabilities, omitting the corresponding
> standard properties from the required list allows incomplete device tree
> nodes to pass schema validation. Dependent thermal zones could fail at
> runtime if they attempt to reference the embedded controller and the property
> is missing.
>
> [ ... ]
If I'm not wrong it is a false positive
next prev parent reply other threads:[~2026-07-07 21:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 19:22 [PATCH v6 0/3] Lenovo ThinkPad T14s EC thermal monitoring and thermal zone integration Daniel Lezcano
2026-07-07 19:22 ` [PATCH v6 1/3] dt-bindings: embedded-controller: Add Lenovo ThinkPad T14s thermal sensor provider support Daniel Lezcano
2026-07-07 19:30 ` sashiko-bot
2026-07-07 21:34 ` Daniel Lezcano [this message]
2026-07-08 6:31 ` Krzysztof Kozlowski
2026-07-07 19:22 ` [PATCH v6 2/3] platform: arm64: lenovo-thinkpad-t14s-ec: Add hwmon support for temperatures Daniel Lezcano
2026-07-07 19:28 ` sashiko-bot
2026-07-08 6:30 ` Krzysztof Kozlowski
2026-07-08 7:31 ` Daniel Lezcano
2026-07-08 8:24 ` Krzysztof Kozlowski
2026-07-08 8:38 ` Daniel Lezcano
2026-07-08 11:48 ` Dmitry Baryshkov
2026-07-07 19:22 ` [PATCH v6 3/3] arm64: dts: qcom: x1e78100-t14s: Add thermal zones for keyboard skin and charging sensors Daniel Lezcano
2026-07-07 19:30 ` sashiko-bot
2026-07-08 12:03 ` [PATCH v6 0/3] Lenovo ThinkPad T14s EC thermal monitoring and thermal zone integration Stephan Gerhold
2026-07-08 13:16 ` Daniel Lezcano
2026-07-08 13:39 ` Stephan Gerhold
2026-07-08 14:09 ` Daniel Lezcano
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=22c4909c-9d2e-4b49-bca2-f218e701138c@oss.qualcomm.com \
--to=daniel.lezcano@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--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