GNU Linux-libre 4.9.294-gnu1
[releases.git] / Documentation / devicetree / bindings / pwm / google,cros-ec-pwm.txt
1 * PWM controlled by ChromeOS EC
2
3 Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
4 (EC) and controlled via a host-command interface.
5
6 An EC PWM node should be only found as a sub-node of the EC node (see
7 Documentation/devicetree/bindings/mfd/cros-ec.txt).
8
9 Required properties:
10 - compatible: Must contain "google,cros-ec-pwm"
11 - #pwm-cells: Should be 1. The cell specifies the PWM index.
12
13 Example:
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         };