From: Neil Armstrong <neil.armstrong@linaro.org>
To: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>,
linux-kernel-dev@aliel.fr,
Guillaume La Roque <glaroque@baylibre.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-pm@vger.kernel.org, linux-amlogic@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 4/8] thermal: amlogic: Add support for secure monitor calibration readout
Date: Wed, 6 May 2026 17:55:14 +0200 [thread overview]
Message-ID: <27d7363e-b8bc-4e69-a9d2-abd7e12fe562@linaro.org> (raw)
In-Reply-To: <f4bd99bc-00c7-47f6-a914-e398dd2c3bd5@oss.qualcomm.com>
On 5/6/26 17:45, Daniel Lezcano wrote:
> On 4/24/26 17:45, Ronald Claveau via B4 Relay wrote:
>
> [ ... ]
>
>> +static int amlogic_thermal_probe_sm(struct platform_device *pdev,
>> + struct amlogic_thermal *pdata)
>> +{
>> + struct device *dev = &pdev->dev;
>> + struct of_phandle_args ph_args;
>> + int ret;
>> +
>> + ret = of_parse_phandle_with_fixed_args(pdev->dev.of_node,
>> + "amlogic,secure-monitor",
>> + 1, 0, &ph_args);
>> + if (ret)
>> + return ret;
>> +
>> + if (!ph_args.np) {
>> + dev_err(dev, "Failed to parse secure monitor phandle\n");
>> + return -ENODEV;
>> + }
>> +
>> + pdata->sm_fw = meson_sm_get(ph_args.np);
>> + of_node_put(ph_args.np);
>> + if (!pdata->sm_fw) {
>> + dev_err(dev, "Failed to get secure monitor firmware\n");
>> + return -EPROBE_DEFER;
>> + }
>> +
>> + pdata->tsensor_id = ph_args.args[0];
>> +
>> + return meson_sm_get_thermal_calib(pdata->sm_fw,
>> + &pdata->trim_info,
>> + pdata->tsensor_id);
>
> This driver has a dependency on patch 2 and 3. Shall those being merged through the thermal tree ?
It's fine for me.
Neil
>
>
>> +}
>
>
> [ ... ]
>
next prev parent reply other threads:[~2026-05-06 15:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-24 15:45 [PATCH v5 0/8] arm64: amlogic: T7 thermal support Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 1/8] dt-bindings: thermal: amlogic: Add support for T7 Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 2/8] firmware: meson: sm: Thermal calibration read via secure monitor Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 3/8] firmware: meson: sm: Add thermal calibration SMC call Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 4/8] thermal: amlogic: Add support for secure monitor calibration readout Ronald Claveau via B4 Relay
2026-05-06 15:45 ` Daniel Lezcano
2026-05-06 15:55 ` Neil Armstrong [this message]
2026-04-24 15:45 ` [PATCH v5 5/8] arm64: dts: amlogic: t7: Add cooling cells to all CPUs Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 6/8] arm64: dts: amlogic: t7: Add thermal sensor nodes Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 7/8] arm64: dts: amlogic: t7: Add thermal zones Ronald Claveau via B4 Relay
2026-04-24 15:45 ` [PATCH v5 8/8] arm64: dts: amlogic: t7: khadas-vim4: Add fan cooling to " Ronald Claveau via B4 Relay
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=27d7363e-b8bc-4e69-a9d2-abd7e12fe562@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=daniel.lezcano@oss.qualcomm.com \
--cc=devicetree@vger.kernel.org \
--cc=glaroque@baylibre.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel-dev@aliel.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=rafael@kernel.org \
--cc=robh@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