mfd: Add base driver for Netronix embedded controller
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sun, 24 Jan 2021 21:41:23 +0000 (22:41 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Mar 2021 11:06:27 +0000 (11:06 +0000)
commiteceae583930666a69ab805eee8e81f9699bf6930
treed485920d0d1d747bc129658b9782eccaaef0133c
parent01929c71334a075971b96837763d4dc0befc5fa5
mfd: Add base driver for Netronix embedded controller

The Netronix embedded controller is a microcontroller found in some
e-book readers designed by the original design manufacturer Netronix,
Inc. It contains RTC, battery monitoring, system power management, and
PWM functionality.

This driver implements register access and version detection.

Third-party hardware documentation is available at:

  https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller

The EC supports interrupts, but the driver doesn't make use of them so
far.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/ntxec.c [new file with mode: 0644]
include/linux/mfd/ntxec.h [new file with mode: 0644]