Hi.
I added the reset for the emmc into pinctrl in imx8mm-evk.dtsi.
But I don't know how does reset pin test.
I would like to control reset pin by the linux on imx8mm.
■ imx8mm-evk.dts
Hi,
Thank you for your interest in NXP Semiconductor products,
According to the reference manual, the reset has to be triggered by software sending a command and it's through the driver.
Hardware reset (Card and Host) that is driven by Power On Reset (POR).
Software reset (Host only) is initiated by the write operation on the RSTD, RSTC, or RSTA bits of the System Control register to reset the data part, command part, or all parts of the host controller, respectively.
Card reset (Card only): The command, "Go_Idle_State" (CMD0), is the software reset command for all types of MMC cards and SD memory cards. This command sets each card into the idle state regardless of the current card state. For an SD I/O card, CMD52 is used to write an I/O reset in CCCR. The cards are initialized with a default relative card address (RCA=0x0000) and with a default driver stage register setting (lowest speed, highest driving current capability)
Regards