* [PATCH v3] ARM: dts: exynos-artik5: add support for wlan
@ 2018-02-01 21:16 Michael Lyle
[not found] ` <20180201211656.11829-1-mlyle-dTEscH1tG2Q@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Michael Lyle @ 2018-02-01 21:16 UTC (permalink / raw)
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: kgene-DgEjT+Ai2ygdnm+yROfE0A, CHANHO PARK, Krzysztof Kozlowski,
Michael Lyle
On the Artik520 module, there's a bcm4354 attached to mshc_1. Enable
it, and turn on the regulator used for it, so that both wifi & bluetooth
work.
Verified to work on the Artik 520 evaluation board.
v2: accidentally sent out v1
v3: non-removable instead of broken-cd, alphabetical order, formatting
Signed-off-by: Michael Lyle <mlyle-dTEscH1tG2Q@public.gmane.org>
---
arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi
index 0aa577fe9f95..620b50c19ead 100644
--- a/arch/arm/boot/dts/exynos3250-artik5.dtsi
+++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi
@@ -245,6 +245,7 @@
regulator-name = "VLDO23_1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
+ regulator-always-on;
};
ldo24_reg: LDO24 {
@@ -316,6 +317,41 @@
status = "okay";
};
+&mshc_1 {
+ cap-sd-highspeed;
+ cap-sdio-irq;
+ disable-wp;
+ non-removable;
+ keep-power-in-suspend;
+ fifo-depth = <0x40>;
+ vqmmc-supply = <&ldo11_reg>;
+ /*
+ * Voltage negotiation is broken for the SDIO periph so we
+ * can't actually set the voltage here.
+ * vmmc-supply = <&ldo23_reg>;
+ */
+ card-detect-delay = <500>;
+ clock-frequency = <100000000>;
+ max-frequency = <100000000>;
+ samsung,dw-mshc-ciu-div = <3>;
+ samsung,dw-mshc-sdr-timing = <0 1>;
+ samsung,dw-mshc-ddr-timing = <1 2>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>;
+ bus-width = <4>;
+ status = "okay";
+};
+
+&pinctrl_1 {
+ wlanen: wlanen {
+ samsung,pins = "gpx2-3";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>;
+ samsung,pin-val = <1>;
+ };
+};
+
&rtc {
clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
clock-names = "rtc", "rtc_src";
--
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <20180201211656.11829-1-mlyle-dTEscH1tG2Q@public.gmane.org>]
* Re: [PATCH v3] ARM: dts: exynos-artik5: add support for wlan [not found] ` <20180201211656.11829-1-mlyle-dTEscH1tG2Q@public.gmane.org> @ 2018-02-04 16:26 ` Krzysztof Kozlowski 2018-02-04 18:18 ` Michael Lyle 2018-02-12 18:49 ` Krzysztof Kozlowski 1 sibling, 1 reply; 4+ messages in thread From: Krzysztof Kozlowski @ 2018-02-04 16:26 UTC (permalink / raw) To: Michael Lyle Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, kgene-DgEjT+Ai2ygdnm+yROfE0A, CHANHO PARK On Thu, Feb 01, 2018 at 01:16:56PM -0800, Michael Lyle wrote: > On the Artik520 module, there's a bcm4354 attached to mshc_1. Enable > it, and turn on the regulator used for it, so that both wifi & bluetooth > work. > > Verified to work on the Artik 520 evaluation board. > > v2: accidentally sent out v1 > v3: non-removable instead of broken-cd, alphabetical order, formatting Changelog should go after --- separator so it would not end in commit. I'll fix it during applying. Looks good to me. I'll take it after merge window. Best regards, Krzysztof > > Signed-off-by: Michael Lyle <mlyle-dTEscH1tG2Q@public.gmane.org> > --- > arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi > index 0aa577fe9f95..620b50c19ead 100644 > --- a/arch/arm/boot/dts/exynos3250-artik5.dtsi > +++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi > @@ -245,6 +245,7 @@ > regulator-name = "VLDO23_1.8V"; > regulator-min-microvolt = <1800000>; > regulator-max-microvolt = <1800000>; > + regulator-always-on; > }; > > ldo24_reg: LDO24 { > @@ -316,6 +317,41 @@ > status = "okay"; > }; > > +&mshc_1 { > + cap-sd-highspeed; > + cap-sdio-irq; > + disable-wp; > + non-removable; > + keep-power-in-suspend; > + fifo-depth = <0x40>; > + vqmmc-supply = <&ldo11_reg>; > + /* > + * Voltage negotiation is broken for the SDIO periph so we > + * can't actually set the voltage here. > + * vmmc-supply = <&ldo23_reg>; > + */ > + card-detect-delay = <500>; > + clock-frequency = <100000000>; > + max-frequency = <100000000>; > + samsung,dw-mshc-ciu-div = <3>; > + samsung,dw-mshc-sdr-timing = <0 1>; > + samsung,dw-mshc-ddr-timing = <1 2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; > + bus-width = <4>; > + status = "okay"; > +}; > + > +&pinctrl_1 { > + wlanen: wlanen { > + samsung,pins = "gpx2-3"; > + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; > + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; > + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; > + samsung,pin-val = <1>; > + }; > +}; > + > &rtc { > clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; > clock-names = "rtc", "rtc_src"; > -- > 2.14.1 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] ARM: dts: exynos-artik5: add support for wlan 2018-02-04 16:26 ` Krzysztof Kozlowski @ 2018-02-04 18:18 ` Michael Lyle 0 siblings, 0 replies; 4+ messages in thread From: Michael Lyle @ 2018-02-04 18:18 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, kgene-DgEjT+Ai2ygdnm+yROfE0A, CHANHO PARK Hi Krzysztof --- Excellent, thank you for all your help. Mike On Sun, Feb 4, 2018 at 8:26 AM, Krzysztof Kozlowski <krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote: > On Thu, Feb 01, 2018 at 01:16:56PM -0800, Michael Lyle wrote: >> On the Artik520 module, there's a bcm4354 attached to mshc_1. Enable >> it, and turn on the regulator used for it, so that both wifi & bluetooth >> work. >> >> Verified to work on the Artik 520 evaluation board. >> >> v2: accidentally sent out v1 >> v3: non-removable instead of broken-cd, alphabetical order, formatting > > Changelog should go after --- separator so it would not end in commit. > > I'll fix it during applying. Looks good to me. I'll take it after merge > window. > > Best regards, > Krzysztof > >> >> Signed-off-by: Michael Lyle <mlyle-dTEscH1tG2Q@public.gmane.org> >> --- >> arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ >> 1 file changed, 36 insertions(+) >> >> diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi >> index 0aa577fe9f95..620b50c19ead 100644 >> --- a/arch/arm/boot/dts/exynos3250-artik5.dtsi >> +++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi >> @@ -245,6 +245,7 @@ >> regulator-name = "VLDO23_1.8V"; >> regulator-min-microvolt = <1800000>; >> regulator-max-microvolt = <1800000>; >> + regulator-always-on; >> }; >> >> ldo24_reg: LDO24 { >> @@ -316,6 +317,41 @@ >> status = "okay"; >> }; >> >> +&mshc_1 { >> + cap-sd-highspeed; >> + cap-sdio-irq; >> + disable-wp; >> + non-removable; >> + keep-power-in-suspend; >> + fifo-depth = <0x40>; >> + vqmmc-supply = <&ldo11_reg>; >> + /* >> + * Voltage negotiation is broken for the SDIO periph so we >> + * can't actually set the voltage here. >> + * vmmc-supply = <&ldo23_reg>; >> + */ >> + card-detect-delay = <500>; >> + clock-frequency = <100000000>; >> + max-frequency = <100000000>; >> + samsung,dw-mshc-ciu-div = <3>; >> + samsung,dw-mshc-sdr-timing = <0 1>; >> + samsung,dw-mshc-ddr-timing = <1 2>; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; >> + bus-width = <4>; >> + status = "okay"; >> +}; >> + >> +&pinctrl_1 { >> + wlanen: wlanen { >> + samsung,pins = "gpx2-3"; >> + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; >> + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; >> + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; >> + samsung,pin-val = <1>; >> + }; >> +}; >> + >> &rtc { >> clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; >> clock-names = "rtc", "rtc_src"; >> -- >> 2.14.1 >> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3] ARM: dts: exynos-artik5: add support for wlan [not found] ` <20180201211656.11829-1-mlyle-dTEscH1tG2Q@public.gmane.org> 2018-02-04 16:26 ` Krzysztof Kozlowski @ 2018-02-12 18:49 ` Krzysztof Kozlowski 1 sibling, 0 replies; 4+ messages in thread From: Krzysztof Kozlowski @ 2018-02-12 18:49 UTC (permalink / raw) To: Michael Lyle Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, kgene-DgEjT+Ai2ygdnm+yROfE0A, CHANHO PARK On Thu, Feb 01, 2018 at 01:16:56PM -0800, Michael Lyle wrote: > On the Artik520 module, there's a bcm4354 attached to mshc_1. Enable > it, and turn on the regulator used for it, so that both wifi & bluetooth > work. > > Verified to work on the Artik 520 evaluation board. > > v2: accidentally sent out v1 > v3: non-removable instead of broken-cd, alphabetical order, formatting > > Signed-off-by: Michael Lyle <mlyle-dTEscH1tG2Q@public.gmane.org> > --- > arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > Thanks, applied. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-12 18:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 21:16 [PATCH v3] ARM: dts: exynos-artik5: add support for wlan Michael Lyle
[not found] ` <20180201211656.11829-1-mlyle-dTEscH1tG2Q@public.gmane.org>
2018-02-04 16:26 ` Krzysztof Kozlowski
2018-02-04 18:18 ` Michael Lyle
2018-02-12 18:49 ` Krzysztof Kozlowski
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).