Lines Matching +full:ctrl +full:- +full:gpios
2 * Board-level suspend/resume support.
4 * Copyright (C) 2014-2015 Marvell
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 /* Put 001 as value on the GPIOs */ in mvebu_armada_pm_enter()
41 /* Prepare writing 111 to the GPIOs */ in mvebu_armada_pm_enter()
85 if (!of_machine_is_compatible("marvell,axp-gp")) in mvebu_armada_pm_init()
86 return -ENODEV; in mvebu_armada_pm_init()
90 return -ENODEV; in mvebu_armada_pm_init()
96 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
98 ret = -ENODEV; in mvebu_armada_pm_init()
102 name = kasprintf(GFP_KERNEL, "pic-pin%d", i); in mvebu_armada_pm_init()
104 ret = -ENOMEM; in mvebu_armada_pm_init()
121 ret = of_parse_phandle_with_fixed_args(np, "ctrl-gpios", 2, in mvebu_armada_pm_init()
137 ret = -ENOMEM; in mvebu_armada_pm_init()