summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2019-11-17 23:10:53 +0100
committerLee Jones <lee.jones@linaro.org>2020-01-24 07:33:57 +0000
commit1c0769d2093518b192a36eebab9134d597d4bc02 (patch)
tree3ded7c6abd841dd8c5b97242886e73a039a60bda /drivers/mfd/axp20x.c
parent1c2f57d3391d32469cf1bcd2d29206107842dadd (diff)
downloadlinux-1c0769d2093518b192a36eebab9134d597d4bc02.tar.gz
linux-1c0769d2093518b192a36eebab9134d597d4bc02.tar.bz2
linux-1c0769d2093518b192a36eebab9134d597d4bc02.zip
mfd: ab8500-core: Add device tree support for AB8505
AB8505 support was never fully converted to the device tree. Most of the MFD cells for AB8505 lack an "of_compatible", which prevents them from being configured through the device tree. Align the definition of the AB8505 MFD cells with the ones for AB8500, and add device tree compatibles. Except for GPIO and regulators the compatibles are equal to those used for AB8500 because the hardware does not differ much. Finally, change db8500_prcmu_register_ab8500() to check for the AB8505 device tree node additionally, and probe it if it is found. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
0 files changed, 0 insertions, 0 deletions