Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755594Ab2KUSdm (ORCPT ); Wed, 21 Nov 2012 13:33:42 -0500 Received: from mail-qa0-f53.google.com ([209.85.216.53]:32852 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755545Ab2KUSdl (ORCPT ); Wed, 21 Nov 2012 13:33:41 -0500 MIME-Version: 1.0 In-Reply-To: <20121121040913.GA13280@sirena.org.uk> References: <1353450428-2615-1-git-send-email-dianders@chromium.org> <1353450428-2615-2-git-send-email-dianders@chromium.org> <20121121040913.GA13280@sirena.org.uk> Date: Wed, 21 Nov 2012 10:33:40 -0800 X-Google-Sender-Auth: cOaMaNcHAfEDiCz21DQqkQ3j6Bo Message-ID: Subject: Re: [PATCH 2/2] i2c: s3c2410: Get the i2c bus number from alias id From: Doug Anderson To: Mark Brown Cc: linux-samsung-soc@vger.kernel.org, linux-i2c@vger.kernel.org, Olof Johansson , Thomas Abraham , Kukjin Kim , Padmavathi Venna , Ben Dooks , Wolfram Sang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 30 On Tue, Nov 20, 2012 at 8:09 PM, Mark Brown wrote: > On Tue, Nov 20, 2012 at 02:27:04PM -0800, Doug Anderson wrote: >> From: Padmavathi Venna >> >> Get the i2c bus number that the device is connected to using the alias >> id. This makes debugging / grokking of kernel messages much easier. > > This doesn't look like a s3c2410 specific change - it's a generic device > tree issue. This suggests that it sohuld be implemented in the > framework so that all I2C controllers with DT can use it. Good suggestion. I have posted a series with the title "Add automatic bus number support for i2c busses with device tree". It contains the i2c-core patch as well as a patch removing similar code from the pxa i2c driver. Kukjin: please consider this patch abandoned and superseded by the new i2c-core patch. As Olof said, the patch for adding aliases for exynos4 should still be fine to apply. Thanks! -Doug -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/