spi_pl022.h 397 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2018
  4. * Quentin Schulz, Bootlin, quentin.schulz@bootlin.com
  5. *
  6. * Structure for use with U_BOOT_DRVINFO for pl022 SPI devices or to use
  7. * in of_to_plat.
  8. */
  9. #ifndef __spi_pl022_h
  10. #define __spi_pl022_h
  11. #include <fdtdec.h>
  12. struct pl022_spi_pdata {
  13. fdt_addr_t addr;
  14. fdt_size_t size;
  15. unsigned int freq;
  16. };
  17. #endif /* __spi_pl022_h */