All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] move wifi node out of meson-gx-p23x-q20x.dtsi
@ 2018-06-23 19:38 Martin Blumenstingl
  2018-06-23 19:38 ` [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts Martin Blumenstingl
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Blumenstingl @ 2018-06-23 19:38 UTC (permalink / raw)
  To: linus-amlogic

while working on support for the S905W SoC I had a look at
meson-gx-p23x-q20x.dtsi. this defines that the board uses a Broadcom
SDIO wifi chip.
I discovered that NEXBOX A1 includes that .dtsi, but it comes with a
QCA9377 SDIO wifi chip (thus not Broadcom based).



This patch is based on my patch ([0]) from the series "enable the
SAR ADC for all boards based on P23x and Q20x"


[0] https://patchwork.kernel.org/patch/10483679/


Martin Blumenstingl (1):
  ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's
    .dts

 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi  | 5 -----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts       | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts       | 7 +++++++
 5 files changed, 28 insertions(+), 5 deletions(-)

-- 
2.18.0

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

* [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts
  2018-06-23 19:38 [PATCH 0/1] move wifi node out of meson-gx-p23x-q20x.dtsi Martin Blumenstingl
@ 2018-06-23 19:38 ` Martin Blumenstingl
  2018-06-26  8:07   ` Neil Armstrong
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Blumenstingl @ 2018-06-23 19:38 UTC (permalink / raw)
  To: linus-amlogic

meson-gx-p23x-q20x.dtsi is currently used by five boards:
- Amlogic P230 and P231 (which should be identical, apart from the
  external RGMII PHY on P230 whereas P231 can only use the internal PHY)
- Amlogic Q200 (identical to P230 but with an S912 GXM SoC instead of a
  GXL S905D SoC) and Q201 (identical to P231 but with an S912 GXM SoC
  instead of a GXL S905D SoC)
- NEXBOX A1 (based on the S912 GXM SoC)

The Amlogic P230 board uses a Broadcom BCM4356 SDIO wifi chip. Since the
other Amlogic reference design boards are very similar it's safe to
assume that these also use a Broadcom based SDIO wifi chip (which is
also how it was configured in meson-gx-p23x-q20x.dtsi).

However, NEXBOX A1 comes with a "longsys LTM8830" SDIO wifi module,
which is based on the "Qualcomm Atheros QCA9377-3(QCA1023-0)" chipset.

Thus move the wifi node from meson-gx-p23x-q20x.dtsi to each of the
four Amlogic reference board's .dts files.
There are no devicetree bindings for the QCA9377 SDIO wifi module yet,
so nothing is added to meson-gxm-nexbox-a1.dts.

Fixes: f51b454549b812 ("ARM64: dts: meson-gxm: Add support for the Nexbox A1")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi  | 5 -----
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts       | 7 +++++++
 arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts       | 7 +++++++
 5 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
index 01616982af0d..765247bc4f24 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
@@ -172,11 +172,6 @@
 
 	vmmc-supply = <&vddao_3v3>;
 	vqmmc-supply = <&vddio_boot>;
-
-	brcmf: wifi at 1 {
-		reg = <1>;
-		compatible = "brcm,bcm4329-fmac";
-	};
 };
 
 /* SD card */
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
index 9c5be060fd5e..15014faa2ab2 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
@@ -100,3 +100,10 @@
 		remote-endpoint = <&hdmi_connector_in>;
 	};
 };
+
+&sd_emmc_a {
+	brcmf: wifi at 1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+	};
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts
index 80a231476b80..92c425d0259c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts
@@ -19,3 +19,10 @@
 	phy-mode = "rmii";
 	phy-handle = <&internal_phy>;
 };
+
+&sd_emmc_a {
+	brcmf: wifi at 1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+	};
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
index 432f7a435fba..73d656e4aade 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
@@ -71,3 +71,10 @@
 		interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
 	};
 };
+
+&sd_emmc_a {
+	brcmf: wifi at 1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+	};
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts
index 8d132b17514a..d02b80d77378 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts
@@ -19,3 +19,10 @@
 	phy-mode = "rmii";
 	phy-handle = <&internal_phy>;
 };
+
+&sd_emmc_a {
+	brcmf: wifi at 1 {
+		reg = <1>;
+		compatible = "brcm,bcm4329-fmac";
+	};
+};
-- 
2.18.0

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

* [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts
  2018-06-23 19:38 ` [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts Martin Blumenstingl
@ 2018-06-26  8:07   ` Neil Armstrong
  2018-06-29 21:37     ` Kevin Hilman
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Armstrong @ 2018-06-26  8:07 UTC (permalink / raw)
  To: linus-amlogic

On 23/06/2018 21:38, Martin Blumenstingl wrote:
> meson-gx-p23x-q20x.dtsi is currently used by five boards:
> - Amlogic P230 and P231 (which should be identical, apart from the
>   external RGMII PHY on P230 whereas P231 can only use the internal PHY)
> - Amlogic Q200 (identical to P230 but with an S912 GXM SoC instead of a
>   GXL S905D SoC) and Q201 (identical to P231 but with an S912 GXM SoC
>   instead of a GXL S905D SoC)
> - NEXBOX A1 (based on the S912 GXM SoC)
> 
> The Amlogic P230 board uses a Broadcom BCM4356 SDIO wifi chip. Since the
> other Amlogic reference design boards are very similar it's safe to
> assume that these also use a Broadcom based SDIO wifi chip (which is
> also how it was configured in meson-gx-p23x-q20x.dtsi).
> 
> However, NEXBOX A1 comes with a "longsys LTM8830" SDIO wifi module,
> which is based on the "Qualcomm Atheros QCA9377-3(QCA1023-0)" chipset.
> 
> Thus move the wifi node from meson-gx-p23x-q20x.dtsi to each of the
> four Amlogic reference board's .dts files.
> There are no devicetree bindings for the QCA9377 SDIO wifi module yet,
> so nothing is added to meson-gxm-nexbox-a1.dts.
> 
> Fixes: f51b454549b812 ("ARM64: dts: meson-gxm: Add support for the Nexbox A1")
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi  | 5 -----
>  arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 7 +++++++
>  arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts | 7 +++++++
>  arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts       | 7 +++++++
>  arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts       | 7 +++++++
>  5 files changed, 28 insertions(+), 5 deletions(-)
> 
[...]
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>

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

* [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts
  2018-06-26  8:07   ` Neil Armstrong
@ 2018-06-29 21:37     ` Kevin Hilman
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2018-06-29 21:37 UTC (permalink / raw)
  To: linus-amlogic

Neil Armstrong <narmstrong@baylibre.com> writes:

> On 23/06/2018 21:38, Martin Blumenstingl wrote:
>> meson-gx-p23x-q20x.dtsi is currently used by five boards:
>> - Amlogic P230 and P231 (which should be identical, apart from the
>>   external RGMII PHY on P230 whereas P231 can only use the internal PHY)
>> - Amlogic Q200 (identical to P230 but with an S912 GXM SoC instead of a
>>   GXL S905D SoC) and Q201 (identical to P231 but with an S912 GXM SoC
>>   instead of a GXL S905D SoC)
>> - NEXBOX A1 (based on the S912 GXM SoC)
>> 
>> The Amlogic P230 board uses a Broadcom BCM4356 SDIO wifi chip. Since the
>> other Amlogic reference design boards are very similar it's safe to
>> assume that these also use a Broadcom based SDIO wifi chip (which is
>> also how it was configured in meson-gx-p23x-q20x.dtsi).
>> 
>> However, NEXBOX A1 comes with a "longsys LTM8830" SDIO wifi module,
>> which is based on the "Qualcomm Atheros QCA9377-3(QCA1023-0)" chipset.
>> 
>> Thus move the wifi node from meson-gx-p23x-q20x.dtsi to each of the
>> four Amlogic reference board's .dts files.
>> There are no devicetree bindings for the QCA9377 SDIO wifi module yet,
>> so nothing is added to meson-gxm-nexbox-a1.dts.
>> 
>> Fixes: f51b454549b812 ("ARM64: dts: meson-gxm: Add support for the Nexbox A1")
>> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>> ---
>>  arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi  | 5 -----
>>  arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 7 +++++++
>>  arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts | 7 +++++++
>>  arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts       | 7 +++++++
>>  arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts       | 7 +++++++
>>  5 files changed, 28 insertions(+), 5 deletions(-)
>> 
> [...]
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>

Applied to v4.19/dt64,

Kevin

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

end of thread, other threads:[~2018-06-29 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-23 19:38 [PATCH 0/1] move wifi node out of meson-gx-p23x-q20x.dtsi Martin Blumenstingl
2018-06-23 19:38 ` [PATCH 1/1] ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts Martin Blumenstingl
2018-06-26  8:07   ` Neil Armstrong
2018-06-29 21:37     ` Kevin Hilman

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.