1 Bindings for ADC envelope detector using a DAC and a comparator
3 The DAC is used to find the peak level of an alternating voltage input
4 signal by a binary search using the output of a comparator wired to
5 an interrupt pin. Like so:
8 input +------>-------|+ \
21 - compatible: Should be "axentia,tse850-envelope-detector"
22 - io-channels: Channel node of the dac to be used for comparator input.
23 - io-channel-names: Should be "dac".
24 - interrupt specification for one client interrupt,
25 see ../../interrupt-controller/interrupts.txt for details.
26 - interrupt-names: Should be "comp".
31 dpot: mcp4651-104@28 {
32 compatible = "microchip,mcp4651-104";
34 #io-channel-cells = <1>;
39 compatible = "dpot-dac";
40 vref-supply = <®_3v3>;
41 io-channels = <&dpot 0>;
42 io-channel-names = "dpot";
43 #io-channel-cells = <1>;
47 compatible = "axentia,tse850-envelope-detector";
48 io-channels = <&dac 0>;
49 io-channel-names = "dac";
51 interrupt-parent = <&gpio>;
52 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
53 interrupt-names = "comp";