diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-09-03 23:00:23 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-10 11:35:06 +0530 |
commit | ba3c22bf186db550435a46dafc777b8cfae6fe30 (patch) | |
tree | b751d42d5d131d877400a192336ad8eb8855e2d0 /include/dm/platform_data | |
parent | c8602061a7b27fe874a454b0ec65f1e45621adbb (diff) |
spi: davinci: Add platdata support
Davanci spi driver has DM support already, this patch
add support for platdata so-that SPL can use it for
low foot-print.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include/dm/platform_data')
-rw-r--r-- | include/dm/platform_data/spi_davinci.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dm/platform_data/spi_davinci.h b/include/dm/platform_data/spi_davinci.h new file mode 100644 index 0000000000..fbc62c262a --- /dev/null +++ b/include/dm/platform_data/spi_davinci.h @@ -0,0 +1,15 @@ +/* + * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __spi_davinci_h +#define __spi_davinci_h + +struct davinci_spi_platdata { + struct davinci_spi_regs *regs; + u8 num_cs; /* total no. of CS available */ +}; + +#endif /* __spi_davinci_h */ |