Project

General

Profile

Actions

Bug #251

open

Add SD card detect GPIO in jslrvp devicetree

Added by Aamir Bohra over 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
board support
Target version:
-
Start date:
01/09/2020
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

The SD card detect GPIO currently needs to be added once the jsl gpio driver code is merged.
This bug tracks its implementation.

Actions #1

Updated by PASP Naidu about 2 years ago

PASP Naidu wrote:

The SD card detect GPIO currently needs to be added once the jsl gpio driver code is merged.
This bug tracks its implementation.

Hi ,
Solution PATCH updated on March 13

src/mainboard/intel/jasperlake_rvp/variants/jslrvp/devicetree.cb

register "sdcard_cd_gpio" = "VGPIO_39" \\GPIO for SD card detect

src/mainboard/intel/jasperlake_rvp/variants/jslrvp/gpio.c

    PAD_CFG_NF(GPP_G5, UP_20K, PWROK, NF1), \\SD_CD pwr up pin
PAD_CFG_NF(GPP_G7, DN_20K, PWROK, NF1), \\SD_WP pwr down pin pad
PAD_CFG_GPI_GPIO_DRIVER(VGPIO_39, NONE, DEEP), \\virtual GPIO for SD card detect
Actions

Also available in: Atom PDF