]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: pmic: add driver for Dialog DA9063 PMIC
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Tue, 14 Jan 2020 15:56:16 +0000 (15:56 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jan 2020 00:54:20 +0000 (19:54 -0500)
commit483880c490b0fbd4e4be5a93f55947a42066f825
tree1c9b3487a512da48ff542f5f46eaab35804be72e
parente1d26a7642253a4b745a69c5faef494dd0b5c01a
power: pmic: add driver for Dialog DA9063 PMIC

This adds the basic register access operations and child regulator
binding (if a regulator driver exists).

Robert Beckett: simplify accesses by using bottom bit of address as
offset overflow. This avoids the need to track which page we are on.
Add an option CONFIG_SPL_DM_PMIC_DA9063.

Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/da9063.c [new file with mode: 0644]
include/power/da9063_pmic.h [new file with mode: 0644]