While implemented as an IIO driver, the ADF4377 is commonly used as a
clock source. This patch series enables it to function as either:
- A traditional IIO device (when #clock-cells is not specified)
- A clock provider (when #clock-cells is present in device tree)
The implementation provides standard clock framework integration with
rate control, enable/disable support, and maintains backward
compatibility with existing IIO configurations.
The current approach follows the recently accepted version of adding
clock provider for adf4350 device:
https://github.com/torvalds/linux/commit/a1a09713b40dfc1c0b7d1f9233a7698c93a9af05
Antoniu Miclaus (2):
dt-bindings: iio: frequency: adf4377: add clk provider
iio: frequency: adf4377: add clk provider support
.../bindings/iio/frequency/adi,adf4377.yaml | 8 ++
drivers/iio/frequency/adf4377.c | 119 +++++++++++++++++-
2 files changed, 125 insertions(+), 2 deletions(-)
--
2.43.0