cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT
@ 2019-10-15 10:42 Biju Das
  2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 1/2] arm64: dts: renesas: cat874: Add WLAN support Biju Das
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Biju Das @ 2019-10-15 10:42 UTC (permalink / raw)
  To: cip-dev

This patch series add WLAN/BT support for EK874 platform.

This patch series is based on linux-4.19.y-cip and all the patches in this series are cherry-picked from linux rc tree.

Biju Das (2):
  arm64: dts: renesas: cat874: Add WLAN support
  arm64: dts: renesas: cat874: Add BT support

 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 57 +++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 1/2] arm64: dts: renesas: cat874: Add WLAN support
  2019-10-15 10:42 [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Biju Das
@ 2019-10-15 10:42 ` Biju Das
  2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: dts: renesas: cat874: Add BT support Biju Das
  2019-10-15 11:27 ` [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Pavel Machek
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2019-10-15 10:42 UTC (permalink / raw)
  To: cip-dev

commit b263b0067d727ffb230bd8ac75a6a3f9ff448f0f upstream.

This patch enables WLAN support for the CAT874 board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 38 +++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index b7183f1..72cccfc 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -104,6 +104,17 @@
 			  1800000 0>;
 	};
 
+	wlan_en_reg: fixedregulator {
+		compatible = "regulator-fixed";
+		regulator-name = "wlan-en-regulator";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		startup-delay-us = <70000>;
+
+		gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+
 	x13_clk: x13 {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
@@ -243,6 +254,12 @@
 		power-source = <1800>;
 	};
 
+	sdhi3_pins: sd3 {
+		groups = "sdhi3_data4", "sdhi3_ctrl";
+		function = "sdhi3";
+		power-source = <1800>;
+	};
+
 	sound_pins: sound {
 		groups = "ssi01239_ctrl", "ssi0_data";
 		function = "ssi";
@@ -300,6 +317,27 @@
 	status = "okay";
 };
 
+&sdhi3 {
+	status = "okay";
+	pinctrl-0 = <&sdhi3_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&wlan_en_reg>;
+	bus-width = <4>;
+	non-removable;
+	cap-power-off-card;
+	keep-power-in-suspend;
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+	wlcore: wlcore at 2 {
+		compatible = "ti,wl1837";
+		reg = <2>;
+		interrupt-parent = <&gpio1>;
+		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
+	};
+};
+
 &usb2_phy0 {
 	renesas,no-otg-pins;
 	status = "okay";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: dts: renesas: cat874: Add BT support
  2019-10-15 10:42 [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Biju Das
  2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 1/2] arm64: dts: renesas: cat874: Add WLAN support Biju Das
@ 2019-10-15 10:42 ` Biju Das
  2019-10-15 11:27 ` [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Pavel Machek
  2 siblings, 0 replies; 5+ messages in thread
From: Biju Das @ 2019-10-15 10:42 UTC (permalink / raw)
  To: cip-dev

commit 7b7c5676a877c4e66083888d87d52e4a0d0c2e82 upstream.

This patch enables BT support for the CAT874 board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index 72cccfc..fdca695 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -16,6 +16,7 @@
 
 	aliases {
 		serial0 = &scif2;
+		serial1 = &hscif2;
 	};
 
 	chosen {
@@ -154,6 +155,19 @@
 	clock-frequency = <48000000>;
 };
 
+&hscif2 {
+	pinctrl-0 = <&hscif2_pins>;
+	pinctrl-names = "default";
+
+	uart-has-rtscts;
+	status = "okay";
+
+	bluetooth {
+		compatible = "ti,wl1837-st";
+		enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
+	};
+};
+
 &i2c0 {
 	status = "okay";
 	clock-frequency = <100000>;
@@ -237,6 +251,11 @@
 		function = "i2c1";
 	};
 
+	hscif2_pins: hscif2 {
+		groups = "hscif2_data_a", "hscif2_ctrl_a";
+		function = "hscif2";
+	};
+
 	scif2_pins: scif2 {
 		groups = "scif2_data_a";
 		function = "scif2";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT
  2019-10-15 10:42 [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Biju Das
  2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 1/2] arm64: dts: renesas: cat874: Add WLAN support Biju Das
  2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: dts: renesas: cat874: Add BT support Biju Das
@ 2019-10-15 11:27 ` Pavel Machek
  2019-10-15 13:23   ` nobuhiro1.iwamatsu at toshiba.co.jp
  2 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2019-10-15 11:27 UTC (permalink / raw)
  To: cip-dev

Hi!

> This patch series add WLAN/BT support for EK874 platform.
> 
> This patch series is based on linux-4.19.y-cip and all the patches in this series are cherry-picked from linux rc tree.
> 

The series looks good. I can apply it to 4.19-cip...

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191015/f6397771/attachment.sig>

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

* [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT
  2019-10-15 11:27 ` [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Pavel Machek
@ 2019-10-15 13:23   ` nobuhiro1.iwamatsu at toshiba.co.jp
  0 siblings, 0 replies; 5+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2019-10-15 13:23 UTC (permalink / raw)
  To: cip-dev

Hi,

> -----Original Message-----
> From: Pavel Machek [mailto:pavel at denx.de]
> Sent: Tuesday, October 15, 2019 8:27 PM
> To: Biju Das <biju.das@bp.renesas.com>
> Cc: cip-dev at lists.cip-project.org; iwamatsu nobuhiro(?? ?? ???
> ?????) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>; Chris Paterson <chris.paterson2@renesas.com>;
> Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Subject: Re: [PATCH 4.19.y-cip 0/2] Add WLAN/BT
> 
> Hi!
> 
> > This patch series add WLAN/BT support for EK874 platform.
> >
> > This patch series is based on linux-4.19.y-cip and all the patches in
> this series are cherry-picked from linux rc tree.
> >
> 
> The series looks good. I can apply it to 4.19-cip...

I have the same opinion with Pavel.
Pavel, could you apply this series to 4.19-cip branch ?

Best regards,
  Nobuhiro


> 
> Best regards,
> 								Pavel
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

end of thread, other threads:[~2019-10-15 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-15 10:42 [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Biju Das
2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 1/2] arm64: dts: renesas: cat874: Add WLAN support Biju Das
2019-10-15 10:42 ` [cip-dev] [PATCH 4.19.y-cip 2/2] arm64: dts: renesas: cat874: Add BT support Biju Das
2019-10-15 11:27 ` [cip-dev] [PATCH 4.19.y-cip 0/2] Add WLAN/BT Pavel Machek
2019-10-15 13:23   ` nobuhiro1.iwamatsu at toshiba.co.jp

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).