@@ -108,6 +108,32 @@ properties:
108
108
maximum : 7
109
109
default : [0, 0, 0, 0]
110
110
111
+ patternProperties :
112
+ ' ^ti,gpo-config-[1-4]$ ' :
113
+ $ref : /schemas/types.yaml#/definitions/uint32-array
114
+ description : |
115
+ Defines the configuration and output driver for the general purpose
116
+ output pins (GPO). These values are pairs, the first value is for the
117
+ configuration type and the second value is for the output drive type.
118
+ The array is defined as <GPO_CFG GPO_DRV>
119
+
120
+ GPO output configuration can be one of the following:
121
+
122
+ 0 - (default) disabled
123
+ 1 - GPOX is configured as a general-purpose output (GPO)
124
+ 2 - GPOX is configured as a device interrupt output (IRQ)
125
+ 3 - GPOX is configured as a secondary ASI output (SDOUT2)
126
+ 4 - GPOX is configured as a PDM clock output (PDMCLK)
127
+
128
+ GPO output drive configuration for the GPO pins can be one of the following:
129
+
130
+ 0d - (default) Hi-Z output
131
+ 1d - Drive active low and active high
132
+ 2d - Drive active low and weak high
133
+ 3d - Drive active low and Hi-Z
134
+ 4d - Drive weak low and active high
135
+ 5d - Drive Hi-Z and active high
136
+
111
137
required :
112
138
- compatible
113
139
- reg
@@ -124,6 +150,8 @@ examples:
124
150
ti,mic-bias-source = <6>;
125
151
ti,pdm-edge-select = <0 1 0 1>;
126
152
ti,gpi-config = <4 5 6 7>;
153
+ ti,gpo-config-1 = <0 0>;
154
+ ti,gpo-config-2 = <0 0>;
127
155
reset-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
128
156
};
129
157
};
0 commit comments