Skip to content

Commit 62bf770

Browse files
passgatShawn Guo
authored andcommitted
ARM: dts: imx6ull-engicam-microgea-rmm: fix report-rate-hz value
The 'report-rate-hz' property for the edt-ft5x06 driver was added and handled in the Linux kernel by me with patches [1] and [2] for this specific board. The v1 upstream version, which was the one applied to the customer's kernel, used the 'report-rate' property, which was written directly to the controller register. During review, the 'hz' suffix was added, changing its handling so that writing the value directly to the register was no longer possible for the M06 controller. Once the patches were accepted in mainline, I did not reapply them to the customer's kernel, and when upstreaming the DTS for this board, I forgot to correct the 'report-rate-hz' property value. The property must be set to 60 because this board uses the M06 controller, which expects the report rate in units of 10 Hz, meaning the actual value written to the register is 6. [1] 625f829 ("dt-bindings: input: touchscreen: edt-ft5x06: add report-rate-hz") [2] 5bcee83 ("Input: edt-ft5x06 - set report rate by dts property") Fixes: ffea3ca ("ARM: dts: imx6ul: support Engicam MicroGEA RMM board") Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 3a86608 commit 62bf770

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/boot/dts/nxp/imx/imx6ull-engicam-microgea-rmm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
interrupt-parent = <&gpio2>;
137137
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
138138
reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
139-
report-rate-hz = <6>;
139+
report-rate-hz = <60>;
140140
/* settings valid only for Hycon touchscreen */
141141
touchscreen-size-x = <1280>;
142142
touchscreen-size-y = <800>;

0 commit comments

Comments
 (0)