summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/keyboard/cros-ec,kblight-pwm.yaml
blob: 33607729cda2c6faaa6b6b7effb8b7d990521d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2022 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: PWM keyboard backlight configuration

compatible: "cros-ec,kblight-pwm"

include: base.yaml

properties:
  pwms:
    type: phandle-array
    required: true
    description: PWM controlling the Keyboard backlight level.

  frequency:
    type: int
    required: true
    description: PWM frequency in Hz.

  generic-pwm-channel:
    type: int
    required: false
    description: Generic PWM channel number for legacy compatibility.