Searched hist:"3 c54570afca013e050db3d01a4c948ae938d908a" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/drivers/gpio/ |
| H A D | gpio_spi.c | 3c54570afca013e050db3d01a4c948ae938d908a Mon Nov 18 16:29:36 UTC 2024 Abhi Singh <abhi.singh@arm.com> feat(io): add generic gpio spi bit-bang driver
When using a tpm breakout board with rpi3, we elected to bit-bang gpio pins to emulate a spi interface, this implementation required a driver to interface with the platform specific pins and emulate spi functionality. The generic driver provides the ability to pass in a gpio_spi_data structure that contains the necessary gpio pins in order to simulate spi operations (get_access, start, stop, xfer).
Change-Id: I88919e8a294c05e0cabb8224e35ae5c1ba5f2413 Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com>
|
| /rk3399_ARM-atf/include/drivers/ |
| H A D | gpio_spi.h | 3c54570afca013e050db3d01a4c948ae938d908a Mon Nov 18 16:29:36 UTC 2024 Abhi Singh <abhi.singh@arm.com> feat(io): add generic gpio spi bit-bang driver
When using a tpm breakout board with rpi3, we elected to bit-bang gpio pins to emulate a spi interface, this implementation required a driver to interface with the platform specific pins and emulate spi functionality. The generic driver provides the ability to pass in a gpio_spi_data structure that contains the necessary gpio pins in order to simulate spi operations (get_access, start, stop, xfer).
Change-Id: I88919e8a294c05e0cabb8224e35ae5c1ba5f2413 Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com>
|