Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
96boards: Declare SPI0_CS pin as GPIO for Dragonboard410c
On the 96Boards Dragonboard410c, hardware controlled Chip Select on the SPI0_CS pin is unreliable. So make it as a GPIO pin for enabling the user to toggle it manually. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
- Loading branch information
fce203d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we wanted the kernel to manage the CS pin then we can use the GPIO support in the kernel to do this. However, such DT changes cannot easily be applied using a DT overlay because current (18.01) DB410C releases do not have symbol table export enabled.
In other words the code is fine but the description isn't correct... this is not caused by difficulties configuring hardware chip select.
fce203d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daniel-thompson I didn't say that there are difficulties in configuring hardware chip select. I was intended to say that the Hardware controlled Chip Select is unreliable so the pin is configured as GPIO in kernel. so we should mark it as GPIO.
I will elaborate it a bit!