From patchwork Mon Aug 24 12:39:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qais Yousef X-Patchwork-Id: 7064051 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EAE02C05AC for ; Mon, 24 Aug 2015 12:43:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 20C69204AF for ; Mon, 24 Aug 2015 12:43:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id E5DBE2060F for ; Mon, 24 Aug 2015 12:43:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 05FC4261A96; Mon, 24 Aug 2015 14:43:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D44C62612C7; Mon, 24 Aug 2015 14:41:03 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 119222612AC; Mon, 24 Aug 2015 14:41:02 +0200 (CEST) Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by alsa0.perex.cz (Postfix) with ESMTP id 29719261469 for ; Mon, 24 Aug 2015 14:40:07 +0200 (CEST) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id C718DAFA66FE8; Mon, 24 Aug 2015 13:40:03 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 24 Aug 2015 13:40:06 +0100 Received: from qyousef-linux.le.imgtec.org (192.168.154.94) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 24 Aug 2015 13:40:05 +0100 From: Qais Yousef To: Date: Mon, 24 Aug 2015 13:39:19 +0100 Message-ID: <1440419959-14315-11-git-send-email-qais.yousef@imgtec.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440419959-14315-1-git-send-email-qais.yousef@imgtec.com> References: <1440419959-14315-1-git-send-email-qais.yousef@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.94] Cc: Liam Girdwood , Qais Yousef , linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown Subject: [alsa-devel] [PATCH 10/10] ALSA: axd: add Makefile X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Now all necessary files are added, allow axd to be selected through Kconfig and compiled. Signed-off-by: Qais Yousef Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: linux-kernel@vger.kernel.org --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/img/Kconfig | 11 +++++++++++ sound/soc/img/Makefile | 1 + sound/soc/img/axd/Makefile | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 sound/soc/img/Kconfig create mode 100644 sound/soc/img/Makefile create mode 100644 sound/soc/img/axd/Makefile diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 2ae9619443d1..8f29af1d397e 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -44,6 +44,7 @@ source "sound/soc/jz4740/Kconfig" source "sound/soc/nuc900/Kconfig" source "sound/soc/omap/Kconfig" source "sound/soc/kirkwood/Kconfig" +source "sound/soc/img/Kconfig" source "sound/soc/intel/Kconfig" source "sound/soc/mediatek/Kconfig" source "sound/soc/mxs/Kconfig" diff --git a/sound/soc/Makefile b/sound/soc/Makefile index e189903fabf4..c6a1c04b8e39 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile @@ -23,6 +23,7 @@ obj-$(CONFIG_SND_SOC) += davinci/ obj-$(CONFIG_SND_SOC) += dwc/ obj-$(CONFIG_SND_SOC) += fsl/ obj-$(CONFIG_SND_SOC) += jz4740/ +obj-$(CONFIG_SND_SOC) += img/ obj-$(CONFIG_SND_SOC) += intel/ obj-$(CONFIG_SND_SOC) += mediatek/ obj-$(CONFIG_SND_SOC) += mxs/ diff --git a/sound/soc/img/Kconfig b/sound/soc/img/Kconfig new file mode 100644 index 000000000000..5a089b7d4929 --- /dev/null +++ b/sound/soc/img/Kconfig @@ -0,0 +1,11 @@ +config SND_SOC_IMG_AXD + tristate "Imagination AXD Audio Processing IP" + depends on MIPS && COMMON_CLK && CMA + ---help--- + Say Y or M here if you to add support for AXD Audio Processing IP. + +config SND_SOC_IMG_AXD_DEBUGFS + bool "AXD debugfs support" + depends on SND_SOC_IMG_AXD && DEBUG_FS + ---help--- + Say Y if you want to create AXD debugfs nodes diff --git a/sound/soc/img/Makefile b/sound/soc/img/Makefile new file mode 100644 index 000000000000..189abf5d927c --- /dev/null +++ b/sound/soc/img/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_SND_SOC_IMG_AXD) += axd/ diff --git a/sound/soc/img/axd/Makefile b/sound/soc/img/axd/Makefile new file mode 100644 index 000000000000..cfa1f412bf19 --- /dev/null +++ b/sound/soc/img/axd/Makefile @@ -0,0 +1,13 @@ +obj-$(CONFIG_SND_SOC_IMG_AXD) := axd.o + +axd-objs = axd_alsa_ops.o \ + axd_buffers.o \ + axd_cmds.o \ + axd_cmds_config.o \ + axd_cmds_decoder_config.o \ + axd_cmds_info.o \ + axd_cmds_internal.o \ + axd_cmds_pipes.o \ + axd_hdr.o \ + axd_module.o \ + axd_platform_$(ARCH).o \