openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] ARM: dts: aspeed: Yosemite V2: Enable OCP debug card
@ 2022-09-27 11:45 Karthikeyan Pasupathi
  2022-09-27 12:05 ` Joel Stanley
  0 siblings, 1 reply; 2+ messages in thread
From: Karthikeyan Pasupathi @ 2022-09-27 11:45 UTC (permalink / raw)
  To: Rob Herring, Joel Stanley, Andrew Jeffery, devicetree,
	linux-arm-kernel, linux-aspeed, linux-kernel, openbmc

Added IPMB-13 channel for Debug Card communication.
which improves the readability of the machine and makes
it easier to debug the server and it will display some
pieces of information about the server like "system info",
"Critical sensors" and "critical sel".

Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
---
v6:
 -Fix the commit format

v5:
 -Updated commit message

v4:
 -Resolved syntax error

v3:
 -Updated the title and commit

v2:
 -Updated the title

v1:
 - Initial draft
---
---
 arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
index 8864e9c312a8..84236df522dc 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
@@ -215,6 +215,17 @@
 	};
 };
 
+&i2c13 {
+	status = "okay";
+	// Debug Card
+	multi-master;
+	ipmb13@10 {
+		compatible = "ipmb-dev";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+		i2c-protocol;
+	};
+};
+
 &pwm_tacho {
 	status = "okay";
 	//FSC
-- 
2.17.1


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

* Re: [PATCH v6] ARM: dts: aspeed: Yosemite V2: Enable OCP debug card
  2022-09-27 11:45 [PATCH v6] ARM: dts: aspeed: Yosemite V2: Enable OCP debug card Karthikeyan Pasupathi
@ 2022-09-27 12:05 ` Joel Stanley
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Stanley @ 2022-09-27 12:05 UTC (permalink / raw)
  To: Karthikeyan Pasupathi
  Cc: devicetree, linux-aspeed, Andrew Jeffery, openbmc, linux-kernel,
	Rob Herring, linux-arm-kernel

On Tue, 27 Sept 2022 at 11:45, Karthikeyan Pasupathi
<pkarthikeyan1509@gmail.com> wrote:
>
> Added IPMB-13 channel for Debug Card communication.
> which improves the readability of the machine and makes
> it easier to debug the server and it will display some
> pieces of information about the server like "system info",
> "Critical sensors" and "critical sel".
>
> Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>

Thanks, I've queued this.

Thanks Zev for your help reviewing.

> ---
> v6:
>  -Fix the commit format
>
> v5:
>  -Updated commit message
>
> v4:
>  -Resolved syntax error
>
> v3:
>  -Updated the title and commit
>
> v2:
>  -Updated the title
>
> v1:
>  - Initial draft
> ---
> ---
>  arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
> index 8864e9c312a8..84236df522dc 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts
> @@ -215,6 +215,17 @@
>         };
>  };
>
> +&i2c13 {
> +       status = "okay";
> +       // Debug Card
> +       multi-master;
> +       ipmb13@10 {
> +               compatible = "ipmb-dev";
> +               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
> +               i2c-protocol;
> +       };
> +};
> +
>  &pwm_tacho {
>         status = "okay";
>         //FSC
> --
> 2.17.1
>

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

end of thread, other threads:[~2022-09-28  2:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 11:45 [PATCH v6] ARM: dts: aspeed: Yosemite V2: Enable OCP debug card Karthikeyan Pasupathi
2022-09-27 12:05 ` Joel Stanley

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).