summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2014-08-18 10:32:59 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-09 13:55:38 -0700
commita8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0 (patch)
treea1b20c566d96d858573e9eed8d50a78579c631e8 /drivers/clk
parent8eaf503480e4b45c2cb5d555388ab209ae305dd3 (diff)
downloadtalos-op-linux-a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0.tar.gz
talos-op-linux-a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0.zip
clk: max77686: Add DT include for MAX77686 PMIC clock
This patch adds a dt-binding include for Maxim 77686 PMIC clock IDs that can be used by both the max77686 clock driver and Device Tree source files. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk-max77686.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/clk/clk-max77686.c b/drivers/clk/clk-max77686.c
index 3d7e8dd8fd58..185b611c957e 100644
--- a/drivers/clk/clk-max77686.c
+++ b/drivers/clk/clk-max77686.c
@@ -30,12 +30,7 @@
#include <linux/mutex.h>
#include <linux/clkdev.h>
-enum {
- MAX77686_CLK_AP = 0,
- MAX77686_CLK_CP,
- MAX77686_CLK_PMIC,
- MAX77686_CLKS_NUM,
-};
+#include <dt-bindings/clock/maxim,max77686.h>
struct max77686_clk {
struct max77686_dev *iodev;
OpenPOWER on IntegriCloud