hw/arm: Connect PWM fans in NPCM7XX boards
commita9d3d7b17e5a3c246ecf4e420d2d4bb089a8d7c3
authorHao Wu <wuhaotsh@google.com>
Thu, 11 Mar 2021 18:08:54 +0000 (11 10:08 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Mar 2021 12:50:36 +0000 (12 12:50 +0000)
tree381f44068835ea6639de67c10124e7f8316979a7
parentfc11115f74b4355b38eeebc118e347cd74f35845
hw/arm: Connect PWM fans in NPCM7XX boards

This patch adds fan_splitters (split IRQs) in NPCM7XX boards. Each fan
splitter corresponds to 1 PWM output and can connect to multiple fan
inputs (MFT devices).
In NPCM7XX boards(NPCM750 EVB and Quanta GSJ boards), we initializes
these splitters and connect them to their corresponding modules
according their specific device trees.

Reviewed-by: Doug Evans <dje@google.com>
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210311180855.149764-5-wuhaotsh@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/npcm7xx_boards.c
include/hw/arm/npcm7xx.h