diff options
author | Kevin | 2014-11-15 10:00:36 +0800 |
---|---|---|
committer | Kevin | 2014-11-15 10:00:36 +0800 |
commit | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch) | |
tree | de942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/drivers/mtk_wcn_bt | |
parent | 392e8802486cb573b916e746010e141a75f507e6 (diff) | |
download | FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2 FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip |
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/drivers/mtk_wcn_bt')
-rwxr-xr-x | ANDROID_3.4.5/drivers/mtk_wcn_bt/Kconfig | 14 | ||||
-rwxr-xr-x | ANDROID_3.4.5/drivers/mtk_wcn_bt/Makefile | 47 |
2 files changed, 61 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/drivers/mtk_wcn_bt/Kconfig b/ANDROID_3.4.5/drivers/mtk_wcn_bt/Kconfig new file mode 100755 index 00000000..de5a6c70 --- /dev/null +++ b/ANDROID_3.4.5/drivers/mtk_wcn_bt/Kconfig @@ -0,0 +1,14 @@ +menu "MediaTek Bluetooth Chip Config" + +config MTK_DISCRETE_BT + tristate "MediaTek Discrete Bluetooth Chip Support" + help + MTK discrete Bluetooth chip support (MT6622, MT6626) + +config MTK_DISCRETE_BT_HW_CTL + tristate "MediaTek Bluetooth Hardware Control driver" + depends on MTK_DISCRETE_BT + help + MTK BT hardware control driver for discrete Bluetooth chip + +endmenu diff --git a/ANDROID_3.4.5/drivers/mtk_wcn_bt/Makefile b/ANDROID_3.4.5/drivers/mtk_wcn_bt/Makefile new file mode 100755 index 00000000..778431f8 --- /dev/null +++ b/ANDROID_3.4.5/drivers/mtk_wcn_bt/Makefile @@ -0,0 +1,47 @@ +# Copyright Statement: +# +# This software/firmware and related documentation ("MediaTek Software") are +# protected under relevant copyright laws. The information contained herein is +# confidential and proprietary to MediaTek Inc. and/or its licensors. Without +# the prior written permission of MediaTek inc. and/or its licensors, any +# reproduction, modification, use or disclosure of MediaTek Software, and +# information contained herein, in whole or in part, shall be strictly +# prohibited. +# +# MediaTek Inc. (C) 2010. All rights reserved. +# +# BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES +# THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") +# RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER +# ON AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL +# WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR +# NONINFRINGEMENT. NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH +# RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, +# INCORPORATED IN, OR SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES +# TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. +# RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO +# OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN MEDIATEK +# SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE +# RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR +# STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S +# ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE +# RELEASED HEREUNDER WILL BE, AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE +# MEDIATEK SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE +# CHARGE PAID BY RECEIVER TO MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. +# +# The following software/firmware and/or related documentation ("MediaTek +# Software") have been modified by MediaTek Inc. All revisions are subject to +# any receiver's applicable license agreements with MediaTek Inc. + + +# +# Makefile for MediaTek Bluetooth hardware control driver. +# +ccflags-y += -fno-pic + +obj-$(CONFIG_MTK_DISCRETE_BT_HW_CTL) += bt_hwctl.o +bt_hwctl-y := bt_hwctl_dev.o +bt_hwctl-y += bt_eirq_handler.o +bt_hwctl-y += bt_plat_smdk.o +bt_hwctl-objs := $(bt_hwctl-y) |