u-boot-brain/board/compulab
Igor Grinberg 0b03a931ab omap: hsmmc: assume cd gpio is active low
Switch the default CD GPIO polarity to active low.

The current hsmmc driver assumption that the CD GPIO is active high, but
in the real hardware, usually the opposite holds.
The usual SD card socket has a mechanical switch which is grounded as
soon as a card is inserted.
Of course there might be some board logic which inverts the signal, but
as far as current users are concerned, there is no such logic.

Current U-Boot users either not using the CD functionality, or have a
different way (e.g. external to SoC GPIO controller) for checking the
card presence.

This patch also brings the polarity assumption in line with the Linux
kernel and adds appropriate comments.

This patch also might spare issues once the TWL GPIO driver will be
converted to the DM.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
2014-11-06 11:04:41 -05:00
..
cm_fx6 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
cm_t35 omap3: cm-t35: move get_board_serial() fallback 2014-11-06 11:04:41 -05:00
cm_t54 omap: hsmmc: assume cd gpio is active low 2014-11-06 11:04:41 -05:00
cm_t335 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
common omap3: cm-t35: move get_board_serial() fallback 2014-11-06 11:04:41 -05:00
trimslice kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00