Regulator Haptic

Schema identifier ($id): "http://devicetree.org/schemas/input/regulator-haptic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jaewon Kim <jaewon02.kim@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "regulator-haptic"

haptic-supply — required here #

Power supply to the haptic motor

max-microvolt — required here #

The maximum voltage value supplied to the haptic motor

min-microvolt — required here #

The minimum voltage value supplied to the haptic motor

Required in this object (required): "compatible", "haptic-supply", "max-microvolt", "min-microvolt"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

haptics {
    compatible = "regulator-haptic";
    haptic-supply = <&motor_regulator>;
    max-microvolt = <2700000>;
    min-microvolt = <1100000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page