brintos

brintos / linux-shallow public Read only

0
0
Text · 745 B · a7611c2 Raw
42 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/input/pwm-beeper.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: PWM beeper8 9maintainers:10  - Sascha Hauer <s.hauer@pengutronix.de>11 12properties:13  compatible:14    const: pwm-beeper15 16  pwms:17    maxItems: 118 19  amp-supply:20    description: an amplifier for the beeper21 22  beeper-hz:23    description: bell frequency in Hz24    minimum: 1025    maximum: 1000026 27required:28  - compatible29  - pwms30 31unevaluatedProperties: false32 33examples:34  - |35    #include <dt-bindings/gpio/gpio.h>36    beeper {37        compatible = "pwm-beeper";38        pwms = <&pwm0>;39        amp-supply = <&beeper_amp>;40        beeper-hz = <1000>;41    };42