diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-01-24 00:42:06 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-01-24 00:42:06 +0100 |
commit | 4c00e3cb1011d79fcced8afb9e9ebffef8039fc8 (patch) | |
tree | 1eb88ee3c8053727ddb4c8e2ecb9a1479f12ec38 /Documentation | |
parent | 5d967002cc9b6fc81361688144a5832af0cd1835 (diff) | |
parent | 34cedcf70a7286cbc34445949e702d8c476a3d99 (diff) |
Merge branch 'vf610-adc-max-sample-freq' into toradex_vf_3.18-next
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/vf610-adc.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt b/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt index 1a4a43d5c9ea..05e88c229216 100644 --- a/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/vf610-adc.txt @@ -11,6 +11,18 @@ Required properties: - clock-names: Must contain "adc", matching entry in the clocks property. - vref-supply: The regulator supply ADC reference voltage. +Recommended properties: +- fsl,adck-max-frequency: Maximum frequencies according to datasheets operating + requirements. Three values are required: + - Frequency in default mode (ADLPC=0, ADHSC=0) + - Frequency in high speed mode (ADLPC=0, ADHSC=1) + - Frequency in low power mode (ADLPC=1, ADHSC=0) + +Optional properties: +- fsl,use-lpm: Use low power conversion mode, which usually lowers maximum + sample rate slightly. +- fsl,use-hsc: Use high speed configuration for maximum sample rates. + Example: adc0: adc@4003b000 { compatible = "fsl,vf610-adc"; @@ -18,5 +30,8 @@ adc0: adc@4003b000 { interrupts = <0 53 0x04>; clocks = <&clks VF610_CLK_ADC0>; clock-names = "adc"; + fsl,adck-max-frequency = <30000000>, <40000000>, + <20000000>; + fsl,use-lpm; vref-supply = <®_vcc_3v3_mcu>; }; |