File tree Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Expand file tree Collapse file tree 1 file changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2024 NXP
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ description : NXP low-power analog comparator (LPCMP)
5+
6+ compatible : " nxp,lpcmp"
7+
8+ include : [sensor-device.yaml, pinctrl-device.yaml]
9+
10+ properties :
11+ interrupts :
12+ required : true
13+
14+ reg :
15+ required : true
16+
17+ enable-output-pin :
18+ type : boolean
19+ description : |
20+ Decide whether to enable the comparator is available in selected pin.
21+
22+ use-unfiltered-output :
23+ type : boolean
24+ description : |
25+ Decide whether to use the unfiltered output.
26+
27+ enable-output-invert :
28+ type : boolean
29+ description : |
30+ Decide whether to invert the comparator output.
31+
32+ hysteresis-level :
33+ type : int
34+ enum :
35+ - 0
36+ - 1
37+ - 2
38+ - 3
39+ default : 0
40+ description : |
41+ LPCMP hysteresis mode.
42+ The default corresponds to the reset value of the register field.
43+
44+ power-level :
45+ type : string
46+ enum :
47+ - " low"
48+ - " high"
49+ - " nano"
50+ default : " low"
51+ description : |
52+ LPCMP power mode.
53+ The default corresponds to the reset value of the register field.
54+
55+ function-clock :
56+ type : string
57+ enum :
58+ - " Reserved"
59+ - " FRO_16K"
60+ - " XTAL32K"
61+ - " CMP_CLOCK"
62+ default : " Reserved"
63+ description : |
64+ LPCMP function clock.
65+ The default corresponds to the reset value of the register field.
66+
67+ " #io-channel-cells " :
68+ type : int
69+ const : 2
70+
71+ io-channel-cells :
72+ - positive
73+ - negative
You can’t perform that action at this time.
0 commit comments