Changeset f043b9b in rtems


Ignore:
Timestamp:
Sep 29, 2017, 8:43:03 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
dcdd329
Parents:
9db9024
git-author:
Sebastian Huber <sebastian.huber@…> (09/29/17 08:43:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/02/17 11:40:56)
Message:

bsp/imx: Add I2C bus driver

Update #3090.

Location:
c/src/lib/libbsp/arm/imx
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/imx/Makefile.am

    r9db9024 rf043b9b  
    118118libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
    119119
     120# I2C
     121libbsp_a_SOURCES += i2c/imx-i2c.c
     122
    120123# Start hooks
    121124libbsp_a_SOURCES += startup/bspstarthooks.c
  • c/src/lib/libbsp/arm/imx/include/bsp.h

    r9db9024 rf043b9b  
    5050);
    5151
     52/**
     53 * @brief Registers an IMX I2C bus driver.
     54 *
     55 * @param[in] bus_path The I2C bus driver device path, e.g. "/dev/i2c-0".
     56 * @param[in] alias_or_path The FDT alias or path, e.g. "i2c0".
     57 *
     58 * @retval 0 Successful operation.
     59 * @retval -1 An error occurred.  The errno is set to indicate the error.
     60 */
     61int i2c_bus_register_imx(const char *bus_path, const char *alias_or_path);
     62
    5263#ifdef __cplusplus
    5364}
Note: See TracChangeset for help on using the changeset viewer.