summaryrefslogtreecommitdiffstats
path: root/include/linux/clk
diff options
context:
space:
mode:
authorEmilio López2014-05-02 17:57:16 +0200
committerMike Turquette2014-05-06 00:55:57 +0200
commit95713978b0a2929b72933235bb07c0a793e71afa (patch)
treeaab5a046acf7561c644350a1908c40bec5848fd8 /include/linux/clk
parentclk: sunxi: factors: automatic reparenting support (diff)
downloadkernel-qcow2-linux-95713978b0a2929b72933235bb07c0a793e71afa.tar.gz
kernel-qcow2-linux-95713978b0a2929b72933235bb07c0a793e71afa.tar.xz
kernel-qcow2-linux-95713978b0a2929b72933235bb07c0a793e71afa.zip
clk: sunxi: Implement MMC phase control
HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'include/linux/clk')
-rw-r--r--include/linux/clk/sunxi.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/clk/sunxi.h b/include/linux/clk/sunxi.h
new file mode 100644
index 000000000000..1ef5c899e458
--- /dev/null
+++ b/include/linux/clk/sunxi.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright 2013 - Hans de Goede <hdegoede@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __LINUX_CLK_SUNXI_H_
+#define __LINUX_CLK_SUNXI_H_
+
+#include <linux/clk.h>
+
+void clk_sunxi_mmc_phase_control(struct clk_hw *hw, u8 sample, u8 output);
+
+#endif