iio: buffer: Increase max buffer size from 4 MiB to 16 MiB

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
iio: dac: ad5592r: Ignore errors when reseting chip

This is required for the ad5593r; the I2C communication will stop as
soon as the chip is reseted, so the I2C master will trigger an error
that can safely be ignored.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
iio: dac: Added ad5593r driver

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
drivers/iio/frequency/ad9517.c: "line" address should be compared with the start address of the "data" + size.
microblaze: Fix mmap for cache coherent memory

When running in non-cache coherent configuration the memory that was
allocated with dma_alloc_coherent() has a custom mapping and so there is no
1-to-1 relationship between the kernel virtual address and the PFN. This
means that virt_to_pfn() will not work correctly for those addresses and the
default mmap implementation in the form of dma_common_mmap() will map some
random, but not the requested, memory area.

Fix this by providing a custom mmap implementation that looks up the PFN
from the page table rather than using virt_to_pfn.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
zynq_xcomm_adv7511_defconfig: Enable AD5592R/AD5593R

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/adc/ad9361: Revise RFPLL and BPBLL reference sale behavior

Fix BBPLL max PFD frequency (70MHz)
Default use reference doubler if the ext ref is <= 40MHz (previous < 40MHz)
This can cause more fractional spurs but will give better phase noise
performance. If you like to revert to the previous behavior you
can set: adi,trx-synthesizer-target-fref-overwrite-hz = <40000000>;
This will ensure that the scaled reference clock for RFPLL will never
exceed this value.
You may also use this property to further downscale the target
reference clock.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
drivers/iio/adc/admc_ctrl.c: Fixed the sign of the channels.
iio: dac: Fix duplicated entry in Kconfig

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
iio: trigger: Remove unused / broken function

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
iio: Fix build when buffer is disactivated

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
drivers/iio/adc/cf_axi_jesd204b_gt: Revise register clock names

Avoid ROOT clocks.
Register clocks with names provides by clock-output-names.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
drivers/iio/dac/ad5446: IIO dev name allow of_node->name

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Merge branch 'xcomm_zynq' of https://github.com/analogdevicesinc/linux into xcomm_zynq
arch/arm/boot/dts: Rename ADI device trees to reflect the FMC names

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
arch/arm/boot/dts: Rename ADI device trees to reflect the FMC names
arch/arm/boot/dts: Rename ADI device trees to reflect the FMC names
arch/microblaze/boot/dts: Update microblaze dts FMCDAQ2 FMCADC2 FMCADC5

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
drivers/iio/adc/cf_axi_adc_core: axiadc_probe() fix error handling

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
drivers/iio/adc/cf_axi_adc_ring_stream: Fix error handling

iio_dmaengine_buffer_alloc() may return ERR_PTR other than NULL


Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>