hw: aspeed_scu: Introduce clkin_25Mhz attribute
authorSteven Lee <steven_lee@aspeedtech.com>
Mon, 2 May 2022 15:03:02 +0000 (17:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Mon, 2 May 2022 15:03:02 +0000 (17:03 +0200)
commitbad23bb64447594e3027f4792dbe46edfc9204f6
tree82b1ede1300710dc23186f9f4451ed29228ed3dd
parentdd7f19a963ca4e1bbfb65b72d555efcc507a2d78
hw: aspeed_scu: Introduce clkin_25Mhz attribute

AST2600 clkin is always 25MHz, introduce clkin_25Mhz attribute
for aspeed_scu_get_clkin() to return the correct clkin for ast2600.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220315075753.8591-3-steven_lee@aspeedtech.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/misc/aspeed_scu.c
include/hw/misc/aspeed_scu.h