summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-08-28 16:54:54 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-30 20:46:48 +0100
commited231e253ff23214712c8884165b4eb8a441f573 (patch)
tree1e576abecc19efea824fac9c606f5b2e0f4831e6 /rust/helpers
parentaead8e4cc04612f74c7277de137cc995df280829 (diff)
iio: adc: ad7124: add external clock support
Add support for an external clock source to the AD7124 ADC driver. Previously, the driver only supported using the internal clock and had bad devicetree bindings that used a fake clock to essentially select the power mode. This is preserved for backwards compatibility. If the clock is not named "mclk", then we know that the devicetree is using the correct bindings and we can configure the chip to use an external clock source rather than internal. Also drop a redundant comment when configuring the register fields instead of adding more. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250828-iio-adc-ad7124-proper-clock-support-v3-3-0b317b4605e5@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions