ti_hecc.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * TI HECC (High End CAN Controller) driver platform header
  3. *
  4. * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation version 2.
  9. *
  10. * This program is distributed as is WITHOUT ANY WARRANTY of any
  11. * kind, whether express or implied; without even the implied warranty
  12. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. */
  16. /**
  17. * struct hecc_platform_data - HECC Platform Data
  18. *
  19. * @scc_hecc_offset: mostly 0 - should really never change
  20. * @scc_ram_offset: SCC RAM offset
  21. * @hecc_ram_offset: HECC RAM offset
  22. * @mbx_offset: Mailbox RAM offset
  23. * @int_line: Interrupt line to use - 0 or 1
  24. * @version: version for future use
  25. *
  26. * Platform data structure to get all platform specific settings.
  27. * this structure also accounts the fact that the IP may have different
  28. * RAM and mailbox offsets for different SOC's
  29. */
  30. struct ti_hecc_platform_data {
  31. u32 scc_hecc_offset;
  32. u32 scc_ram_offset;
  33. u32 hecc_ram_offset;
  34. u32 mbx_offset;
  35. u32 int_line;
  36. u32 version;
  37. };