-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: frequency: New driver for Analog Devices ADF4350/ADF4351 Wideban…
…d Synthesizers Changes since V1: Apply Jonathan's review feedback: Introduce and use IIO_ALTVOLTAGE. Fix up comments and documentation. Remove dead code. Reorder some code fragments. Add missing iio_device_free. Convert to new API. Fix-up out of staging includes. Removed pll_locked attribute. Changes since V2: Use module_spi_driver. adf4350_remove: move gpio_free after regulator. target patch to drivers/iio Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Michael Hennerich
authored and
Greg Kroah-Hartman
committed
Jun 5, 2012
1 parent
cd1678f
commit e31166f
Showing
5 changed files
with
644 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency_resolution | ||
KernelVersion: 3.4.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Stores channel Y frequency resolution/channel spacing in Hz. | ||
The value given directly influences the MODULUS used by | ||
the fractional-N PLL. It is assumed that the algorithm | ||
that is used to compute the various dividers, is able to | ||
generate proper values for multiples of channel spacing. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_refin_frequency | ||
KernelVersion: 3.4.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Sets channel Y REFin frequency in Hz. In some clock chained | ||
applications, the reference frequency used by the PLL may | ||
change during runtime. This attribute allows the user to | ||
adjust the reference frequency accordingly. | ||
The value written has no effect until out_altvoltageY_frequency | ||
is updated. Consider to use out_altvoltageY_powerdown to power | ||
down the PLL and it's RFOut buffers during REFin changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
# | ||
|
||
obj-$(CONFIG_AD9523) += ad9523.o | ||
obj-$(CONFIG_ADF4350) += adf4350.o |
Oops, something went wrong.