Re: [PATCH v10 3/6] iio: adc: mp2629: Add support for mp2629 ADC driver

From: Randy Dunlap
Date: Fri Apr 17 2020 - 11:14:54 EST


On 4/17/20 7:51 AM, saravanan sekar wrote:
> Hi Randy,
>
> On 17/04/20 4:35 pm, Randy Dunlap wrote:
>> Hi--
>>
>> On 4/17/20 1:50 AM, Saravanan Sekar wrote:
>>> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
>>> index 82e33082958c..ef0c0cd31855 100644
>>> --- a/drivers/iio/adc/Kconfig
>>> +++ b/drivers/iio/adc/Kconfig
>>> @@ -680,6 +680,16 @@ config MESON_SARADC
>>> ÂÂÂÂÂÂÂ To compile this driver as a module, choose M here: the
>>> ÂÂÂÂÂÂÂ module will be called meson_saradc.
>>> Â +config MP2629_ADC
>>> +ÂÂÂ tristate "Monolithic MP2629 ADC driver"
>>> +ÂÂÂ depends on MFD_MP2629
>> ÂÂÂÂdepends on I2C
>> ?
>
> Made "depends on I2C" in MFD_MP2629, hope not needed becomes redundant here
>
> Thanks,
> Saravanan

I see. Thanks for explaining.

>>> +ÂÂÂ help
>>> +ÂÂÂÂÂ Say yes to have support for battery charger IC MP2629 ADC device
>>> +ÂÂÂÂÂ accessed over I2C.
>>> +
>>> +ÂÂÂÂÂ This driver provides ADC conversion of system, input power supply
>>> +ÂÂÂÂÂ and battery voltage & current information.
>>> +
>>> Â config NAU7802
>>> ÂÂÂÂÂ tristate "Nuvoton NAU7802 ADC driver"
>>> ÂÂÂÂÂ depends on I2C
>> thanks.


--
~Randy