From 245f899293a62de06caf509ff0740f278168191d Mon Sep 17 00:00:00 2001 From: zhiwyan Date: Tue, 5 Sep 2023 21:27:04 +0800 Subject: [PATCH] bt-kernel: add configuration for special bt kiwi add new compatible for special bt kiwi case as qcom,bt-ant-ldo can't be supported for HDK kiwi. CRs-Fixed: 3607042 Change-Id: I1e072be95481231a5f54b83a74205298038e058d Signed-off-by: zhiwyan --- pwr/btpower.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pwr/btpower.c b/pwr/btpower.c index e01f3ac856..147ee80f8f 100644 --- a/pwr/btpower.c +++ b/pwr/btpower.c @@ -218,6 +218,12 @@ static struct bt_power bt_vreg_info_kiwi = { .num_vregs = ARRAY_SIZE(bt_vregs_info_kiwi), }; +static struct bt_power bt_vreg_info_kiwi_no_share_ant_power = { + .compatible = "qcom,kiwi-no-share-ant-power", + .vregs = bt_vregs_info_kiwi, + .num_vregs = ARRAY_SIZE(bt_vregs_info_kiwi), +}; + static struct bt_power bt_vreg_info_converged = { .compatible = "qcom,bt-qca-converged", .vregs = bt_vregs_info_kiwi, @@ -236,6 +242,8 @@ static const struct of_device_id bt_power_match_table[] = { { .compatible = "qcom,qca6390", .data = &bt_vreg_info_qca6390}, { .compatible = "qcom,qca6490", .data = &bt_vreg_info_qca6490}, { .compatible = "qcom,kiwi", .data = &bt_vreg_info_kiwi}, + { .compatible = "qcom,kiwi-no-share-ant-power", + .data = &bt_vreg_info_kiwi_no_share_ant_power}, { .compatible = "qcom,wcn6750-bt", .data = &bt_vreg_info_wcn6750}, { .compatible = "qcom,bt-qca-converged", .data = &bt_vreg_info_converged}, {},