Commit efa3ca41 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones

mfd: max77693: Map charger device to its own of_node

Add a "maxim,max77693-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 max77693 charger driver in next patches to obtain battery
configuration from DTS.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 6f467e5f
...@@ -43,7 +43,10 @@ ...@@ -43,7 +43,10 @@
static const struct mfd_cell max77693_devs[] = { static const struct mfd_cell max77693_devs[] = {
{ .name = "max77693-pmic", }, { .name = "max77693-pmic", },
{ .name = "max77693-charger", }, {
.name = "max77693-charger",
.of_compatible = "maxim,max77693-charger",
},
{ .name = "max77693-muic", }, { .name = "max77693-muic", },
{ {
.name = "max77693-haptic", .name = "max77693-haptic",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment