Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: cirrus,cs40l50: Add initial DT binding

CS40L50 is a haptic driver with waveform memory,
integrated DSP, and closed-loop algorithms.

Add a YAML DT binding document for this device.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: James Ogletree <jogletre@opensource.cirrus.com>
Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20240620161745.2312359-3-jogletre@opensource.cirrus.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

James Ogletree and committed by
Lee Jones
2fab5aba 205fdba5

+76
+68
Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Cirrus Logic CS40L50 Advanced Haptic Driver 8 + 9 + maintainers: 10 + - James Ogletree <jogletre@opensource.cirrus.com> 11 + 12 + description: 13 + CS40L50 is a haptic driver with waveform memory, 14 + integrated DSP, and closed-loop algorithms. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - cirrus,cs40l50 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupts: 25 + maxItems: 1 26 + 27 + reset-gpios: 28 + maxItems: 1 29 + 30 + vdd-a-supply: 31 + description: Power supply for internal analog circuits. 32 + 33 + vdd-p-supply: 34 + description: Power supply for always-on circuits. 35 + 36 + vdd-io-supply: 37 + description: Power supply for digital input/output. 38 + 39 + vdd-b-supply: 40 + description: Power supply for the boost converter. 41 + 42 + required: 43 + - compatible 44 + - reg 45 + - interrupts 46 + - reset-gpios 47 + - vdd-io-supply 48 + 49 + additionalProperties: false 50 + 51 + examples: 52 + - | 53 + #include <dt-bindings/gpio/gpio.h> 54 + #include <dt-bindings/interrupt-controller/irq.h> 55 + 56 + i2c { 57 + #address-cells = <1>; 58 + #size-cells = <0>; 59 + 60 + haptic-driver@34 { 61 + compatible = "cirrus,cs40l50"; 62 + reg = <0x34>; 63 + interrupt-parent = <&gpio>; 64 + interrupts = <113 IRQ_TYPE_LEVEL_LOW>; 65 + reset-gpios = <&gpio 112 GPIO_ACTIVE_LOW>; 66 + vdd-io-supply = <&vreg>; 67 + }; 68 + };
+8
MAINTAINERS
··· 5206 5206 F: sound/pci/hda/hda_cs_dsp_ctl.* 5207 5207 F: sound/soc/codecs/cs* 5208 5208 5209 + CIRRUS LOGIC HAPTIC DRIVERS 5210 + M: James Ogletree <jogletre@opensource.cirrus.com> 5211 + M: Fred Treven <fred.treven@cirrus.com> 5212 + M: Ben Bright <ben.bright@cirrus.com> 5213 + L: patches@opensource.cirrus.com 5214 + S: Supported 5215 + F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml 5216 + 5209 5217 CIRRUS LOGIC DSP FIRMWARE DRIVER 5210 5218 M: Simon Trimmer <simont@opensource.cirrus.com> 5211 5219 M: Charles Keepax <ckeepax@opensource.cirrus.com>