mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> CC: Krzysztof Kozlowski <[email protected]> CC: Javier Martinez Canillas <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
22 lines
632 B
C
22 lines
632 B
C
/*
|
|
* 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 */
|