xref: /freebsd/sys/contrib/device-tree/Bindings/chrome/google,cros-kbd-led-backlight.yaml (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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    spi0 {
24      #address-cells = <1>;
25      #size-cells = <0>;
26
27      cros_ec: ec@0 {
28        compatible = "google,cros-ec-spi";
29        reg = <0>;
30
31        kbd-led-backlight {
32          compatible = "google,cros-kbd-led-backlight";
33        };
34      };
35    };
36