xref: /linux/Documentation/devicetree/bindings/chrome/google,cros-kbd-led-backlight.yaml (revision 702648721db590b3425c31ade294000e18808345)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ChromeOS keyboard backlight LED driver.
8
9maintainers:
10  - Tzung-Bi Shih <tzungbi@kernel.org>
11
12properties:
13  compatible:
14    const: google,cros-kbd-led-backlight
15
16required:
17  - compatible
18
19additionalProperties: false
20
21examples:
22  - |
23    spi {
24      #address-cells = <1>;
25      #size-cells = <0>;
26
27      cros_ec: ec@0 {
28        compatible = "google,cros-ec-spi";
29        reg = <0>;
30        interrupts = <15 0>;
31
32        kbd-led-backlight {
33          compatible = "google,cros-kbd-led-backlight";
34        };
35      };
36    };
37