/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x * * Copyright 2009 Wolfson Microelectronics PLC. * * Author: Mark Brown <[email protected]> */ #ifndef __MFD_WM831X_PDATA_H__ #define __MFD_WM831X_PDATA_H__ struct wm831x; struct regulator_init_data; struct wm831x_backlight_pdata { … }; struct wm831x_backup_pdata { … }; struct wm831x_battery_pdata { … }; /** * Configuration for the WM831x DC-DC BuckWise convertors. This * should be passed as driver_data in the regulator_init_data. * * Currently all the configuration is for the fast DVS switching * support of the devices. This allows MFPs on the device to be * configured as an input to switch between two output voltages, * allowing voltage transitions without the expense of an access over * I2C or SPI buses. */ struct wm831x_buckv_pdata { … }; /* Sources for status LED configuration. Values are register values * plus 1 to allow for a zero default for preserve. */ enum wm831x_status_src { … }; struct wm831x_status_pdata { … }; struct wm831x_touch_pdata { … }; enum wm831x_watchdog_action { … }; struct wm831x_watchdog_pdata { … }; #define WM831X_MAX_STATUS … #define WM831X_MAX_DCDC … #define WM831X_MAX_EPE … #define WM831X_MAX_LDO … #define WM831X_MAX_ISINK … #define WM831X_GPIO_CONFIGURE … #define WM831X_GPIO_NUM … struct wm831x_pdata { … }; #endif