Cirrus Logic CS40L50 Advanced Haptic Driver
Schema identifier ($id): "http://devicetree.org/schemas/input/cirrus,cs40l50.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "James Ogletree <jogletre@opensource.cirrus.com>"
CS40L50 is a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cirrus,cs40l50"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
vdd-a-supply — not listed as required here #
Power supply for internal analog circuits.
vdd-p-supply — not listed as required here #
Power supply for always-on circuits.
vdd-io-supply — required here #
Power supply for digital input/output.
vdd-b-supply — not listed as required here #
Power supply for the boost converter.
Required in this object (required): "compatible", "reg", "interrupts", "reset-gpios", "vdd-io-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
haptic-driver@34 {
compatible = "cirrus,cs40l50";
reg = <0x34>;
interrupt-parent = <&gpio>;
interrupts = <113 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio 112 GPIO_ACTIVE_LOW>;
vdd-io-supply = <&vreg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause