xref: /freebsd/sys/contrib/device-tree/Bindings/chrome/google,cros-kbd-led-backlight.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadottitle: ChromeOS keyboard backlight LED driver.
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Tzung-Bi Shih <tzungbi@kernel.org>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadotproperties:
13b97ee269SEmmanuel Vadot  compatible:
14b97ee269SEmmanuel Vadot    const: google,cros-kbd-led-backlight
15b97ee269SEmmanuel Vadot
16b97ee269SEmmanuel Vadotrequired:
17b97ee269SEmmanuel Vadot  - compatible
18b97ee269SEmmanuel Vadot
19b97ee269SEmmanuel VadotadditionalProperties: false
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadotexamples:
22b97ee269SEmmanuel Vadot  - |
23*fac71e4eSEmmanuel Vadot    spi {
24b97ee269SEmmanuel Vadot      #address-cells = <1>;
25b97ee269SEmmanuel Vadot      #size-cells = <0>;
26b97ee269SEmmanuel Vadot
27b97ee269SEmmanuel Vadot      cros_ec: ec@0 {
28b97ee269SEmmanuel Vadot        compatible = "google,cros-ec-spi";
29b97ee269SEmmanuel Vadot        reg = <0>;
308bab661aSEmmanuel Vadot        interrupts = <15 0>;
31b97ee269SEmmanuel Vadot
32b97ee269SEmmanuel Vadot        kbd-led-backlight {
33b97ee269SEmmanuel Vadot          compatible = "google,cros-kbd-led-backlight";
34b97ee269SEmmanuel Vadot        };
35b97ee269SEmmanuel Vadot      };
36b97ee269SEmmanuel Vadot    };
37