Lines Matching +full:system +full:- +full:power +full:- +full:controller
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-u300/regulator.c
5 * Copyright (C) 2009 ST-Ericsson AB
6 * Handle board-bound regulators and board power not related
21 /* Power Management Control 16bit (R/W) */
27 * Regulators that power the board and chip and which are
34 * This function is used from pm.h to shut down the system by
36 * LDO D (main power).
44 /* Disable LDO D to shut down the system */ in u300_pm_poweroff()
48 pr_err("regulator not available to shut down system\n"); in u300_pm_poweroff()
55 * Hog the regulators needed to power up the board.
59 struct device_node *np = pdev->dev.of_node; in __u300_init_boardpower()
64 pr_info("U300: setting up board power\n"); in __u300_init_boardpower()
69 return -ENODEV; in __u300_init_boardpower()
77 main_power_15 = regulator_get(&pdev->dev, "vana15"); in __u300_init_boardpower()
90 * On U300 a special system controller register pulls up the DC in __u300_init_boardpower()
92 * regulators are set and we do not need power control via in __u300_init_boardpower()
94 * the rest of the U300 power management is implemented. in __u300_init_boardpower()
96 pr_info("U300: disable system controller pull-up\n"); in __u300_init_boardpower()
118 .name = "s365-board",