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