/* SPDX-License-Identifier: GPL-2.0-only */ /* * TI LMU (Lighting Management Unit) Devices * * Copyright 2017 Texas Instruments * * Author: Milo Kim <[email protected]> */ #ifndef __MFD_TI_LMU_H__ #define __MFD_TI_LMU_H__ #include <linux/gpio.h> #include <linux/notifier.h> #include <linux/regmap.h> #include <linux/gpio/consumer.h> /* Notifier event */ #define LMU_EVENT_MONITOR_DONE … enum ti_lmu_id { … }; enum ti_lmu_max_current { … }; enum lm363x_regulator_id { … }; /** * struct ti_lmu * * @dev: Parent device pointer * @regmap: Used for i2c communcation on accessing registers * @en_gpio: GPIO for HWEN pin [Optional] * @notifier: Notifier for reporting hwmon event */ struct ti_lmu { … }; #endif