]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: xilinx_spi: Probe fifo_depth at runtime
authorMayuresh Chitale <mchitale@ventanamicro.com>
Thu, 16 Nov 2023 16:43:36 +0000 (22:13 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 13 Dec 2023 07:58:06 +0000 (08:58 +0100)
commit218539e2e7fab46bb35fb09b38ac4de4480e7836
tree08b9400777fae5191086c8936d1cf364a39a3327
parent954d437d266207e6cb6c5d5706891ddde3671b6e
drivers: xilinx_spi: Probe fifo_depth at runtime

If the fifo-size DT parameter is not provided then probe the
controller's fifo depth at runtime. This is ported from a patch
in the Linux Xilinx SPI driver.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/1422029330-10971-5-git-send-email-ricardo.ribalda@gmail.com
Tested-by: Love Kumar <love.kumar@amd.com>
Link: https://lore.kernel.org/r/20231116164336.140171-4-mchitale@ventanamicro.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/xilinx_spi.c