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>
This commit is contained in:
Laxman Dewangan
2016-06-17 16:21:06 +05:30
committed by Stephen Boyd
parent 24f668debc
commit e581245d8a
2 changed files with 63 additions and 10 deletions

View File

@@ -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 */