Lines Matching +full:out +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>
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()
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()
96 goto out; in mvebu_armada_pm_init()
105 goto out; in mvebu_armada_pm_init()
108 ret = of_parse_phandle_with_fixed_args(np, "ctrl-gpios", 2, in mvebu_armada_pm_init()
113 goto out; in mvebu_armada_pm_init()
124 ret = -ENOMEM; in mvebu_armada_pm_init()
125 goto out; in mvebu_armada_pm_init()
130 out: in mvebu_armada_pm_init()