* [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
@ 2023-06-26 23:21 Konrad Dybcio
2023-06-27 0:08 ` Dmitry Baryshkov
0 siblings, 1 reply; 4+ messages in thread
From: Konrad Dybcio @ 2023-06-26 23:21 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Jonathan Cameron, Lars-Peter Clausen
Cc: Marijn Suijten, linux-arm-msm, linux-iio, linux-kernel, Konrad Dybcio
Even though it existed in bindings for the longest time,
ADC5_GPIO2_100K_PU was never assigned in the driver. Do so.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
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 0a4fd3a46113..b6b612d733ff 100644
--- a/drivers/iio/adc/qcom-spmi-adc5.c
+++ b/drivers/iio/adc/qcom-spmi-adc5.c
@@ -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,
--
Konrad Dybcio <konrad.dybcio@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
2023-06-26 23:21 [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU Konrad Dybcio
@ 2023-06-27 0:08 ` Dmitry Baryshkov
2023-07-08 14:29 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Baryshkov @ 2023-06-27 0:08 UTC (permalink / raw)
To: Konrad Dybcio, Andy Gross, Bjorn Andersson, Jonathan Cameron,
Lars-Peter Clausen
Cc: Marijn Suijten, linux-arm-msm, linux-iio, linux-kernel
On 27/06/2023 02:21, Konrad Dybcio wrote:
> Even though it existed in bindings for the longest time,
> ADC5_GPIO2_100K_PU was never assigned in the driver. Do so.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> drivers/iio/adc/qcom-spmi-adc5.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
2023-06-27 0:08 ` Dmitry Baryshkov
@ 2023-07-08 14:29 ` Jonathan Cameron
2023-07-08 14:45 ` Konrad Dybcio
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2023-07-08 14:29 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Konrad Dybcio, Andy Gross, Bjorn Andersson, Lars-Peter Clausen,
Marijn Suijten, linux-arm-msm, linux-iio, linux-kernel
On Tue, 27 Jun 2023 03:08:20 +0300
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> On 27/06/2023 02:21, Konrad Dybcio wrote:
> > Even though it existed in bindings for the longest time,
> > ADC5_GPIO2_100K_PU was never assigned in the driver. Do so.
> >
> > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> > ---
> > drivers/iio/adc/qcom-spmi-adc5.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU
2023-07-08 14:29 ` Jonathan Cameron
@ 2023-07-08 14:45 ` Konrad Dybcio
0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2023-07-08 14:45 UTC (permalink / raw)
To: Jonathan Cameron, Dmitry Baryshkov
Cc: Andy Gross, Bjorn Andersson, Lars-Peter Clausen, Marijn Suijten,
linux-arm-msm, linux-iio, linux-kernel
On 8.07.2023 16:29, Jonathan Cameron wrote:
> On Tue, 27 Jun 2023 03:08:20 +0300
> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
>
>> On 27/06/2023 02:21, Konrad Dybcio wrote:
>>> Even though it existed in bindings for the longest time,
>>> ADC5_GPIO2_100K_PU was never assigned in the driver. Do so.
>>>
>>> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>>> ---
>>> drivers/iio/adc/qcom-spmi-adc5.c | 2 ++
>>> 1 file changed, 2 insertions(+)
>>>
>>
>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>
> 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
>
> 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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-08 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-26 23:21 [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_GPIO2_100K_PU Konrad Dybcio
2023-06-27 0:08 ` Dmitry Baryshkov
2023-07-08 14:29 ` Jonathan Cameron
2023-07-08 14:45 ` Konrad Dybcio
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®