Lines Matching +full:syscon +full:- +full:poweroff
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
18 #include <linux/mfd/syscon.h>
59 struct device_node *np = pdev->dev.of_node; in __u300_init_boardpower()
66 syscon_np = of_parse_phandle(np, "syscon", 0); in __u300_init_boardpower()
68 pr_crit("U300: no syscon node\n"); in __u300_init_boardpower()
69 return -ENODEV; in __u300_init_boardpower()
73 pr_crit("U300: could not locate syscon regmap\n"); in __u300_init_boardpower()
77 main_power_15 = regulator_get(&pdev->dev, "vana15"); in __u300_init_boardpower()
96 pr_info("U300: disable system controller pull-up\n"); in __u300_init_boardpower()
100 /* Register globally exported PM poweroff hook */ in __u300_init_boardpower()
118 .name = "s365-board",