Re: [PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-11 Thread Cédric Le Goater
On 8/11/20 1:20 AM, Joel Stanley wrote: > On Mon, 10 Aug 2020 at 17:16, Cédric Le Goater wrote: >> >> On 8/7/20 1:42 AM, Joel Stanley wrote: >>> On Thu, 6 Aug 2020 at 13:21, Cédric Le Goater wrote: BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until the bit is cl

Re: [PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-10 Thread Joel Stanley
On Mon, 10 Aug 2020 at 17:16, Cédric Le Goater wrote: > > On 8/7/20 1:42 AM, Joel Stanley wrote: > > On Thu, 6 Aug 2020 at 13:21, Cédric Le Goater wrote: > >> > >> BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until > >> the bit is cleared by HW. Add definitions for the default

Re: [PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-10 Thread Cédric Le Goater
On 8/7/20 1:42 AM, Joel Stanley wrote: > On Thu, 6 Aug 2020 at 13:21, Cédric Le Goater wrote: >> >> BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until >> the bit is cleared by HW. Add definitions for the default value of >> this register and fix the reset sequence by clearing t

Re: [PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-06 Thread Cédric Le Goater
On 8/7/20 1:42 AM, Joel Stanley wrote: > On Thu, 6 Aug 2020 at 13:21, Cédric Le Goater wrote: >> >> BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until >> the bit is cleared by HW. Add definitions for the default value of >> this register and fix the reset sequence by clearing t

Re: [PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-06 Thread Joel Stanley
On Thu, 6 Aug 2020 at 13:21, Cédric Le Goater wrote: > > BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until > the bit is cleared by HW. Add definitions for the default value of > this register and fix the reset sequence by clearing the RESET bit. This is mentioned in the datas

[PATCH for-5.2 08/19] aspeed/sdhci: Fix reset sequence

2020-08-06 Thread Cédric Le Goater
BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until the bit is cleared by HW. Add definitions for the default value of this register and fix the reset sequence by clearing the RESET bit. Cc: Eddie James Fixes: 2bea128c3d0b ("hw/sd/aspeed_sdhci: New device") Signed-off-by: Cédri