• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * GNU General Public License for more details.
12 */
13&msmgpio {
14	sdc2_cd_on: sdc2_cd_on {
15		mux {
16			pins = "gpio38";
17			function = "gpio";
18		};
19
20		config {
21			pins = "gpio38";
22			bias-pull-up;		/* pull up */
23			drive-strength = <16>;	/* 16 MA */
24		};
25	};
26
27	sdc2_cd_off: sdc2_cd_off {
28		mux {
29			pins = "gpio38";
30			function = "gpio";
31		};
32
33		config {
34			pins = "gpio38";
35			bias-pull-up;		/* pull up */
36			drive-strength = <2>;	/* 2 MA */
37		};
38	};
39};
40