iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
Subsystems (2)
PATCH 1/1 iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
Even though it existed in bindings for the longest time, ADC5_GPIO2_100K_PU was never assigned in the driver. Do so.
--- drivers/iio/adc/qcom-spmi-adc5.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/iio/adc/qcom-spmi-adc5.c +2 -0
@@ -555,6 +555,8 @@ static const struct adc5_channels adc5_chans_pmic[ADC5_MAX_CHANNEL] = { SCALE_HW_CALIB_PM5_SMB_TEMP) [ADC5_GPIO1_100K_PU ] =ADC5_CHAN_TEMP ("gpio1_100k_pu" ,0 ,SCALE_HW_CALIB_THERM_100K_PULLUP ) + [ADC5_GPIO2_100K_PU ] =ADC5_CHAN_TEMP ("gpio2_100k_pu" ,0 , +SCALE_HW_CALIB_THERM_100K_PULLUP ) [ADC5_GPIO3_100K_PU ] =ADC5_CHAN_TEMP ("gpio3_100k_pu" ,0 ,SCALE_HW_CALIB_THERM_100K_PULLUP ) [ADC5_GPIO4_100K_PU] = ADC5_CHAN_TEMP("gpio4_100k_pu", 0,
---
base-commit: 60e7c4a25da68cd826719b685babbd23e73b85b0
change-id: 20230627-topic-adc-1e7a7c6aae15
Best regards,
Signature · 1 line
Konrad Dybcio <[email protected]>
Quoted 8 lines · Konrad Dybcio
Even though it existed in bindings for the longest time,
ADC5_GPIO2_100K_PUwas never assigned in the driver. Do so.Signed-off-by Konrad Dybcio <[email protected]>--- drivers/iio/adc/qcom-spmi-adc5.c | 2 ++ 1 file changed, 2 insertions(+)
Signature · 2 lines
With best wishes Dmitry
Jonathan Cameron
maintainerQuoted 4 lines · On Tue, 27 Jun 2023 03:08:20 +0300 Dmitry Baryshkov…
Quoted 3 lines · Konrad Dybcio
Even though it existed in bindings for the longest time,
ADC5_GPIO2_100K_PUwas never assigned in the driver. Do so.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Konrad Dybcio <[email protected]>--- drivers/iio/adc/qcom-spmi-adc5.c | 2 ++ 1 file changed, 2 insertions(+)Reviewed-by Dmitry Baryshkov <[email protected]>
I was a little unsure on this one. So far I've applied it as a 'feature' so it's in the normal iio togreg branch, but perhaps it should be a fix?
For now applied to the togreg branch of iio.git but given I'll be rebasing that on rc1, for now it's only visible as testing. 0-day can play with that in the meantime and see if it can find any issues
Jonathan
Quoted 13 lines · Jonathan Cameron
Quoted 10 lines · On Tue, 27 Jun 2023 03:08:20 +0300 Dmitry Baryshkov…
Quoted 8 lines · Konrad Dybcio
Even though it existed in bindings for the longest time,
ADC5_GPIO2_100K_PUwas never assigned in the driver. Do so.Signed-off-by Konrad Dybcio <[email protected]>--- drivers/iio/adc/qcom-spmi-adc5.c | 2 ++ 1 file changed, 2 insertions(+)
Quoted 4 lines
Quoted 2 lines
Reviewed-by Dmitry Baryshkov <[email protected]>I was a little unsure on this one. So far I've applied it as a 'feature' so it's in the normal iio togreg branch, but perhaps it should be a fix?
I suppose it's a feature as it's never been used before
Konrad
Quoted 8 lines
For now applied to the togreg branch of iio.git but given I'll be rebasing that on rc1, for now it's only visible as testing. 0-day can play with that in the meantime and see if it can find any issues
Jonathan