Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
280 changed files
with
213,232 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| menu "Mediatek Peripherals " | ||
| depends on ARM | ||
| config MTK_PLATFORM | ||
| string "MTK platform name" | ||
| source "drivers/misc/mediatek/btif/Kconfig" | ||
|
|
||
| menu "Modem & Connectivity related configs" | ||
| source "drivers/misc/mediatek/connectivity/Kconfig" | ||
| endmenu | ||
|
|
||
| endmenu # CONN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # | ||
| # Copyright (C) 2015 MediaTek Inc. | ||
| # | ||
| # 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 distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| # GNU General Public License for more details. | ||
| # | ||
|
|
||
| #$(call all-subdir-src-or-makefile) | ||
| ifeq ($(subst ",,$(CONFIG_MTK_PLATFORM)),) | ||
| $(info CONFIG_MTK_PLATFORM empty...try to set it) | ||
| CONFIG_MTK_PLATFORM = "mt7623" | ||
| $(info CONFIG_MTK_PLATFORM: $(CONFIG_MTK_PLATFORM)) | ||
| endif | ||
|
|
||
| export MTK_PLATFORM = $(subst ",,$(CONFIG_MTK_PLATFORM)) | ||
|
|
||
| subdir-ccflags-y += -Werror | ||
| subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/ | ||
|
|
||
| obj-$(CONFIG_MTK_COMBO) += connectivity/ | ||
| obj-$(CONFIG_MTK_BTIF) += btif/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| config MTK_BTIF | ||
| tristate"MediaTek BTIF Driver" | ||
| help | ||
| MTK connectivity BTIF driver for A/D die |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # | ||
| # Copyright (C) 2015 MediaTek Inc. | ||
| # | ||
| # 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 distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| # GNU General Public License for more details. | ||
| # | ||
|
|
||
| # BTIF driver for AD DIE | ||
| # If KERNELRELEASE is defined, we've been invoked from the | ||
| # kernel build system and can use its language. | ||
| ifneq ($(KERNELRELEASE),) | ||
| #subdir-ccflags-y can be used in 2.6.34 in the future | ||
| subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat | ||
|
|
||
| obj-y += common/ | ||
|
|
||
| # Otherwise we were called directly from the command | ||
| # line; invoke the kernel build system. | ||
| else | ||
| KERNELDIR ?= /lib/modules/$(shell uname -r)/build | ||
| PWD := $(shell pwd) | ||
| default: | ||
| $(MAKE) -C $(KERNELDIR) M=$(PWD) modules | ||
| clean: | ||
| $(MAKE) -C $(KERNELDIR) M=$(PWD) clean | ||
| kernel: | ||
| $(MAKE) -C $(KERNELDIR) M=$(PWD) | ||
| endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # | ||
| # Copyright (C) 2015 MediaTek Inc. | ||
| # | ||
| # 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 distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| # GNU General Public License for more details. | ||
| # | ||
|
|
||
| # BTIF driver for AD DIE | ||
| # If KERNELRELEASE is defined, we've been invoked from the | ||
| # kernel build system and can use its language. | ||
| ifneq ($(KERNELRELEASE),) | ||
| ccflags-y += -I$(srctree)/$(src)/inc | ||
| ccflags-y += -I$(srctree)/$(src)/plat_inc | ||
|
|
||
| obj-$(CONFIG_MTK_BTIF) += btif.o | ||
| btif-objs := mtk_btif.o mtk_btif_exp.o btif_dma_plat.o btif_plat.o | ||
|
|
||
| # Otherwise we were called directly from the command | ||
| # line; invoke the kernel build system. | ||
| else | ||
| KERNELDIR ?= /lib/modules/$(shell uname -r)/build | ||
| PWD := $(shell pwd) | ||
| default: | ||
| $(MAKE) -C $(KERNELDIR) M=$(PWD) modules | ||
| clean: | ||
| $(MAKE) -C $(KERNELDIR) M=$(PWD) clean | ||
| endif |
Oops, something went wrong.