mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low
@ 2017-11-15 22:31 Andrey Smirnov
  2017-11-17  9:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Smirnov @ 2017-11-15 22:31 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

From users feedback, it's not very practical keep 'SOC_SW_RSTN' low
and corresponding Ethernet switch it controls in reset. Change the
code to keep the line high by default.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 arch/arm/boards/zii-vf610-dev/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/zii-vf610-dev/board.c b/arch/arm/boards/zii-vf610-dev/board.c
index eea3828aa..6fd49df54 100644
--- a/arch/arm/boards/zii-vf610-dev/board.c
+++ b/arch/arm/boards/zii-vf610-dev/board.c
@@ -64,7 +64,7 @@ static int zii_vf610_cfu1_spu3_expose_signals(void)
 	static const struct gpio signals[] = {
 		{
 			.gpio  = 107,
-			.flags  = GPIOF_OUT_INIT_LOW,
+			.flags  = GPIOF_OUT_INIT_HIGH,
 			.label = "soc_sw_rstn",
 		},
 		{
-- 
2.13.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low
  2017-11-15 22:31 [PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low Andrey Smirnov
@ 2017-11-17  9:09 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-11-17  9:09 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

On Wed, Nov 15, 2017 at 02:31:15PM -0800, Andrey Smirnov wrote:
> From users feedback, it's not very practical keep 'SOC_SW_RSTN' low
> and corresponding Ethernet switch it controls in reset. Change the
> code to keep the line high by default.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  arch/arm/boards/zii-vf610-dev/board.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/zii-vf610-dev/board.c b/arch/arm/boards/zii-vf610-dev/board.c
> index eea3828aa..6fd49df54 100644
> --- a/arch/arm/boards/zii-vf610-dev/board.c
> +++ b/arch/arm/boards/zii-vf610-dev/board.c
> @@ -64,7 +64,7 @@ static int zii_vf610_cfu1_spu3_expose_signals(void)
>  	static const struct gpio signals[] = {
>  		{
>  			.gpio  = 107,
> -			.flags  = GPIOF_OUT_INIT_LOW,
> +			.flags  = GPIOF_OUT_INIT_HIGH,
>  			.label = "soc_sw_rstn",
>  		},
>  		{
> -- 
> 2.13.6
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-11-17  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-15 22:31 [PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low Andrey Smirnov
2017-11-17  9:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox