Linux Audio

Check our new training course

Loading...
v4.17
 
 1/*
 2 * wm0010.h -- Platform data for WM0010 DSP Driver
 3 *
 4 * Copyright 2012 Wolfson Microelectronics PLC.
 5 *
 6 * Author: Dimitris Papastamos <dp@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
14#ifndef WM0010_PDATA_H
15#define WM0010_PDATA_H
16
17struct wm0010_pdata {
18	int gpio_reset;
19
20	/* Set if there is an inverter between the GPIO controlling
21	 * the reset signal and the device.
22	 */
23	int reset_active_high;
24	int irq_flags;
25};
26
27#endif
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * wm0010.h -- Platform data for WM0010 DSP Driver
 4 *
 5 * Copyright 2012 Wolfson Microelectronics PLC.
 6 *
 7 * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
 
 
 
 
 
 8 */
 9
10#ifndef WM0010_PDATA_H
11#define WM0010_PDATA_H
12
13struct wm0010_pdata {
14	int gpio_reset;
15
16	/* Set if there is an inverter between the GPIO controlling
17	 * the reset signal and the device.
18	 */
19	int reset_active_high;
20	int irq_flags;
21};
22
23#endif