forked from luck/tmp_suning_uos_patched
d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
506 B
C
26 lines
506 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* linux/sound/rt5670.h -- Platform data for RT5670
|
|
*
|
|
* Copyright 2014 Realtek Microelectronics
|
|
*/
|
|
|
|
#ifndef __LINUX_SND_RT5670_H
|
|
#define __LINUX_SND_RT5670_H
|
|
|
|
struct rt5670_platform_data {
|
|
int jd_mode;
|
|
bool in2_diff;
|
|
bool dev_gpio;
|
|
|
|
bool dmic_en;
|
|
unsigned int dmic1_data_pin;
|
|
/* 0 = GPIO6; 1 = IN2P; 3 = GPIO7*/
|
|
unsigned int dmic2_data_pin;
|
|
/* 0 = GPIO8; 1 = IN3N; */
|
|
unsigned int dmic3_data_pin;
|
|
/* 0 = GPIO9; 1 = GPIO10; 2 = GPIO5*/
|
|
};
|
|
|
|
#endif
|