* [PATCH linux dev-5.10] mctp-lpc: Match register addresses to updated devicetree
@ 2021-05-26 6:29 Andrew Jeffery
2021-05-26 6:42 ` Joel Stanley
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Jeffery @ 2021-05-26 6:29 UTC (permalink / raw)
To: openbmc
This driver was overlooked in the rearrangement we did upstream. It will
go away soon enough with the reworks to the KCS subsystem.
Cc: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
drivers/misc/mctp-lpc.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/misc/mctp-lpc.c b/drivers/misc/mctp-lpc.c
index 71fc4ae69de7..0228f6bbf1a7 100644
--- a/drivers/misc/mctp-lpc.c
+++ b/drivers/misc/mctp-lpc.c
@@ -18,10 +18,10 @@
#include <linux/uaccess.h>
#include <linux/wait.h>
-#define LPC_HICRB 0x080
+#define LPC_HICRB 0x100
#define LPC_HICRB_IBFIF4 BIT(1)
#define LPC_HICRB_LPC4E BIT(0)
-#define LPC_HICRC 0x084
+#define LPC_HICRC 0x104
#define LPC_KCS4_IRQSEL_MASK GENMASK(7, 4)
#define LPC_KCS4_IRQSEL_SHIFT 4
#define LPC_KCS4_IRQTYPE_MASK GENMASK(3, 2)
@@ -32,10 +32,10 @@
#define LPC_KCS4_IRQTYPE_RISING 0b11
#define LPC_KCS4_OBF4_AUTO_CLR BIT(1)
#define LPC_KCS4_IRQ_HOST BIT(0)
-#define LPC_LADR4 0x090
-#define LPC_IDR4 0x094
-#define LPC_ODR4 0x098
-#define LPC_STR4 0x09C
+#define LPC_LADR4 0x110
+#define LPC_IDR4 0x114
+#define LPC_ODR4 0x118
+#define LPC_STR4 0x11C
#define STR4_IBF (1 << 1)
#define STR4_OBF (1 << 0)
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH linux dev-5.10] mctp-lpc: Match register addresses to updated devicetree
2021-05-26 6:29 [PATCH linux dev-5.10] mctp-lpc: Match register addresses to updated devicetree Andrew Jeffery
@ 2021-05-26 6:42 ` Joel Stanley
0 siblings, 0 replies; 2+ messages in thread
From: Joel Stanley @ 2021-05-26 6:42 UTC (permalink / raw)
To: Andrew Jeffery; +Cc: OpenBMC Maillist
On Wed, 26 May 2021 at 06:29, Andrew Jeffery <andrew@aj.id.au> wrote:
>
> This driver was overlooked in the rearrangement we did upstream. It will
> go away soon enough with the reworks to the KCS subsystem.
>
> Cc: Andrew Geissler <geissonator@gmail.com>
> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Thanks, applied to dev-5.10.
Cheers,
Joel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-26 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 6:29 [PATCH linux dev-5.10] mctp-lpc: Match register addresses to updated devicetree Andrew Jeffery
2021-05-26 6:42 ` Joel Stanley
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.