I believe this document is incorrect, "fsl,cd-internal" cannot be found in any version of drivers/mmc/host/sdhci-esdhc-imx.c. The kernel documentation mentions "fsl,wp-controller" so it would make sense that "fsl,cd-controller" would be valid. In an older version of the driver, imx_kernel_3.14, "fsl,cd-controller" could be found in sdhci_esdhc_imx_probe_dt():
if (of_get_property(np, "fsl,cd-controller", NULL))
boarddata->cd_type = ESDHC_CD_CONTROLLER;
But it appears that none of the functionality was ever implemented, so this was removed in newer version of the kernel.
None the less, I tried both "fsl,cd-internal" and "fsl,cd-controller" in my devicetree and nothing happens when I insert or remove the SDIO card. The pin is set to MX6SX_PAD_KEY_COL0__USDHC3_CD_B.
Was card detect, via the controller, ever implemented, and if so, how can I get it? Thanks...