Skip to content

KB3310B MFD Driver for Lemote Yeeloong laptops.

Tom Li linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.MAINTAINERS drivers/mfd/Kconfig drivers/mfd/Makefile +2 more+429 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] KB3310B MFD Driver for Lemote Yeeloong laptops.

This is a resend of the first patch ("[PATCH v3 1/7]") in the patchset "[PATCH v3 0/7] Preliminary Platform Driver Support for Lemote Yeeloong Laptops" [0], which introduced a new MFD driver.

The original patchset never arrived to Lee's inbox. so I resend the patch to facilitate review.

It features the following...

* Create a MFD driver for KB3310B controller, and move the original KB3310B controller code from mips/loongson64 to our new MFD driver. This needs to be reviewed by the MFD subsystem maintainer before the following can proceed.

* Subdrivers - hwmon, battery, backlight, lcd and hotkey are registered as MFD cells in the MFD driver. It means onlf the MFD driver is resposible to register the upcoming subdrivers, the core board files mips/loongson64/ will not contain unrelated code.

[0] https://lore.kernel.org/linux-mips/[email protected]/T/#m2a6e18afbb62ceb535a859181d8485916b30a63f

Thanks,

Yifeng Li (1):
mfd: yeeloong_kb3310b: support KB3310B EC for Lemote Yeeloong laptops.

 MAINTAINERS                          |   7 +
 drivers/mfd/Kconfig                  |  10 ++
 drivers/mfd/Makefile                 |   1 +
 drivers/mfd/yeeloong_kb3310b.c       | 200 +++++++++++++++++++++++++
 include/linux/mfd/yeeloong_kb3310b.h | 211 +++++++++++++++++++++++++++
 5 files changed, 429 insertions(+)
 create mode 100644 drivers/mfd/yeeloong_kb3310b.c
 create mode 100644 include/linux/mfd/yeeloong_kb3310b.h
Signature · 1 line
2.20.1