Skip to contentSkip to conversation

SMDK6410: Specify no GPIO for B_PWR_5V regulator

PATCH New Mark Brown 2 participants 3 messages Jan 13, 2010 – Jan 14, 2010

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 SMDK6410: Specify no GPIO for B_PWR_5V regulator

Since the fixed voltage regulator grew support for GPIO based enables and GPIO 0 is valid on some systems we need to specify that there is no valid GPIO enable control.

---

Sorry, resend due to thinkoed list address.

 arch/arm/mach-s3c6410/mach-smdk6410.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c6410/mach-smdk6410.c +1 -0
index 8eb8d2c..bc3b1fd 100644
@@ -211,6 +211,7 @@ static struct fixed_voltage_config smdk6410_b_pwr_5v_pdata = {
 	.supply_name = "B_PWR_5V",
 	.microvolts = 5000000,
 	.init_data = &smdk6410_b_pwr_5v_data,
+	.gpio = -EINVAL,
 };
 
 static struct platform_device smdk6410_b_pwr_5v = {
Signature · 1 line
1.6.6
#1 lore raw

PATCH 1/1 SMDK6410: Specify no GPIO for B_PWR_5V regulator

Quoted 3 lines · Mark Brown

Since the fixed voltage regulator grew support for GPIO based enables and GPIO 0 is valid on some systems we need to specify that there is no valid GPIO enable control.

should this be posted for -rc?

Quoted 28 lines

---

Sorry, resend due to thinkoed list address.

 arch/arm/mach-s3c6410/mach-smdk6410.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c6410/mach-smdk6410.c +1 -0
index 8eb8d2c..bc3b1fd 100644
@@ -211,6 +211,7 @@ static struct fixed_voltage_config smdk6410_b_pwr_5v_pdata = {
 	.supply_name = "B_PWR_5V",
 	.microvolts = 5000000,
 	.init_data = &smdk6410_b_pwr_5v_data,
+	.gpio = -EINVAL,
 };
 
 static struct platform_device smdk6410_b_pwr_5v = {
Signature · 7 lines
1.6.6


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
author
#2 lore raw

PATCH 1/1 SMDK6410: Specify no GPIO for B_PWR_5V regulator

Quoted 6 lines · Ben Dooks
Quoted 3 lines · Mark Brown

Since the fixed voltage regulator grew support for GPIO based enables and GPIO 0 is valid on some systems we need to specify that there is no valid GPIO enable control.

should this be posted for -rc?

Yes.