[PATCH v2 2/8] iio: adc: rockchip_saradc: Add support for RK3588
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri May 26 01:36:23 PDT 2023
Il 25/05/23 23:27, Shreeya Patel ha scritto:
> From: Simon Xue <xxm at rock-chips.com>
>
> Add new start and read functions to support rk3588 device.
> Also, add a device compatible string for the same.
>
> Signed-off-by: Simon Xue <xxm at rock-chips.com>
> Signed-off-by: Shreeya Patel <shreeya.patel at collabora.com>
> ---
>
> Changes in v2
> - Add a from address.
> - Create separate patches for adding new device support and changes to
> the old device code.
> - Make use of FIELD_PREP.
>
> drivers/iio/adc/rockchip_saradc.c | 69 +++++++++++++++++++++++++++++++
> 1 file changed, 69 insertions(+)
>
> diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
> index 21f9d92a6af4..31637440be83 100644
> --- a/drivers/iio/adc/rockchip_saradc.c
> +++ b/drivers/iio/adc/rockchip_saradc.c
You're missing a header...
#include <linux/bitfield.h>
after adding that, you can get my
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Cheers,
Angelo
More information about the Linux-rockchip
mailing list