[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87k53qyca8.fsf@macbook.be.48ers.dk>
Date: Fri, 05 Jun 2009 16:40:15 +0200
From: Peter Korsgaard <jacmet@...site.dk>
To: Richard Röjfors
<richard.rojfors.ext@...ean-labs.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH 3/9] I2C: i2c-ocores: Can add I2C devices to the bus
>>>>> "Richard" == Richard Röjfors <richard.rojfors.ext@...ean-labs.com> writes:
Richard> There is sometimes a need for the ocores driver to add
Richard> devices to the bus when installed.
Richard> i2c_register_board_info can not always be used, because the
Richard> I2C devices are not known at an early state, they could for
Richard> instance be connected on a I2C bus on a PCI device which has
Richard> the Open Cores IP.
Richard> i2c_new_device can not be used in all cases either since the
Richard> resulting bus nummer might be unknown.
Richard> The solution is the pass a list of I2C devices in the
Richard> platform data to the Open Cores driver. This is useful for
Richard> MFD drivers.
Richard> Signed-off-by: Richard Röjfors <richard.rojfors.ext@...ean-labs.com>
Acked-by: Peter Korsgaard <jacmet@...site.dk>
--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists