blob: f198d088917b7b3ae6cb61d6c5b54c3f66cab9fc [file] [log] [blame]
Alper Nebi Yasak2b8031f2020-10-22 23:49:27 +03001PWM controlled by ChromeOS EC
2
3Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
4(EC) and controlled via a host-command interface.
5
6An EC PWM node should be only found as a sub-node of the EC node (see
7doc/device-tree-bindings/misc/cros-ec.txt).
8
9Required properties:
10- compatible: Must contain "google,cros-ec-pwm"
11- #pwm-cells: Should be 1. The cell specifies the PWM index.
12
13Example:
14 cros-ec@0 {
15 compatible = "google,cros-ec-spi";
16
17 ...
18
19 cros_ec_pwm: ec-pwm {
20 compatible = "google,cros-ec-pwm";
21 #pwm-cells = <1>;
22 };
23 };