mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00

Manually rebased: hack-5.15/780-usb-net-MeigLink_modem_support.patch Removed upstreamed: mpc85xx/patches-5.15/110-gpio-mpc8xxx-Fix-support-for-IRQ_TYPE_LEVEL_LOW-flow.patch All other patches automatically rebased. Signed-off-by: Liu Linhui <liulinhui36@gmail.com> Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 1aa9a70ca9a1d3bb5139030fd9fc340d8525a7d7 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robimarko@gmail.com>
|
|
Date: Fri, 19 Aug 2022 00:18:13 +0200
|
|
Subject: [PATCH 38/44] iio: adc: qcom-spmi-adc5: add ADC5_VREF_VADC to rev2
|
|
ADC5
|
|
|
|
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>
|
|
Link: https://lore.kernel.org/r/20220818221815.346233-3-robimarko@gmail.com
|
|
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
|
---
|
|
drivers/iio/adc/qcom-spmi-adc5.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- 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_c
|
|
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,
|