xref: /freebsd/sys/contrib/device-tree/Bindings/input/regulator-haptic.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*354d7675SEmmanuel Vadot%YAML 1.2
3*354d7675SEmmanuel Vadot---
4*354d7675SEmmanuel Vadot$id: "http://devicetree.org/schemas/input/regulator-haptic.yaml#"
5*354d7675SEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6*354d7675SEmmanuel Vadot
7*354d7675SEmmanuel Vadottitle: Regulator Haptic Device Tree Bindings
8*354d7675SEmmanuel Vadot
9*354d7675SEmmanuel Vadotmaintainers:
10*354d7675SEmmanuel Vadot  - Jaewon Kim <jaewon02.kim@samsung.com>
11*354d7675SEmmanuel Vadot
12*354d7675SEmmanuel Vadotproperties:
13*354d7675SEmmanuel Vadot  compatible:
14*354d7675SEmmanuel Vadot    const: regulator-haptic
15*354d7675SEmmanuel Vadot
16*354d7675SEmmanuel Vadot  haptic-supply:
17*354d7675SEmmanuel Vadot    description: >
18*354d7675SEmmanuel Vadot      Power supply to the haptic motor
19*354d7675SEmmanuel Vadot
20*354d7675SEmmanuel Vadot  max-microvolt:
21*354d7675SEmmanuel Vadot    description: >
22*354d7675SEmmanuel Vadot      The maximum voltage value supplied to the haptic motor
23*354d7675SEmmanuel Vadot
24*354d7675SEmmanuel Vadot  min-microvolt:
25*354d7675SEmmanuel Vadot    description: >
26*354d7675SEmmanuel Vadot      The minimum voltage value supplied to the haptic motor
27*354d7675SEmmanuel Vadot
28*354d7675SEmmanuel Vadotrequired:
29*354d7675SEmmanuel Vadot  - compatible
30*354d7675SEmmanuel Vadot  - haptic-supply
31*354d7675SEmmanuel Vadot  - max-microvolt
32*354d7675SEmmanuel Vadot  - min-microvolt
33*354d7675SEmmanuel Vadot
34*354d7675SEmmanuel VadotadditionalProperties: false
35*354d7675SEmmanuel Vadot
36*354d7675SEmmanuel Vadotexamples:
37*354d7675SEmmanuel Vadot  - |
38*354d7675SEmmanuel Vadot    haptics {
39*354d7675SEmmanuel Vadot        compatible = "regulator-haptic";
40*354d7675SEmmanuel Vadot        haptic-supply = <&motor_regulator>;
41*354d7675SEmmanuel Vadot        max-microvolt = <2700000>;
42*354d7675SEmmanuel Vadot        min-microvolt = <1100000>;
43*354d7675SEmmanuel Vadot    };
44