summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/clock
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2022-11-07 00:54:27 +0000
committerJernej Skrabec <jernej.skrabec@gmail.com>2022-11-16 19:49:18 +0100
commitf64603c9729af406167cb9beb66687b1abc4196e (patch)
tree58a85c88f76be820372ef996b663cf1b55e5d201 /include/dt-bindings/clock
parentd550f6b0a7b5c1fccaa696eb5e457cef45b0467c (diff)
downloadlinux-f64603c9729af406167cb9beb66687b1abc4196e.tar.bz2
clk: sunxi-ng: f1c100s: Add IR mod clock
For some reason the mod clock for the Allwinner F1C100s CIR (infrared receiver) peripheral was not modeled in the CCU driver. Add the clock description to the list, and wire it up in the clock list. By assigning a new clock ID at the end, it extends the number of clocks. This allows to use the CIR peripheral on any F1C100s series board. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://lore.kernel.org/r/20221107005433.11079-5-andre.przywara@arm.com Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'include/dt-bindings/clock')
-rw-r--r--include/dt-bindings/clock/suniv-ccu-f1c100s.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/suniv-ccu-f1c100s.h b/include/dt-bindings/clock/suniv-ccu-f1c100s.h
index f5ac155c9c70..d7570765f424 100644
--- a/include/dt-bindings/clock/suniv-ccu-f1c100s.h
+++ b/include/dt-bindings/clock/suniv-ccu-f1c100s.h
@@ -67,4 +67,6 @@
#define CLK_CODEC 65
#define CLK_AVS 66
+#define CLK_IR 67
+
#endif