[PATCH 0/6] misc: keba: Add support for additional devices
From: Gerhard Engleder
Date: Wed Oct 09 2024 - 17:04:12 EST
Add SPI controller auxiliary device. The SPI controller driver is not
part of this series, because it should target spi-next and not
char-misc. Additionally a driver for the LAN9252 chip, which is
connected to the SPI controller, is included. This driver only
configures the LAN9252 chip in the right mode and provides no user space
interface.
The main EEPROM of the CP500 devices is divided into two sections by
design/factory. Therefore, provide the two section as separate NVMEM
devices.
Add fan, battery and UART auxiliary devices. Similar to the SPI
controller, this is some prepartion work, because the drivers will
target other branches than char-misc.
Gerhard Engleder (6):
misc: keba: Add SPI controller device
misc: keba: Add LAN9252 driver
misc: keba: Support EEPROM sections as separate devices
misc: keba: Add fan device
misc: keba: Add battery device
misc: keba: Add UART devices
drivers/misc/keba/Kconfig | 11 +
drivers/misc/keba/Makefile | 1 +
drivers/misc/keba/cp500.c | 558 ++++++++++++++++++++++++++++++++++--
drivers/misc/keba/lan9252.c | 359 +++++++++++++++++++++++
include/linux/misc/keba.h | 47 +++
5 files changed, 955 insertions(+), 21 deletions(-)
create mode 100644 drivers/misc/keba/lan9252.c
--
2.39.2