Explorar o código

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 <[email protected]>
zhiwyan hai 1 ano
pai
achega
245f899293
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      pwr/btpower.c

+ 8 - 0
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},
 	{},