Skip to content

misc: keba: Add support for additional devices

Gerhard Engleder lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v16 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- separate commits for clean up (Greg KH)
- uninitialized warning in lan9252_probe() for variable ret (kernel test robot)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8misc: keba: Use variable ret for return valuesdrivers/misc/keba/cp500.c+7 -70 replies
2/8misc: keba: Use capital letters for I2C error messagedrivers/misc/keba/cp500.c+1 -10 replies
3/8misc: keba: Add SPI controller devicedrivers/misc/keba/cp500.c include/linux/misc/keba.h+219 -150 replies
4/8misc: keba: Add LAN9252 driverdrivers/misc/keba/Kconfig drivers/misc/keba/Makefile drivers/misc/keba/lan9252.c+371 -00 replies
5/8misc: keba: Support EEPROM sections as separate devicesdrivers/misc/keba/cp500.c+102 -30 replies
6/8misc: keba: Add fan devicedrivers/misc/keba/cp500.c include/linux/misc/keba.h+84 -90 replies
7/8misc: keba: Add battery devicedrivers/misc/keba/cp500.c include/linux/misc/keba.h+69 -00 replies
8/8misc: keba: Add UART devicesdrivers/misc/keba/cp500.c include/linux/misc/keba.h+116 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] misc: keba: Add support for additional devices

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.

The series starts with two small cleanups.

v2:
- separate commits for clean up (Greg KH)
- uninitialized warning in lan9252_probe() for variable ret (kernel test robot)

Gerhard Engleder (8):
misc: keba: Use variable ret for return values
misc: keba: Use capital letters for I2C error message
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
Signature · 1 line
2.39.2