-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Javier Martinez Canillas
authored and
Mike Turquette
committed
Sep 9, 2014
1 parent
8eaf503
commit a8a76f5
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |