From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alexandre Bailon <abailon@baylibre.com>,
rafael@kernel.org, daniel.lezcano@linaro.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org
Cc: rui.zhang@intel.com, lukasz.luba@arm.com,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/6] thermal: Add support of multi sensors to thermal_core
Date: Mon, 27 May 2024 09:02:11 +0200 [thread overview]
Message-ID: <ec830d15-c717-4b81-bda8-6018a4c84258@linaro.org> (raw)
In-Reply-To: <834e18c7-21b6-400e-aa61-a4f591027620@linaro.org>
On 27/05/2024 09:00, Krzysztof Kozlowski wrote:
> On 24/05/2024 16:31, Alexandre Bailon wrote:
>> This adds support of multi sensors to thermal.
>> Currently, this only support the get_temp operation.
>> This returns an average temperature of all the sensors.
>> If defined, a coefficient is applied to the value read from the sensor
>> before computing the average.
>>
>> Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
>> ---
>> drivers/thermal/Makefile | 1 +
>> drivers/thermal/thermal_core.h | 15 ++
>> drivers/thermal/thermal_multi.c | 332 ++++++++++++++++++++++++++++++++
>> include/uapi/linux/thermal.h | 5 +
>> 4 files changed, 353 insertions(+)
>> create mode 100644 drivers/thermal/thermal_multi.c
>
> This does not really build...
>
>
> ../drivers/thermal/thermal_multi.c:249:38: error: initialization of ‘struct thermal_trip *’ from incompatible pointer type ‘struct thermal_trip_desc *’ [-Werror=incompatible-pointer-types]
and there are other warnings:
warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-05-27 7:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 14:31 [PATCH v3 0/6] thermal: Add support of multiple sensors Alexandre Bailon
2024-05-24 14:31 ` [PATCH v3 1/6] dt-bindings: thermal: Restore the thermal-sensors property Alexandre Bailon
2024-05-24 14:31 ` [PATCH v3 2/6] thermal: Add support of multi sensors to thermal_core Alexandre Bailon
2024-05-27 7:00 ` Krzysztof Kozlowski
2024-05-27 7:02 ` Krzysztof Kozlowski [this message]
2024-05-29 8:23 ` Alexandre Bailon
2024-05-24 14:31 ` [PATCH v3 3/6] thermal: Add support of multi sensors to thermal_of Alexandre Bailon
2024-05-24 14:31 ` [PATCH v3 4/6] dt-bindings: thermal: Add a property to select the aggregation type Alexandre Bailon
2024-05-27 6:55 ` Krzysztof Kozlowski
2024-05-29 8:06 ` Alexandre Bailon
2024-05-28 17:00 ` Rob Herring
2024-05-24 14:31 ` [PATCH v3 5/6] thermal: of: Parse aggregation property to select the aggegration type Alexandre Bailon
2024-05-24 14:31 ` [PATCH v3 6/6] ARM64: mt8195: Use thermal aggregation for big and little cpu Alexandre Bailon
2024-05-27 6:56 ` Krzysztof Kozlowski
2024-05-29 8:19 ` Alexandre Bailon
2024-05-29 12:39 ` Krzysztof Kozlowski
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=ec830d15-c717-4b81-bda8-6018a4c84258@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=abailon@baylibre.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).