linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell
       [not found] <CGME20170823063057eucas1p18045ff589bef62e656594d0bcf6ec5b3@eucas1p1.samsung.com>
@ 2017-08-23  6:30 ` Maciej Purski
  2017-08-23  6:34   ` Chanwoo Choi
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Maciej Purski @ 2017-08-23  6:30 UTC (permalink / raw)
  To: linux-kernel, devicetree
  Cc: cw00.choi, krzk, lee.jones, b.zolnierkie, Maciej Purski

This patch adds muic of_compatible in order to use the muic device
driver in device tree.

Signed-off-by: Maciej Purski <m.purski@samsung.com>
---
v2:
- added muic to documentation
v3:
- removed duplication
v4:
- fixed commit message

 Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++++++
 drivers/mfd/max77693.c                             | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt
index 6a1ae3a..e675497 100644
--- a/Documentation/devicetree/bindings/mfd/max77693.txt
+++ b/Documentation/devicetree/bindings/mfd/max77693.txt
@@ -127,6 +127,12 @@ Required properties for the LED child node:
 Optional properties for the LED child node:
 - label : see Documentation/devicetree/bindings/leds/common.txt
 
+Optional nodes:
+- max77693-muic :
+	Node used only by extcon consumers.
+	Required properties:
+		- compatible : "maxim,max77693-muic"
+
 Example:
 #include <dt-bindings/leds/common.h>
 
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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell
  2017-08-23  6:30 ` [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell Maciej Purski
@ 2017-08-23  6:34   ` Chanwoo Choi
  2017-08-23  6:52     ` Krzysztof Kozlowski
  2017-08-31 15:27   ` Rob Herring
  2017-09-05  7:27   ` Lee Jones
  2 siblings, 1 reply; 5+ messages in thread
From: Chanwoo Choi @ 2017-08-23  6:34 UTC (permalink / raw)
  To: Maciej Purski, linux-kernel, devicetree; +Cc: krzk, lee.jones, b.zolnierkie

Hi Maciej,

Why do you miss my reviewed-by tag?
If there is no huge changes, you need to keep the previous review tag.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>


On 2017년 08월 23일 15:30, Maciej Purski wrote:
> This patch adds muic of_compatible in order to use the muic device
> driver in device tree.
> 
> Signed-off-by: Maciej Purski <m.purski@samsung.com>
> ---
> v2:
> - added muic to documentation
> v3:
> - removed duplication
> v4:
> - fixed commit message
> 
>  Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++++++
>  drivers/mfd/max77693.c                             | 5 ++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt
> index 6a1ae3a..e675497 100644
> --- a/Documentation/devicetree/bindings/mfd/max77693.txt
> +++ b/Documentation/devicetree/bindings/mfd/max77693.txt
> @@ -127,6 +127,12 @@ Required properties for the LED child node:
>  Optional properties for the LED child node:
>  - label : see Documentation/devicetree/bindings/leds/common.txt
>  
> +Optional nodes:
> +- max77693-muic :
> +	Node used only by extcon consumers.
> +	Required properties:
> +		- compatible : "maxim,max77693-muic"
> +
>  Example:
>  #include <dt-bindings/leds/common.h>
>  
> 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",
> 

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell
  2017-08-23  6:34   ` Chanwoo Choi
@ 2017-08-23  6:52     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2017-08-23  6:52 UTC (permalink / raw)
  To: Maciej Purski
  Cc: Chanwoo Choi, linux-kernel, devicetree, lee.jones,
	Bartłomiej Żołnierkiewicz

On Wed, Aug 23, 2017 at 8:34 AM, Chanwoo Choi <cw00.choi@samsung.com> wrote:
> Hi Maciej,
>
> Why do you miss my reviewed-by tag?
> If there is no huge changes, you need to keep the previous review tag.
>
> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

Same here:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell
  2017-08-23  6:30 ` [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell Maciej Purski
  2017-08-23  6:34   ` Chanwoo Choi
@ 2017-08-31 15:27   ` Rob Herring
  2017-09-05  7:27   ` Lee Jones
  2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2017-08-31 15:27 UTC (permalink / raw)
  To: Maciej Purski
  Cc: linux-kernel, devicetree, cw00.choi, krzk, lee.jones, b.zolnierkie

On Wed, Aug 23, 2017 at 08:30:12AM +0200, Maciej Purski wrote:
> This patch adds muic of_compatible in order to use the muic device
> driver in device tree.
> 
> Signed-off-by: Maciej Purski <m.purski@samsung.com>
> ---
> v2:
> - added muic to documentation
> v3:
> - removed duplication
> v4:
> - fixed commit message
> 
>  Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++++++
>  drivers/mfd/max77693.c                             | 5 ++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell
  2017-08-23  6:30 ` [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell Maciej Purski
  2017-08-23  6:34   ` Chanwoo Choi
  2017-08-31 15:27   ` Rob Herring
@ 2017-09-05  7:27   ` Lee Jones
  2 siblings, 0 replies; 5+ messages in thread
From: Lee Jones @ 2017-09-05  7:27 UTC (permalink / raw)
  To: Maciej Purski; +Cc: linux-kernel, devicetree, cw00.choi, krzk, b.zolnierkie

On Wed, 23 Aug 2017, Maciej Purski wrote:

> This patch adds muic of_compatible in order to use the muic device
> driver in device tree.
> 
> Signed-off-by: Maciej Purski <m.purski@samsung.com>
> ---
> v2:
> - added muic to documentation
> v3:
> - removed duplication
> v4:
> - fixed commit message
> 
>  Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++++++
>  drivers/mfd/max77693.c                             | 5 ++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)

For my own reference:
  Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>

Please collect the Acks you have and submit a [RESEND].

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-05  7:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170823063057eucas1p18045ff589bef62e656594d0bcf6ec5b3@eucas1p1.samsung.com>
2017-08-23  6:30 ` [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell Maciej Purski
2017-08-23  6:34   ` Chanwoo Choi
2017-08-23  6:52     ` Krzysztof Kozlowski
2017-08-31 15:27   ` Rob Herring
2017-09-05  7:27   ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).