#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/of_regulator.h>
#define STM32H7_SYSCFG_PMCR …
#define STM32H7_SYSCFG_BOOSTE_MASK …
#define STM32MP1_SYSCFG_PMCSETR …
#define STM32MP1_SYSCFG_PMCCLRR …
#define STM32MP1_SYSCFG_EN_BOOSTER_MASK …
static const struct regulator_ops stm32h7_booster_ops = …;
static const struct regulator_desc stm32h7_booster_desc = …;
static int stm32mp1_booster_enable(struct regulator_dev *rdev)
{ … }
static int stm32mp1_booster_disable(struct regulator_dev *rdev)
{ … }
static const struct regulator_ops stm32mp1_booster_ops = …;
static const struct regulator_desc stm32mp1_booster_desc = …;
static int stm32_booster_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id __maybe_unused stm32_booster_of_match[] = …;
MODULE_DEVICE_TABLE(of, stm32_booster_of_match);
static struct platform_driver stm32_booster_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_ALIAS(…) …;