]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
clk: lan966x: prepare driver for lan969x support
authorDaniel Machon <daniel.machon@microchip.com>
Mon, 16 Sep 2024 09:49:21 +0000 (11:49 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sun, 13 Oct 2024 16:20:23 +0000 (19:20 +0300)
commit118c000211fbc476726a08f810ce9df700bf2bb3
tree9847bff4d5705648ad7b88570417805b0321daf9
parent6049fa175d84f7f9f8757423f78227c0a5099f09
clk: lan966x: prepare driver for lan969x support

In preparation for lan969x support, add private match data for lan966x
and add variables for: peripheral clock names, clock gate names, number
of total clocks and number of generic clocks. Use the variables
throughout.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240916-lan969x-clock-v1-3-0e150336074d@microchip.com
[claudiu.beznea: in lan966x_clk_probe(): keep struct_size() arguments on
 a single line]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
drivers/clk/clk-lan966x.c