[PATCH v2] ARM: dts: aspeed: clemente: add gpio line name to io expander

Kimi Chen via B4 Relay posted 1 patch 1 month, 1 week ago
There is a newer version of this series
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] ARM: dts: aspeed: clemente: add gpio line name to io expander
Posted by Kimi Chen via B4 Relay 1 month, 1 week ago
From: Kimi Chen <kimi.zy.chen@fii-foxconn.com>

The chassis power cycle process requires a forced shutdown before
cutting off the standby power. Therefore, SCM CPLD adds a hard shutdown
host function and triggers it via the IO expander in Clemente platform.

Thus, a new GPIO line named "hard_shutdown_host" is added to the
PCA9555 IO expander at line 10 to notify the CPLD to execute the hard
shutdown host function.

Signed-off-by: Kimi Chen <kimi.zy.chen@fii-foxconn.com>
---
Changes in v2:
- Add "hard_shutdown_host" GPIO line name to PCA9555 IO expander for Clemente platform.
- Link to v1: https://lore.kernel.org/r/20251106-dts-add-gpio-to-io-expander-v1-1-b4765c092ebe@fii-foxconn.com
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts
index 450446913e36..0eafd8ea04ac 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-clemente.dts
@@ -983,7 +983,7 @@ io_expander4: gpio@4f {
 			"",
 			"",
 			"",
-			"",
+			"hard_shutdown_host",
 			"",
 			"",
 			"",

---
base-commit: 6953afcd81a2cc73784e3dd23faa0a1aaf97441a
change-id: 20251106-dts-add-gpio-to-io-expander-a4c32ccf56aa

Best regards,
-- 
Kimi Chen <kimi.zy.chen@fii-foxconn.com>
Re: [PATCH v2] ARM: dts: aspeed: clemente: add gpio line name to io expander
Posted by Andrew Jeffery 1 month ago
On Fri, 2025-11-07 at 00:58 +0800, Kimi Chen via B4 Relay wrote:
> From: Kimi Chen <kimi.zy.chen@fii-foxconn.com>
> 
> The chassis power cycle process requires a forced shutdown before
> cutting off the standby power. Therefore, SCM CPLD adds a hard shutdown
> host function and triggers it via the IO expander in Clemente platform.
> 
> Thus, a new GPIO line named "hard_shutdown_host" is added to the

Most of the Clemente GPIOs names appear to be styled as net names from
the schematics. Is that the source of this name as well? Or have you
somewhat arbitrarily chosen it? Can you expand on its importance (e.g.
wrt userspace software)?

Andrew