All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Marko <robimarko@gmail.com>
To: agross@kernel.org, bjorn.andersson@linaro.org,
	konrad.dybcio@somainline.org, lee.jones@linaro.org,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	linus.walleij@linaro.org, lgirdwood@gmail.com,
	broonie@kernel.org, jic23@kernel.org, lars@metafoo.de,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-iio@vger.kernel.org
Cc: Robert Marko <robimarko@gmail.com>
Subject: [PATCH v6 10/12] iio: adc: qcom-spmi-adc5: add ADC5_VREF_VADC to rev2 ADC5
Date: Mon,  4 Jul 2022 23:24:00 +0200	[thread overview]
Message-ID: <20220704212402.1715182-10-robimarko@gmail.com> (raw)
In-Reply-To: <20220704212402.1715182-1-robimarko@gmail.com>

Add support for ADC5_VREF_VADC channel to rev2 ADC5 channel list.
This channel measures the VADC reference LDO output.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 drivers/iio/adc/qcom-spmi-adc5.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/iio/adc/qcom-spmi-adc5.c b/drivers/iio/adc/qcom-spmi-adc5.c
index 87438d1e5c0b..7bd3745884f0 100644
--- a/drivers/iio/adc/qcom-spmi-adc5.c
+++ b/drivers/iio/adc/qcom-spmi-adc5.c
@@ -589,6 +589,8 @@ static const struct adc5_channels adc5_chans_rev2[ADC5_MAX_CHANNEL] = {
 					SCALE_HW_CALIB_DEFAULT)
 	[ADC5_1P25VREF]		= ADC5_CHAN_VOLT("vref_1p25", 0,
 					SCALE_HW_CALIB_DEFAULT)
+	[ADC5_VREF_VADC]	= ADC5_CHAN_VOLT("vref_vadc", 0,
+					SCALE_HW_CALIB_DEFAULT)
 	[ADC5_VPH_PWR]		= ADC5_CHAN_VOLT("vph_pwr", 1,
 					SCALE_HW_CALIB_DEFAULT)
 	[ADC5_VBAT_SNS]		= ADC5_CHAN_VOLT("vbat_sns", 1,
-- 
2.36.1


  parent reply	other threads:[~2022-07-04 21:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 21:23 [PATCH v6 01/12] dt-bindings: mfd: qcom-spmi-pmic: add support for PMP8074 Robert Marko
2022-07-04 21:23 ` [PATCH v6 02/12] " Robert Marko
2022-07-05 12:37   ` Lee Jones
2022-07-04 21:23 ` [PATCH v6 03/12] dt-bindings: regulator: qcom,spmi-regulator: Convert to dtschema Robert Marko
2022-07-04 21:23 ` [PATCH v6 04/12] regulator: qcom_spmi: add support for HT_P150 Robert Marko
2022-07-04 21:23 ` [PATCH v6 05/12] regulator: qcom_spmi: add support for HT_P600 Robert Marko
2022-07-04 21:23 ` [PATCH v6 06/12] dt-bindings: regulator: qcom,spmi-regulator: add PMP8074 PMIC Robert Marko
2022-07-04 21:23 ` [PATCH v6 07/12] regulator: qcom_spmi: add support for PMP8074 regulators Robert Marko
2022-07-04 21:23 ` [PATCH v6 08/12] dt-bindings: pinctrl: qcom,pmic-gpio: add PMP8074 Robert Marko
2022-07-06  8:12   ` Krzysztof Kozlowski
2022-07-04 21:23 ` [PATCH v6 09/12] pinctrl: qcom-pmic-gpio: add support for PMP8074 Robert Marko
2022-07-11 11:56   ` Linus Walleij
2022-07-11 20:11     ` Robert Marko
2022-07-04 21:24 ` Robert Marko [this message]
2022-07-07 17:54   ` [PATCH v6 10/12] iio: adc: qcom-spmi-adc5: add ADC5_VREF_VADC to rev2 ADC5 Jonathan Cameron
2022-07-04 21:24 ` [PATCH v6 11/12] arm64: dts: qcom: add PMP8074 DTSI Robert Marko
2022-07-06  8:13   ` Krzysztof Kozlowski
2022-07-06 12:27   ` Konrad Dybcio
2022-07-06 15:08     ` Robert Marko
2022-07-04 21:24 ` [PATCH v6 12/12] arm64: dts: qcom: ipq8074-hk01: add VQMMC supply Robert Marko
2022-07-06  8:11 ` [PATCH v6 01/12] dt-bindings: mfd: qcom-spmi-pmic: add support for PMP8074 Krzysztof Kozlowski
2022-07-11 19:10 ` (subset) " Mark Brown

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=20220704212402.1715182-10-robimarko@gmail.com \
    --to=robimarko@gmail.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.