aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/firmware
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2018-11-26 11:35:28 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-26 20:12:05 +0100
commit1a195d87d2c58aa9524af9531539ccfa203cd52c (patch)
tree21cae2d4de4ac35614ff93c4003bde1be0e1922b /Documentation/devicetree/bindings/firmware
parentfpga: altera-cvp: fix probing for multiple FPGAs on the bus (diff)
downloadlinux-dev-1a195d87d2c58aa9524af9531539ccfa203cd52c.tar.xz
linux-dev-1a195d87d2c58aa9524af9531539ccfa203cd52c.zip
fpga: mgr: altera-ps-spi: enable usage on non-dt platforms
Driver probing fails on non-dt platforms since of_match_device() always returns NULL here. Add spi ids with device names and matching driver data as an index of a map array with data for supported devices. Add this map array and a function for mapping spi ids to driver data. This allows driver binding to dynamically added PS-SPI devices (e.g. when added via spi_new_device() after hot-plugging). Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/firmware')
0 files changed, 0 insertions, 0 deletions