linux/include/dt-bindings/mfd/st,stpmic1.h

/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
/*
 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
 * Author: Philippe Peurichard <[email protected]>,
 * Pascal Paillet <[email protected]> for STMicroelectronics.
 */

#ifndef __DT_BINDINGS_STPMIC1_H__
#define __DT_BINDINGS_STPMIC1_H__

/* IRQ definitions */
#define IT_PONKEY_F
#define IT_PONKEY_R
#define IT_WAKEUP_F
#define IT_WAKEUP_R
#define IT_VBUS_OTG_F
#define IT_VBUS_OTG_R
#define IT_SWOUT_F
#define IT_SWOUT_R

#define IT_CURLIM_BUCK1
#define IT_CURLIM_BUCK2
#define IT_CURLIM_BUCK3
#define IT_CURLIM_BUCK4
#define IT_OCP_OTG
#define IT_OCP_SWOUT
#define IT_OCP_BOOST
#define IT_OVP_BOOST

#define IT_CURLIM_LDO1
#define IT_CURLIM_LDO2
#define IT_CURLIM_LDO3
#define IT_CURLIM_LDO4
#define IT_CURLIM_LDO5
#define IT_CURLIM_LDO6
#define IT_SHORT_SWOTG
#define IT_SHORT_SWOUT

#define IT_TWARN_F
#define IT_TWARN_R
#define IT_VINLOW_F
#define IT_VINLOW_R
#define IT_SWIN_F
#define IT_SWIN_R

/* BUCK MODES definitions */
#define STPMIC1_BUCK_MODE_NORMAL
#define STPMIC1_BUCK_MODE_LP

#endif /* __DT_BINDINGS_STPMIC1_H__ */