Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2162a4f7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: add bluetooth chip device node for sa8195p"

parents 28c57393 5278e672
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

#include <dt-bindings/gpio/gpio.h>
#include "sa8195p-adp-star-display.dtsi"
#include "sa8195p-cnss.dtsi"

&qupv3_se0_spi {
	status = "ok";
+58 −0
Original line number Diff line number Diff line
/* Copyright (c) 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
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
	/* PWR_CTR2_VDD_1P8 supply */
	vreg_conn_1p8: vreg_conn_1p8 {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_1p8";
		pinctrl-names = "default";
		pinctrl-0 = <&conn_power_1p8_active>;
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&tlmm 173 0>;
	};

	/* PWR_CTR1_VDD_PA supply */
	vreg_conn_pa: vreg_conn_pa {
		compatible = "regulator-fixed";
		regulator-name = "vreg_conn_pa";
		pinctrl-names = "default";
		pinctrl-0 = <&conn_power_pa_active>;
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&tlmm 174 0>;
	};

	bluetooth_ext: bt_qca6174 {
		compatible = "qca,qca6174";
		pinctrl-names = "default";
		pinctrl-0 = <&bt_en_active>;
		/* BT_EN */
		qca,bt-reset-gpio = <&tlmm 172 0>;
		/* PWR_CTR1_VDD_PA */
		qca,bt-vdd-pa-supply = <&vreg_conn_pa>;
		/* PWR_CTR2_VDD_1P8 */
		qca,bt-chip-pwd-supply = <&vreg_conn_1p8>;
		qca,bt-vdd-vl-supply = <&pm8195_1_s5>;
		qca,bt-vdd-vm-supply = <&pm8195_1_s2>;
		qca,bt-vdd-vh-supply = <&pm8195_2_l7>;

		qca,bt-vdd-vl-voltage-level = <1000000 1000000>;
		qca,bt-vdd-vm-voltage-level = <1370000 1370000>;
		qca,bt-vdd-vh-voltage-level = <1900000 1900000>;

		qca,bt-vdd-vl-current-level = <0>;
		qca,bt-vdd-vm-current-level = <0>;
		qca,bt-vdd-vh-current-level = <450000>;
	};
};