]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: max77693: Add muic of_compatible in mfd_cell
authorMaciej Purski <m.purski@samsung.com>
Tue, 5 Sep 2017 13:50:27 +0000 (15:50 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 13 Oct 2017 09:42:58 +0000 (10:42 +0100)
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>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/max77693.txt
drivers/mfd/max77693.c

index 6a1ae3a2b77f978d33515cb2bf5c08cecd44cc4d..e6754974a74594b8c969441fec6b08019b2c2167 100644 (file)
@@ -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>
 
index 662ae0d9e33497e2eac861de437386009315a335..1c05ea0cba6152f79abd61a4e3d3bf1c7d791c6f 100644 (file)
@@ -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",