dt-bindings: clock: ast2600: Add top-level I3C clock
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 2 Mar 2023 00:58:30 +0000 (08:58 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 6 Mar 2023 22:11:09 +0000 (14:11 -0800)
The ast2600 hardware has a top-level clock for all i3c controller
peripherals (then gated to each individual controller), so add a
top-level i3c clock line to control this.

This is a partial cherry-pick and rework of ed44b8cdfdb and 1a35eb926d7
from Aspeed's own tree, originally by Dylan Hung
<dylan_hung@aspeedtech.com>.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20230302005834.13171-3-jk@codeconstruct.com.au
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/clock/ast2600-clock.h

index d8b0db2..dd1581b 100644 (file)
@@ -87,6 +87,7 @@
 #define ASPEED_CLK_MAC2RCLK            68
 #define ASPEED_CLK_MAC3RCLK            69
 #define ASPEED_CLK_MAC4RCLK            70
+#define ASPEED_CLK_I3C                 71
 
 /* Only list resets here that are not part of a gate */
 #define ASPEED_RESET_ADC               55