]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems.
authorloos <loos@FreeBSD.org>
Thu, 13 Feb 2014 18:22:49 +0000 (18:22 +0000)
committerloos <loos@FreeBSD.org>
Thu, 13 Feb 2014 18:22:49 +0000 (18:22 +0000)
commit67ace023223265e6cde1250d101391d11756c6df
treec184aa78e88b541be8092b2e59cff1c238ba6ad2
parent4969f2c1cac596d80cba8e9f98f3be2f87a8c639
Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems.

This change makes ofw_iicbus attach to iicbb(4) controllers in addition to
the already supported i2c host bridges (iichb).

On iicbb(4) allow the direct access of the OFW parent node by its children,
so they can be directly attached to iicbb(4) node on the DTS without the
need of describing the i2c bus.

Approved by: adrian (mentor, implicit)
sys/dev/iicbus/iicbb.c
sys/dev/ofw/ofw_iicbus.c