gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / gpio-vibrator.yaml
blob2384465eaa19575d47fa2f247d5ba66a65bcb1d7
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-vibrator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO vibrator
9 maintainers:
10   - Luca Weiss <luca@z3ntu.xyz>
12 description: |+
13   Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO.
15 properties:
16   compatible:
17     const: gpio-vibrator
19   enable-gpios:
20     maxItems: 1
22   vcc-supply:
23     description: Regulator that provides power
25 required:
26   - compatible
27   - enable-gpios
29 additionalProperties: false
31 examples:
32   - |
33     #include <dt-bindings/gpio/gpio.h>
35     vibrator {
36         compatible = "gpio-vibrator";
37         enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
38         vcc-supply = <&pm8941_l18>;
39     };