@@ -30,6 +30,20 @@ description: |
30
30
3 -- OUT3
31
31
4 -- OUT4
32
32
33
+ The idt,shutdown and idt,output-enable-active properties control the
34
+ SH (en_global_shutdown) and SP bits of the Primary Source and Shutdown
35
+ Register, respectively. Their behavior is summarized by the following
36
+ table:
37
+
38
+ SH SP Output when the SD/OE pin is Low/High
39
+ == == =====================================
40
+ 0 0 Active/Inactive
41
+ 0 1 Inactive/Active
42
+ 1 0 Active/Shutdown
43
+ 1 1 Inactive/Shutdown
44
+
45
+ The case where SH and SP are both 1 is likely not very interesting.
46
+
33
47
maintainers :
34
48
-
Luca Ceresoli <[email protected] >
35
49
@@ -64,6 +78,26 @@ properties:
64
78
maximum : 22760
65
79
description : Optional load capacitor for XTAL1 and XTAL2
66
80
81
+ idt,shutdown :
82
+ $ref : /schemas/types.yaml#/definitions/uint32
83
+ enum : [0, 1]
84
+ description : |
85
+ If 1, this enables the shutdown functionality: the chip will be
86
+ shut down if the SD/OE pin is driven high. If 0, this disables the
87
+ shutdown functionality: the chip will never be shut down based on
88
+ the value of the SD/OE pin. This property corresponds to the SH
89
+ bit of the Primary Source and Shutdown Register.
90
+
91
+ idt,output-enable-active :
92
+ $ref : /schemas/types.yaml#/definitions/uint32
93
+ enum : [0, 1]
94
+ description : |
95
+ If 1, this enables output when the SD/OE pin is high, and disables
96
+ output when the SD/OE pin is low. If 0, this disables output when
97
+ the SD/OE pin is high, and enables output when the SD/OE pin is
98
+ low. This corresponds to the SP bit of the Primary Source and
99
+ Shutdown Register.
100
+
67
101
patternProperties :
68
102
" ^OUT[1-4]$ " :
69
103
type : object
@@ -90,6 +124,8 @@ required:
90
124
- compatible
91
125
- reg
92
126
- ' #clock-cells'
127
+ - idt,shutdown
128
+ - idt,output-enable-active
93
129
94
130
allOf :
95
131
- if :
@@ -139,6 +175,10 @@ examples:
139
175
clocks = <&ref25m>;
140
176
clock-names = "xin";
141
177
178
+ /* Set the SD/OE pin's settings */
179
+ idt,shutdown = <0>;
180
+ idt,output-enable-active = <0>;
181
+
142
182
OUT1 {
143
183
idt,mode = <VC5_CMOSD>;
144
184
idt,voltage-microvolt = <1800000>;
0 commit comments