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

Commit 2e32ffa8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add DT for MSM8909 IoE ref board with WCD9326"

parents 74153c5b 926be2ab
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -228,7 +228,10 @@ dtb-$(CONFIG_ARCH_MSM8909) += msm8909-pm8916-mtp.dtb \
	apq8009w-1gb-cdp.dtb \
	msm8909w-1gb-swoctp.dtb \
	apq8009w-1gb-swoctp.dtb \
	apq8009w-1gb-nowgr-swoctp.dtb
	apq8009w-1gb-nowgr-swoctp.dtb \
	apq8009-mtp-wcd9326.dtb \
	msm8909-mtp-wcd9326.dtb \
	msm8909-mtp-wcd9326-refboard.dtb


ifeq ($(CONFIG_ARM64),y)
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@
		qcom,clock-rates = <24000000 0>;
	};

	qcom,camera@1 {
	qcom_camera1: qcom,camera@1 {
		cell-index = <1>;
		compatible = "qcom,camera";
		reg = <0x1>;
+26 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 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
 * 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.
 */

/dts-v1/;

#include "msm8909-mtp.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "apq8009-audio-external_codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8909 WCD9326 Reference Board";
	compatible = "qcom,msm8909-mtp", "qcom,msm8909", "qcom,mtp";
	qcom,msm-id = <245 2>;
	qcom,board-id= <8 0x8>;
};
+27 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 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
 * 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.
 */

/dts-v1/;

#include "msm8909-mtp.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "apq8009-audio-external_codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8909 WCD9326 MTP";
	compatible = "qcom,msm8909-mtp", "qcom,msm8909", "qcom,mtp";
	qcom,msm-id = <245 2>;
	qcom,board-id= <8 0x7>;
};
+140 −0
Original line number Diff line number Diff line
@@ -1479,5 +1479,145 @@
				};
			};
		};

		pmx_i2s_mclk {
			label = "i2s_mclk";
			i2s_mclk_active: i2s_mclk_active {
				mux {
					pins = "gpio59";
					function = "pri_mi2s_mclk_a";
				};
				config {
					pins = "gpio59";
					drive-strength = <8>;   /* 8 MA */
					bias-disable;           /* No PULL */
					output-high;
				};
			};

			i2s_mclk_sleep: i2s_mclk_sleep {
				mux {
					pins = "gpio59";
					function = "pri_mi2s_mclk_a";
				};
				configs {
					pins = "gpio59";
					drive-strength = <2>;   /* 2 MA */
					bias-pull-down;	        /* PULL DOWN */
				};
			};
		};

		pmx_pri_mi2s {
			label = "pri_mi2s";
			pri_mi2s_active: pri_mi2s_active {
				mux {
					pins = "gpio60", "gpio61",
						"gpio62", "gpio63";
					function = "pri_mi2s_sck_a";
				};
				configs {
					pins = "gpio60", "gpio61",
						"gpio62", "gpio63";
					drive-strength = <8>;   /* 8 MA */
					bias-disable;           /* No PULL */
					output-high;
				};
			};
			pri_mi2s_sleep: pri_mi2s_sleep {
				mux {
					pins = "gpio60", "gpio61",
						"gpio62", "gpio63";
					function = "pri_mi2s_sck_a";
				};
				configs {
					pins = "gpio60", "gpio61",
						"gpio62", "gpio63";
					drive-strength = <2>;   /* 2 MA */
					bias-pull-down;	        /* PULL DOWN */
				};
			};
		};

		pmx_quat_mi2s {
			label = "quat_mi2s";
			quat_mi2s_active: quat_mi2s_active {
				mux {
					pins = "gpio0", "gpio1";
					function = "sec_mi2s_ws";
				};
				configs {
					pins = "gpio0", "gpio1";
					drive-strength = <8>;   /* 8 MA */
					bias-disable;           /* No PULL */
					output-high;
				};
			};
			quat_mi2s_sleep: quat_mi2s_sleep {
				mux {
					pins = "gpio0", "gpio1";
					function = "sec_mi2s_ws";
				};
				configs {
					pins = "gpio0", "gpio1";
					drive-strength = <2>;   /* 2 MA */
					bias-pull-down;	        /* PULL DOWN */
				};
			};
		};

		pmx_quat_mi2s_din {
			label = "quat_mi2s_din";
			quat_mi2s_din_active: quat_mi2s_din_active {
				mux {
					pins = "gpio2", "gpio3";
					function = "sec_mi2s_data0";
				};
				configs {
					pins = "gpio2", "gpio3";
					drive-strength = <8>;   /* 8 MA */
					bias-disable;	        /* No PULL */
				};
			};
			quat_mi2s_din_sleep: quat_mi2s_din_sleep {
				mux {
					pins = "gpio2", "gpio3";
					function = "sec_mi2s_data0";
				};
				configs {
					pins = "gpio2", "gpio3";
					drive-strength = <2>;   /* 2 MA */
					bias-pull-down;	        /* PULL DOWN */
				};
			};
		};

		wsa-spkr-sd {
			label = "wsa-spkr-sd";
			wsa_spkr_sd_act: lines_on {
				mux {
					pins = "gpio72", "gpio73";
					function = "gpio";
				};
				configs {
					pins = "gpio72", "gpio73";
					drive-strength = <8>;
					output-high;
					bias-pull-down;
				};
			};
			wsa_spkr_sd_sus: lines_off {
				mux {
					pins = "gpio72", "gpio73";
					function = "gpio";
				};
				configs {
					pins = "gpio72", "gpio73";
					drive-strength = <2>;
					output-low;
					bias-disable;
				};
			};
		};
	};
};
Loading