Lines Matching +full:system +full:- +full:regulator
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
16 #include <linux/regulator/machine.h>
17 #include <linux/regulator/consumer.h>
31 static struct regulator *main_power_15;
34 * This function is used from pm.h to shut down the system by
35 * resetting all regulators in turn and then disable regulator
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()
59 struct device_node *np = pdev->dev.of_node; 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()
91 * until the vana15 (LDO D) regulator comes up. At this point, all in __u300_init_boardpower()
96 pr_info("U300: disable system controller pull-up\n"); in __u300_init_boardpower()
118 .name = "s365-board",
124 * So at module init time we hog the regulator!