From 12bfd33c0a9704c4272619fb5b72f6fb8186c27a Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Fri, 22 Oct 2021 17:12:24 +0800 Subject: btpower: Being compatible with WCN6740 Bug: 202113218 Test: manually Signed-off-by: Cheney Ni Change-Id: I5e60598d4ca8bac774b0f424a2a6f23d30cab03d --- btpower.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'btpower.c') diff --git a/btpower.c b/btpower.c index 941169d..a41eff2 100644 --- a/btpower.c +++ b/btpower.c @@ -220,12 +220,19 @@ static const struct bt_power bt_vreg_info_wcn7850 = { .num_vregs = ARRAY_SIZE(bt_vregs_info_wcn7850), }; +static struct bt_power bt_vreg_info_wcn6740 = { + .compatible = "qcom,wcn6740", + .vregs = NULL, + .num_vregs = 0, +}; + static const struct of_device_id bt_power_match_table[] = { { .compatible = "qcom,qca6174", .data = &bt_vreg_info_qca6174}, { .compatible = "qcom,wcn3990", .data = &bt_vreg_info_wcn399x}, { .compatible = "qcom,qca6390", .data = &bt_vreg_info_qca6390}, { .compatible = "qcom,qca6490", .data = &bt_vreg_info_qca6490}, { .compatible = "qcom,wcn7850", .data = &bt_vreg_info_wcn7850}, + { .compatible = "qcom,wcn6740", .data = &bt_vreg_info_wcn6740}, {}, }; -- cgit v1.2.3