[PATCH 0/3] Add ADC support for lemans and monaco

Jishnu Prakash posted 3 patches 1 month, 2 weeks ago
arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 93 ++++++++++++++++++++++++++++++
arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 43 ++++++++++++++
arch/arm64/boot/dts/qcom/qcom-adc5-gen3.h  | 88 ++++++++++++++++++++++++++++
3 files changed, 224 insertions(+)
[PATCH 0/3] Add ADC support for lemans and monaco
Posted by Jishnu Prakash 1 month, 2 weeks ago
This patch series adds Gen3 ADC channel macro definitions, with basic ADC
support for lemans and monaco.

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.

Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
---
Ayyagari Ushasreevalli (2):
      arm64: dts: qcom: lemans-pmics: Add ADC support for PMM8654au
      arm64: dts: qcom: monaco-pmics: Add ADC support for PMM8620AU

Jishnu Prakash (1):
      arm64: dts: qcom: Add header file for ADC5 Gen3 channel macros

 arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 93 ++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 43 ++++++++++++++
 arch/arm64/boot/dts/qcom/qcom-adc5-gen3.h  | 88 ++++++++++++++++++++++++++++
 3 files changed, 224 insertions(+)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260430-adc5_gen3_dt-f0434155ee25

Best regards,
--  
Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Re: [PATCH 0/3] Add ADC support for lemans and monaco
Posted by Neil Armstrong 1 month, 2 weeks ago
Hi,

On 4/30/26 10:58, Jishnu Prakash wrote:
> This patch series adds Gen3 ADC channel macro definitions, with basic ADC
> support for lemans and monaco.
> 
> 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.

I sent https://lore.kernel.org/all/20260427-topic-sm8x50-adc5-gen3-v1-0-8a70f7b90a75@linaro.org/
which has a similar goal.

Thanks,
Neil

> 
> Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
> ---
> Ayyagari Ushasreevalli (2):
>        arm64: dts: qcom: lemans-pmics: Add ADC support for PMM8654au
>        arm64: dts: qcom: monaco-pmics: Add ADC support for PMM8620AU
> 
> Jishnu Prakash (1):
>        arm64: dts: qcom: Add header file for ADC5 Gen3 channel macros
> 
>   arch/arm64/boot/dts/qcom/lemans-pmics.dtsi | 93 ++++++++++++++++++++++++++++++
>   arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 43 ++++++++++++++
>   arch/arm64/boot/dts/qcom/qcom-adc5-gen3.h  | 88 ++++++++++++++++++++++++++++
>   3 files changed, 224 insertions(+)
> ---
> base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
> change-id: 20260430-adc5_gen3_dt-f0434155ee25
> 
> Best regards,
> --
> Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
>