Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: max77693: Add muic of_compatible in mfd_cell

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>

authored by

Maciej Purski and committed by
Lee Jones
4589515a 223fd9f6

+10 -1
+6
Documentation/devicetree/bindings/mfd/max77693.txt
··· 127 127 Optional properties for the LED child node: 128 128 - label : see Documentation/devicetree/bindings/leds/common.txt 129 129 130 + Optional nodes: 131 + - max77693-muic : 132 + Node used only by extcon consumers. 133 + Required properties: 134 + - compatible : "maxim,max77693-muic" 135 + 130 136 Example: 131 137 #include <dt-bindings/leds/common.h> 132 138
+4 -1
drivers/mfd/max77693.c
··· 48 48 .name = "max77693-charger", 49 49 .of_compatible = "maxim,max77693-charger", 50 50 }, 51 - { .name = "max77693-muic", }, 51 + { 52 + .name = "max77693-muic", 53 + .of_compatible = "maxim,max77693-muic", 54 + }, 52 55 { 53 56 .name = "max77693-haptic", 54 57 .of_compatible = "maxim,max77693-haptic",