Re: [PATCH v4 2/8] mfd: max14577: Map charger device to its own of_node
From: Lee Jones
Date: Thu Aug 28 2014 - 07:50:55 EST
On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote:
> Add a "maxim,max14577-charger" of_compatible to the mfd_cell so the
> MFD child device (the charger) will have its own of_node set. This will
> be used by the max14577 charger driver in next patches to obtain battery
> configuration from DTS.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
> drivers/mfd/max14577.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
> diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
> index 4a5e885383f8..6599407b5624 100644
> --- a/drivers/mfd/max14577.c
> +++ b/drivers/mfd/max14577.c
> @@ -35,7 +35,10 @@ static const struct mfd_cell max14577_devs[] = {
> .name = "max14577-regulator",
> .of_compatible = "maxim,max14577-regulator",
> },
> - { .name = "max14577-charger", },
> + {
> + .name = "max14577-charger",
> + .of_compatible = "maxim,max14577-charger",
> + },
> };
>
> static const struct mfd_cell max77836_devs[] = {
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/