All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jeffery <andrew@aj.id.au>
To: openbmc@lists.ozlabs.org
Subject: [PATCH linux dev-5.10 4/7] ARM: dts: rainier: Drop the openbmc, mctp-lpc node
Date: Fri, 18 Jun 2021 13:28:55 +0930	[thread overview]
Message-ID: <20210618035858.4024689-5-andrew@aj.id.au> (raw)
In-Reply-To: <20210618035858.4024689-1-andrew@aj.id.au>

The MCTP LPC driver was loaded by hacking up the compatible in the
devicetree node for KCS 4. With the introduction of the raw KCS driver
this hack is no-longer required. Use the regular compatible string for
KCS 4 and configure the appropriate SerIRQ.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 73e94be5424b..9ea3864651d6 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -1717,11 +1717,6 @@ &lpc_ctrl {
 	memory-region = <&flash_memory>;
 };
 
-&kcs4 {
-	compatible = "openbmc,mctp-lpc";
-	status = "okay";
-};
-
 &mac2 {
 	status = "okay";
 	pinctrl-names = "default";
@@ -1784,3 +1779,9 @@ &xdma {
 	status = "okay";
 	memory-region = <&vga_memory>;
 };
+
+&kcs4 {
+	status = "okay";
+	aspeed,lpc-io-reg = <0xca2>;
+	aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+};
-- 
2.30.2


  parent reply	other threads:[~2021-06-18  4:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  3:58 [PATCH linux dev-5.10 0/7] Rework use of KCS devices for P10 platforms Andrew Jeffery
2021-06-18  3:58 ` [PATCH linux dev-5.10 1/7] ipmi: kcs_bmc_aspeed: Fix less than zero comparison of a unsigned int Andrew Jeffery
2021-06-18  3:58 ` [PATCH linux dev-5.10 2/7] ipmi: kcs_bmc: Add a "raw" character device interface Andrew Jeffery
2021-06-23  0:47   ` Andrew Jeffery
2021-06-23  1:04     ` Joel Stanley
2021-06-23  3:20       ` Andrew Jeffery
2021-06-18  3:58 ` [PATCH linux dev-5.10 3/7] ARM: configs: Enable IPMI KCS raw chardev Andrew Jeffery
2021-06-18  3:58 ` Andrew Jeffery [this message]
2021-06-18  3:58 ` [PATCH linux dev-5.10 5/7] misc: Remove obsolete mctp-lpc chardev Andrew Jeffery
2021-06-18  3:58 ` [PATCH linux dev-5.10 6/7] ARM: dts: rainier: Switch to KCS 3 for MCTP binding Andrew Jeffery
2021-06-18  3:58 ` [PATCH linux dev-5.10 7/7] ARM: dts: rainier: Enable KCS channel 2 Andrew Jeffery

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=20210618035858.4024689-5-andrew@aj.id.au \
    --to=andrew@aj.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /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: link
Be 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.