Merge "asoc: add support for 7255 monaco" into audio-kernel.lnx.6.0

Bu işleme şunda yer alıyor:
Linux Build Service Account
2023-11-21 20:31:15 -08:00
işlemeyi yapan: Gerrit - the friendly Code Review server
işleme abb843d268
8 değiştirilmiş dosya ile 76 ekleme ve 0 silme

Dosyayı Görüntüle

@@ -1,3 +1,9 @@
ifeq ($(TARGET_SUPPORT), monaco)
KBUILD_OPTIONS := CONFIG_SND_SOC_AUTO=y
KBUILD_OPTIONS += CONFIG_SND_SOC_SA7255=m
KBUILD_OPTIONS += MODNAME=audio_dlkm
endif
M=$(PWD)
AUDIO_ROOT=$(KERNEL_SRC)/$(M)

Dosyayı Görüntüle

@@ -29,6 +29,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
export
INCS += -include $(AUDIO_ROOT)/config/gvmautoconf.h
endif
ifdef CONFIG_SND_SOC_SA7255
include $(AUDIO_ROOT)/config/sa7255auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa7255autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
@@ -220,6 +225,12 @@ ifdef CONFIG_SND_SOC_SA8155
MACHINE_OBJS += sa8155.o
endif
# for sa7255 sound card driver
ifdef CONFIG_SND_SOC_SA7255_AUTO_SPF
SPF_MACHINE_OBJS += msm_common.o
SPF_MACHINE_OBJS += auto_spf_dummy.o
endif
ifdef CONFIG_SND_SOC_QDSP6V2
PLATFORM_OBJS += platform_init.o
endif
@@ -316,6 +327,8 @@ machine_dlkm-y := $(MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_GVM_AUTO_SPF) += spf_machine_dlkm.o
spf_machine_dlkm-y := $(SPF_MACHINE_OBJS)
obj-$(CONFIG_SND_SOC_SA7255_AUTO_SPF) += spf_machine_dlkm.o
spf_machine_dlkm-y := $(SPF_MACHINE_OBJS)
# inject some build related information
DEFINES += -DBUILD_TIMESTAMP=\"$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')\"

Dosyayı Görüntüle

@@ -29,6 +29,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
export
INCS += -include $(AUDIO_ROOT)/config/gvmautoconf.h
endif
ifdef CONFIG_SND_SOC_SA7255
include $(AUDIO_ROOT)/config/sa7255auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa7255autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM8150), y)

18
config/sa7255auto.conf Normal dosya
Dosyayı Görüntüle

@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only
export CONFIG_MSM_ADSP_LOADER=m
export CONFIG_MSM_QDSP6_SSR=m
export CONFIG_MSM_QDSP6_NOTIFIER=m
export CONFIG_SND_SOC_MSM_QDSP6V2_INTF=m
export CONFIG_SND_EVENT=m
export CONFIG_MSM_QDSP6_GPR_RPMSG=m
export CONFIG_AUDIO_PKT=m
export CONFIG_AUDIO_PKT_ION=m
export CONFIG_AUDIO_PRM=m
export CONFIG_SPF_CORE=m
export CONFIG_SND_SOC_QDSP6V2=m
export CONFIG_SND_SOC_MSM_STUB=m
export CONFIG_SND_SOC_SA7255_AUTO_SPF=m
export CONFIG_PINCTRL_LPI=m
export CONFIG_SND_SOC_WCD9XXX_V2=m
export CONFIG_DIGITAL_CDC_RSC_MGR=m

19
config/sa7255autoconf.h Normal dosya
Dosyayı Görüntüle

@@ -0,0 +1,19 @@
/* SPDX-License-Identifier: GPL-2.0-only
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define CONFIG_MSM_QDSP6_SSR 1
#define CONFIG_MSM_ADSP_LOADER 1
#define CONFIG_MSM_QDSP6_NOTIFIER 1
#define CONFIG_SND_SOC_MSM_QDSP6V2_INTF 1
#define CONFIG_SND_SOC_QDSP6V2 1
#define CONFIG_MSM_QDSP6_GPR_RPMSG 1
#define CONFIG_AUDIO_PKT 1
#define CONFIG_AUDIO_PKT_ION 1
#define CONFIG_AUDIO_PRM 1
#define CONFIG_SPF_CORE 1
#define CONFIG_SND_EVENT 1
#define CONFIG_SND_SOC_MSM_STUB 1
#define CONFIG_SND_SOC_SA7255_AUTO_SPF 1
#define CONFIG_PINCTRL_LPI 1
#define CONFIG_SND_SOC_WCD9XXX_V2 1
#define CONFIG_DIGITAL_CDC_RSC_MGR 1

Dosyayı Görüntüle

@@ -24,6 +24,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
export
INCS += -include $(AUDIO_ROOT)/config/sa6155autoconf.h
endif
ifdef CONFIG_SND_SOC_SA7255
include $(AUDIO_ROOT)/config/sa7255auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa7255autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM6150), y)

Dosyayı Görüntüle

@@ -25,6 +25,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
export
INCS += -include $(AUDIO_ROOT)/config/sa6155autoconf.h
endif
ifdef CONFIG_SND_SOC_SA7255
include $(AUDIO_ROOT)/config/sa7255auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa7255autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM6150), y)

Dosyayı Görüntüle

@@ -24,6 +24,11 @@ ifeq ($(CONFIG_SND_SOC_AUTO), y)
export
INCS += -include $(AUDIO_ROOT)/config/sa6155autoconf.h
endif
ifdef CONFIG_SND_SOC_SA7255
include $(AUDIO_ROOT)/config/sa7255auto.conf
export
INCS += -include $(AUDIO_ROOT)/config/sa7255autoconf.h
endif
else
ifeq ($(KERNEL_BUILD), 0)
ifeq ($(CONFIG_ARCH_SM8150), y)