Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716760

Re: [PATCH] mfd: max77693: Add muic of_compatible in mfd_cell

From Krzysztof Kozlowski <krzk@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mfd: max77693: Add muic of_compatible in mfd_cell
Date 2017-08-21 20:00 +0200
Message-ID <ugZ9v-7pX-19@gated-at.bofh.it> (permalink)
References <ugSB4-3kB-3@gated-at.bofh.it> <ugSB4-3kB-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 21, 2017 at 12:53:43PM +0200, Maciej Purski wrote:
> This patch adds muic of_compatible in order to use the muic device
> driver in device tree.

Please document it in similar way as in for example
Documentation/devicetree/bindings/mfd/max14577.txt
or in other way.

Best regards,
Krzysztof

> 
> Signed-off-by: Maciej Purski <m.purski@samsung.com>
> ---
>  drivers/mfd/max77693.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c
> index 662ae0d..1c05ea0 100644
> --- a/drivers/mfd/max77693.c
> +++ b/drivers/mfd/max77693.c
> @@ -48,7 +48,10 @@ static const struct mfd_cell max77693_devs[] = {
>  		.name = "max77693-charger",
>  		.of_compatible = "maxim,max77693-charger",
>  	},
> -	{ .name = "max77693-muic", },
> +	{
> +		.name = "max77693-muic",
> +		.of_compatible = "maxim,max77693-muic",
> +	},
>  	{
>  		.name = "max77693-haptic",
>  		.of_compatible = "maxim,max77693-haptic",
> -- 
> 2.7.4
> 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mfd: max77693: Add muic of_compatible in mfd_cell Maciej Purski <m.purski@samsung.com> - 2017-08-21 13:00 +0200
  Re: [PATCH] mfd: max77693: Add muic of_compatible in mfd_cell Krzysztof Kozlowski <krzk@kernel.org> - 2017-08-21 20:00 +0200

csiph-web