Thread (27 messages) read the whole thread 27 messages, 6 authors, 2024-11-28

Re: [PATCH 0/4] Driver for Apple Z2 touchscreens.

From: Sasha Finkelstein <hidden>
Date: 2024-11-27 08:29:31
Also in: asahi, linux-arm-kernel, linux-devicetree, lkml

On Wed, 27 Nov 2024 at 02:51, Dmitry Torokhov [off-list ref] wrote:
I believe this needs to be done at the SPI controller level. See
"cs-gpiods" property in
Documentation/devicetree/bindings/spi/spi-controller.yaml that, as far
as I understand, allows overriding controller's native CS handling with
a GPIO when needed.
I have already tried doing that (adding the relevant gpio as cs-gpios
on the controller)
and for some reason none of my attempts worked. Since there is no hardware
documentation, I can't really tell why, could be possible that we need both
native CS and that gpio, could be memory barrier issues somewhere in
the driver core,
but the method above is the only one i could get to work.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help