[PATCH 3/5] clk: max77686: Add DT binding details for PMIC MAX77620
Javier Martinez Canillas
javier at osg.samsung.com
Wed Jun 15 08:24:12 PDT 2016
Hello Laxman,
On 06/15/2016 10:13 AM, Laxman Dewangan wrote:
> Maxim has used the same clock IP on multiple PMICs like
> MAX77686, MAX77802, MAX77620. Only differences are the
> number of clocks from these PMICs.
>
> Add clock binding details and example for the max77620 in
> maxim,max77686.
>
> Signed-off-by: Laxman Dewangan <ldewangan at nvidia.com>
> CC: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> CC: Javier Martinez Canillas <javier at dowhile0.org>
> ---
> .../devicetree/bindings/clock/maxim,max77686.txt | 38 +++++++++++++++++++---
> include/dt-bindings/mfd/max77620.h | 4 +++
[snip]
> + };
> diff --git a/include/dt-bindings/mfd/max77620.h b/include/dt-bindings/mfd/max77620.h
> index b911a07..e1bd08c 100644
> --- a/include/dt-bindings/mfd/max77620.h
> +++ b/include/dt-bindings/mfd/max77620.h
> @@ -36,4 +36,8 @@
> #define MAX77620_FPS_SRC_NONE 3
> #define MAX77620_FPS_SRC_DEF 4
>
> +/* MAX77686 clocks */
> +#define MAX77620_CLKS_NUM 1
> +#define MAX77620_CLK_32K_OUT0 0
> +
> #endif
>
The clocks for the other Maxim PMICs define their clocks in the clock subdir
instead, so I wonder if include/dt-bindings/clock/maxim,max77620.h wouldn't
be better for consistency?
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
More information about the linux-arm-kernel
mailing list