Re: [PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support

2018-04-27 Thread Kishon Vijay Abraham I
Hi Rob,

On Wednesday 25 April 2018 08:17 PM, Rob Herring wrote:
> On Wed, Apr 25, 2018 at 7:54 AM, Kishon Vijay Abraham I  wrote:
>> From: Hari Nagalla 
>>
>> The wilink module is a combo wireless connectivity sdio
>> card based on Texas Instrument's wl18xx solution. It is a
>> 4-wire, 1.8V, embedded sdio wlan device with an external
>> irq line and is power-controlled by a gpio-based fixed
>> regulator.
>>
>> Add pinmux configuration and IODelay values for MMC4.
>> On dra7-evm, MMC4 is used for connecting to wilink module.
>>
>> IODelay data credits to :  Vishal Mahaveer 
>> and Sekhar Nori 
>>
>> Signed-off-by: Ido Yariv 
>> Signed-off-by: Eyal Reizer 
>> Signed-off-by: Hari Nagalla 
>> Signed-off-by: Sekhar Nori 
>> Signed-off-by: Kishon Vijay Abraham I 
>> ---
>>  arch/arm/boot/dts/dra7-evm-common.dtsi | 15 +++
>>  arch/arm/boot/dts/dra7-evm.dts | 25 +
>>  2 files changed, 40 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/dra7-evm-common.dtsi 
>> b/arch/arm/boot/dts/dra7-evm-common.dtsi
>> index 05a7b1a01bc3..3590c40fc112 100644
>> --- a/arch/arm/boot/dts/dra7-evm-common.dtsi
>> +++ b/arch/arm/boot/dts/dra7-evm-common.dtsi
>> @@ -260,3 +260,18 @@
>>  _rc {
>> status = "okay";
>>  };
>> +
>> + {
>> +   bus-width = <4>;
>> +   cap-power-off-card;
>> +   keep-power-in-suspend;
>> +   non-removable;
>> +   #address-cells = <1>;
>> +   #size-cells = <0>;
>> +   wlcore: wlcore@2 {
> 
> wifi@2

sure, I'll fix it in the next revision.

Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support

2018-04-25 Thread Rob Herring
On Wed, Apr 25, 2018 at 7:54 AM, Kishon Vijay Abraham I  wrote:
> From: Hari Nagalla 
>
> The wilink module is a combo wireless connectivity sdio
> card based on Texas Instrument's wl18xx solution. It is a
> 4-wire, 1.8V, embedded sdio wlan device with an external
> irq line and is power-controlled by a gpio-based fixed
> regulator.
>
> Add pinmux configuration and IODelay values for MMC4.
> On dra7-evm, MMC4 is used for connecting to wilink module.
>
> IODelay data credits to :  Vishal Mahaveer 
> and Sekhar Nori 
>
> Signed-off-by: Ido Yariv 
> Signed-off-by: Eyal Reizer 
> Signed-off-by: Hari Nagalla 
> Signed-off-by: Sekhar Nori 
> Signed-off-by: Kishon Vijay Abraham I 
> ---
>  arch/arm/boot/dts/dra7-evm-common.dtsi | 15 +++
>  arch/arm/boot/dts/dra7-evm.dts | 25 +
>  2 files changed, 40 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra7-evm-common.dtsi 
> b/arch/arm/boot/dts/dra7-evm-common.dtsi
> index 05a7b1a01bc3..3590c40fc112 100644
> --- a/arch/arm/boot/dts/dra7-evm-common.dtsi
> +++ b/arch/arm/boot/dts/dra7-evm-common.dtsi
> @@ -260,3 +260,18 @@
>  _rc {
> status = "okay";
>  };
> +
> + {
> +   bus-width = <4>;
> +   cap-power-off-card;
> +   keep-power-in-suspend;
> +   non-removable;
> +   #address-cells = <1>;
> +   #size-cells = <0>;
> +   wlcore: wlcore@2 {

wifi@2
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v3 11/15] ARM: dts: dra7-evm: Add wilink8 wlan support

2018-04-25 Thread Kishon Vijay Abraham I
From: Hari Nagalla 

The wilink module is a combo wireless connectivity sdio
card based on Texas Instrument's wl18xx solution. It is a
4-wire, 1.8V, embedded sdio wlan device with an external
irq line and is power-controlled by a gpio-based fixed
regulator.

Add pinmux configuration and IODelay values for MMC4.
On dra7-evm, MMC4 is used for connecting to wilink module.

IODelay data credits to :  Vishal Mahaveer 
and Sekhar Nori 

Signed-off-by: Ido Yariv 
Signed-off-by: Eyal Reizer 
Signed-off-by: Hari Nagalla 
Signed-off-by: Sekhar Nori 
Signed-off-by: Kishon Vijay Abraham I 
---
 arch/arm/boot/dts/dra7-evm-common.dtsi | 15 +++
 arch/arm/boot/dts/dra7-evm.dts | 25 +
 2 files changed, 40 insertions(+)

diff --git a/arch/arm/boot/dts/dra7-evm-common.dtsi 
b/arch/arm/boot/dts/dra7-evm-common.dtsi
index 05a7b1a01bc3..3590c40fc112 100644
--- a/arch/arm/boot/dts/dra7-evm-common.dtsi
+++ b/arch/arm/boot/dts/dra7-evm-common.dtsi
@@ -260,3 +260,18 @@
 _rc {
status = "okay";
 };
+
+ {
+   bus-width = <4>;
+   cap-power-off-card;
+   keep-power-in-suspend;
+   non-removable;
+   #address-cells = <1>;
+   #size-cells = <0>;
+   wlcore: wlcore@2 {
+   compatible = "ti,wl1835";
+   reg = <2>;
+   interrupt-parent = <>;
+   interrupts = <7 IRQ_TYPE_EDGE_RISING>;
+   };
+};
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 181289a28ca1..704947cbef48 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -96,6 +96,16 @@
regulator-boot-on;
};
 
+   vmmcwl_fixed: fixedregulator-mmcwl {
+   compatible = "regulator-fixed";
+   regulator-name = "vmmcwl_fixed";
+   regulator-min-microvolt = <180>;
+   regulator-max-microvolt = <180>;
+   gpio = < 8 0>;
+   startup-delay-us = <7>;
+   enable-active-high;
+   };
+
extcon_usb2: extcon_usb2 {
compatible = "linux,extcon-usb-gpio";
id-gpio = <_gpio_21 2 GPIO_ACTIVE_HIGH>;
@@ -376,6 +386,21 @@
pinctrl-5 = <_pins_hs200 _iodelay_hs200_rev20_conf>;
 };
 
+ {
+   status = "okay";
+   vmmc-supply = <_3v6>;
+   vqmmc-supply = <_fixed>;
+   pinctrl-names = "default-rev11", "default", "hs-rev11", "hs", 
"sdr12-rev11", "sdr12", "sdr25-rev11", "sdr25";
+   pinctrl-0 = <_pins_default _iodelay_ds_rev11_conf>;
+   pinctrl-1 = <_pins_default _iodelay_ds_rev20_conf>;
+   pinctrl-2 = <_pins_hs _iodelay_sdr12_hs_sdr25_rev11_conf>;
+   pinctrl-3 = <_pins_hs _iodelay_sdr12_hs_sdr25_rev20_conf>;
+   pinctrl-4 = <_pins_sdr12 _iodelay_sdr12_hs_sdr25_rev11_conf>;
+   pinctrl-5 = <_pins_sdr12 _iodelay_sdr12_hs_sdr25_rev20_conf>;
+   pinctrl-6 = <_pins_sdr25 _iodelay_sdr12_hs_sdr25_rev11_conf>;
+   pinctrl-7 = <_pins_sdr25 _iodelay_sdr12_hs_sdr25_rev20_conf>;
+};
+
  {
vdd-supply = <_reg>;
 };
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html