hw/misc: Support NPCM8XX CLK Module Registers
authorHao Wu <wuhaotsh@google.com>
Wed, 19 Feb 2025 18:46:04 +0000 (10:46 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2025 15:22:22 +0000 (15:22 +0000)
commit4e67d50deaf3132f392266e7251cf7ce17be8fa4
treee19bbea97d70a9d497aa16b1dd7faaaf24e34739
parentcf76c4e174e128397763c4ec98b0aa3345bab3be
hw/misc: Support NPCM8XX CLK Module Registers

NPCM8XX adds a few new registers and have a different set of reset
values to the CLK modules. This patch supports them.

This patch doesn't support the new clock values generated by these
registers. Currently no modules use these new clock values so they
are not necessary at this point.
Implementation of these clocks might be required when implementing
these modules.

Reviewed-by: Titus Rwantare <titusr@google.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20250219184609.1839281-14-wuhaotsh@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/npcm_clk.c
include/hw/misc/npcm_clk.h