Re: [PATCH v3 1/3] mmc: sdhci: use WP GPIO in sdhci_check_ro()

2019-02-12 Thread Adrian Hunter
On 12/02/19 4:07 PM, Thomas Petazzoni wrote: > Even though SDHCI controllers may have a dedicated WP pin that can be > queried using the SDHCI_PRESENT_STATE register, some platforms may > chose to use a separate regular GPIO to route the WP signal. Such a > GPIO is typically represented using the w

[PATCH v3 1/3] mmc: sdhci: use WP GPIO in sdhci_check_ro()

2019-02-12 Thread Thomas Petazzoni
Even though SDHCI controllers may have a dedicated WP pin that can be queried using the SDHCI_PRESENT_STATE register, some platforms may chose to use a separate regular GPIO to route the WP signal. Such a GPIO is typically represented using the wp-gpios property in the Device Tree. Unfortunately,