]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Docs: iio: ad7191 Correct clock configuration
authorAmmar Mustafa <ammarmustafa34@gmail.com>
Fri, 27 Feb 2026 19:08:33 +0000 (14:08 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 27 Mar 2026 07:31:19 +0000 (07:31 +0000)
Correct the ad7191 documentation to match the datasheet:
- Fix inverted CLKSEL pin logic: device uses external clock when pin is
  inactive, and internal CMOS/crystal when high.
- Correct CMOS-compatible clock pin from MCLK2 to MCLK1.

Signed-off-by: Ammar Mustafa <ammarmustafa34@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/iio/ad7191.rst

index 977d4fea14b0f84758e020c0f01422df8fac843c..fd6a23ad44fd84da9ca07beaf46a934f4b94e618 100644 (file)
@@ -63,11 +63,11 @@ Clock Configuration
 
 The AD7191 supports both internal and external clock sources:
 
-- When CLKSEL pin is tied LOW: Uses internal 4.92MHz clock (no clock property
+- When CLKSEL pin is ACTIVE: Uses internal 4.92MHz clock (no clock property
   needed)
-- When CLKSEL pin is tied HIGH: Requires external clock source
+- When CLKSEL pin is INACTIVE: Requires external clock source
   - Can be a crystal between MCLK1 and MCLK2 pins
-  - Or a CMOS-compatible clock driving MCLK2 pin
+  - Or a CMOS-compatible clock driving MCLK1 pin and MCLK2 left unconnected
   - Must specify the "clocks" property in device tree when using external clock
 
 SPI Interface Requirements