cc10001_adc.txt 688 B

1234567891011121314151617181920212223
  1. * Cosmic Circuits - Analog to Digital Converter (CC-10001-ADC)
  2. Required properties:
  3. - compatible: Should be "cosmic,10001-adc"
  4. - reg: Should contain adc registers location and length.
  5. - clock-names: Should contain "adc".
  6. - clocks: Should contain a clock specifier for each entry in clock-names
  7. - vref-supply: The regulator supply ADC reference voltage.
  8. Optional properties:
  9. - adc-reserved-channels: Bitmask of reserved channels,
  10. i.e. channels that cannot be used by the OS.
  11. Example:
  12. adc: adc@18101600 {
  13. compatible = "cosmic,10001-adc";
  14. reg = <0x18101600 0x24>;
  15. adc-reserved-channels = <0x2>;
  16. clocks = <&adc_clk>;
  17. clock-names = "adc";
  18. vref-supply = <&reg_1v8>;
  19. };