diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-08-18 10:32:59 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-09 13:55:38 -0700 |
commit | a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0 (patch) | |
tree | a1b20c566d96d858573e9eed8d50a78579c631e8 /include/dt-bindings | |
parent | 8eaf503480e4b45c2cb5d555388ab209ae305dd3 (diff) | |
download | linux-a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0.tar.gz linux-a8a76f563cfa1a4e47b6d8b2bef9c0d44a3fd7b0.tar.bz2 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 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/maxim,max77686.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/maxim,max77686.h b/include/dt-bindings/clock/maxim,max77686.h new file mode 100644 index 000000000000..7b28b0905869 --- /dev/null +++ b/include/dt-bindings/clock/maxim,max77686.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2014 Google, Inc + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * Device Tree binding constants clocks for the Maxim 77686 PMIC. + */ + +#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H +#define _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H + +/* Fixed rate clocks. */ + +#define MAX77686_CLK_AP 0 +#define MAX77686_CLK_CP 1 +#define MAX77686_CLK_PMIC 2 + +/* Total number of clocks. */ +#define MAX77686_CLKS_NUM (MAX77686_CLK_PMIC + 1) + +#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77686_CLOCK_H */ |