Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: rainier: Add power-config-full-load gpio

Add the power-config-full-load described in:
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md#power-config-full-load

The power-config-full-load gpio is designed to be used to specify how
many power supplies the system should have, in rainier it is 2 or 4. If
enough power supplies fail so that the system no longer has redundancy
(no longer n+1), the hardware will signal to the Onboard Chip Controller
that the system may be oversubscribed, and performance may need to be
reduced so the system can maintain it's powered on state.

Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211005192226.213539-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Adriana Kobylak and committed by
Joel Stanley
18b34bca f2a49850

+13
+13
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
··· 2214 2214 reg = <0x51>; 2215 2215 }; 2216 2216 2217 + pca_pres3: pca9552@60 { 2218 + compatible = "nxp,pca9552"; 2219 + reg = <0x60>; 2220 + #address-cells = <1>; 2221 + #size-cells = <0>; 2222 + gpio-controller; 2223 + #gpio-cells = <2>; 2224 + 2225 + gpio-line-names = 2226 + "", "", "", "", "", "", "", "", 2227 + "", "", "", "", "", "", "power-config-full-load", ""; 2228 + }; 2229 + 2217 2230 pca_pres2: pca9552@61 { 2218 2231 compatible = "nxp,pca9552"; 2219 2232 reg = <0x61>;