All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux] boot/dts: Keep the LED initial state during kernel loading
@ 2016-08-08  6:20 OpenBMC Patches
  2016-08-08  6:20 ` OpenBMC Patches
  0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2016-08-08  6:20 UTC (permalink / raw)
  To: openbmc

Base on the Barreleye HW spec, the beep LED shouldn't be
turned to OFF until BMC ready.

Now the LED will be turned to OFF when the kernel loading,
so enable the LED sub-node property "default-state" to keep the LED
initial state.

Signed-off-by: johnhcwang <hsienchiang@gmail.com>

https://github.com/openbmc/linux/pull/99

johnhcwang (1):
  boot/dts: Keep the LED initial state during kernel loading

 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.9.0

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

* [PATCH linux] boot/dts: Keep the LED initial state during kernel loading
  2016-08-08  6:20 [PATCH linux] boot/dts: Keep the LED initial state during kernel loading OpenBMC Patches
@ 2016-08-08  6:20 ` OpenBMC Patches
  2016-08-08  6:29   ` Joel Stanley
  0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2016-08-08  6:20 UTC (permalink / raw)
  To: openbmc

From: johnhcwang <hsienchiang@gmail.com>

Base on the Barreleye HW spec, the beep LED shouldn't be
turned to OFF until BMC ready.

Now the LED will be turned to OFF when the kernel loading,
so enable the LED sub-node property "default-state" to keep the LED
initial state.

Signed-off-by: johnhcwang <hsienchiang@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
index 0e567e8..3146ea9 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
@@ -132,12 +132,15 @@
 
 		heartbeat {
 			gpios = <&gpio 140 GPIO_ACTIVE_HIGH>;
+			default-state = "keep";
 		};
 		identify {
 			gpios = <&gpio 58 GPIO_ACTIVE_LOW>;
+			default-state = "keep";
 		};
 		beep {
 			gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
+			default-state = "keep";
 		};
 	};
 };
-- 
2.9.0

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

* Re: [PATCH linux] boot/dts: Keep the LED initial state during kernel loading
  2016-08-08  6:20 ` OpenBMC Patches
@ 2016-08-08  6:29   ` Joel Stanley
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Stanley @ 2016-08-08  6:29 UTC (permalink / raw)
  To: OpenBMC Maillist, John Wang

Hello John,

Thanks for the pull request. In the future, can you please use
git-send-email to post the patch to openbmc@lists.ozlabs.org?

On Mon, Aug 8, 2016 at 3:50 PM, OpenBMC Patches
<openbmc-patches@stwcx.xyz> wrote:
> From: johnhcwang <hsienchiang@gmail.com>
>
> Base on the Barreleye HW spec, the beep LED shouldn't be
> turned to OFF until BMC ready.
>
> Now the LED will be turned to OFF when the kernel loading,
> so enable the LED sub-node property "default-state" to keep the LED
> initial state.
>
> Signed-off-by: johnhcwang <hsienchiang@gmail.com>

Please set this to be your name. It should look something like:

Signed-off-by: John Wang <hsienchiang@gmail.com>

You can do this with this line:

git config --global author.name "John Wang"

Cheers,

Joel

> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> index 0e567e8..3146ea9 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
> @@ -132,12 +132,15 @@
>
>                 heartbeat {
>                         gpios = <&gpio 140 GPIO_ACTIVE_HIGH>;
> +                       default-state = "keep";
>                 };
>                 identify {
>                         gpios = <&gpio 58 GPIO_ACTIVE_LOW>;
> +                       default-state = "keep";
>                 };
>                 beep {
>                         gpios = <&gpio 111 GPIO_ACTIVE_HIGH>;
> +                       default-state = "keep";
>                 };
>         };
>  };
> --
> 2.9.0
>
>
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc

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

end of thread, other threads:[~2016-08-08  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-08  6:20 [PATCH linux] boot/dts: Keep the LED initial state during kernel loading OpenBMC Patches
2016-08-08  6:20 ` OpenBMC Patches
2016-08-08  6:29   ` Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.