omap_hwmod_common_ipblock_data.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * omap_hwmod_common_ipblock_data.c - common IP block data for OMAP2+
  3. *
  4. * Copyright (C) 2011 Nokia Corporation
  5. * Copyright (C) 2012 Texas Instruments, Inc.
  6. * Paul Walmsley
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include "omap_hwmod.h"
  13. #include "omap_hwmod_common_data.h"
  14. /*
  15. * 'dss' class
  16. * display sub-system
  17. */
  18. static struct omap_hwmod_class_sysconfig omap2_dss_sysc = {
  19. .rev_offs = 0x0000,
  20. .sysc_offs = 0x0010,
  21. .syss_offs = 0x0014,
  22. .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
  23. SYSS_HAS_RESET_STATUS),
  24. .sysc_fields = &omap_hwmod_sysc_type1,
  25. };
  26. struct omap_hwmod_class omap2_dss_hwmod_class = {
  27. .name = "dss",
  28. .sysc = &omap2_dss_sysc,
  29. .reset = omap_dss_reset,
  30. };
  31. /*
  32. * 'rfbi' class
  33. * remote frame buffer interface
  34. */
  35. static struct omap_hwmod_class_sysconfig omap2_rfbi_sysc = {
  36. .rev_offs = 0x0000,
  37. .sysc_offs = 0x0010,
  38. .syss_offs = 0x0014,
  39. .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
  40. SYSC_HAS_AUTOIDLE),
  41. .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
  42. .sysc_fields = &omap_hwmod_sysc_type1,
  43. };
  44. struct omap_hwmod_class omap2_rfbi_hwmod_class = {
  45. .name = "rfbi",
  46. .sysc = &omap2_rfbi_sysc,
  47. };