mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
This converts the Tegra SPI drivers to use driver model. This is tested on: - Tegra20 - trimslice - Tegra30 - beaver - Tegra124 - dalmore (not tested on Tegra124) Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
13 lines
281 B
C
13 lines
281 B
C
/*
|
|
* (C) Copyright 2014 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
struct tegra_spi_platdata {
|
|
enum periph_id periph_id;
|
|
int frequency; /* Default clock frequency, -1 for none */
|
|
ulong base;
|
|
uint deactivate_delay_us; /* Delay to wait after deactivate */
|
|
};
|