0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/input/regulator-haptic.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: Regulator Haptic Device Tree Bindings
0008
0009 maintainers:
0010 - Jaewon Kim <jaewon02.kim@samsung.com>
0011
0012 properties:
0013 compatible:
0014 const: regulator-haptic
0015
0016 haptic-supply:
0017 description: >
0018 Power supply to the haptic motor
0019
0020 max-microvolt:
0021 description: >
0022 The maximum voltage value supplied to the haptic motor
0023
0024 min-microvolt:
0025 description: >
0026 The minimum voltage value supplied to the haptic motor
0027
0028 required:
0029 - compatible
0030 - haptic-supply
0031 - max-microvolt
0032 - min-microvolt
0033
0034 additionalProperties: false
0035
0036 examples:
0037 - |
0038 haptics {
0039 compatible = "regulator-haptic";
0040 haptic-supply = <&motor_regulator>;
0041 max-microvolt = <2700000>;
0042 min-microvolt = <1100000>;
0043 };