/* SPDX-License-Identifier: GPL-2.0-only */ /* * LP8755 High Performance Power Management Unit Driver:System Interface Driver * * Copyright (C) 2012 Texas Instruments * * Author: Daniel(Geon Si) Jeong <[email protected]> * G.Shark Jeong <[email protected]> */ #ifndef _LP8755_H #define _LP8755_H #include <linux/regulator/consumer.h> #define LP8755_NAME … /* *PWR FAULT : power fault detected *OCP : over current protect activated *OVP : over voltage protect activated *TEMP_WARN : thermal warning *TEMP_SHDN : thermal shutdonw detected *I_LOAD : current measured */ #define LP8755_EVENT_PWR_FAULT … #define LP8755_EVENT_OCP … #define LP8755_EVENT_OVP … #define LP8755_EVENT_TEMP_WARN … #define LP8755_EVENT_TEMP_SHDN … #define LP8755_EVENT_I_LOAD … enum lp8755_bucks { … }; /** * multiphase configuration options */ enum lp8755_mphase_config { … }; /** * struct lp8755_platform_data * @mphase_type : Multiphase Switcher Configurations. * @buck_data : buck0~6 init voltage in uV */ struct lp8755_platform_data { … }; #endif