forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: qcom: msm8998: Add SDC2 control pins
The SDC2 control pins are typically used to manage sleep. Signed-off-by: Jeffrey Hugo <[email protected]> Signed-off-by: Andy Gross <[email protected]>
- Loading branch information
Jeffrey Hugo
authored and
Andy Gross
committed
Nov 30, 2018
1 parent
23bd4f7
commit 6da8016
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// 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 */ | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -706,3 +706,5 @@ | |
}; | ||
}; | ||
}; | ||
|
||
#include "msm8998-pins.dtsi" |