Re: [PATCH] ARM: tegra: roth: Add MMC pwrseq to power wifi on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alexandre,

On Mon, Jun 8, 2015 at 9:41 AM, Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
> The wifi chip on roth needs to have its reset deasserted in order to be
> probed. Add a mmc-pwrseq-simple to allow this to happen and get wifi
> working at boot time.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---
>  arch/arm/boot/dts/tegra114-roth.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/tegra114-roth.dts b/arch/arm/boot/dts/tegra114-roth.dts
> index ea1772a686c2..04762532a178 100644
> --- a/arch/arm/boot/dts/tegra114-roth.dts
> +++ b/arch/arm/boot/dts/tegra114-roth.dts
> @@ -972,6 +972,11 @@
>                 nvidia,invert-interrupt;
>         };
>
> +       sdhci0_pwrseq: sdhci0_pwrseq {
> +               compatible = "mmc-pwrseq-simple";
> +               reset-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
> +       };
> +
>         /* Wifi */
>         sdhci@78000000 {
>                 status = "okay";
> @@ -979,6 +984,7 @@
>                 broken-cd;
>                 keep-power-in-suspend;
>                 cap-sdio-irq;
> +               mmc-pwrseq = <&sdhci0_pwrseq>;
>         };
>
>         /* SD card */

I'm neither familiar with this board nor have a schematic but the
patch looks good to me.

Reviewed-by: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx>

Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux