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

Commit cfd12292 authored by Simmi Pateriya's avatar Simmi Pateriya
Browse files

ARM: dts: msm: Add the hardware jack setting for all boards



Headset jack can have 4-pole or 5-pole or 6-pole.
Add device tree setting to distinguish these jacks.

Change-Id: I634ead4ae88a532c562e6228a56f614410ee28c5
Signed-off-by: default avatarSimmi Pateriya <simmip@codeaurora.org>
parent ec2b71fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -129,6 +129,7 @@
		qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>;
		qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>;
		qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>;
		qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>;
		qcom,headset-jack-type-NC;
		qcom,headset-jack-type-NC;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
	};
	};


	sound-9302 {
	sound-9302 {
+2 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -120,6 +120,7 @@
		qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>;
		qcom,cdc-mclk-gpios = <&pm8226_gpios 1 0>;
		qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>;
		qcom,cdc-vdd-spkr-gpios = <&pm8226_gpios 2 0>;
		qcom,headset-jack-type-NC;
		qcom,headset-jack-type-NC;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
	};
	};


	sound-9302 {
	sound-9302 {
+2 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -220,6 +220,7 @@
		qcom,hdmi-audio-rx;
		qcom,hdmi-audio-rx;
		qcom,us-euro-gpios = <&pm8941_gpios 20 0>;
		qcom,us-euro-gpios = <&pm8941_gpios 20 0>;
		qcom,cdc-micbias2-headset-only;
		qcom,cdc-micbias2-headset-only;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
	};
	};


	usb2_otg_sw: regulator-tpd4s214 {
	usb2_otg_sw: regulator-tpd4s214 {
+2 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -271,6 +271,7 @@
		qcom,hdmi-audio-rx;
		qcom,hdmi-audio-rx;
		qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>;
		qcom,ext-ult-lo-amp-gpio = <&pm8941_gpios 6 0>;
		qcom,cdc-micbias2-headset-only;
		qcom,cdc-micbias2-headset-only;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
	};
	};
};
};


+1 −0
Original line number Original line Diff line number Diff line
@@ -214,6 +214,7 @@
	sound {
	sound {
		qcom,model = "msm8974-taiko-mtp-snd-card";
		qcom,model = "msm8974-taiko-mtp-snd-card";
		qcom,cdc-micbias2-headset-only;
		qcom,cdc-micbias2-headset-only;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
	};
	};
};
};