]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: npcm: Add NPCM8XX support
authorTomer Maimon <tmaimon77@gmail.com>
Wed, 13 Jul 2022 13:26:40 +0000 (16:26 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 18 Jul 2022 17:29:29 +0000 (18:29 +0100)
commit4e0d75b7380ac06a3c25f448ced907dc8107a83a
treebe4c216e5e370b279cf551d10f6d5db59f50a409
parent475c77837c243e4bf02c783818ab7b2223f15aa0
iio: adc: npcm: Add NPCM8XX support

Adding ADC NPCM8XX support to NPCM ADC driver.
ADC NPCM8XX uses a different resolution and voltage reference.

As part of adding NPCM8XX support:
- Add NPCM8XX specific compatible string.
- Add data to handle architecture-specific ADC parameters.

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/20220713132640.215916-3-tmaimon77@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/npcm_adc.c