Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: ChromeOS keyboard backlight LED driver. |
| 8 | |
| 9 | maintainers: |
| 10 | - Tzung-Bi Shih <tzungbi@kernel.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: google,cros-kbd-led-backlight |
| 15 | |
| 16 | required: |
| 17 | - compatible |
| 18 | |
| 19 | additionalProperties: false |
| 20 | |
| 21 | examples: |
| 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 | }; |