From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757185Ab3KYRKT (ORCPT ); Mon, 25 Nov 2013 12:10:19 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:40950 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754591Ab3KYRKQ (ORCPT ); Mon, 25 Nov 2013 12:10:16 -0500 Message-ID: <529382E9.8030309@wwwdotorg.org> Date: Mon, 25 Nov 2013 10:03:37 -0700 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Florian Meier , Wolfram Sang CC: "linux-kernel@vger.kernel.org" , linux-rpi-kernel , linux-i2c@vger.kernel.org Subject: Re: [PATCH] I2C: BCM2835: Linking platform nodes to adapter nodes References: <529303EE.4080606@koalo.de> In-Reply-To: <529303EE.4080606@koalo.de> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Tested-by: Stephen Warren (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:-)