openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins
@ 2021-08-16 16:00 Jim Wright
  2021-08-17  1:49 ` Andrew Jeffery
  2021-08-17  8:22 ` Joel Stanley
  0 siblings, 2 replies; 3+ messages in thread
From: Jim Wright @ 2021-08-16 16:00 UTC (permalink / raw)
  To: Joel Stanley, Andrew Jeffery, openbmc, linux-aspeed; +Cc: Jim Wright

Add to p10bmc systems the GPIO line names used in chassis power on / off
control and chassis power good monitoring. Names used are as documented at [1].

[1] https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md

Signed-off-by: Jim Wright <jlwright@us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
index 01a0b2b03ddd..941efff7c943 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
@@ -253,7 +253,7 @@ &gpio0 {
 	/*O0-O7*/	"","","","","","","","",
 	/*P0-P7*/	"","","","","led-pcieslot-power","","","",
 	/*Q0-Q7*/	"","","","","","","","",
-	/*R0-R7*/	"","","","","","I2C_FLASH_MICRO_N","","",
+	/*R0-R7*/	"","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","",
 	/*S0-S7*/	"","","","","","","","",
 	/*T0-T7*/	"","","","","","","","",
 	/*U0-U7*/	"","","","","","","","",
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index f87bc5dc8aba..605ad80ef967 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -243,7 +243,7 @@ &gpio0 {
 	/*O0-O7*/	"","","","usb-power","","","","",
 	/*P0-P7*/	"","","","","pcieslot-power","","","",
 	/*Q0-Q7*/	"cfam-reset","","","","","","","",
-	/*R0-R7*/	"","","","","","","","",
+	/*R0-R7*/	"","power-chassis-control","power-chassis-good","","","","","",
 	/*S0-S7*/	"presence-ps0","presence-ps1","presence-ps2","presence-ps3",
 				"","","","",
 	/*T0-T7*/	"","","","","","","","",
-- 
2.32.0


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

* Re: [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins
  2021-08-16 16:00 [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins Jim Wright
@ 2021-08-17  1:49 ` Andrew Jeffery
  2021-08-17  8:22 ` Joel Stanley
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2021-08-17  1:49 UTC (permalink / raw)
  To: Jim Wright, Joel Stanley, openbmc, linux-aspeed



On Tue, 17 Aug 2021, at 01:30, Jim Wright wrote:
> Add to p10bmc systems the GPIO line names used in chassis power on / off
> control and chassis power good monitoring. Names used are as documented at [1].
> 
> [1] 
> https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md
> 
> Signed-off-by: Jim Wright <jlwright@us.ibm.com>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

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

* Re: [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins
  2021-08-16 16:00 [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins Jim Wright
  2021-08-17  1:49 ` Andrew Jeffery
@ 2021-08-17  8:22 ` Joel Stanley
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Stanley @ 2021-08-17  8:22 UTC (permalink / raw)
  To: Jim Wright; +Cc: Andrew Jeffery, OpenBMC Maillist, linux-aspeed

On Mon, 16 Aug 2021 at 16:01, Jim Wright <jlwright@us.ibm.com> wrote:
>
> Add to p10bmc systems the GPIO line names used in chassis power on / off
> control and chassis power good monitoring. Names used are as documented at [1].
>
> [1] https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md
>
> Signed-off-by: Jim Wright <jlwright@us.ibm.com>

Thanks, applied.

> ---
>  arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +-
>  arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> index 01a0b2b03ddd..941efff7c943 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> @@ -253,7 +253,7 @@ &gpio0 {
>         /*O0-O7*/       "","","","","","","","",
>         /*P0-P7*/       "","","","","led-pcieslot-power","","","",
>         /*Q0-Q7*/       "","","","","","","","",
> -       /*R0-R7*/       "","","","","","I2C_FLASH_MICRO_N","","",
> +       /*R0-R7*/       "","power-chassis-control","power-chassis-good","","","I2C_FLASH_MICRO_N","","",
>         /*S0-S7*/       "","","","","","","","",
>         /*T0-T7*/       "","","","","","","","",
>         /*U0-U7*/       "","","","","","","","",
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index f87bc5dc8aba..605ad80ef967 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -243,7 +243,7 @@ &gpio0 {
>         /*O0-O7*/       "","","","usb-power","","","","",
>         /*P0-P7*/       "","","","","pcieslot-power","","","",
>         /*Q0-Q7*/       "cfam-reset","","","","","","","",
> -       /*R0-R7*/       "","","","","","","","",
> +       /*R0-R7*/       "","power-chassis-control","power-chassis-good","","","","","",
>         /*S0-S7*/       "presence-ps0","presence-ps1","presence-ps2","presence-ps3",
>                                 "","","","",
>         /*T0-T7*/       "","","","","","","","",
> --
> 2.32.0
>

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

end of thread, other threads:[~2021-08-17  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 16:00 [PATCH linux dev-5.10] ARM: dts: aspeed: p10bmc: Add power control pins Jim Wright
2021-08-17  1:49 ` Andrew Jeffery
2021-08-17  8:22 ` Joel Stanley

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