board_i2c.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Copyright (c) 2012, Freescale Semiconductor, Inc.
  3. * All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without modification,
  6. * are permitted provided that the following conditions are met:
  7. *
  8. * o Redistributions of source code must retain the above copyright notice, this list
  9. * of conditions and the following disclaimer.
  10. *
  11. * o Redistributions in binary form must reproduce the above copyright notice, this
  12. * list of conditions and the following disclaimer in the documentation and/or
  13. * other materials provided with the distribution.
  14. *
  15. * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
  16. * contributors may be used to endorse or promote products derived from this
  17. * software without specific prior written permission.
  18. *
  19. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  20. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  21. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  22. * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
  23. * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  24. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  25. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  26. * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  28. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. */
  30. #if !defined(__BOARD_I2C_H__)
  31. #define __BOARD_I2C_H__
  32. #include "sdk_types.h"
  33. #include "i2c/imx_i2c.h"
  34. ////////////////////////////////////////////////////////////////////////////////
  35. // Externs
  36. ////////////////////////////////////////////////////////////////////////////////
  37. //! @name Audio codecs
  38. //@{
  39. extern const i2c_device_info_t g_wm8958_i2c_device;
  40. extern const i2c_device_info_t g_wm8962_i2c_device;
  41. extern const i2c_device_info_t g_sgtl5000_i2c_device;
  42. extern const i2c_device_info_t g_cs42888_i2c_device;
  43. //@}
  44. //! @name PMICs
  45. //@{
  46. extern const i2c_device_info_t g_pmic_ltc3589_i2c_device;
  47. extern const i2c_device_info_t g_pmic_da9053_i2c_device;
  48. extern const i2c_device_info_t g_pmic_pf0100_i2c_device;
  49. extern const i2c_device_info_t g_pmic_max17135_i2c_device;
  50. //@}
  51. //! @brief ADV7180 video decoder
  52. extern const i2c_device_info_t g_adv7180_i2c_device;
  53. //! @brief OS81050 MLB MOST controller
  54. extern const i2c_device_info_t g_os81050_i2c_device;
  55. //! @brief P1003 touch screen controller
  56. extern const i2c_device_info_t g_p1003_tsc_i2c_device;
  57. //! @brief AT24Cxx EEPROM
  58. extern const i2c_device_info_t g_at24cx_i2c_device;
  59. //! @brief Si476x FM tuner
  60. extern const i2c_device_info_t g_si476x_i2c_device;
  61. //! @brief MMA8451 accelerometer.
  62. extern const i2c_device_info_t g_mma8451_i2c_device;
  63. #endif // __BOARD_I2C_H__
  64. ////////////////////////////////////////////////////////////////////////////////
  65. // EOF
  66. ////////////////////////////////////////////////////////////////////////////////