]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/clk-uclass.h
arm: imx: hab: Define HAB_RVT_BASE according to the processor version
[people/ms/u-boot.git] / include / clk-uclass.h
index e7ea334c608b4f088af50524f80640bfd500d667..75933eb8841fb86bdf7efc999dfe0a4bffa68928 100644 (file)
@@ -77,6 +77,14 @@ struct clk_ops {
         * @return new rate, or -ve error code.
         */
        ulong (*set_rate)(struct clk *clk, ulong rate);
+       /**
+        * set_parent() - Set current clock parent
+        *
+        * @clk:        The clock to manipulate.
+        * @parent:     New clock parent.
+        * @return zero on success, or -ve error code.
+        */
+       int (*set_parent)(struct clk *clk, struct clk *parent);
        /**
         * enable() - Enable a clock.
         *