mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
The Atheros AR71XX/AR724X/AR913X SoCs have a built-in SPI controller. This patch implements a driver for that. Signed-off-by: Gabor Juhos <[email protected]> Cc: David Brownell <[email protected]> Cc: [email protected] Acked-by: Grant Likely <[email protected]> Cc: [email protected] Cc: Imre Kaloz <[email protected]> Cc: Luis R. Rodriguez <[email protected]> Cc: Cliff Holden <[email protected]> Cc: Kathy Giori <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/1960/ Signed-off-by: Ralf Baechle <[email protected]>
24 lines
575 B
C
24 lines
575 B
C
/*
|
|
* Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller
|
|
*
|
|
* Copyright (C) 2008-2010 Gabor Juhos <[email protected]>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ATH79_SPI_PLATFORM_H
|
|
#define _ATH79_SPI_PLATFORM_H
|
|
|
|
struct ath79_spi_platform_data {
|
|
unsigned bus_num;
|
|
unsigned num_chipselect;
|
|
};
|
|
|
|
struct ath79_spi_controller_data {
|
|
unsigned gpio;
|
|
};
|
|
|
|
#endif /* _ATH79_SPI_PLATFORM_H */
|