The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/pwm/google,cros-ec-pwm.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/pwm/google,cros-ec-pwm.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: PWM controlled by ChromeOS EC
    8 
    9 maintainers:
   10   - Thierry Reding <thierry.reding@gmail.com>
   11   - '"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>'
   12 
   13 description: |
   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).
   18 
   19 allOf:
   20   - $ref: pwm.yaml#
   21 
   22 properties:
   23   compatible:
   24     oneOf:
   25       - description: PWM controlled using EC_PWM_TYPE_GENERIC channels.
   26         items:
   27           - const: google,cros-ec-pwm
   28       - description: PWM controlled using CROS_EC_PWM_DT_<...> types.
   29         items:
   30           - const: google,cros-ec-pwm-type
   31 
   32   "#pwm-cells":
   33     description: The cell specifies the PWM index.
   34     const: 1
   35 
   36 required:
   37   - compatible
   38   - '#pwm-cells'
   39 
   40 additionalProperties: false
   41 
   42 examples:
   43   - |
   44     spi {
   45         #address-cells = <1>;
   46         #size-cells = <0>;
   47 
   48         cros-ec@0 {
   49             compatible = "google,cros-ec-spi";
   50             reg = <0>;
   51 
   52             cros_ec_pwm: pwm {
   53                 compatible = "google,cros-ec-pwm";
   54                 #pwm-cells = <1>;
   55             };
   56         };
   57     };

Cache object: c3aaae5eab5fc5bbbc6559aad31a4688


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.