From: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Ayyagari Ushasreevalli <aushasre@qti.qualcomm.com>,
Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>,
Loic Poulain <loic.poulain@oss.qualcomm.com>,
Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: [PATCH v4 0/4] Add ADC support for lemans, monaco and hamoa.
Date: Tue, 28 Jul 2026 21:19:40 +0530 [thread overview]
Message-ID: <20260728-adc5_gen3_dt-v4-0-355f0edece77@oss.qualcomm.com> (raw)
This patch series adds Gen3 ADC channel macro definitions, with basic ADC
support for lemans, monaco and hamoa.
Patch 1 adds ADC virtual channel macro definitions, which are used in
the "reg" property of individual ADC channels and also by ADC clients
to reference channels. These are a combination of PMIC SID and HW ADC
channel number, which are parsed in the driver to identify the intended
PMIC and channel under it.
Patch 2 adds ADC nodes with channels under the PMIC instances on lemans.
Patch 3 adds ADC nodes with channels under the PMIC instances on monaco.
Patch 4 adds ADC nodes with channels under the PMIC instances on hamoa.
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
---
Changes in v4:
- Excluded PMC8380_6 die_temp channel on all Purwa boards with PMC8380_6
absent.
- Link to v3: https://patch.msgid.link/20260727-adc5_gen3_dt-v3-0-bc00223648f3@oss.qualcomm.com
Changes in v3:
- Collected Konrad's Reviewed-by tags on patches 1-3 and Loic's Tested-by tag
on patch 3.
- Replaced "interrupts" with "interrupts-extended" and moved it above *-cells
properties in all patches, as Konrad suggested.
- Excluded PMC8380_6 die_temp channel on Purwa as Konrad suggested.
- Removed all ADC thermal-zones in patch 4 as Bjorn suggested, and also
"qcom,adc-tm" and "#thermal-sensor-cells" properties to avoid thermal-related
errors.
- Reordered ADC channels in patch 4 based on node names.
- Link to v2: https://patch.msgid.link/20260614-adc5_gen3_dt-v2-0-32ec576c5865@oss.qualcomm.com
Changes in v2:
- Added ADC support for hamoa.
- Link to v1: https://patch.msgid.link/20260430-adc5_gen3_dt-v1-0-ab2bb40fd490@oss.qualcomm.com
---
Ayyagari Ushasreevalli (3):
arm64: dts: qcom: lemans-pmics: Add ADC support for PMM8654au
arm64: dts: qcom: monaco-pmics: Add ADC support for PMM8620AU
arm64: dts: qcom: hamoa-pmics: Add ADC support
Jishnu Prakash (1):
arm64: dts: qcom: Add header file for ADC5 Gen3 channel macros
arch/arm64/boot/dts/qcom/hamoa-pmics.dtsi | 158 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 93 ++++++++++++
arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 43 ++++++
arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi | 1 +
arch/arm64/boot/dts/qcom/qcom-adc5-gen3.h | 88 ++++++++++++
.../boot/dts/qcom/x1p42100-asus-vivobook-s15.dts | 1 +
.../boot/dts/qcom/x1p42100-asus-zenbook-a14.dtsi | 1 +
arch/arm64/boot/dts/qcom/x1p42100-crd.dts | 1 +
.../boot/dts/qcom/x1p42100-hp-omnibook-x14.dts | 1 +
.../boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts | 1 +
10 files changed, 388 insertions(+)
---
base-commit: 1590cf0329716306e948a8fc29f1d3ee87d3989f
change-id: 20260430-adc5_gen3_dt-f0434155ee25
Best regards,
--
Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
next reply other threads:[~2026-07-28 15:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 15:49 Jishnu Prakash [this message]
2026-07-28 15:49 ` [PATCH v4 1/4] arm64: dts: qcom: Add header file for ADC5 Gen3 channel macros Jishnu Prakash
2026-07-28 15:49 ` [PATCH v4 2/4] arm64: dts: qcom: lemans-pmics: Add ADC support for PMM8654au Jishnu Prakash
2026-07-28 15:49 ` [PATCH v4 3/4] arm64: dts: qcom: monaco-pmics: Add ADC support for PMM8620AU Jishnu Prakash
2026-07-28 15:49 ` [PATCH v4 4/4] arm64: dts: qcom: hamoa-pmics: Add ADC support Jishnu Prakash
2026-07-31 3:24 ` [PATCH v4 0/4] Add ADC support for lemans, monaco and hamoa Bjorn Andersson
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=20260728-adc5_gen3_dt-v4-0-355f0edece77@oss.qualcomm.com \
--to=jishnu.prakash@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=aushasre@qti.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kamal.wadhwa@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--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
all inboxes | Powered by JetHome®