Lines Matching +full:pre +full:- +full:delay

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Benson Leung <bleung@chromium.org>
11 - Guenter Roeck <groeck@chromium.org>
22 - description:
24 const: google,cros-ec-i2c
25 - description:
27 const: google,cros-ec-spi
28 - description:
31 - const: google,cros-ec-fp
32 - const: google,cros-ec-spi
33 - description:
35 const: google,cros-ec-rpmsg
36 - description:
38 const: google,cros-ec-uart
40 controller-data: true
42 google,cros-ec-spi-pre-delay:
44 This property specifies the delay in usecs between the
49 google,cros-ec-spi-msg-delay:
51 This property specifies the delay in usecs between messages.
55 google,has-vbc-nvram:
62 mediatek,rpmsg-name:
64 Must be defined if the cros-ec is a rpmsg device for a Mediatek
65 ARM Cortex M4 Co-processor. Contains the name of the rpmsg
70 spi-max-frequency: true
78 reset-gpios:
81 boot0-gpios:
85 vdd-supply: true
87 wakeup-source:
88 description: Button can wake-up the system.
90 '#address-cells':
93 '#size-cells':
96 '#gpio-cells':
99 gpio-controller: true
102 $ref: /schemas/chrome/google,cros-ec-typec.yaml#
104 ec-pwm:
105 $ref: /schemas/pwm/google,cros-ec-pwm.yaml#
109 $ref: /schemas/pwm/google,cros-ec-pwm.yaml#
111 kbd-led-backlight:
112 $ref: /schemas/chrome/google,cros-kbd-led-backlight.yaml#
114 keyboard-controller:
115 $ref: /schemas/input/google,cros-ec-keyb.yaml#
118 $ref: /schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
125 '#address-cells':
128 '#size-cells':
132 "^ec-codec@[a-f0-9]+$":
134 $ref: /schemas/sound/google,cros-ec-codec.yaml#
137 - "#address-cells"
138 - "#size-cells"
149 const: google,cros-cbas
152 - compatible
157 "^i2c-tunnel[0-9]*$":
159 $ref: /schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
161 "^regulator@[0-9]+$":
163 $ref: /schemas/regulator/google,cros-ec-regulator.yaml#
165 "^extcon[0-9]*$":
167 $ref: /schemas/extcon/extcon-usbc-cros-ec.yaml#
170 - compatible
173 - if:
178 const: google,cros-ec-spi
181 controller-data: false
182 google,cros-ec-spi-pre-delay: false
183 google,cros-ec-spi-msg-delay: false
184 spi-max-frequency: false
186 $ref: /schemas/spi/spi-peripheral-props.yaml
188 - if:
193 const: google,cros-ec-rpmsg
196 mediatek,rpmsg-name: false
198 - if:
204 - google,cros-ec-rpmsg
205 - google,cros-ec-uart
208 - reg
209 - interrupts
211 - if:
215 const: google,cros-ec-fp
218 '#address-cells': false
219 '#size-cells': false
221 ec-pwm: false
222 kbd-led-backlight: false
223 keyboard-controller: false
229 "^i2c-tunnel[0-9]*$": false
230 "^regulator@[0-9]+$": false
231 "^extcon[0-9]*$": false
237 - reset-gpios
238 - boot0-gpios
239 - vdd-supply
242 reset-gpios: false
243 boot0-gpios: false
244 vdd-supply: false
250 - |
251 #include <dt-bindings/gpio/gpio.h>
252 #include <dt-bindings/interrupt-controller/irq.h>
255 #address-cells = <1>;
256 #size-cells = <0>;
258 cros-ec@1e {
259 compatible = "google,cros-ec-i2c";
262 interrupt-parent = <&gpio0>;
267 - |
268 #include <dt-bindings/gpio/gpio.h>
269 #include <dt-bindings/interrupt-controller/irq.h>
272 #address-cells = <1>;
273 #size-cells = <0>;
275 cros-ec@0 {
276 compatible = "google,cros-ec-spi";
278 google,cros-ec-spi-msg-delay = <30>;
279 google,cros-ec-spi-pre-delay = <10>;
281 interrupt-parent = <&gpio7>;
282 spi-max-frequency = <5000000>;
283 #gpio-cells = <2>;
284 gpio-controller;
287 compatible = "google,cros-ec-mkbp-proximity";
291 compatible = "google,cros-cbas";
297 - |
299 cros-ec {
300 compatible = "google,cros-ec-rpmsg";
305 - |
307 #address-cells = <0x1>;
308 #size-cells = <0x0>;
311 compatible = "google,cros-ec-fp", "google,cros-ec-spi";
313 interrupt-parent = <&gpio_controller>;
315 spi-max-frequency = <3000000>;
316 reset-gpios = <&gpio_controller 5 GPIO_ACTIVE_LOW>;
317 boot0-gpios = <&gpio_controller 10 GPIO_ACTIVE_HIGH>;
318 vdd-supply = <&pp3300_fp_mcu>;
323 - |
325 cros-ec {
326 compatible = "google,cros-ec-uart";