Bug #251

Add SD card detect GPIO in jslrvp devicetree

Added by Aamir Bohra 7 months ago. Updated 2 months ago.

Status:NewStart date:01/09/2020
Priority:NormalDue date:
Assignee:Aamir Bohra% Done:

0%

Category:board support
Target version:-

Description

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

History

#1 Updated by PASP Naidu 2 months 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

Also available in: Atom PDF