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

Commit 6da80161 authored by Jeffrey Hugo's avatar Jeffrey Hugo Committed by Andy Gross
Browse files

arm64: dts: qcom: msm8998: Add SDC2 control pins



The SDC2 control pins are typically used to manage sleep.

Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 23bd4f78
Loading
Loading
Loading
Loading
+78 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2018, The Linux Foundation. All rights reserved. */

&tlmm {
	sdc2_clk_on: sdc2_clk_on {
		config {
			pins = "sdc2_clk";
			bias-disable;           /* NO pull */
			drive-strength = <16>;  /* 16 mA */
		};
	};

	sdc2_clk_off: sdc2_clk_off {
		config {
			pins = "sdc2_clk";
			bias-disable;           /* NO pull */
			drive-strength = <2>;   /* 2 mA */
		};
	};

	sdc2_cmd_on: sdc2_cmd_on {
		config {
			pins = "sdc2_cmd";
			bias-pull-up;           /* pull up */
			drive-strength = <10>;  /* 10 mA */
		};
	};

	sdc2_cmd_off: sdc2_cmd_off {
		config {
			pins = "sdc2_cmd";
			bias-pull-up;           /* pull up */
			drive-strength = <2>;   /* 2 mA */
		};
	};

	sdc2_data_on: sdc2_data_on {
		config {
			pins = "sdc2_data";
			bias-pull-up;           /* pull up */
			drive-strength = <10>;  /* 10 mA */
		};
	};

	sdc2_data_off: sdc2_data_off {
		config {
			pins = "sdc2_data";
			bias-pull-up;           /* pull up */
			drive-strength = <2>;   /* 2 mA */
		};
	};

	sdc2_cd_on: sdc2_cd_on {
		mux {
			pins = "gpio95";
			function = "gpio";
		};

		config {
			pins = "gpio95";
			bias-pull-up;           /* pull up */
			drive-strength = <2>;   /* 2 mA */
		};
	};

	sdc2_cd_off: sdc2_cd_off {
		mux {
			pins = "gpio95";
			function = "gpio";
		};

		config {
			pins = "gpio95";
			bias-pull-up;           /* pull up */
			drive-strength = <2>;   /* 2 mA */
		};
	};
};
+2 −0
Original line number Diff line number Diff line
@@ -706,3 +706,5 @@
		};
	};
};

#include "msm8998-pins.dtsi"