summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheney Ni <cheneyni@google.com>2021-10-22 17:12:24 +0800
committerCheney Ni <cheneyni@google.com>2021-12-11 00:37:43 +0800
commit12bfd33c0a9704c4272619fb5b72f6fb8186c27a (patch)
tree7b4e7588bd5636c1d38b8219b5dee5e02198032c
parentfa2c58038c8083f5ede9055d0a64f8a65b00371f (diff)
downloadqcom-12bfd33c0a9704c4272619fb5b72f6fb8186c27a.tar.gz
btpower: Being compatible with WCN6740
Bug: 202113218 Test: manually Signed-off-by: Cheney Ni <cheneyni@google.com> Change-Id: I5e60598d4ca8bac774b0f424a2a6f23d30cab03d
-rw-r--r--btpower.c7
1 files changed, 7 insertions, 0 deletions
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},
{},
};