From mboxrd@z Thu Jan 1 00:00:00 1970 From: t.figa@samsung.com (Tomasz Figa) Date: Wed, 07 Nov 2012 15:32:30 +0100 Subject: [PATCH] ARM: EXYNOS: origen: Add missing USB regulators In-Reply-To: <1706359.z5UOYbqyny@amdc1227> References: <1706359.z5UOYbqyny@amdc1227> Message-ID: <1404564.Y3Pmvq2f73@amdc1227> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 07 of November 2012 14:01:19 Tomasz Figa wrote: > This patch adds missing USB OTG regulators needed for s3c-hsotg driver > to work on Origen board. > > Signed-off-by: Tomasz Figa > Signed-off-by: Kyungmin Park > --- > arch/arm/mach-exynos/mach-origen.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/mach-exynos/mach-origen.c > b/arch/arm/mach-exynos/mach-origen.c index d8dc6d7..ddf6358 100644 > --- a/arch/arm/mach-exynos/mach-origen.c > +++ b/arch/arm/mach-exynos/mach-origen.c > @@ -100,6 +100,8 @@ static struct regulator_consumer_supply __initdata > ldo3_consumer[] = { REGULATOR_SUPPLY("vddcore", "s5p-mipi-csis.0"), /* > MIPI */ > REGULATOR_SUPPLY("vdd", "exynos4-hdmi"), /* HDMI */ > REGULATOR_SUPPLY("vdd_pll", "exynos4-hdmi"), /* HDMI */ > + REGULATOR_SUPPLY("vusb_d", "s3c-hsotg"), /* OTG */ > + REGULATOR_SUPPLY("vusb_a", "s3c-hsotg"), /* OTG */ > }; > static struct regulator_consumer_supply __initdata ldo6_consumer[] = { > REGULATOR_SUPPLY("vddio", "s5p-mipi-csis.0"), /* MIPI */ It's worth noting that this patch is based on board file of Origen in Linaro tree http://git.linaro.org/gitweb?p=landingteams/working/samsung/kernel;a=summary branch samsung-linux-3.6-2012.10 and not confirmed with respective board schematics (although verified working on an Origen board). Personally I find these two consumers, which are supposed to provided with completely different voltages, connected to a single regulator a bit suspicious, so someone who know details of this board should ack or correct this patch. Best regards, -- Tomasz Figa Samsung Poland R&D Center SW Solution Development, Linux Platform