btfm slimbus configuration change to enable

Enable btfm slimbus slave configuration default if BT power driver
enabled.

Change-Id: Iea4ee82cd366c9fa5a0824b9277b9bb49e15b128
This commit is contained in:
satish kumar sugasi
2022-02-07 23:58:48 -08:00
committed by Gerrit - the friendly Code Review server
orang tua 633df0b2ed
melakukan 88a332ba60
4 mengubah file dengan 20 tambahan dan 12 penghapusan

Melihat File

@@ -6,9 +6,9 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(call is-board-platform-in-list,taro kalama), true)
BT_SELECT := CONFIG_MSM_BT_POWER=m
ifdef CONFIG_SLIMBUS
#ifdef CONFIG_SLIMBUS
BT_SELECT += CONFIG_BTFM_SLIM=m
endif
#endif
BT_SELECT += CONFIG_I2C_RTC6226_QCA=m
LOCAL_PATH := $(call my-dir)

Melihat File

@@ -1,10 +1,19 @@
# Build audio kernel driver
ifneq ($(TARGET_USES_QMAA),true)
ifneq ($(TARGET_BOARD_AUTO),true)
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/btpower.ko\
$(KERNEL_MODULES_OUT)/bt_fm_slim.ko \
$(KERNEL_MODULES_OUT)/radio-i2c-rtc6226-qca.ko
endif
ifeq ($(TARGET_USES_QMAA),true)
ifeq ($(TARGET_USES_QMAA_OVERRIDE_BLUETOOTH), true)
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/btpower.ko\
$(KERNEL_MODULES_OUT)/bt_fm_slim.ko \
$(KERNEL_MODULES_OUT)/radio-i2c-rtc6226-qca.ko
endif
endif
else
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/btpower.ko\
$(KERNEL_MODULES_OUT)/bt_fm_slim.ko \
$(KERNEL_MODULES_OUT)/radio-i2c-rtc6226-qca.ko
endif
endif
endif

Melihat File

@@ -139,16 +139,16 @@ static struct bt_power_vreg_data bt_vregs_info_qca6xx0[] = {
// Regulator structure for kiwi BT SoC series
static struct bt_power_vreg_data bt_vregs_info_kiwi[] = {
{NULL, "qcom,bt-vdd-io", 1800000, 1800000, 0, false, true,
{NULL, "qcom,bt-vdd18-aon", 1800000, 1800000, 0, false, true,
{BT_VDD_IO_LDO, BT_VDD_IO_LDO_CURRENT}},
{NULL, "qcom,bt-vdd-aon", 950000, 950000, 0, false, true,
{BT_VDD_AON_LDO, BT_VDD_AON_LDO_CURRENT}},
{NULL, "qcom,bt-vdd-rfacmn", 950000, 950000, 0, false, true,
{NULL, "qcom,bt-vdd-rfaOp8", 950000, 950000, 0, false, true,
{BT_VDD_RFACMN, BT_VDD_RFACMN_CURRENT}},
/* BT_CX_MX */
{NULL, "qcom,bt-vdd-dig", 950000, 950000, 0, false, true,
{BT_VDD_DIG_LDO, BT_VDD_DIG_LDO_CURRENT}},
{NULL, "qcom,bt-vdd-rfa-0p8", 950000, 952000, 0, false, true,
{NULL, "qcom,bt-vdd-rfaOp8", 950000, 952000, 0, false, true,
{BT_VDD_RFA_0p8, BT_VDD_RFA_0p8_CURRENT}},
{NULL, "qcom,bt-vdd-rfa1", 1350000, 1350000, 0, false, true,
{BT_VDD_RFA1_LDO, BT_VDD_RFA1_LDO_CURRENT}},

Melihat File

@@ -3,7 +3,6 @@
config BTFM_SLIM
tristate "MSM Bluetooth/FM Slimbus Device"
depends on MSM_BT_POWER
select SLIMBUS
help
This enables BT/FM slimbus driver to get multiple audio channel.
This will make use of slimbus platform driver and slimbus