diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2016-09-26 15:19:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-26 09:11:14 -0700 |
commit | 99f499cd650405bbe6a9b5386d4b11ee81514fb7 (patch) | |
tree | 48882d1cafee7da91e34946f6666104d21b0ff4a /net | |
parent | 7c7289a40425d48bbfcaacc454a8caf5b47f63b0 (diff) |
spi: pxa2xx: Add support for GPIO descriptor chip selects
The driver uses custom chip_info coming from platform data for chip selects
implemented as GPIOs. If the system lacks board files setting up the
platform data, it is not possible to use GPIOs as chip selects.
This adds support for GPIO descriptors so that regardless of the underlying
firmware interface (DT, ACPI or platform data) the driver can request GPIOs
used as chip selects and configure them accordingly.
The custom chip_info GPIO support is still left there to make sure the
existing systems keep working as expected.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions