linux/include/linux/mfd/wm831x/gpio.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * include/linux/mfd/wm831x/gpio.h -- GPIO for WM831x
 *
 * Copyright 2009 Wolfson Microelectronics PLC.
 *
 * Author: Mark Brown <[email protected]>
 */

#ifndef __MFD_WM831X_GPIO_H__
#define __MFD_WM831X_GPIO_H__

/*
 * R16440-16455 (0x4038-0x4047) - GPIOx Control
 */
#define WM831X_GPN_DIR
#define WM831X_GPN_DIR_MASK
#define WM831X_GPN_DIR_SHIFT
#define WM831X_GPN_DIR_WIDTH
#define WM831X_GPN_PULL_MASK
#define WM831X_GPN_PULL_SHIFT
#define WM831X_GPN_PULL_WIDTH
#define WM831X_GPN_INT_MODE
#define WM831X_GPN_INT_MODE_MASK
#define WM831X_GPN_INT_MODE_SHIFT
#define WM831X_GPN_INT_MODE_WIDTH
#define WM831X_GPN_PWR_DOM
#define WM831X_GPN_PWR_DOM_MASK
#define WM831X_GPN_PWR_DOM_SHIFT
#define WM831X_GPN_PWR_DOM_WIDTH
#define WM831X_GPN_POL
#define WM831X_GPN_POL_MASK
#define WM831X_GPN_POL_SHIFT
#define WM831X_GPN_POL_WIDTH
#define WM831X_GPN_OD
#define WM831X_GPN_OD_MASK
#define WM831X_GPN_OD_SHIFT
#define WM831X_GPN_OD_WIDTH
#define WM831X_GPN_ENA
#define WM831X_GPN_ENA_MASK
#define WM831X_GPN_ENA_SHIFT
#define WM831X_GPN_ENA_WIDTH
#define WM831X_GPN_TRI
#define WM831X_GPN_TRI_MASK
#define WM831X_GPN_TRI_SHIFT
#define WM831X_GPN_TRI_WIDTH
#define WM831X_GPN_FN_MASK
#define WM831X_GPN_FN_SHIFT
#define WM831X_GPN_FN_WIDTH

#define WM831X_GPIO_PULL_NONE
#define WM831X_GPIO_PULL_DOWN
#define WM831X_GPIO_PULL_UP
#endif