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

Commit 0a0d2058 authored by Rupesh Tatiya's avatar Rupesh Tatiya
Browse files

ARM: dts: msm: Add configuration for PMIC GPIO2 for mdm9607 CDP and MTP



PMIC GPIO2 is connected to BT_EN pin of BT chip and required to be turned
on/off for BT on/off functionality.

CRs-Fixed: 961602
Change-Id: I1a5c223fe9596f9c6087068765434846984dde1d
Signed-off-by: default avatarRupesh Tatiya <rtatiya@codeaurora.org>
parent a660e4d0
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -68,8 +68,18 @@
	};
};

/* PMIC gpio for wlan power supply */
&pm8019_gpios {
	gpio@c100 { /* BT_EN */
		qcom,mode = <1>;         /* Digital output*/
		qcom,pull = <4>;         /* Pulldown 10uA */
		qcom,vin-sel = <2>;      /* VIN2 */
		qcom,src-sel = <0>;      /* GPIO */
		qcom,invert = <0>;       /* Invert */
		qcom,master-en = <1>;    /* Enable GPIO */
		status = "ok";
	};

	/* PMIC gpio for wlan power supply */
	gpio@c200 {
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
+12 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -66,8 +66,18 @@
	};
};

/* PMIC gpio for wlan power supply */
&pm8019_gpios {
	gpio@c100 { /* BT_EN */
		qcom,mode = <1>;         /* Digital output*/
		qcom,pull = <4>;         /* Pulldown 10uA */
		qcom,vin-sel = <2>;      /* VIN2 */
		qcom,src-sel = <0>;      /* GPIO */
		qcom,invert = <0>;       /* Invert */
		qcom,master-en = <1>;    /* Enable GPIO */
		status = "ok";
	};

	/* PMIC gpio for wlan power supply */
	gpio@c200 {
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */