linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] mx31moboard: change initial reset status for robot microcontolers
@ 2009-11-19 14:15 Valentin Longchamp
  2009-11-20 10:07 ` [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers Valentin Longchamp
  2009-11-20 11:07 ` Valentin Longchamp
  0 siblings, 2 replies; 4+ messages in thread
From: Valentin Longchamp @ 2009-11-19 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

We want the microcontrolers to be held in reset during kernel boot.

This patch is trivial and should go into next -rc.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
---
 arch/arm/mach-mx3/mx31moboard-marxbot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
index 2bfaffb..325e10b 100644
--- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
+++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -110,12 +110,12 @@ static struct imxmmc_platform_data sdhc2_pdata = {
 static void dspics_resets_init(void)
 {
 	if (!gpio_request(TRSLAT_RST_B, "translator-rst")) {
-		gpio_direction_output(TRSLAT_RST_B, 1);
+		gpio_direction_output(TRSLAT_RST_B, 0);
 		gpio_export(TRSLAT_RST_B, false);
 	}
 
 	if (!gpio_request(DSPICS_RST_B, "dspics-rst")) {
-		gpio_direction_output(DSPICS_RST_B, 1);
+		gpio_direction_output(DSPICS_RST_B, 0);
 		gpio_export(DSPICS_RST_B, false);
 	}
 }
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers
  2009-11-19 14:15 [PATCH 1/1] mx31moboard: change initial reset status for robot microcontolers Valentin Longchamp
@ 2009-11-20 10:07 ` Valentin Longchamp
       [not found]   ` <4B06748A.6050709@ru.mvista.com>
  2009-11-20 11:07 ` Valentin Longchamp
  1 sibling, 1 reply; 4+ messages in thread
From: Valentin Longchamp @ 2009-11-20 10:07 UTC (permalink / raw)
  To: linux-arm-kernel

We want the microcontrollers to be held in reset during kernel boot.

I just removed a typo in the changelog and commit message, thanks Uwe.

This patch is trivial and should go into next -rc.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
---
 arch/arm/mach-mx3/mx31moboard-marxbot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
index 2bfaffb..325e10b 100644
--- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
+++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -110,12 +110,12 @@ static struct imxmmc_platform_data sdhc2_pdata = {
 static void dspics_resets_init(void)
 {
 	if (!gpio_request(TRSLAT_RST_B, "translator-rst")) {
-		gpio_direction_output(TRSLAT_RST_B, 1);
+		gpio_direction_output(TRSLAT_RST_B, 0);
 		gpio_export(TRSLAT_RST_B, false);
 	}
 
 	if (!gpio_request(DSPICS_RST_B, "dspics-rst")) {
-		gpio_direction_output(DSPICS_RST_B, 1);
+		gpio_direction_output(DSPICS_RST_B, 0);
 		gpio_export(DSPICS_RST_B, false);
 	}
 }
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers
       [not found]   ` <4B06748A.6050709@ru.mvista.com>
@ 2009-11-20 11:04     ` Valentin Longchamp
  0 siblings, 0 replies; 4+ messages in thread
From: Valentin Longchamp @ 2009-11-20 11:04 UTC (permalink / raw)
  To: linux-arm-kernel

Sergei Shtylyov wrote:
> Hello.
> 
> Valentin Longchamp wrote:
> 
>> We want the microcontrollers to be held in reset during kernel boot.
>>
>> I just removed a typo in the changelog and commit message, thanks Uwe.
>>
>> This patch is trivial and should go into next -rc.
>>   
> 
>    You should put such comments under --- tearline, so that that will be 
> automatically dropped when applying the patch.
> 

Thanks for the comment, now I have found out that I can do it with the 
--anotate option of git-send-email. Resend comming now.

Val

-- 
Valentin Longchamp, PhD Student, EPFL-STI-LSRO1
valentin.longchamp at epfl.ch, Phone: +41216937827
http://people.epfl.ch/valentin.longchamp
MEA3485, Station 9, CH-1015 Lausanne

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers
  2009-11-19 14:15 [PATCH 1/1] mx31moboard: change initial reset status for robot microcontolers Valentin Longchamp
  2009-11-20 10:07 ` [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers Valentin Longchamp
@ 2009-11-20 11:07 ` Valentin Longchamp
  1 sibling, 0 replies; 4+ messages in thread
From: Valentin Longchamp @ 2009-11-20 11:07 UTC (permalink / raw)
  To: linux-arm-kernel

We want the microcontrollers to be held in reset during kernel boot.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
---
I just removed a typo in the changelog and commit message, thanks Uwe.
This patch is trivial and should go into next -rc.

 arch/arm/mach-mx3/mx31moboard-marxbot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c
index 2bfaffb..325e10b 100644
--- a/arch/arm/mach-mx3/mx31moboard-marxbot.c
+++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c
@@ -110,12 +110,12 @@ static struct imxmmc_platform_data sdhc2_pdata = {
 static void dspics_resets_init(void)
 {
 	if (!gpio_request(TRSLAT_RST_B, "translator-rst")) {
-		gpio_direction_output(TRSLAT_RST_B, 1);
+		gpio_direction_output(TRSLAT_RST_B, 0);
 		gpio_export(TRSLAT_RST_B, false);
 	}
 
 	if (!gpio_request(DSPICS_RST_B, "dspics-rst")) {
-		gpio_direction_output(DSPICS_RST_B, 1);
+		gpio_direction_output(DSPICS_RST_B, 0);
 		gpio_export(DSPICS_RST_B, false);
 	}
 }
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-20 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 14:15 [PATCH 1/1] mx31moboard: change initial reset status for robot microcontolers Valentin Longchamp
2009-11-20 10:07 ` [PATCH 1/1] mx31moboard: change initial reset status for robot microcontollers Valentin Longchamp
     [not found]   ` <4B06748A.6050709@ru.mvista.com>
2009-11-20 11:04     ` Valentin Longchamp
2009-11-20 11:07 ` Valentin Longchamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).