-
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 binding details for PMIC MAX77620
Maxim has used the same clock IP on multiple PMICs like MAX77686, MAX77802, MAX77620. Only differences are the number of clocks from these PMICs like MAX77686 has 3 clocks output, MAX776802 have two clock output and MAX77620 has one clock output. Add clock binding details and DT example for the MAX77620. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> CC: Krzysztof Kozlowski <k.kozlowski@samsung.com> CC: Javier Martinez Canillas <javier@dowhile0.org> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
- Loading branch information
Laxman Dewangan
authored and
Stephen Boyd
committed
Aug 15, 2016
1 parent
24f668d
commit e581245
Showing
2 changed files
with
63 additions
and
10 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,21 @@ | ||
/* | ||
* Copyright (C) 2016 NVIDIA CORPORATION. All rights reserved. | ||
* | ||
* 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 77620 PMIC. | ||
*/ | ||
|
||
#ifndef _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H | ||
#define _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H | ||
|
||
/* Fixed rate clocks. */ | ||
|
||
#define MAX77620_CLK_32K_OUT0 0 | ||
|
||
/* Total number of clocks. */ | ||
#define MAX77620_CLKS_NUM (MAX77620_CLK_32K_OUT0 + 1) | ||
|
||
#endif /* _DT_BINDINGS_CLOCK_MAXIM_MAX77620_CLOCK_H */ |