Lines Matching +full:ps +full:- +full:seq +full:- +full:loop

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA7280 Low Power High-Definition Haptic Driver
10 - Roy Im <roy.im.opensource@diasemi.com>
23 dlg,actuator-type:
25 - LRA # Linear Resonance Actuator type
26 - ERM-bar # Bar type Eccentric Rotating Mass
27 - ERM-coin # Coin type Eccentric Rotating Mass
29 dlg,const-op-mode:
32 - 1 # Direct register override (DRO) mode triggered by i2c (default)
33 - 2 # PWM data source mode controlled by PWM duty
37 dlg,periodic-op-mode:
40 - 1 # Register triggered waveform memory(RTWM) mode, the pattern
42 - 2 # Edge triggered waveform memory(ETWM) mode, external GPI(N)
52 dlg,nom-microvolt:
58 dlg,abs-max-microvolt:
64 dlg,imax-microamp:
71 dlg,impd-micro-ohms:
80 dlg,ps-seq-id:
86 to play back when RTWM-MODE is enabled
88 dlg,ps-seq-loop:
93 The PS_SEQ_LOOP, Number of times the pre-stored sequence pointed to by
96 dlg,gpi0-seq-id:
103 dlg,gpi1-seq-id:
110 dlg,gpi2-seq-id:
117 dlg,gpi0-mode:
119 - Single-pattern
120 - Multi-pattern
124 dlg,gpi1-mode:
126 - Single-pattern
127 - Multi-pattern
131 dlg,gpi2-mode:
133 - Single-pattern
134 - Multi-pattern
138 dlg,gpi0-polarity:
140 - Rising-edge
141 - Falling-edge
142 - Both-edge
146 dlg,gpi1-polarity:
148 - Rising-edge
149 - Falling-edge
150 - Both-edge
154 dlg,gpi2-polarity:
156 - Rising-edge
157 - Falling-edge
158 - Both-edge
162 dlg,resonant-freq-hz:
167 dlg,bemf-sens-enable:
170 Enable for internal loop computations
172 dlg,freq-track-enable:
177 dlg,acc-enable:
182 dlg,rapid-stop-enable:
187 dlg,amp-pid-enable:
192 dlg,mem-array:
193 $ref: /schemas/types.yaml#/definitions/uint32-array
200 - compatible
201 - reg
202 - interrupts
203 - dlg,actuator-type
204 - dlg,const-op-mode
205 - dlg,periodic-op-mode
206 - dlg,nom-microvolt
207 - dlg,abs-max-microvolt
208 - dlg,imax-microamp
209 - dlg,impd-micro-ohms
214 - |
215 #include <dt-bindings/gpio/gpio.h>
216 #include <dt-bindings/interrupt-controller/irq.h>
219 #address-cells = <1>;
220 #size-cells = <0>;
225 interrupt-parent = <&gpio6>;
227 dlg,actuator-type = "LRA";
228 dlg,const-op-mode = <1>;
229 dlg,periodic-op-mode = <1>;
230 dlg,nom-microvolt = <2000000>;
231 dlg,abs-max-microvolt = <2000000>;
232 dlg,imax-microamp = <170000>;
233 dlg,resonant-freq-hz = <180>;
234 dlg,impd-micro-ohms = <10500000>;
235 dlg,freq-track-enable;
236 dlg,rapid-stop-enable;
237 dlg,mem-array = <0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00