From: Eddie James <eajames@linux.ibm.com> To: Adriana Kobylak <anoo@linux.ibm.com>, joel@jms.id.au, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Cc: spinler@us.ibm.com, derekh@us.ibm.com, openbmc@lists.ozlabs.org, Adriana Kobylak <anoo@us.ibm.com>, bjwyman@gmail.com, shawnmm@us.ibm.com Subject: Re: [PATCH v3] ARM: dts: aspeed: rainier: Add power-config-full-load gpio Date: Fri, 8 Oct 2021 07:27:49 -0500 [thread overview] Message-ID: <897fb30d-966a-f2e0-cf9d-0275f1f1f630@linux.ibm.com> (raw) In-Reply-To: <20211005192226.213539-1-anoo@linux.ibm.com> On 10/5/21 2:22 PM, Adriana Kobylak wrote: > From: Adriana Kobylak <anoo@us.ibm.com> > > 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. Reviewed-by: Eddie James <eajames@linux.ibm.com> > > Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> > --- > > 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(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index 33fae8ad1305..10bde77fb847 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -1998,6 +1998,19 @@ eeprom@51 { > reg = <0x51>; > }; > > + pca_pres3: pca9552@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@61 { > compatible = "nxp,pca9552"; > reg = <0x61>;
WARNING: multiple messages have this Message-ID (diff)
From: Eddie James <eajames@linux.ibm.com> To: Adriana Kobylak <anoo@linux.ibm.com>, joel@jms.id.au, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Cc: openbmc@lists.ozlabs.org, bjwyman@gmail.com, spinler@us.ibm.com, derekh@us.ibm.com, shawnmm@us.ibm.com, Adriana Kobylak <anoo@us.ibm.com> Subject: Re: [PATCH v3] ARM: dts: aspeed: rainier: Add power-config-full-load gpio Date: Fri, 8 Oct 2021 07:27:49 -0500 [thread overview] Message-ID: <897fb30d-966a-f2e0-cf9d-0275f1f1f630@linux.ibm.com> (raw) In-Reply-To: <20211005192226.213539-1-anoo@linux.ibm.com> On 10/5/21 2:22 PM, Adriana Kobylak wrote: > From: Adriana Kobylak <anoo@us.ibm.com> > > 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. Reviewed-by: Eddie James <eajames@linux.ibm.com> > > Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> > --- > > 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(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index 33fae8ad1305..10bde77fb847 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -1998,6 +1998,19 @@ eeprom@51 { > reg = <0x51>; > }; > > + pca_pres3: pca9552@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@61 { > compatible = "nxp,pca9552"; > reg = <0x61>; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-10-08 12:28 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-05 19:22 [PATCH v3] ARM: dts: aspeed: rainier: Add power-config-full-load gpio Adriana Kobylak 2021-10-05 19:22 ` Adriana Kobylak 2021-10-08 4:22 ` Joel Stanley 2021-10-08 4:22 ` Joel Stanley 2021-10-11 21:54 ` Adriana Kobylak 2021-10-08 12:27 ` Eddie James [this message] 2021-10-08 12:27 ` Eddie James
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=897fb30d-966a-f2e0-cf9d-0275f1f1f630@linux.ibm.com \ --to=eajames@linux.ibm.com \ --cc=anoo@linux.ibm.com \ --cc=anoo@us.ibm.com \ --cc=bjwyman@gmail.com \ --cc=derekh@us.ibm.com \ --cc=joel@jms.id.au \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-aspeed@lists.ozlabs.org \ --cc=openbmc@lists.ozlabs.org \ --cc=shawnmm@us.ibm.com \ --cc=spinler@us.ibm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.