Searched hist:ed80c1e2b306d347c25adfe350aa8100a89d88b6 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/sun50i_a64/ |
| H A D | sunxi_power.c | ed80c1e2b306d347c25adfe350aa8100a89d88b6 Sun Sep 16 10:24:05 UTC 2018 Andre Przywara <andre.przywara@arm.com> 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>
|