All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
@ 2017-11-13  0:52 ` Simon Shields
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Shields @ 2017-11-13  0:52 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: Kukjin Kim, Krzysztof Kozlowski, linux-arm-kernel,
	Marek Szyprowski, Javier Martinez Canillas

This patch allows the bcm4334 to power on and enables
wifi functionality on trats2.

Signed-off-by: Simon Shields <simon@lineageos.org>
---
 arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 2da6ced64ee0..d57cd000e17c 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -240,6 +240,13 @@
 
 	};
 
+	wlan_pwrseq: sdhci3-pwrseq {
+		compatible = "mmc-pwrseq-simple";
+		reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
+		clocks = <&max77686 MAX77686_CLK_PMIC>;
+		clock-names = "ext_clock";
+	};
+
 	sound {
 		compatible = "samsung,trats2-audio";
 		samsung,i2s-controller = <&i2s0>;
@@ -1238,6 +1245,26 @@
 	status = "okay";
 };
 
+&sdhci_3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	non-removable;
+	bus-width = <4>;
+
+	mmc-pwrseq = <&wlan_pwrseq>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
+	status = "okay";
+
+	brcmf: wifi@1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+		interrupt-parent = <&gpx2>;
+		interrupts = <5 IRQ_TYPE_NONE>;
+		interrupt-names = "host-wake";
+	};
+};
+
 &serial_0 {
 	status = "okay";
 };
-- 
2.15.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
@ 2017-11-13  0:52 ` Simon Shields
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Shields @ 2017-11-13  0:52 UTC (permalink / raw)
  To: linux-arm-kernel

This patch allows the bcm4334 to power on and enables
wifi functionality on trats2.

Signed-off-by: Simon Shields <simon@lineageos.org>
---
 arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 2da6ced64ee0..d57cd000e17c 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -240,6 +240,13 @@
 
 	};
 
+	wlan_pwrseq: sdhci3-pwrseq {
+		compatible = "mmc-pwrseq-simple";
+		reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
+		clocks = <&max77686 MAX77686_CLK_PMIC>;
+		clock-names = "ext_clock";
+	};
+
 	sound {
 		compatible = "samsung,trats2-audio";
 		samsung,i2s-controller = <&i2s0>;
@@ -1238,6 +1245,26 @@
 	status = "okay";
 };
 
+&sdhci_3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	non-removable;
+	bus-width = <4>;
+
+	mmc-pwrseq = <&wlan_pwrseq>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
+	status = "okay";
+
+	brcmf: wifi at 1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+		interrupt-parent = <&gpx2>;
+		interrupts = <5 IRQ_TYPE_NONE>;
+		interrupt-names = "host-wake";
+	};
+};
+
 &serial_0 {
 	status = "okay";
 };
-- 
2.15.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
  2017-11-13  0:52 ` Simon Shields
@ 2017-11-14 17:53   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2017-11-14 17:53 UTC (permalink / raw)
  To: Simon Shields
  Cc: linux-samsung-soc, Kukjin Kim, linux-arm-kernel,
	Marek Szyprowski, Javier Martinez Canillas

On Mon, Nov 13, 2017 at 11:52:03AM +1100, Simon Shields wrote:
> This patch allows the bcm4334 to power on and enables
> wifi functionality on trats2.
> 
> Signed-off-by: Simon Shields <simon@lineageos.org>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>

Looks good, I'll take it after merge window. For my own reference:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
@ 2017-11-14 17:53   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2017-11-14 17:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Nov 13, 2017 at 11:52:03AM +1100, Simon Shields wrote:
> This patch allows the bcm4334 to power on and enables
> wifi functionality on trats2.
> 
> Signed-off-by: Simon Shields <simon@lineageos.org>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>

Looks good, I'll take it after merge window. For my own reference:
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
  2017-11-14 17:53   ` Krzysztof Kozlowski
@ 2017-11-27 18:14     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2017-11-27 18:14 UTC (permalink / raw)
  To: Simon Shields
  Cc: linux-samsung-soc, Kukjin Kim, linux-arm-kernel,
	Marek Szyprowski, Javier Martinez Canillas

On Tue, Nov 14, 2017 at 06:53:33PM +0100, Krzysztof Kozlowski wrote:
> On Mon, Nov 13, 2017 at 11:52:03AM +1100, Simon Shields wrote:
> > This patch allows the bcm4334 to power on and enables
> > wifi functionality on trats2.
> > 
> > Signed-off-by: Simon Shields <simon@lineageos.org>
> > ---
> >  arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
> >  1 file changed, 27 insertions(+)
> >
> 

Thanks, applied.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2
@ 2017-11-27 18:14     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2017-11-27 18:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 14, 2017 at 06:53:33PM +0100, Krzysztof Kozlowski wrote:
> On Mon, Nov 13, 2017 at 11:52:03AM +1100, Simon Shields wrote:
> > This patch allows the bcm4334 to power on and enables
> > wifi functionality on trats2.
> > 
> > Signed-off-by: Simon Shields <simon@lineageos.org>
> > ---
> >  arch/arm/boot/dts/exynos4412-trats2.dts | 27 +++++++++++++++++++++++++++
> >  1 file changed, 27 insertions(+)
> >
> 

Thanks, applied.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-27 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-13  0:52 [PATCH v5] ARM: dts: exynos: add bcm4334 device node to trats2 Simon Shields
2017-11-13  0:52 ` Simon Shields
2017-11-14 17:53 ` Krzysztof Kozlowski
2017-11-14 17:53   ` Krzysztof Kozlowski
2017-11-27 18:14   ` Krzysztof Kozlowski
2017-11-27 18:14     ` Krzysztof Kozlowski

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.