mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 21:46:43 +07:00
e581245d8a
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>
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 */
|