Merge tag 'fsnotify_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / clk / socfpga / stratix10-clk.h
index f9d5d72..420deed 100644 (file)
@@ -30,6 +30,17 @@ struct stratix10_perip_c_clock {
        unsigned long           offset;
 };
 
+struct n5x_perip_c_clock {
+       unsigned int            id;
+       const char              *name;
+       const char              *parent_name;
+       const char              *const *parent_names;
+       u8                      num_parents;
+       unsigned long           flags;
+       unsigned long           offset;
+       unsigned long           shift;
+};
+
 struct stratix10_perip_cnt_clock {
        unsigned int            id;
        const char              *name;
@@ -64,8 +75,12 @@ struct clk *s10_register_pll(const struct stratix10_pll_clock *,
                             void __iomem *);
 struct clk *agilex_register_pll(const struct stratix10_pll_clock *,
                                void __iomem *);
+struct clk *n5x_register_pll(const struct stratix10_pll_clock *clks,
+                            void __iomem *reg);
 struct clk *s10_register_periph(const struct stratix10_perip_c_clock *,
-                               void __iomem *);
+                               void __iomem *reg);
+struct clk *n5x_register_periph(const struct n5x_perip_c_clock *clks,
+                               void __iomem *reg);
 struct clk *s10_register_cnt_periph(const struct stratix10_perip_cnt_clock *,
                                    void __iomem *);
 struct clk *s10_register_gate(const struct stratix10_gate_clock *,