Based on kernel version 6.11
. Page generated on 2024-09-24 08:21 EST
.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
| # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/envelope-detector.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: ADC envelope detector using a DAC and a comparator
maintainers:
- Peter Rosin <peda@axentia.se>
description: |
The DAC is used to find the peak level of an alternating voltage input
signal by a binary search using the output of a comparator wired to
an interrupt pin. Like so:
_
| \
input +------>-------|+ \
| \
.-------. | }---.
| | | / |
| dac|-->--|- / |
| | |_/ |
| | |
| | |
| irq|------<-------'
| |
'-------'
properties:
compatible:
const: axentia,tse850-envelope-detector
io-channels:
maxItems: 1
description: Channel node of the dac to be used for comparator input.
io-channel-names:
const: dac
interrupts:
maxItems: 1
interrupt-names:
const: comp
required:
- compatible
- io-channels
- io-channel-names
- interrupts
- interrupt-names
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
dpot: dpot@28 {
compatible = "microchip,mcp4651-104";
reg = <0x28>;
#io-channel-cells = <1>;
};
};
dac: dac {
compatible = "dpot-dac";
vref-supply = <®_3v3>;
io-channels = <&dpot 0>;
io-channel-names = "dpot";
#io-channel-cells = <1>;
};
envelope-detector {
compatible = "axentia,tse850-envelope-detector";
io-channels = <&dac 0>;
io-channel-names = "dac";
interrupt-parent = <&gpio>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
interrupt-names = "comp";
};
...
|
- << [ iio ]
- adc.yaml
- adi,ad4130.yaml
- adi,ad7091r5.yaml
- adi,ad7124.yaml
- adi,ad7173.yaml
- adi,ad7192.yaml
- adi,ad7280a.yaml
- adi,ad7291.yaml
- adi,ad7292.yaml
- adi,ad7298.yaml
- adi,ad7380.yaml
- adi,ad7476.yaml
- adi,ad7606.yaml
- adi,ad7768-1.yaml
- adi,ad7780.yaml
- adi,ad7923.yaml
- adi,ad7944.yaml
- adi,ad7949.yaml
- adi,ad799x.yaml
- adi,ad9467.yaml
- adi,axi-adc.yaml
- adi,max11410.yaml
- allwinner,sun20i-d1-gpadc.yaml
- allwinner,sun8i-a33-ths.yaml
- amlogic,meson-saradc.yaml
- aspeed,ast2400-adc.yaml
- aspeed,ast2600-adc.yaml
- atmel,sama5d2-adc.yaml
- atmel,sama9260-adc.yaml
- avia-hx711.yaml
- brcm,iproc-static-adc.yaml
- cirrus,ep9301-adc.yaml
- cosmic,10001-adc.yaml
- dlg,da9150-gpadc.yaml
- envelope-detector.yaml
- fsl,imx25-gcq.yaml
- fsl,imx7d-adc.yaml
- fsl,vf610-adc.yaml
- holt,hi8435.yaml
- ingenic,adc.yaml
- lltc,ltc2496.yaml
- lltc,ltc2497.yaml
- marvell,berlin2-adc.yaml
- maxim,max1027.yaml
- maxim,max11100.yaml
- maxim,max1118.yaml
- maxim,max11205.yaml
- maxim,max1238.yaml
- maxim,max1241.yaml
- maxim,max1363.yaml
- maxim,max34408.yaml
- maxim,max9611.yaml
- mediatek,mt2701-auxadc.yaml
- mediatek,mt6359-auxadc.yaml
- mediatek,mt6360-adc.yaml
- microchip,mcp3201.yaml
- microchip,mcp3564.yaml
- microchip,mcp3911.yaml
- microchip,pac1934.yaml
- motorola,cpcap-adc.yaml
- nuvoton,nau7802.yaml
- nuvoton,npcm750-adc.yaml
- nxp,imx8qxp-adc.yaml
- nxp,imx93-adc.yaml
- nxp,lpc1850-adc.yaml
- nxp,lpc3220-adc.yaml
- qcom,pm8018-adc.yaml
- qcom,spmi-iadc.yaml
- qcom,spmi-rradc.yaml
- qcom,spmi-vadc.yaml
- renesas,rcar-gyroadc.yaml
- renesas,rzg2l-adc.yaml
- richtek,rtq6056.yaml
- rockchip-saradc.yaml
- samsung,exynos-adc.yaml
- sigma-delta-modulator.yaml
- sprd,sc2720-adc.yaml
- st,stm32-adc.yaml
- st,stm32-dfsdm-adc.yaml
- st,stmpe-adc.yaml
- ti,adc081c.yaml
- ti,adc0832.yaml
- ti,adc084s021.yaml
- ti,adc108s102.yaml
- ti,adc12138.yaml
- ti,adc128s052.yaml
- ti,adc161s626.yaml
- ti,ads1015.yaml
- ti,ads1100.yaml
- ti,ads1119.yaml
- ti,ads124s08.yaml
- ti,ads1298.yaml
- ti,ads131e08.yaml
- ti,ads7924.yaml
- ti,ads7950.yaml
- ti,ads8344.yaml
- ti,ads8688.yaml
- ti,am3359-adc.yaml
- ti,lmp92064.yaml
- ti,palmas-gpadc.yaml
- ti,tlc4541.yaml
- ti,tsc2046.yaml
- ti,twl4030-madc.yaml
- ti,twl6030-gpadc.yaml
- x-powers,axp209-adc.yaml
- xilinx-xadc.txt
- xlnx,zynqmp-ams.yaml
-