Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/adc/cc10001_adc.txt
48406 views
1
* Cosmic Circuits - Analog to Digital Converter (CC-10001-ADC)
2
3
Required properties:
4
- compatible: Should be "cosmic,10001-adc"
5
- reg: Should contain adc registers location and length.
6
- clock-names: Should contain "adc".
7
- clocks: Should contain a clock specifier for each entry in clock-names
8
- vref-supply: The regulator supply ADC reference voltage.
9
10
Optional properties:
11
- adc-reserved-channels: Bitmask of reserved channels,
12
i.e. channels that cannot be used by the OS.
13
14
Example:
15
adc: adc@18101600 {
16
compatible = "cosmic,10001-adc";
17
reg = <0x18101600 0x24>;
18
adc-reserved-channels = <0x2>;
19
clocks = <&adc_clk>;
20
clock-names = "adc";
21
vref-supply = <&reg_1v8>;
22
};
23
24