linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* mxs-mmc 80014000.ssp: mxs_mmc_probe: failed to request dma
@ 2016-08-02 15:08 Jörg Krause
  0 siblings, 0 replies; only message in thread
From: Jörg Krause @ 2016-08-02 15:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I am trying set up a custom i.MX28 board with an BCM43362 wifi chip
connected over the SDIO interface to SSP2 using "mmc-pwrseq".

The MCU toggles the power to the wifi chip with GPIO 1,16 with is
connected to an external 3.9V regulator which provides the power for
the chip.

Furthermore, the CPU is directly connected to the wifi chip via GPIO
1,17 to the WL_RST_N.

This is a snippet of the device tree, which shoud be okay so far:

/ {
	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		reg_wlan: regulator-wlan {
			pinctrl-names = "default";
			pinctrl-0 = <&pinctrl_reg_wlan>;
			compatible = "regulator-fixed";
			regulator-name = "regulator-wlan";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			startup-delay-us = <70000>;
			gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
			enable-active-high;
		};
	};

	ssp2_pwrseq: ssp2-pwrseq {
		compatible = "mmc-pwrseq-simple";
		reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
	};
};

&ssp2 {
	compatible = "fsl,imx28-mmc";
	pinctrl-names = "default";
	pinctrl-0 = <&ssp2_4bit_pins_a &ssp2_sck_cfg>;
	bus-width = <4>;
	vmmc-supply = <&reg_wlan>;
	mmc-pwrseq = <&ssp2_pwrseq>;
	non-removable;
	status = "okay";

	brcmf: bcrmf at 1 {
		reg = <1>;
		compatible = "brcm,bcm4329-fmac";
	};
};

However, when booting the device the following error message is shown
and the wifi chip is not ready:

mxs-mmc 80014000.ssp: mxs_mmc_probe: failed to request dma

Note, that the wifi chip works if I do the GPIO handling in the
bootloader.

Any ideas what's missing here?

Best regards
J?rg Krause

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-02 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-02 15:08 mxs-mmc 80014000.ssp: mxs_mmc_probe: failed to request dma Jörg Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).