linux/drivers/iio/frequency
Antoniu Miclaus 287d998af2 iio: admv1013: add mixer_vgate corner cases
Include the corner cases in the computation of the MIXER_VGATE register
value.

According to the datasheet: The MIXER_VGATE values follows the VCM such
as, that for a 0V to 1.8V VCM, MIXER_VGATE = 23.89 VCM + 81, and for a >
1.8V to 2.6V VCM, MIXER_VGATE = 23.75 VCM + 1.25.

Fixes: da35a7b526 ("iio: frequency: admv1013: add support for ADMV1013")
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230807143806.6954-1-antoniu.miclaus@analog.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-09-11 20:12:59 +01:00
..
ad9523.c iio: frequency: ad9523: Use devm_regulator_get_enable() 2022-11-23 19:44:01 +00:00
adf4350.c iio: frequency: adf4350: Fix alignment for DMA safety 2022-06-14 11:53:17 +01:00
adf4371.c iio: frequency: adf4371: Benefit from devm_clk_get_enabled() to simplify 2022-08-15 22:30:02 +01:00
adf4377.c iio: frequency: adf4377: add support for ADF4377 2022-11-23 21:05:51 +00:00
admv1013.c iio: admv1013: add mixer_vgate corner cases 2023-09-11 20:12:59 +01:00
admv1014.c iio: frequency: admv1014: return -EINVAL directly 2022-08-19 18:07:22 +01:00
admv4420.c iio: frequency: admv4420: Fix alignment for DMA safety 2022-06-14 11:53:18 +01:00
adrf6780.c iio: frequency: adrf6780: Benefit from devm_clk_get_enabled() to simplify 2022-08-15 22:30:02 +01:00
Kconfig iio: frequency: adf4377: add support for ADF4377 2022-11-23 21:05:51 +00:00
Makefile iio: frequency: adf4377: add support for ADF4377 2022-11-23 21:05:51 +00:00