Lines Matching +full:cros +full:- +full:cbas
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:
49 google,cros-ec-spi-msg-delay:
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':
97 $ref: /schemas/chrome/google,cros-ec-typec.yaml#
99 ec-pwm:
100 $ref: /schemas/pwm/google,cros-ec-pwm.yaml#
104 $ref: /schemas/pwm/google,cros-ec-pwm.yaml#
106 kbd-led-backlight:
107 $ref: /schemas/chrome/google,cros-kbd-led-backlight.yaml#
109 keyboard-controller:
110 $ref: /schemas/input/google,cros-ec-keyb.yaml#
113 $ref: /schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
120 '#address-cells':
123 '#size-cells':
127 "^ec-codec@[a-f0-9]+$":
129 $ref: /schemas/sound/google,cros-ec-codec.yaml#
132 - "#address-cells"
133 - "#size-cells"
135 cbas:
144 const: google,cros-cbas
147 - compatible
152 "^i2c-tunnel[0-9]*$":
154 $ref: /schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
156 "^regulator@[0-9]+$":
158 $ref: /schemas/regulator/google,cros-ec-regulator.yaml#
160 "^extcon[0-9]*$":
162 $ref: /schemas/extcon/extcon-usbc-cros-ec.yaml#
165 - compatible
168 - if:
173 const: google,cros-ec-spi
176 controller-data: false
177 google,cros-ec-spi-pre-delay: false
178 google,cros-ec-spi-msg-delay: false
179 spi-max-frequency: false
181 $ref: /schemas/spi/spi-peripheral-props.yaml
183 - if:
188 const: google,cros-ec-rpmsg
191 mediatek,rpmsg-name: false
193 - if:
199 - google,cros-ec-rpmsg
200 - google,cros-ec-uart
203 - reg
204 - interrupts
206 - if:
210 const: google,cros-ec-fp
213 '#address-cells': false
214 '#size-cells': false
216 ec-pwm: false
217 kbd-led-backlight: false
218 keyboard-controller: false
221 cbas: false
224 "^i2c-tunnel[0-9]*$": false
225 "^regulator@[0-9]+$": false
226 "^extcon[0-9]*$": false
232 - reset-gpios
233 - boot0-gpios
234 - vdd-supply
237 reset-gpios: false
238 boot0-gpios: false
239 vdd-supply: false
245 - |
246 #include <dt-bindings/gpio/gpio.h>
247 #include <dt-bindings/interrupt-controller/irq.h>
250 #address-cells = <1>;
251 #size-cells = <0>;
253 cros-ec@1e {
254 compatible = "google,cros-ec-i2c";
257 interrupt-parent = <&gpio0>;
262 - |
263 #include <dt-bindings/gpio/gpio.h>
264 #include <dt-bindings/interrupt-controller/irq.h>
267 #address-cells = <1>;
268 #size-cells = <0>;
270 cros-ec@0 {
271 compatible = "google,cros-ec-spi";
273 google,cros-ec-spi-msg-delay = <30>;
274 google,cros-ec-spi-pre-delay = <10>;
276 interrupt-parent = <&gpio7>;
277 spi-max-frequency = <5000000>;
280 compatible = "google,cros-ec-mkbp-proximity";
283 cbas {
284 compatible = "google,cros-cbas";
290 - |
292 cros-ec {
293 compatible = "google,cros-ec-rpmsg";
298 - |
300 #address-cells = <0x1>;
301 #size-cells = <0x0>;
304 compatible = "google,cros-ec-fp", "google,cros-ec-spi";
306 interrupt-parent = <&gpio_controller>;
308 spi-max-frequency = <3000000>;
309 reset-gpios = <&gpio_controller 5 GPIO_ACTIVE_LOW>;
310 boot0-gpios = <&gpio_controller 10 GPIO_ACTIVE_HIGH>;
311 vdd-supply = <&pp3300_fp_mcu>;
316 - |
318 cros-ec {
319 compatible = "google,cros-ec-uart";