summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2022-04-29 02:09:28 +0300
committerJernej Skrabec <jernej.skrabec@gmail.com>2022-05-06 19:02:40 +0300
commit38d321b61bda32624bde46f662faac039905e3db (patch)
tree3af9836808de6dc807521170bb2a5959a31b8845 /include/dt-bindings
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-38d321b61bda32624bde46f662faac039905e3db.tar.xz
clk: sunxi-ng: h6-r: Add RTC gate clock
The H6 and H616 feature an (undocumented) bus clock gate for accessing the RTC registers. This seems to be enabled at reset (or by the BootROM), so we got away without it so far, but exists regardless. Since the new RTC clock binding for the H616 requires this "bus" clock to be specified in the DT, add this to R_CCU clock driver and expose it on the DT side with a new number. We do this for both the H6 and H616, but mark it as IGNORE_UNUSED, as we cannot reference it in any H6 DTs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20220428230933.15262-2-andre.przywara@arm.com
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/sun50i-h6-r-ccu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/sun50i-h6-r-ccu.h b/include/dt-bindings/clock/sun50i-h6-r-ccu.h
index 890368d252c4..a96087abc86f 100644
--- a/include/dt-bindings/clock/sun50i-h6-r-ccu.h
+++ b/include/dt-bindings/clock/sun50i-h6-r-ccu.h
@@ -22,5 +22,6 @@
#define CLK_W1 12
#define CLK_R_APB2_RSB 13
+#define CLK_R_APB1_RTC 14
#endif /* _DT_BINDINGS_CLK_SUN50I_H6_R_CCU_H_ */