[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1735550269.git.zhoubinbin@loongson.cn>
Date: Mon, 30 Dec 2024 17:31:07 +0800
From: Binbin Zhou <zhoubinbin@...ngson.cn>
To: Binbin Zhou <zhoubb.aaron@...il.com>,
Huacai Chen <chenhuacai@...ngson.cn>,
Lee Jones <lee@...nel.org>,
Corey Minyard <minyard@....org>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>
Cc: Huacai Chen <chenhuacai@...nel.org>,
linux-kernel@...r.kernel.org,
openipmi-developer@...ts.sourceforge.net,
dri-devel@...ts.freedesktop.org,
Xuerui Wang <kernel@...0n.name>,
loongarch@...ts.linux.dev,
Binbin Zhou <zhoubinbin@...ngson.cn>
Subject: [PATCH v1 0/4] LoongArch: Add Loongson-2K0500 BMC support
Hi all:
This patch set introduces the Loongson-2K0500 BMC.
It is a PCIe device present on servers similar to the Loongson-3C6000.
And it is a multifunctional device (MFD), such as display as a sub-function
of it.
For IPMI, according to the existing design, we use software simulation to
implement the KCS interface registers: Stauts/Command/Data_Out/Data_In.
Also since both host side and BMC side read and write kcs status, we use
fifo pointer to ensure data consistency.
For the display, based on simpledrm, the resolution is read from a fixed
position in the BMC since the hardware does not support auto-detection
of the resolution. Of course, we will try to support multiple
resolutions later, through a vbios-like approach.
Especially, for the BMC reset function, since the display will be
disconnected when BMC reset, we made a special treatment of re-push.
Based on this, I will present it in four patches:
patch-1: BMC device PCI resource allocation.
patch-2: IPMI implementation
patch-3: display, based on simpledrm
patch-4: BMC reboot support
Thanks.
Binbin Zhou (4):
mfd: ls2kbmc: Introduce Loongson-2K BMC MFD Core driver
ipmi: Add Loongson-2K BMC support
drm/ls2kbmc: Add support for Loongson-2K BMC display
drm/ls2kbmc: Add Loongson-2K BMC reset function support
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi/ipmi_si.h | 8 +
drivers/char/ipmi/ipmi_si_intf.c | 3 +
drivers/char/ipmi/ipmi_si_ls2k.c | 250 +++++++++
drivers/gpu/drm/tiny/Kconfig | 18 +
drivers/gpu/drm/tiny/Makefile | 1 +
drivers/gpu/drm/tiny/ls2kbmc.c | 918 +++++++++++++++++++++++++++++++
drivers/mfd/Kconfig | 15 +
drivers/mfd/Makefile | 2 +
drivers/mfd/ls2kbmc-mfd.c | 145 +++++
10 files changed, 1361 insertions(+)
create mode 100644 drivers/char/ipmi/ipmi_si_ls2k.c
create mode 100644 drivers/gpu/drm/tiny/ls2kbmc.c
create mode 100644 drivers/mfd/ls2kbmc-mfd.c
--
2.43.5
Powered by blists - more mailing lists