openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux dev-5.10] ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6
@ 2021-07-14 21:47 Isaac Kurth
  2021-07-22 14:42 ` Adriana Kobylak
  0 siblings, 1 reply; 2+ messages in thread
From: Isaac Kurth @ 2021-07-14 21:47 UTC (permalink / raw)
  To: isaac.kurth, Joel Stanley, openbmc

From: Isaac Kurth <isaac.kurth@ibm.com>

The state of this GPIO determines whether a factory reset has been
requested. If a physical switch is used, it can be high or low. During boot,
the software checks and records the state of this switch. If it is different
than the previous recorded state, then the read-write portions of memory are
reformatted.

Signed-off-by: Isaac Kurth <isaac.kurth@ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 728855c5cb90..81be3a563e6a 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -231,7 +231,7 @@ &gpio0 {
 	/*C0-C7*/	"","","","","","","","",
 	/*D0-D7*/	"","","","","","","","",
 	/*E0-E7*/	"","","","","","","","",
-	/*F0-F7*/	"","","","","","","","",
+	/*F0-F7*/	"","","","","","","factory-reset-toggle","",
 	/*G0-G7*/	"","","","","","","","",
 	/*H0-H7*/	"","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
 	/*I0-I7*/	"","","","","","","","",
-- 
2.25.1


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

* Re: [PATCH linux dev-5.10] ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6
  2021-07-14 21:47 [PATCH linux dev-5.10] ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6 Isaac Kurth
@ 2021-07-22 14:42 ` Adriana Kobylak
  0 siblings, 0 replies; 2+ messages in thread
From: Adriana Kobylak @ 2021-07-22 14:42 UTC (permalink / raw)
  To: Isaac Kurth, mspinler, Andrew Geissler, Joel Stanley
  Cc: isaac.kurth, OpenBMC Maillist



> On Jul 14, 2021, at 4:47 PM, Isaac Kurth <blisaac91@gmail.com> wrote:
> 
> From: Isaac Kurth <isaac.kurth@ibm.com>
> 
> The state of this GPIO determines whether a factory reset has been
> requested. If a physical switch is used, it can be high or low. During boot,
> the software checks and records the state of this switch. If it is different
> than the previous recorded state, then the read-write portions of memory are
> reformatted.
> 
> Signed-off-by: Isaac Kurth <isaac.kurth@ibm.com>

Reviewed-by: Adriana Kobylak <anoo@us.ibm.com>

> ---
> arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 728855c5cb90..81be3a563e6a 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -231,7 +231,7 @@ &gpio0 {
> 	/*C0-C7*/	"","","","","","","","",
> 	/*D0-D7*/	"","","","","","","","",
> 	/*E0-E7*/	"","","","","","","","",
> -	/*F0-F7*/	"","","","","","","","",
> +	/*F0-F7*/	"","","","","","","factory-reset-toggle","",
> 	/*G0-G7*/	"","","","","","","","",
> 	/*H0-H7*/	"","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
> 	/*I0-I7*/	"","","","","","","","",
> -- 
> 2.25.1
> 


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

end of thread, other threads:[~2021-07-22 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 21:47 [PATCH linux dev-5.10] ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6 Isaac Kurth
2021-07-22 14:42 ` Adriana Kobylak

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).