clk: bcm: rpi: Add an enum for the firmware clocks
authorMaxime Ripard <maxime@cerno.tech>
Tue, 26 May 2020 12:23:04 +0000 (14:23 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:11 +0000 (16:34 +0100)
commitf7fb7a4da58770f0114dee75e2a4d7e866f4e522
tree7ff56e42d6e5e564b164978c00e3129a5148f17b
parent89eae786d9197b9b396f2ed25f8f07504c325088
clk: bcm: rpi: Add an enum for the firmware clocks

While the firmware allows us to discover the available clocks, we need to
discriminate those clocks to only register the ones meaningful to Linux.
The firmware also doesn't provide a clock name, so having a list of the ID
will help us to give clocks a proper name later on.

Acked-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/clk/bcm/clk-raspberrypi.c