[PATCH 7/7] ARM: nomadik: register the MMC/SD device

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jun 7 04:16:58 EDT 2012


On Wed, Jun 06, 2012 at 11:35:26PM +0200, Linus Walleij wrote:
> +static int __init nhk8815_mmcsd_init(void)
> +{
> +	int ret;
> +
> +	ret = gpio_request(112, "card detect bias");
> +	if (ret)
> +		return ret;
> +	gpio_direction_output(112, 0);
> +	amba_ahb_device_add(NULL, "mmci", NOMADIK_SDI_BASE, SZ_4K, IRQ_SDMMC, 0, &mmcsd_plat_data, 0x10180180);

MMCI is not an AHB device.  It's definitely APB.



More information about the linux-arm-kernel mailing list