1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/pwm/google,cros-ec-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PWM controlled by ChromeOS EC
10 - Thierry Reding <thierry.reding@gmail.com>
11 - '"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>'
14 Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
15 (EC) and controlled via a host-command interface.
16 An EC PWM node should be only found as a sub-node of the EC node (see
17 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
25 - description: PWM controlled using EC_PWM_TYPE_GENERIC channels.
27 - const: google,cros-ec-pwm
28 - description: PWM controlled using CROS_EC_PWM_DT_<...> types.
30 - const: google,cros-ec-pwm-type
33 description: The cell specifies the PWM index.
39 additionalProperties: false
48 compatible = "google,cros-ec-spi";
53 compatible = "google,cros-ec-pwm";