Skip to contentSkip to conversation

ARM: EXYNOS: origen: Add missing USB regulators

PATCH New Tomasz Figa 1 participant 2 messages Nov 7, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: EXYNOS: origen: Add missing USB regulators

This patch adds missing USB OTG regulators needed for s3c-hsotg driver to work on Origen board.

---
 arch/arm/mach-exynos/mach-origen.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-exynos/mach-origen.c +2 -0
index d8dc6d7..ddf6358 100644
@@ -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 */
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 ARM: EXYNOS: origen: Add missing USB regulators

Quoted 16 lines · 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.

---
 arch/arm/mach-exynos/mach-origen.c | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/arch/arm/mach-exynos/mach-origen.c index d8dc6d7..ddf6358 100644

arch/arm/mach-exynos/mach-origen.c +0 -0
@@ -100,6 +100,8 @@ static struct regulator_consumer_supply __initdata

ldo3_consumer[] = { REGULATOR_SUPPLY("vddcore", "s5p-mipi-csis.0"), /* MIPI */

arch/arm/mach-exynos/mach-origen.c static struct regulator_consumer_supply __initdata ldo3_consumer[] = { · line 107

Quoted 7 lines
arch/arm/mach-exynos/mach-origen.c +2 -0
 	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,

Signature · 3 lines
Tomasz Figa
Samsung Poland R&D Center
SW Solution Development, Linux Platform