linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: aspeed: tiogapass: Add IPMB device
@ 2020-01-28  1:17 Vijay Khemka
  2020-01-31  3:56 ` Joel Stanley
  0 siblings, 1 reply; 3+ messages in thread
From: Vijay Khemka @ 2020-01-28  1:17 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Joel Stanley, Andrew Jeffery,
	devicetree, linux-arm-kernel, linux-aspeed, linux-kernel
  Cc: vijaykhemka, sdasari

Adding IPMB devices for facebook tiogapass platform.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
index fb7f034d5db2..719c130a198c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
@@ -5,6 +5,7 @@
 
 #include "aspeed-g5.dtsi"
 #include <dt-bindings/gpio/aspeed-gpio.h>
+#include <dt-bindings/i2c/i2c.h>
 
 / {
 	model = "Facebook TiogaPass BMC";
@@ -428,6 +429,11 @@
 &i2c4 {
 	status = "okay";
 	// BMC Debug Header
+	ipmb0@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &i2c5 {
@@ -509,6 +515,11 @@
 &i2c9 {
 	status = "okay";
 	//USB Debug Connector
+	ipmb0@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
 };
 
 &pwm_tacho {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: aspeed: tiogapass: Add IPMB device
  2020-01-28  1:17 [PATCH] ARM: dts: aspeed: tiogapass: Add IPMB device Vijay Khemka
@ 2020-01-31  3:56 ` Joel Stanley
  2020-01-31 18:22   ` Vijay Khemka
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Stanley @ 2020-01-31  3:56 UTC (permalink / raw)
  To: Vijay Khemka
  Cc: Rob Herring, Mark Rutland, Andrew Jeffery, devicetree, Linux ARM,
	linux-aspeed, Linux Kernel Mailing List, Sai Dasari

On Tue, 28 Jan 2020 at 01:17, Vijay Khemka <vijaykhemka@fb.com> wrote:
>
> Adding IPMB devices for facebook tiogapass platform.
>
> Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>

I will merge this through the aspeed tree for 5.7.

Cheers,

Joel

> ---
>  arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> index fb7f034d5db2..719c130a198c 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
> @@ -5,6 +5,7 @@
>
>  #include "aspeed-g5.dtsi"
>  #include <dt-bindings/gpio/aspeed-gpio.h>
> +#include <dt-bindings/i2c/i2c.h>
>
>  / {
>         model = "Facebook TiogaPass BMC";
> @@ -428,6 +429,11 @@
>  &i2c4 {
>         status = "okay";
>         // BMC Debug Header
> +       ipmb0@10 {
> +               compatible = "ipmb-dev";
> +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +               i2c-protocol;
> +       };
>  };
>
>  &i2c5 {
> @@ -509,6 +515,11 @@
>  &i2c9 {
>         status = "okay";
>         //USB Debug Connector
> +       ipmb0@10 {
> +               compatible = "ipmb-dev";
> +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +               i2c-protocol;
> +       };
>  };
>
>  &pwm_tacho {
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: aspeed: tiogapass: Add IPMB device
  2020-01-31  3:56 ` Joel Stanley
@ 2020-01-31 18:22   ` Vijay Khemka
  0 siblings, 0 replies; 3+ messages in thread
From: Vijay Khemka @ 2020-01-31 18:22 UTC (permalink / raw)
  To: Joel Stanley
  Cc: Rob Herring, Mark Rutland, Andrew Jeffery, devicetree, Linux ARM,
	linux-aspeed, Linux Kernel Mailing List, Sai Dasari



On 1/30/20, 7:56 PM, "Joel Stanley" <joel@jms.id.au> wrote:

    On Tue, 28 Jan 2020 at 01:17, Vijay Khemka <vijaykhemka@fb.com> wrote:
    >
    > Adding IPMB devices for facebook tiogapass platform.
    >
    > Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
    
    Reviewed-by: Joel Stanley <joel@jms.id.au>
    
    I will merge this through the aspeed tree for 5.7.

Thanks Joel.
    
    Cheers,
    
    Joel
    
    > ---
    >  arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 11 +++++++++++
    >  1 file changed, 11 insertions(+)
    >
    > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > index fb7f034d5db2..719c130a198c 100644
    > --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
    > @@ -5,6 +5,7 @@
    >
    >  #include "aspeed-g5.dtsi"
    >  #include <dt-bindings/gpio/aspeed-gpio.h>
    > +#include <dt-bindings/i2c/i2c.h>
    >
    >  / {
    >         model = "Facebook TiogaPass BMC";
    > @@ -428,6 +429,11 @@
    >  &i2c4 {
    >         status = "okay";
    >         // BMC Debug Header
    > +       ipmb0@10 {
    > +               compatible = "ipmb-dev";
    > +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
    > +               i2c-protocol;
    > +       };
    >  };
    >
    >  &i2c5 {
    > @@ -509,6 +515,11 @@
    >  &i2c9 {
    >         status = "okay";
    >         //USB Debug Connector
    > +       ipmb0@10 {
    > +               compatible = "ipmb-dev";
    > +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
    > +               i2c-protocol;
    > +       };
    >  };
    >
    >  &pwm_tacho {
    > --
    > 2.17.1
    >
    


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-31 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28  1:17 [PATCH] ARM: dts: aspeed: tiogapass: Add IPMB device Vijay Khemka
2020-01-31  3:56 ` Joel Stanley
2020-01-31 18:22   ` Vijay Khemka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).