drivers: usdhc: Add log for DAT3 detection
Add log to tell user when DAT3 detection method is in use Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
5dfd3c3786
commit
419dc385f2
1 changed files with 1 additions and 0 deletions
|
@ -2756,6 +2756,7 @@ static int usdhc_board_access_init(struct usdhc_priv *priv)
|
|||
if (!priv->detect_gpio) {
|
||||
LOG_INF("USDHC detection other than GPIO");
|
||||
if (config->detect_dat3) {
|
||||
LOG_INF("USDHC detection using DAT3 pull");
|
||||
base->PROT_CTRL |= USDHC_PROT_CTRL_D3CD_MASK;
|
||||
/* Pull down DAT3 */
|
||||
usdhc_dat3_pull(USDHC_DAT3_PULL_DOWN, priv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue