ARM: dts: msm: Enable bluetooth for sdxprairie variants

Enable bluetooth UART blsp1_uart2b_hs and configure
bluetooth RFKILL for sdxprairie variants.

CRs-Fixed: 2390456
Change-Id: Ie955312013d23be4644ff29d4202ae27e7a2df5f
Signed-off-by: Zijun Hu <zijuhu@codeaurora.org>
This commit is contained in:
Zijun Hu
2019-01-30 21:36:41 +08:00
committed by Gerrit - the friendly Code Review server
parent 71f1e4e513
commit 0f679d22db
13 changed files with 63 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ Required properties:
- compatible: Should be set to one of the following:
qca,ar3002
qca,qca6174
qca,qca6390
qca,wcn3990
- qca,bt-reset-gpio: GPIO pin to bring BT Controller out of reset

View File

@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -173,3 +173,10 @@
thermal-governor = "user_space";
};
};
&soc {
bluetooth: bt_qca6390 {
compatible = "qca,qca6390";
qca,bt-reset-gpio = <&pmxprairie_gpios 6 0>;
};
};

View File

@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -174,6 +174,13 @@
};
};
&soc {
bluetooth: bt_qca6390 {
compatible = "qca,qca6390";
qca,bt-reset-gpio = <&pmxprairie_gpios 6 0>;
};
};
&pm8150b_charger {
qcom,batteryless-platform;
io-channels = <&pm8150b_vadc ADC_USB_IN_V_16>,

View File

@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -181,6 +181,13 @@
};
};
&soc {
bluetooth: bt_qca6390 {
compatible = "qca,qca6390";
qca,bt-reset-gpio = <&pmxprairie_gpios 6 0>;
};
};
&pm8150b_charger {
qcom,sec-charger-config = <0>;
qcom,auto-recharge-soc = <98>;

View File

@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -181,6 +181,13 @@
};
};
&soc {
bluetooth: bt_qca6390 {
compatible = "qca,qca6390";
qca,bt-reset-gpio = <&pmxprairie_gpios 6 0>;
};
};
&pm8150b_charger {
qcom,sec-charger-config = <0>;
qcom,auto-recharge-soc = <98>;

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -25,3 +25,7 @@
&qnand_1 {
status = "ok";
};
&blsp1_uart2b_hs {
status = "okay";
};

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -82,3 +82,10 @@
&usb2_phy {
status = "disabled";
};
&soc {
bluetooth: bt_qca6390 {
compatible = "qca,qca6390";
qca,bt-reset-gpio = <&pmxprairie_gpios 6 0>;
};
};

View File

@@ -43,6 +43,7 @@
static const struct of_device_id bt_power_match_table[] = {
{ .compatible = "qca,ar3002" },
{ .compatible = "qca,qca6174" },
{ .compatible = "qca,qca6390" },
{ .compatible = "qca,wcn3990" },
{}
};