All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6ul-pico-hobbit: Add Wifi support
Date: Tue, 9 Aug 2016 14:53:06 +0800	[thread overview]
Message-ID: <20160809065306.GQ4678@tiger> (raw)
In-Reply-To: <1468859110-5686-1-git-send-email-vanessa.maegima@nxp.com>

On Mon, Jul 18, 2016 at 01:25:10PM -0300, Vanessa Maegima wrote:
> imx6ul-pico-hobbit has a bcm4343 wifi chip connected to usdhc2 port.
> 
> Add support for it.
> 
> Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
> ---
>  arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
> index 8ce1fec..89f8bf8 100644
> --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
> +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
> @@ -100,6 +100,18 @@
>  		gpio = <&gpio1 6 0>;
>  	};
>  
> +	reg_brcm: brcm-reg {

For fixed regulator, we name the node like below:

	reg_brcm: regulator-brcm {

I fixed it up and applied patch.

Shawn

> +		compatible = "regulator-fixed";
> +		enable-active-high;
> +		gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&pinctrl_brcm_reg>;
> +		regulator-name = "brcm_reg";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		startup-delay-us = <200000>;
> +	};
> +
>  	sound {
>  		compatible = "fsl,imx-audio-sgtl5000";
>  		model = "imx6ul-sgtl5000";
> @@ -325,12 +337,21 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_usdhc2>;
>  	no-1-8-v;
> +	non-removable;
>  	keep-power-in-suspend;
>  	wakeup-source;
> +	vmmc-supply = <&reg_brcm>;
>  	status = "okay";
>  };
>  
>  &iomuxc {
> +	pinctrl_brcm_reg: brcmreggrp {
> +		fsl,pins = <
> +			MX6UL_PAD_NAND_DATA06__GPIO4_IO08	0x10b0	/* WL_REG_ON */
> +			MX6UL_PAD_NAND_DATA04__GPIO4_IO06	0x10b0	/* WL_HOST_WAKE */
> +		>;
> +	};
> +
>  	pinctrl_enet2: enet2grp {
>  		fsl,pins = <
>  			MX6UL_PAD_ENET1_TX_DATA1__ENET2_MDIO	0x1b0b0
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2016-08-09  6:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 16:25 [PATCH] ARM: dts: imx6ul-pico-hobbit: Add Wifi support Vanessa Maegima
2016-08-09  6:53 ` Shawn Guo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160809065306.GQ4678@tiger \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.