From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Menon, Nishanth" Subject: Re: [RFC][PATCH 10/9] OMAP4: HWMOD: differentiate 4430 and 4460 bandgap Date: Wed, 25 May 2011 20:54:53 -0700 Message-ID: References: <1306381285-17764-1-git-send-email-nm@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]:39506 "EHLO na3sys009aog105.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756118Ab1EZDzk convert rfc822-to-8bit (ORCPT ); Wed, 25 May 2011 23:55:40 -0400 Received: by mail-bw0-f50.google.com with SMTP id 2so90084bwz.9 for ; Wed, 25 May 2011 20:55:39 -0700 (PDT) In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Pandita, Vikram" , Paul , Benoit Cousson Cc: linux-omap On Wed, May 25, 2011 at 20:46, Pandita, Vikram = wrote: > On Wed, May 25, 2011 at 8:41 PM, Nishanth Menon wrote: >> diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/m= ach-omap2/omap_hwmod_44xx_data.c > >> +static struct omap_hwmod_opt_clk bandgap446x_opt_clks[] =3D { >> + =A0 =A0 =A0 { .role =3D "fclk", .clk =3D "bandgap_ts_fclk" }, >> +}; >> + >> +static struct omap_hwmod omap446x_bandgap_hwmod =3D { >> + =A0 =A0 =A0 .name =A0 =A0 =A0 =A0 =A0 =3D "bandgap", >> + =A0 =A0 =A0 .class =A0 =A0 =A0 =A0 =A0=3D &omap44xx_bandgap_hwmod_= class, >> + =A0 =A0 =A0 .prcm =A0 =A0 =A0 =A0 =A0 =3D { >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 .omap4 =3D { >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 .clkctrl_reg =3D OMAP4= 430_CM_WKUP_BANDGAP_CLKCTRL, >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 }, >> + =A0 =A0 =A0 }, >> + =A0 =A0 =A0 .opt_clks =A0 =A0 =A0 =3D bandgap446x_opt_clks, >> + =A0 =A0 =A0 .opt_clks_cnt =A0 =3D ARRAY_SIZE(bandgap446x_opt_clks)= , >> + =A0 =A0 =A0 .omap_chip =A0 =A0 =A0=3D OMAP_CHIP_INIT(CHIP_IS_OMAP4= 460), > > Does it call for having CHIP_IS_OMAP446X instead of CHIP_IS_OMAP4460 = ? > > What happens when we get say es2.0 for 4460? how do you accommodate t= hat? > Take care of that case when the new silicon arrives or fix it now :-) Probably Paul/Benoit can state their preference. Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html