From: Russ Dill Subject: [PATCH 12/13] Add dummy smsc911x regulators to overo. Date: Wed, 21 Mar 2012 22:19:53 -0700 Message-ID: <1332393594-23993-13-git-send-email-Russ.Dill@ti.com> References: <20120321194133.GP9859@atomide.com> <1332393594-23993-1-git-send-email-Russ.Dill@ti.com> Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:35468 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754789Ab2CVFUr (ORCPT ); Thu, 22 Mar 2012 01:20:47 -0400 Received: by mail-iy0-f174.google.com with SMTP id z16so2617327iag.19 for ; Wed, 21 Mar 2012 22:20:47 -0700 (PDT) In-Reply-To: <1332393594-23993-1-git-send-email-Russ.Dill@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: Tony Lindgren , Mark Brown , Matt Porter , robert.marklund@stericsson.com, linus.walleij@linaro.org, Russ Dill , Russ Dill Signed-off-by: Russ Dill --- arch/arm/mach-omap2/board-overo.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 668533e..33aa391 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -498,10 +498,18 @@ static struct gpio overo_bt_gpios[] __initdata = { { OVERO_GPIO_BT_NRESET, GPIOF_OUT_INIT_HIGH, "lcd bl enable" }, }; +static struct regulator_consumer_supply dummy_supplies[] = { + REGULATOR_SUPPLY("vddvario", "smsc911x.0"), + REGULATOR_SUPPLY("vdd33a", "smsc911x.0"), + REGULATOR_SUPPLY("vddvario", "smsc911x.1"), + REGULATOR_SUPPLY("vdd33a", "smsc911x.1"), +}; + static void __init overo_init(void) { int ret; + regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); omap_hsmmc_init(mmc); overo_i2c_init(); -- 1.7.9.1