aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/xilinx-xadc.h
diff options
context:
space:
mode:
authorManish Narani <manish.narani@xilinx.com>2018-07-23 20:32:01 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-07-29 12:49:48 +0100
commit81f5471838c279c97f0b46f18e766c2ac0de8806 (patch)
tree5982fe6b985ffa762e49f9a9a4efb9d2c9e82983 /drivers/iio/adc/xilinx-xadc.h
parentiio: adc: xilinx: Check for return values in clk related functions (diff)
downloadlinux-dev-81f5471838c279c97f0b46f18e766c2ac0de8806.tar.xz
linux-dev-81f5471838c279c97f0b46f18e766c2ac0de8806.zip
iio: adc: xilinx: limit pcap clock frequency value
This patch limits the xadc pcap clock frequency value to be less than 200MHz. This fixes the issue when zynq is booted at higher frequency values, pcap crosses the maximum limit of 200MHz(Fmax) as it is derived from IOPLL. If this limit is crossed it is required to alter the WEDGE and REDGE bits of XADC_CFG register to make timings better in the interface. So to avoid alteration of these bits every time, the pcap value should not cross the Fmax limit. Signed-off-by: Manish Narani <manish.narani@xilinx.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/xilinx-xadc.h')
0 files changed, 0 insertions, 0 deletions