| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2009 Wolfson Microelectronics PLC. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 9 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 11 | | - * option) any later version. |
|---|
| 12 | | - * |
|---|
| 13 | 8 | */ |
|---|
| 14 | 9 | |
|---|
| 15 | 10 | #ifndef __MFD_WM831X_PDATA_H__ |
|---|
| .. | .. |
|---|
| 52 | 47 | * I2C or SPI buses. |
|---|
| 53 | 48 | */ |
|---|
| 54 | 49 | struct wm831x_buckv_pdata { |
|---|
| 55 | | - int dvs_gpio; /** CPU GPIO to use for DVS switching */ |
|---|
| 56 | 50 | int dvs_control_src; /** Hardware DVS source to use (1 or 2) */ |
|---|
| 57 | 51 | int dvs_init_state; /** DVS state to expect on startup */ |
|---|
| 58 | 52 | int dvs_state_gpio; /** CPU GPIO to use for monitoring status */ |
|---|
| .. | .. |
|---|
| 95 | 89 | |
|---|
| 96 | 90 | struct wm831x_watchdog_pdata { |
|---|
| 97 | 91 | enum wm831x_watchdog_action primary, secondary; |
|---|
| 98 | | - int update_gpio; |
|---|
| 99 | 92 | unsigned int software:1; |
|---|
| 100 | 93 | }; |
|---|
| 101 | 94 | |
|---|