[PATCH] I2C: BCM2835: Linking platform nodes to adapter nodes

Philip Ashmore contact at philipashmore.com
Mon Nov 25 14:52:13 EST 2013


On 25/11/13 17:03, Stephen Warren wrote:
> On 11/25/2013 01:01 AM, Florian Meier wrote:
>> In order to find I2C devices in the device tree, the platform nodes
>> have to be known by the I2C core. This requires setting the
>> dev.of_node parameter of the adapter.
> 
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>
> Tested-by: Stephen Warren <swarren at wwwdotorg.org>
> 
> (Interestingly, I just attached an I2C light sensor to my Pi a couple
> days back, so ended up needing this commit, and the patches someone else
> had very recently sent to add DT support to the sensor driver. My timing
> was impeccable:-)
> 
> _______________________________________________
> linux-rpi-kernel mailing list
> linux-rpi-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel
> 
Hi there.

I hope this isn't (too) off-topic but is/will there be an example code
repository to show off this and other kernel goodness?

I know it has something to do with the device tree, but us mere mortal
applications programmers need somewhere to start from.

Regards,
Philip Ashmore



More information about the linux-rpi-kernel mailing list