Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc0a22d9 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd934x: Add support for WCD934x on msmnile target



Add support for WCD934x codec on msmnile target for audio
playback and capture usecases.

Change-Id: Ia91fd532fcb3a127941f8dc7ba42aecea17a5ec2
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 2ee562b5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -7,13 +7,17 @@ ifeq ($(call is-board-platform,sdm845),true)
AUDIO_SELECT  := CONFIG_SND_SOC_SDM845=m
endif

ifeq ($(call is-board-platform,msmnile),true)
AUDIO_SELECT  := CONFIG_SND_SOC_SDM855=m
endif

ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
AUDIO_SELECT  := CONFIG_SND_SOC_SDM670=m
endif

AUDIO_CHIPSET := audio
# Build/Package only in case of supported target
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605),true)
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)

LOCAL_PATH := $(call my-dir)

+5 −0
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@ ifeq ($(KERNEL_BUILD), 0)
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/sdm670autoconf.h
	endif
	ifeq ($(CONFIG_ARCH_SDM855), y)
		include $(AUDIO_ROOT)/config/sdm855auto.conf
		export
		INCS    +=  -include $(AUDIO_ROOT)/config/sdm855autoconf.h
	endif
endif

# As per target team, build is done as follows:
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -14,6 +14,7 @@
#ifndef __WCD934X_DSP_CNTL_H__
#define __WCD934X_DSP_CNTL_H__

#include <linux/miscdevice.h>
#include <sound/soc.h>
#include <sound/wcd-dsp-mgr.h>