diff mbox series

[v2,2/2] ARM: dts: aspeed: quanta-q71l: Add four PSUs

Message ID 20180831205855.242061-1-venture@google.com
State Accepted, archived
Headers show
Series [v2,1/2] ARM: dts: aspeed: quanta-q71l: add aliases for i2c | expand

Commit Message

Patrick Venture Aug. 31, 2018, 8:58 p.m. UTC
Enable the four PSUs via generic PMBUS.

Signed-off-by: Patrick Venture <venture@google.com>
---
Changes for v2:
 - Fixed the commit header typo s/q7l1/q71l/
---
 arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Comments

Joel Stanley Aug. 31, 2018, 9:30 p.m. UTC | #1
On Fri, 31 Aug 2018 at 13:59, Patrick Venture <venture@google.com> wrote:
>
> Enable the four PSUs via generic PMBUS.
>
> Signed-off-by: Patrick Venture <venture@google.com>

These two look good. I'm travelling at the moment, but these will be
applied when I'm back at my desk.

Cheers,

Joel

> ---
> Changes for v2:
>  - Fixed the commit header typo s/q7l1/q71l/
> ---
>  arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> index 586050e1c0e6..c655564e6c6d 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
> @@ -318,24 +318,44 @@
>                         #address-cells = <1>;
>                         #size-cells = <0>;
>                         reg = <0>;
> +
> +                       psu@59 {
> +                               compatible = "pmbus";
> +                               reg = <0x59>;
> +                       };
>                 };
>
>                 i2c_psu1: i2c@1 {
>                         #address-cells = <1>;
>                         #size-cells = <0>;
>                         reg = <1>;
> +
> +                       psu@58 {
> +                               compatible = "pmbus";
> +                               reg = <0x58>;
> +                       };
>                 };
>
>                 i2c_psu3: i2c@2 {
>                         #address-cells = <1>;
>                         #size-cells = <0>;
>                         reg = <2>;
> +
> +                       psu@58 {
> +                               compatible = "pmbus";
> +                               reg = <0x58>;
> +                       };
>                 };
>
>                 i2c_psu2: i2c@3 {
>                         #address-cells = <1>;
>                         #size-cells = <0>;
>                         reg = <3>;
> +
> +                       psu@59 {
> +                               compatible = "pmbus";
> +                               reg = <0x59>;
> +                       };
>                 };
>         };
>
> --
> 2.19.0.rc1.350.ge57e33dbd1-goog
>
Joel Stanley Sept. 13, 2018, 11:26 p.m. UTC | #2
On Sat, 1 Sep 2018 at 06:29, Patrick Venture <venture@google.com> wrote:
>
> Enable the four PSUs via generic PMBUS.
>
> Signed-off-by: Patrick Venture <venture@google.com>
> ---
> Changes for v2:
>  - Fixed the commit header typo s/q7l1/q71l/

I've applied both of these to dt-for-v4.20.

Cheers,

Joel
Patrick Venture Sept. 13, 2018, 11:27 p.m. UTC | #3
On Thu, Sep 13, 2018 at 4:26 PM Joel Stanley <joel@jms.id.au> wrote:
>
> On Sat, 1 Sep 2018 at 06:29, Patrick Venture <venture@google.com> wrote:
> >
> > Enable the four PSUs via generic PMBUS.
> >
> > Signed-off-by: Patrick Venture <venture@google.com>
> > ---
> > Changes for v2:
> >  - Fixed the commit header typo s/q7l1/q71l/
>
> I've applied both of these to dt-for-v4.20.

Thanks!
>
> Cheers,
>
> Joel
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
index 586050e1c0e6..c655564e6c6d 100644
--- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
@@ -318,24 +318,44 @@ 
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0>;
+
+			psu@59 {
+				compatible = "pmbus";
+				reg = <0x59>;
+			};
 		};
 
 		i2c_psu1: i2c@1 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <1>;
+
+			psu@58 {
+				compatible = "pmbus";
+				reg = <0x58>;
+			};
 		};
 
 		i2c_psu3: i2c@2 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <2>;
+
+			psu@58 {
+				compatible = "pmbus";
+				reg = <0x58>;
+			};
 		};
 
 		i2c_psu2: i2c@3 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <3>;
+
+			psu@59 {
+				compatible = "pmbus";
+				reg = <0x59>;
+			};
 		};
 	};