diff options
author | Hao Wu <wuhaotsh@google.com> | 2021-03-11 10:08:51 -0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-03-12 12:48:56 +0000 |
commit | 71b50b9d1ca2f5e8ae65678294ceacbd7b6520c8 (patch) | |
tree | fd819745e484ed141c58b77b2beb39d12cbde9ca /hw/dma/i8257.c | |
parent | bcb902a1ed1ad5e0ceebb9536f392bf6d46219f9 (diff) |
hw/misc: Add GPIOs for duty in NPCM7xx PWM
This patch adds GPIOs in NPCM7xx PWM module for its duty values.
The purpose of this is to connect it to the MFT module to provide
an input for measuring a PWM fan's RPM. Each PWM module has
NPCM7XX_PWM_PER_MODULE of GPIOs, each one corresponds to
one PWM instance and can connect to multiple fan instances in MFT.
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-2-wuhaotsh@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/dma/i8257.c')
0 files changed, 0 insertions, 0 deletions