commit | b98691c42b9b547d7c3f3629ed60df356d842648 | [log] [tgz] |
---|---|---|
author | Allen Martin <amartin@nvidia.com> | Sat Mar 16 18:58:07 2013 +0000 |
committer | Tom Warren <twarren@nvidia.com> | Mon Mar 25 09:56:06 2013 -0700 |
tree | aafdfd503145a8bc2d16af8f2ad0f10c8dd62887 | |
parent | 73e0f1bd6b31fae9a6dd021ef72b159e7c7a5592 [diff] |
spi: add common fdt SPI driver interface Add a common interface to fdt based SPI drivers. Each driver is represented by a table entry in fdt_spi_drivers[]. If there are multiple SPI drivers in the table, the first driver to return success from spi_init() will be registered as the SPI driver. Signed-off-by: Allen Martin <amartin@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>