mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
e1739e86f0
Instead of passing a global GPIO number, pass a descriptor looked
up with the standard devm_gpiod_get_optional() call.
We have augmented the GPIO core to look up the regulator special
GPIO "wlf,ldoena" in commit 6a537d4846
"gpio: of: Support regulator nonstandard GPIO properties".
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
22 lines
478 B
C
22 lines
478 B
C
/*
|
|
* Platform data for Arizona LDO1 regulator
|
|
*
|
|
* Copyright 2017 Cirrus Logic
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef ARIZONA_LDO1_H
|
|
#define ARIZONA_LDO1_H
|
|
|
|
struct regulator_init_data;
|
|
|
|
struct arizona_ldo1_pdata {
|
|
/** Regulator configuration for LDO1 */
|
|
const struct regulator_init_data *init_data;
|
|
};
|
|
|
|
#endif
|