Lines Matching +full:init +full:- +full:b +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Board-level suspend/resume support.
5 * Copyright (C) 2014-2015 Marvell
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 #include <linux/init.h>
31 /* Put 001 as value on the GPIOs */ in mvebu_armada_pm_enter()
38 /* Prepare writing 111 to the GPIOs */ in mvebu_armada_pm_enter()
65 "bne 1b\n\t" in mvebu_armada_pm_enter()
71 "b .\n\t" in mvebu_armada_pm_enter()
82 if (!of_machine_is_compatible("marvell,axp-gp")) in mvebu_armada_pm_init()
83 return -ENODEV; in mvebu_armada_pm_init()
87 return -ENODEV; in mvebu_armada_pm_init()
93 name = kasprintf(GFP_KERNEL, "pic-pin%d", i); in mvebu_armada_pm_init()
95 ret = -ENOMEM; in mvebu_armada_pm_init()
108 ret = of_parse_phandle_with_fixed_args(np, "ctrl-gpios", 2, in mvebu_armada_pm_init()
124 ret = -ENOMEM; in mvebu_armada_pm_init()