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/input/pwm-beeper.txt

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 * PWM beeper device tree bindings
    2 
    3 Registers a PWM device as beeper.
    4 
    5 Required properties:
    6 - compatible: should be "pwm-beeper"
    7 - pwms: phandle to the physical PWM device
    8 
    9 Optional properties:
   10 - amp-supply: phandle to a regulator that acts as an amplifier for the beeper
   11 - beeper-hz:  bell frequency in Hz
   12 
   13 Example:
   14 
   15 beeper_amp: amplifier {
   16         compatible = "fixed-regulator";
   17         gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
   18 };
   19 
   20 beeper {
   21         compatible = "pwm-beeper";
   22         pwms = <&pwm0>;
   23         amp-supply = <&beeper_amp>;
   24 };

Cache object: 5067621e9fc8928351a07c798e569481


[ 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.