1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: "http://devicetree.org/schemas/input/regulator-haptic.yaml#" 5$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 7title: Regulator Haptic 8 9maintainers: 10 - Jaewon Kim <jaewon02.kim@samsung.com> 11 12properties: 13 compatible: 14 const: regulator-haptic 15 16 haptic-supply: 17 description: > 18 Power supply to the haptic motor 19 20 max-microvolt: 21 description: > 22 The maximum voltage value supplied to the haptic motor 23 24 min-microvolt: 25 description: > 26 The minimum voltage value supplied to the haptic motor 27 28required: 29 - compatible 30 - haptic-supply 31 - max-microvolt 32 - min-microvolt 33 34additionalProperties: false 35 36examples: 37 - | 38 haptics { 39 compatible = "regulator-haptic"; 40 haptic-supply = <&motor_regulator>; 41 max-microvolt = <2700000>; 42 min-microvolt = <1100000>; 43 }; 44