From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Subject: Re: [PATCH 2/3] ARM: tegra: harmony: initialize the TPS65862 PMIC Date: Wed, 9 Mar 2011 12:14:26 +0100 Message-ID: <201103091214.26718.marvin24@gmx.de> References: <201103082312.06911.marvin24@gmx.de> <4D771CE3.6020606@compulab.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4D771CE3.6020606@compulab.co.il> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Mike Rapoport Cc: linux-tegra@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org, Erik Gilling , Colin Cross List-Id: linux-tegra@vger.kernel.org > On 03/09/11 00:12, Marc Dietrich wrote: > > Am Dienstag 08 M=E4rz 2011, um 13:58:58 schrieb Mike Rapoport: > >> > >> diff --git a/arch/arm/mach-tegra/board-harmony-power.c b/arch/arm/mach= -tegra/board-harmony-power.c > >> new file mode 100644 > >> index 0000000..ca43d7a > >> --- /dev/null > >> +++ b/arch/arm/mach-tegra/board-harmony-power.c > > ... > >> +static struct i2c_board_info __initdata harmony_regulators[] =3D { > >> + { > >> + I2C_BOARD_INFO("tps6586x", 0x34), > >> + .irq =3D INT_EXTERNAL_PMU, > >> + .platform_data =3D &tps_platform, > >> + }, > >> +}; > >> + > >> +int __init harmony_regulator_init(void) > >> +{ > >> + i2c_register_board_info(3, harmony_regulators, 1); > > = > > I don't know harmony well, but are you sure this is 3, not 4, as on all= other boards? > = > In the mainline version of i2c-tegra the adapter (and therefore bus) numb= er > equals the platform device id, and in case of DVC adapter it's 3. Thanks for clarification. I guess this saved me from some headaches. Marc