ARM: dts: aspeed: rainier: Add power-config-full-load gpio
Subsystems (2)
PATCH v3 1/1 ARM: dts: aspeed: rainier: Add power-config-full-load gpio
From: Adriana Kobylak <[email protected]>
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.
---
v2: Update commit message.
v3: Updated gpio name to power-config-full-load to match design doc.
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +13 -0
@@ -1998,6 +1998,19 @@ eeprom at 51 { reg = <0x51>; }; + pca_pres3: pca9552 at 60 { + compatible = "nxp,pca9552"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "power-config-full-load", ""; + }; + pca_pres2: pca9552 at 61 { compatible = "nxp,pca9552"; reg = <0x61>;
Signature · 1 line
2.25.1
Joel Stanley
maintainerHi Adriana,
Quoted 6 lines · Adriana Kobylak
From: Adriana Kobylak <[email protected]>
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
Quoted 8 lines
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 <[email protected]>
This looks good. I think the name is much easier to understand now.
I notice you've dropped all of the other names. Do you not need them?
It would be great if one of the people you cc'd could provide a reviewed-by before I merge this.
Cheers,
Joel
Quoted 35 lines
---
v2: Update commit message.
v3: Updated gpio name to power-config-full-load to match design doc.arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +13
-1@@ -1998,6 +1998,19 @@ eeprom at 51 { reg = <0x51>; }; + pca_pres3: pca9552 at 60 { + compatible = "nxp,pca9552"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "power-config-full-load", ""; + }; + pca_pres2: pca9552 at 61 { compatible = "nxp,pca9552"; reg = <0x61>; --2.25.1
Quoted 11 lines · Adriana Kobylak
From: Adriana Kobylak <[email protected]>
Add the power-config-full-load described in:
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md#power-config-full-loadThe 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.
Quoted 34 lines
Signed-off-by Adriana Kobylak <[email protected]>---
v2: Update commit message.
v3: Updated gpio name to power-config-full-load to match design doc.arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +13
-0@@ -1998,6 +1998,19 @@ eeprom at 51 { reg = <0x51>; }; + pca_pres3: pca9552 at 60 { + compatible = "nxp,pca9552"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "power-config-full-load", ""; + }; + pca_pres2: pca9552 at 61 { compatible = "nxp,pca9552"; reg = <0x61>;
PATCH v3 1/1 ARM: dts: aspeed: rainier: Add power-config-full-load gpio
In reply to Joel StanleyQuoted 20 lines · Joel Stanley
Hi Adriana,
Quoted 13 lines · On Tue, 5 Oct 2021 at 19:22, Adriana Kobylak <anoo at linux.ibm.com…
From: Adriana Kobylak <[email protected]>
Add the power-config-full-load described in:
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md#power-config-full-loadThe 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.
Quoted 3 lines
Quoted 1 line
Signed-off-by Adriana Kobylak <[email protected]>This looks good. I think the name is much easier to understand now.
Thanks, yeah agree is clearer now.
Quoted 2 lines
I notice you've dropped all of the other names. Do you not need them?
Right, don?t need them. If we ever do, we?ll go through the same process of proposing adequate names for them in the openbmc design doc.
Quoted 3 lines
It would be great if one of the people you cc'd could provide a reviewed-by before I merge this.
Sure, seems Eddie just reviewed it.
Quoted 31 lines
Cheers,
Joel
Quoted 26 lines
---
v2: Update commit message.
v3: Updated gpio name to power-config-full-load to match design doc.
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts| 13 +++++++++++++1 file changed, 13 insertions(+)arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +10
-0@@ -1998,6 +1998,19 @@ eeprom at 51 { reg = <0x51>; }; + pca_pres3: pca9552 at 60 { + compatible = "nxp,pca9552"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "", "", "", "", "", "", "", "",
Quoted 8 lines
Quoted 8 lines
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +3
-1+ "", "", "", "", "", "", "power-config-full-load", ""; + }; + pca_pres2: pca9552 at 61 { compatible = "nxp,pca9552"; reg = <0x61>; --2.25.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20211011/e21df504/attachment-0001.htm>