On 01/16/2014 06:50 PM, Arnd Bergmann wrote:
On Thursday 16 January 2014, Zhangfei Gao wrote:
--- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
+++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
@@ -73,6 +73,8 @@ Optional properties:

  * caps2-mmc-hs200-1_2v: Supports mmc HS200 SDR 1.2V mode

+* caps2-mmc-cd-active-high: cd pin is high when card present
+
  * broken-cd: as documented in mmc core bindings.

  * vmmc-supply: The phandle to the regulator to use for vmmc.  If this is

No, don't introduce a new flag when there is already one defined
in the generic mmc binding.

Got it.

Update with "cd-inverted".

     if (of_get_property(np, "cd-inverted", NULL))
                pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH;


Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to