mvebu: puzzle-m902: add driver for MCU driving LEDs, fan and buzzer
authorDaniel Golle <daniel@makrotopia.org>
Tue, 21 Dec 2021 16:27:16 +0000 (16:27 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 1 Jan 2022 22:29:33 +0000 (22:29 +0000)
commit99a1e882970f02d3713b3d67022af012b782a5f4
treeb9f4069b18d31c823e9a16cc280a71c7245a0516
parent3b14ddf8d204ee59533ec76ed6018db01f77d6e7
mvebu: puzzle-m902: add driver for MCU driving LEDs, fan and buzzer

Backport MFD driver for communicating with the on-board MCU found on
IEI World Puzzle appliances.
Improve the driver to support multiple LEDs, apply a default state and
let MCU take care of blinking if timing is within supported range.
Wire up LEDs and fan for Puzzle M902 in device tree.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f0c0b18234418c6ed6d35fcf1c6e5b0cbdceed49
with commit 962c58558010bd302793ac24284c4f9db8fe287f squashed)
target/linux/mvebu/cortexa72/config-5.4
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/cn9132-puzzle-m902.dts
target/linux/mvebu/patches-5.4/901-dt-bindings-Add-IEI-vendor-prefix-and-IEI-WT61P803-P.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/902-drivers-mfd-Add-a-driver-for-IEI-WT61P803-PUZZLE-MCU.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/903-drivers-hwmon-Add-the-IEI-WT61P803-PUZZLE-HWMON-driv.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/904-drivers-leds-Add-the-IEI-WT61P803-PUZZLE-LED-driver.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/905-Documentation-ABI-Add-iei-wt61p803-puzzle-driver-sys.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/906-Documentation-hwmon-Add-iei-wt61p803-puzzle-hwmon-dr.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/907-MAINTAINERS-Add-an-entry-for-the-IEI-WT61P803-PUZZLE.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/910-drivers-leds-wt61p803-puzzle-improvements.patch [new file with mode: 0644]