Welcome to the Linux Foundation Forum!

Control the CS line using bitbang node.

ravi138
ravi138 Posts: 1
edited July 29 in Drivers

Hello,

I have developed a client driver for an SPI slave (a camera), in that I want to write the 10 bit register address and 16 bit data this is the timing diagram of the end device's datasheet claims.

Q-1) For now I am using spi-bitbang method to write the data. But I am not able to control the CS line using bitbang->chipselect. What could be the reason of it?

Q-2) Do I need to develop the platfrom driver and by that will I be able to control the CS line?

Q-3) Which is the suitable option between Client type driver and Platform type driver for my camera driver?

Please provide a solution for both of the above scenario.

Thanks
Ravi Gohel

Categories

Upcoming Training