On 4/27/22 13:23, Jernej Škrabec wrote:
Hi Ruslan!
Dne sreda, 27. april 2022 ob 21:25:12 CEST je Ruslan Zalata napisal(a):
Some Allwinner SoCs like A13, A20 or T2 are equipped with two-channel
low rate (6 bit) ADC that is often used for extra keys. There's a driver
for that already implementing standard input device, but it has these
limitations: 1) it cannot be used for general ADC data equisition, and
2) it uses only one LRADC channel of two available.
This driver provides basic hwmon interface to both channels of LRADC on
such Allwinner SoCs.
Signed-off-by: Ruslan Zalata <rz@xxxxxxxxxxx>
Before even going to check actual driver, please read https://www.kernel.org/
doc/html/latest/process/submitting-patches.html in detail.
Just few basic things to fix first:
1. subject doesn't conform to rules
2. send patch to maintainers and mailing lists (use scripts/get_maintainer.pl)
I only got the copy sent directly to me. Anyway, how is this different to
the driver in drivers/iio/adc/sun4i-gpadc-iio.c ?
Guenter