clk: sunxi-ng: f1c100s: Add IR mod clock
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Nov 2022 00:54:27 +0000 (00:54 +0000)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 16 Nov 2022 18:49:18 +0000 (19:49 +0100)
commitf64603c9729af406167cb9beb66687b1abc4196e
tree58a85c88f76be820372ef996b663cf1b55e5d201
parentd550f6b0a7b5c1fccaa696eb5e457cef45b0467c
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>
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.h
include/dt-bindings/clock/suniv-ccu-f1c100s.h