google,cros-ec-pwm.txt 574 B

123456789101112131415161718192021222324
  1. * PWM controlled by ChromeOS EC
  2. Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
  3. (EC) and controlled via a host-command interface.
  4. An EC PWM node should be only found as a sub-node of the EC node (see
  5. Documentation/devicetree/bindings/mfd/cros-ec.txt).
  6. Required properties:
  7. - compatible: Must contain "google,cros-ec-pwm"
  8. - #pwm-cells: Should be 1. The cell specifies the PWM index.
  9. Example:
  10. cros-ec@0 {
  11. compatible = "google,cros-ec-spi";
  12. ...
  13. cros_ec_pwm: ec-pwm {
  14. compatible = "google,cros-ec-pwm";
  15. #pwm-cells = <1>;
  16. };
  17. };