summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-08-28 16:54:53 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-30 20:45:26 +0100
commitaead8e4cc04612f74c7277de137cc995df280829 (patch)
tree0762357d2edf632082a9c445138ca4bca79dfe3c /rust/kernel/alloc
parenta52bdee13ed77f02dfd902baeb0eae876846672e (diff)
iio: adc: ad7124: do not require mclk
Make the "mclk" clock optional in the ad7124 driver. The MCLK is an internal counter on the ADC, so it is not something that should be coming from the devicetree. However, existing users may be using this to essentially select the power mode of the ADC from the devicetree. In order to not break those users, we have to keep the existing "mclk" handling, but now it is optional. Now, when the "mclk" clock is omitted from the devicetree, the driver will default to the full power mode. Support for an external clock and dynamic power mode switching can be added later if needed. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250828-iio-adc-ad7124-proper-clock-support-v3-2-0b317b4605e5@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions