Commit 20f370ef authored by Tzung-Bi Shih's avatar Tzung-Bi Shih
Browse files

dt-bindings: add google,cros-kbd-led-backlight

parent 6b1e5ba3
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/chrome/google,cros-kbd-led-backlight.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ChromeOS keyboard backlight LED driver.

maintainers:
  - Tzung-Bi Shih <tzungbi@kernel.org>

properties:
  compatible:
    const: google,cros-kbd-led-backlight

required:
  - compatible

additionalProperties: false

examples:
  - |
    spi0 {
      #address-cells = <1>;
      #size-cells = <0>;

      cros_ec: ec@0 {
        compatible = "google,cros-ec-spi";
        reg = <0>;

        kbd-led-backlight {
          compatible = "google,cros-kbd-led-backlight";
        };
      };
    };
+3 −0
Original line number Diff line number Diff line
@@ -90,6 +90,9 @@ properties:
  pwm:
    $ref: "/schemas/pwm/google,cros-ec-pwm.yaml#"

  kbd-led-backlight:
    $ref: "/schemas/chrome/google,cros-kbd-led-backlight.yaml#"

  keyboard-controller:
    $ref: "/schemas/input/google,cros-ec-keyb.yaml#"