From: David Collins <quic_collinsd@quicinc.com>
To: Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: David Collins <quic_collinsd@quicinc.com>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Zhang Rui <rui.zhang@intel.com>, <linux-arm-msm@vger.kernel.org>,
<linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH v2 0/3] thermal: qcom-spmi-temp-alarm: add support for new TEMP_ALARM subtypes
Date: Tue, 6 Dec 2022 18:04:43 -0800 [thread overview]
Message-ID: <cover.1670375556.git.quic_collinsd@quicinc.com> (raw)
Add support in the qcom-spmi-temp-alarm driver for the new PMIC
TEMP_ALARM peripheral subtypes: GEN2 rev 2 and LITE. The GEN2 rev 2
subtype provides greater flexibility in temperature threshold
specification by using an independent register value to configure
each of the three thresholds. The LITE subtype utilizes a simplified
set of control registers to configure two thresholds: warning and
shutdown.
Also add support to avoid a potential issue on certain versions of
the TEMP_ALARM GEN2 subtype when automatic stage 2 partial shutdown
is disabled.
Changes since v1 [1]:
* Updated the thermal API usage in the patches to work with the recent commit
ca1b9a9eb3fd ("thermal/drivers/qcom: Switch to new of API")
[1]: https://lore.kernel.org/lkml/cover.1663282895.git.quic_collinsd@quicinc.com/
David Collins (3):
thermal: qcom-spmi-temp-alarm: enable stage 2 shutdown when required
thermal: qcom-spmi-temp-alarm: add support for GEN2 rev 2 PMIC
peripherals
thermal: qcom-spmi-temp-alarm: add support for LITE PMIC peripherals
drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 406 +++++++++++++++++++-
1 file changed, 391 insertions(+), 15 deletions(-)
--
2.25.1
next reply other threads:[~2022-12-07 2:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-07 2:04 David Collins [this message]
2022-12-07 2:04 ` [PATCH v2 1/3] thermal: qcom-spmi-temp-alarm: enable stage 2 shutdown when required David Collins
2022-12-07 2:04 ` [PATCH v2 2/3] thermal: qcom-spmi-temp-alarm: add support for GEN2 rev 2 PMIC peripherals David Collins
2022-12-07 2:04 ` [PATCH v2 3/3] thermal: qcom-spmi-temp-alarm: add support for LITE " David Collins
2022-12-07 6:45 ` kernel test robot
2022-12-07 14:30 ` kernel test robot
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=cover.1670375556.git.quic_collinsd@quicinc.com \
--to=quic_collinsd@quicinc.com \
--cc=agross@kernel.org \
--cc=amitk@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=konrad.dybcio@somainline.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=thara.gopinath@gmail.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).