Home | History | Annotate | Download | only in i2c
History log of /src/sys/dev/i2c/motoi2cvar.h
RevisionDateAuthorComments
 1.11  16-Sep-2025  thorpej As with ACPI, perform the fdtbus_register_i2c_controller() in a centralized
location.
 1.10  15-Sep-2025  thorpej Do the ACPI-specific get-child-devices dance in iic_attach(). This
obviously isn't ideal, but it funnels the issue into a central location
and provides for easier improvement later.
 1.9  22-Jul-2022  thorpej Normalize how motoi2c controllers are attached.
 1.8  25-Jan-2021  jmcneill branches: 1.8.4; 1.8.14;
NXP Layerscape LX2160A has an almost compatible controller, with a few
quirks:
- IBCR bit 7 is "module disable" instead of "module enable".
- Status bits in IBSR are W1C.
Add quirk flags for both.
 1.7  24-Jan-2021  jmcneill Support non-FDT attachment.
 1.6  22-Dec-2019  thorpej branches: 1.6.8;
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.

Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().
 1.5  05-Aug-2019  hkenken Add support FDT.
 1.4  17-Apr-2011  phx branches: 1.4.56;
Suppressing the ACK after the last byte read must not depend on
I2C_OP_STOP_P(), but all read-transfers have to be finished that way.
Otherwise a chip might hang after a read-operation without stop.

Removed sc_start from the softc structure, which is unused.
 1.3  12-Jan-2011  phx branches: 1.3.2; 1.3.6;
Include i2cvar.h for i2c_controller, which is usually not needed by devices
using this MI driver, so they shouldn't have to bother with that.
 1.2  04-Jan-2011  nisimura branches: 1.2.2;
withdraw my name from the copyright notice as there is little code
substance made by me.
 1.1  04-Jan-2011  matt Add a generic Motorola/Freescale i2c driver. This was taken from sandpoint
and heavily modified. It works on most Freescale PowerPC and ARM SoCs.
 1.2.2.2  07-Jan-2011  matt Add revamped support for motorola/freescale embedded i2c SoC controllers.
 1.2.2.1  04-Jan-2011  matt file motoi2cvar.h was added on branch matt-nb5-pq3 on 2011-01-07 01:19:15 +0000
 1.3.6.3  21-Apr-2011  rmind sync with head
 1.3.6.2  05-Mar-2011  rmind sync with head
 1.3.6.1  12-Jan-2011  rmind file motoi2cvar.h was added on branch rmind-uvmplock on 2011-03-05 20:53:10 +0000
 1.3.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.4.56.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4.56.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.8.1  03-Apr-2021  thorpej Sync with HEAD.
 1.8.14.1  09-Aug-2021  thorpej Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
 1.8.4.1  25-Apr-2021  thorpej - Don't use acpi_enter_i2c_devs() -- it no longer exists.
- Pass along our devhandle to the i2c bus instance.

RSS XML Feed