From: Neil Armstrong <narmstrong@baylibre.com>
To: lee.jones@linaro.org, jdelvare@suse.com, linux@roeck-us.net,
srinivas.kandagatla@linaro.org
Cc: linux-hwmon@vger.kernel.org,
Neil Armstrong <narmstrong@baylibre.com>,
linux-kernel@vger.kernel.org, nick@khadas.com,
linux-amlogic@lists.infradead.org, art@khadas.com,
linux-arm-kernel@lists.infradead.org
Subject: [RFC 0/8] mfd: Add support for Khadas Microcontroller
Date: Tue, 21 Apr 2020 10:00:54 +0200 [thread overview]
Message-ID: <20200421080102.22796-1-narmstrong@baylibre.com> (raw)
The new Khadas VIM2, VIM3 and Edge boards embeds an on-board microcontroller
connected via I2C.
This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge
boards.
It has multiple boot control features like password check, power-on
options, power-off control and system FAN control on recent boards.
Thie serie adds :
- the bindings
- the MFD driver
- the HWMON cell driver
- the NVMEM cell driver
- updates MAINTAINERS
- add support into the Khadas VIM3/VIM3L DT
Neil Armstrong (8):
dt-bindings: mfd: add Khadas Microcontroller bindings
mfd: add support for the Khadas System control Microcontroller
hwmon: add support for the MCU controlled FAN on Khadas boards
nvmem: add support for the Khadas MCU Programmable User Memory
MAINTAINERS: add myself as maintainer for Khadas MCU drivers
arm64: dts: meson-g12b: move G12B thermal nodes to meson-g12b.dtsi
arm64: dts: meson-sm1: add cpu thermal nodes
arm64: dts: meson-khadas-vim3: add Khadas MCU nodes
.../devicetree/bindings/mfd/khadas,mcu.yaml | 44 ++++
MAINTAINERS | 11 +
arch/arm64/boot/dts/amlogic/meson-g12.dtsi | 23 --
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 22 ++
.../boot/dts/amlogic/meson-khadas-vim3.dtsi | 23 ++
arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 24 ++
drivers/hwmon/Kconfig | 9 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/khadas-mcu-fan.c | 230 ++++++++++++++++++
drivers/mfd/Kconfig | 14 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/khadas-mcu.c | 143 +++++++++++
drivers/nvmem/Kconfig | 8 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/khadas-mcu-user-mem.c | 128 ++++++++++
include/linux/mfd/khadas-mcu.h | 91 +++++++
16 files changed, 751 insertions(+), 23 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/khadas,mcu.yaml
create mode 100644 drivers/hwmon/khadas-mcu-fan.c
create mode 100644 drivers/mfd/khadas-mcu.c
create mode 100644 drivers/nvmem/khadas-mcu-user-mem.c
create mode 100644 include/linux/mfd/khadas-mcu.h
--
2.22.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2020-04-21 8:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 8:00 Neil Armstrong [this message]
2020-04-21 8:00 ` [RFC 1/8] dt-bindings: mfd: add Khadas Microcontroller bindings Neil Armstrong
2020-05-06 20:12 ` Rob Herring
2020-04-21 8:00 ` [RFC 2/8] mfd: add support for the Khadas System control Microcontroller Neil Armstrong
2020-04-21 8:00 ` [RFC 3/8] hwmon: add support for the MCU controlled FAN on Khadas boards Neil Armstrong
2020-04-21 9:24 ` Guenter Roeck
2020-04-28 12:58 ` Neil Armstrong
2020-04-21 8:00 ` [RFC 4/8] nvmem: add support for the Khadas MCU Programmable User Memory Neil Armstrong
2020-04-21 8:00 ` [RFC 5/8] MAINTAINERS: add myself as maintainer for Khadas MCU drivers Neil Armstrong
2020-04-21 8:01 ` [RFC 6/8] arm64: dts: meson-g12b: move G12B thermal nodes to meson-g12b.dtsi Neil Armstrong
2020-04-21 8:01 ` [RFC 7/8] arm64: dts: meson-sm1: add cpu thermal nodes Neil Armstrong
2020-04-21 8:01 ` [RFC 8/8] arm64: dts: meson-khadas-vim3: add Khadas MCU nodes Neil Armstrong
2020-04-29 19:16 ` [RFC 0/8] mfd: Add support for Khadas Microcontroller Kevin Hilman
2020-05-07 7:44 ` Neil Armstrong
-- strict thread matches above, loose matches on Subject: below --
2020-04-21 7:59 Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200421080102.22796-1-narmstrong@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=art@khadas.com \
--cc=jdelvare@suse.com \
--cc=lee.jones@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=nick@khadas.com \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®