diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-09-16 11:24:05 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2018-10-20 16:23:59 +0100 |
commit | ed80c1e2b306d347c25adfe350aa8100a89d88b6 (patch) | |
tree | 0798338d1708c170211dfbb0009355a24cf8a967 /drivers/arm/ccn/ccn.c | |
parent | df301601c872b1c59c55928082a0e1e971b5ba5d (diff) |
allwinner: Scan AXP803 FDT node to setup initial power rails
Now that we have a pointer to the device tree blob, let's use that to
do some initial setup of the PMIC:
- We scan the DT for the compatible string to find the PMIC node.
- We switch the N_VBUSEN pin if the DT property tells us so.
- We scan over all regulator subnodes, and switch DC1SW if there is at
least one other node referencing it (judging by the existence of a
phandle property in that subnode).
This is just the first part of the setup, a follow up patch will setup
voltages.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions