]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: cadence-qspi: Make reset control optional
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 22 Feb 2022 16:23:25 +0000 (17:23 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Feb 2022 08:08:25 +0000 (13:38 +0530)
commite145606ff29364e948c05d492732f623674d6010
tree9f6b032b5e206fcdf242db57e2b7fc7dc645a2f7
parent90de95f7443cb06f014824976251f126ac6f71c0
spi: cadence-qspi: Make reset control optional

In the TI am65 device tree files there is no reset defined. Also
the Linux kernel driver uses devm_reset_control_get_optional_exclusive(..)
to get the reset.

Lets do the same as the kernel does and make thr reset optinal.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h