linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file
@ 2018-07-10  5:09 Ryder Lee
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Ryder Lee @ 2018-07-10  5:09 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Rob Herring, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Ryder Lee, John Crispin, Sean Wang

Normally, we didn't release this kind of baord to user. This specific
board exists only in the early stage of development inside MediaTek -
and that may confuse peoples.

Hence this patch removes related files accordingly.

Cc: John Crispin <john@phrozen.org>
Cc: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 arch/arm/boot/dts/Makefile             |  1 -
 arch/arm/boot/dts/mt7623n-rfb-nand.dts | 73 -----------------------------
 arch/arm/boot/dts/mt7623n-rfb.dtsi     | 86 ----------------------------------
 3 files changed, 160 deletions(-)
 delete mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
 delete mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 37a3de7..dde494e 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt7623a-rfb-emmc.dtb \
 	mt7623a-rfb-nand.dtb \
 	mt7623n-rfb-emmc.dtb \
-	mt7623n-rfb-nand.dtb \
 	mt7623n-bananapi-bpi-r2.dtb \
 	mt8127-moose.dtb \
 	mt8135-evbp1.dtb
diff --git a/arch/arm/boot/dts/mt7623n-rfb-nand.dts b/arch/arm/boot/dts/mt7623n-rfb-nand.dts
deleted file mode 100644
index 96ff3c9..0000000
--- a/arch/arm/boot/dts/mt7623n-rfb-nand.dts
+++ /dev/null
@@ -1,73 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: John Crispin <john@phrozen.org>
- *
- */
-
-/dts-v1/;
-#include "mt7623n-rfb.dtsi"
-
-/ {
-	model = "MediaTek MT7623N NAND reference board";
-	compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
-};
-
-&bch {
-	status = "okay";
-};
-
-&nandc {
-	status = "okay";
-	pinctrl-names = "default";
-	pinctrl-0 = <&nand_pins_default>;
-
-	nand@0 {
-		reg = <0>;
-		spare_per_sector = <64>;
-		nand-ecc-mode = "hw";
-		nand-ecc-strength = <12>;
-		nand-ecc-step-size = <1024>;
-
-		partitions {
-			compatible = "fixed-partitions";
-			#address-cells = <1>;
-			#size-cells = <1>;
-
-			partition@0 {
-				label = "preloader";
-				reg = <0x0 0x40000>;
-			};
-
-			partition@40000 {
-				label = "uboot";
-				reg = <0x40000 0x80000>;
-			};
-
-			partition@c0000 {
-				label = "uboot-env";
-				reg = <0xC0000 0x40000>;
-			};
-
-			partition@140000 {
-				label = "bootimg";
-				reg = <0x140000 0x2000000>;
-			};
-
-			partition@2140000 {
-				label = "recovery";
-				reg = <0x2140000 0x2000000>;
-			};
-
-			partition@4140000 {
-				label = "rootfs";
-				reg = <0x4140000 0x1000000>;
-			};
-
-			partition@5140000 {
-				label = "usrdata";
-				reg = <0x5140000 0x1000000>;
-			};
-		};
-	};
-};
diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
deleted file mode 100644
index 5c5cc7d..0000000
--- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
+++ /dev/null
@@ -1,86 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (c) 2017 MediaTek Inc.
- * Author: John Crispin <john@phrozen.org>
- *	   Sean Wang <sean.wang@mediatek.com>
- *
- */
-
-/dts-v1/;
-#include "mt7623.dtsi"
-#include "mt6323.dtsi"
-
-/ {
-	aliases {
-		serial0 = &uart0;
-		serial1 = &uart1;
-		serial2 = &uart2;
-	};
-
-	chosen {
-		stdout-path = "serial2:115200n8";
-	};
-
-	cpus {
-		cpu0 {
-			proc-supply = <&mt6323_vproc_reg>;
-		};
-
-		cpu1 {
-			proc-supply = <&mt6323_vproc_reg>;
-		};
-
-		cpu2 {
-			proc-supply = <&mt6323_vproc_reg>;
-		};
-
-		cpu3 {
-			proc-supply = <&mt6323_vproc_reg>;
-		};
-	};
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0 0x80000000 0 0x40000000>;
-	};
-
-	usb_p1_vbus: regulator-5v {
-		compatible = "regulator-fixed";
-		regulator-name = "usb_vbus";
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
-		enable-active-high;
-	};
-};
-
-&mmc0 {
-	vmmc-supply = <&mt6323_vemc3v3_reg>;
-	vqmmc-supply = <&mt6323_vio18_reg>;
-};
-
-&mmc1 {
-	vmmc-supply = <&mt6323_vmch_reg>;
-	vqmmc-supply = <&mt6323_vmc_reg>;
-};
-
-&uart0 {
-	status = "okay";
-};
-
-&uart1 {
-	status = "okay";
-};
-
-&uart2 {
-	status = "okay";
-};
-
-&usb1 {
-	vbus-supply = <&usb_p1_vbus>;
-	status = "okay";
-};
-
-&u3phy1 {
-	status = "okay";
-};
-- 
1.9.1


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

* [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards
  2018-07-10  5:09 [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file Ryder Lee
@ 2018-07-10  5:09 ` Ryder Lee
  2018-07-10  5:59   ` John Crispin
                     ` (2 more replies)
  2018-07-10  5:59 ` [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file John Crispin
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 8+ messages in thread
From: Ryder Lee @ 2018-07-10  5:09 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Rob Herring, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Ryder Lee, John Crispin, Sean Wang

Cleanup binding document to get rid of unsupported reference boards
for MT7623N.

Cc: John Crispin <john@phrozen.org>
Cc: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 Documentation/devicetree/bindings/arm/mediatek.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
index 7d21ab3..c07ddf4 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.txt
+++ b/Documentation/devicetree/bindings/arm/mediatek.txt
@@ -59,9 +59,6 @@ Supported boards:
 - Reference board for MT7623n with eMMC:
     Required root node properties:
       - compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623";
-- Reference  board for MT7623n with NAND:
-    Required root node properties:
-      - compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
 - Bananapi BPI-R2 board:
       - compatible = "bananapi,bpi-r2", "mediatek,mt7623";
 - MTK mt8127 tablet moose EVB:
-- 
1.9.1


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

* Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file
  2018-07-10  5:09 [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file Ryder Lee
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
@ 2018-07-10  5:59 ` John Crispin
  2018-07-10  6:38 ` Sean Wang
  2018-07-16 13:59 ` Matthias Brugger
  3 siblings, 0 replies; 8+ messages in thread
From: John Crispin @ 2018-07-10  5:59 UTC (permalink / raw)
  To: Ryder Lee, Matthias Brugger
  Cc: Rob Herring, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Sean Wang



On 10/07/18 07:09, Ryder Lee wrote:
> Normally, we didn't release this kind of baord to user. This specific
> board exists only in the early stage of development inside MediaTek -
> and that may confuse peoples.
>
> Hence this patch removes related files accordingly.
>
> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
> ---
>   arch/arm/boot/dts/Makefile             |  1 -
>   arch/arm/boot/dts/mt7623n-rfb-nand.dts | 73 -----------------------------
>   arch/arm/boot/dts/mt7623n-rfb.dtsi     | 86 ----------------------------------
>   3 files changed, 160 deletions(-)
>   delete mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
>   delete mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 37a3de7..dde494e 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
>   	mt7623a-rfb-emmc.dtb \
>   	mt7623a-rfb-nand.dtb \
>   	mt7623n-rfb-emmc.dtb \
> -	mt7623n-rfb-nand.dtb \
>   	mt7623n-bananapi-bpi-r2.dtb \
>   	mt8127-moose.dtb \
>   	mt8135-evbp1.dtb
> diff --git a/arch/arm/boot/dts/mt7623n-rfb-nand.dts b/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> deleted file mode 100644
> index 96ff3c9..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> +++ /dev/null
> @@ -1,73 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623n-rfb.dtsi"
> -
> -/ {
> -	model = "MediaTek MT7623N NAND reference board";
> -	compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
> -};
> -
> -&bch {
> -	status = "okay";
> -};
> -
> -&nandc {
> -	status = "okay";
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&nand_pins_default>;
> -
> -	nand@0 {
> -		reg = <0>;
> -		spare_per_sector = <64>;
> -		nand-ecc-mode = "hw";
> -		nand-ecc-strength = <12>;
> -		nand-ecc-step-size = <1024>;
> -
> -		partitions {
> -			compatible = "fixed-partitions";
> -			#address-cells = <1>;
> -			#size-cells = <1>;
> -
> -			partition@0 {
> -				label = "preloader";
> -				reg = <0x0 0x40000>;
> -			};
> -
> -			partition@40000 {
> -				label = "uboot";
> -				reg = <0x40000 0x80000>;
> -			};
> -
> -			partition@c0000 {
> -				label = "uboot-env";
> -				reg = <0xC0000 0x40000>;
> -			};
> -
> -			partition@140000 {
> -				label = "bootimg";
> -				reg = <0x140000 0x2000000>;
> -			};
> -
> -			partition@2140000 {
> -				label = "recovery";
> -				reg = <0x2140000 0x2000000>;
> -			};
> -
> -			partition@4140000 {
> -				label = "rootfs";
> -				reg = <0x4140000 0x1000000>;
> -			};
> -
> -			partition@5140000 {
> -				label = "usrdata";
> -				reg = <0x5140000 0x1000000>;
> -			};
> -		};
> -	};
> -};
> diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
> deleted file mode 100644
> index 5c5cc7d..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
> +++ /dev/null
> @@ -1,86 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *	   Sean Wang <sean.wang@mediatek.com>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623.dtsi"
> -#include "mt6323.dtsi"
> -
> -/ {
> -	aliases {
> -		serial0 = &uart0;
> -		serial1 = &uart1;
> -		serial2 = &uart2;
> -	};
> -
> -	chosen {
> -		stdout-path = "serial2:115200n8";
> -	};
> -
> -	cpus {
> -		cpu0 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu1 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu2 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu3 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -	};
> -
> -	memory@80000000 {
> -		device_type = "memory";
> -		reg = <0 0x80000000 0 0x40000000>;
> -	};
> -
> -	usb_p1_vbus: regulator-5v {
> -		compatible = "regulator-fixed";
> -		regulator-name = "usb_vbus";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
> -		enable-active-high;
> -	};
> -};
> -
> -&mmc0 {
> -	vmmc-supply = <&mt6323_vemc3v3_reg>;
> -	vqmmc-supply = <&mt6323_vio18_reg>;
> -};
> -
> -&mmc1 {
> -	vmmc-supply = <&mt6323_vmch_reg>;
> -	vqmmc-supply = <&mt6323_vmc_reg>;
> -};
> -
> -&uart0 {
> -	status = "okay";
> -};
> -
> -&uart1 {
> -	status = "okay";
> -};
> -
> -&uart2 {
> -	status = "okay";
> -};
> -
> -&usb1 {
> -	vbus-supply = <&usb_p1_vbus>;
> -	status = "okay";
> -};
> -
> -&u3phy1 {
> -	status = "okay";
> -};


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

* Re: [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
@ 2018-07-10  5:59   ` John Crispin
  2018-07-10  6:38   ` Sean Wang
  2018-07-20 14:14   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: John Crispin @ 2018-07-10  5:59 UTC (permalink / raw)
  To: Ryder Lee, Matthias Brugger
  Cc: devicetree, Sean Wang, linux-kernel, Rob Herring, linux-mediatek,
	linux-arm-kernel



On 10/07/18 07:09, Ryder Lee wrote:
> Cleanup binding document to get rid of unsupported reference boards
> for MT7623N.
>
> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
> ---
>   Documentation/devicetree/bindings/arm/mediatek.txt | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
> index 7d21ab3..c07ddf4 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek.txt
> @@ -59,9 +59,6 @@ Supported boards:
>   - Reference board for MT7623n with eMMC:
>       Required root node properties:
>         - compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623";
> -- Reference  board for MT7623n with NAND:
> -    Required root node properties:
> -      - compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
>   - Bananapi BPI-R2 board:
>         - compatible = "bananapi,bpi-r2", "mediatek,mt7623";
>   - MTK mt8127 tablet moose EVB:


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

* Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file
  2018-07-10  5:09 [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file Ryder Lee
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
  2018-07-10  5:59 ` [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file John Crispin
@ 2018-07-10  6:38 ` Sean Wang
  2018-07-16 13:59 ` Matthias Brugger
  3 siblings, 0 replies; 8+ messages in thread
From: Sean Wang @ 2018-07-10  6:38 UTC (permalink / raw)
  To: Ryder Lee
  Cc: Matthias Brugger, Rob Herring, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, John Crispin

On Tue, 2018-07-10 at 13:09 +0800, Ryder Lee wrote:
> Normally, we didn't release this kind of baord to user. This specific
> board exists only in the early stage of development inside MediaTek -
> and that may confuse peoples.
> 
> Hence this patch removes related files accordingly.
> 

Acked-by: Sean Wang <sean.wang@mediatek.com>

> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> ---
>  arch/arm/boot/dts/Makefile             |  1 -
>  arch/arm/boot/dts/mt7623n-rfb-nand.dts | 73 -----------------------------
>  arch/arm/boot/dts/mt7623n-rfb.dtsi     | 86 ----------------------------------
>  3 files changed, 160 deletions(-)
>  delete mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
>  delete mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 37a3de7..dde494e 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
>  	mt7623a-rfb-emmc.dtb \
>  	mt7623a-rfb-nand.dtb \
>  	mt7623n-rfb-emmc.dtb \
> -	mt7623n-rfb-nand.dtb \
>  	mt7623n-bananapi-bpi-r2.dtb \
>  	mt8127-moose.dtb \
>  	mt8135-evbp1.dtb
> diff --git a/arch/arm/boot/dts/mt7623n-rfb-nand.dts b/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> deleted file mode 100644
> index 96ff3c9..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> +++ /dev/null
> @@ -1,73 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623n-rfb.dtsi"
> -
> -/ {
> -	model = "MediaTek MT7623N NAND reference board";
> -	compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
> -};
> -
> -&bch {
> -	status = "okay";
> -};
> -
> -&nandc {
> -	status = "okay";
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&nand_pins_default>;
> -
> -	nand@0 {
> -		reg = <0>;
> -		spare_per_sector = <64>;
> -		nand-ecc-mode = "hw";
> -		nand-ecc-strength = <12>;
> -		nand-ecc-step-size = <1024>;
> -
> -		partitions {
> -			compatible = "fixed-partitions";
> -			#address-cells = <1>;
> -			#size-cells = <1>;
> -
> -			partition@0 {
> -				label = "preloader";
> -				reg = <0x0 0x40000>;
> -			};
> -
> -			partition@40000 {
> -				label = "uboot";
> -				reg = <0x40000 0x80000>;
> -			};
> -
> -			partition@c0000 {
> -				label = "uboot-env";
> -				reg = <0xC0000 0x40000>;
> -			};
> -
> -			partition@140000 {
> -				label = "bootimg";
> -				reg = <0x140000 0x2000000>;
> -			};
> -
> -			partition@2140000 {
> -				label = "recovery";
> -				reg = <0x2140000 0x2000000>;
> -			};
> -
> -			partition@4140000 {
> -				label = "rootfs";
> -				reg = <0x4140000 0x1000000>;
> -			};
> -
> -			partition@5140000 {
> -				label = "usrdata";
> -				reg = <0x5140000 0x1000000>;
> -			};
> -		};
> -	};
> -};
> diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
> deleted file mode 100644
> index 5c5cc7d..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
> +++ /dev/null
> @@ -1,86 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *	   Sean Wang <sean.wang@mediatek.com>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623.dtsi"
> -#include "mt6323.dtsi"
> -
> -/ {
> -	aliases {
> -		serial0 = &uart0;
> -		serial1 = &uart1;
> -		serial2 = &uart2;
> -	};
> -
> -	chosen {
> -		stdout-path = "serial2:115200n8";
> -	};
> -
> -	cpus {
> -		cpu0 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu1 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu2 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu3 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -	};
> -
> -	memory@80000000 {
> -		device_type = "memory";
> -		reg = <0 0x80000000 0 0x40000000>;
> -	};
> -
> -	usb_p1_vbus: regulator-5v {
> -		compatible = "regulator-fixed";
> -		regulator-name = "usb_vbus";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
> -		enable-active-high;
> -	};
> -};
> -
> -&mmc0 {
> -	vmmc-supply = <&mt6323_vemc3v3_reg>;
> -	vqmmc-supply = <&mt6323_vio18_reg>;
> -};
> -
> -&mmc1 {
> -	vmmc-supply = <&mt6323_vmch_reg>;
> -	vqmmc-supply = <&mt6323_vmc_reg>;
> -};
> -
> -&uart0 {
> -	status = "okay";
> -};
> -
> -&uart1 {
> -	status = "okay";
> -};
> -
> -&uart2 {
> -	status = "okay";
> -};
> -
> -&usb1 {
> -	vbus-supply = <&usb_p1_vbus>;
> -	status = "okay";
> -};
> -
> -&u3phy1 {
> -	status = "okay";
> -};



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

* Re: [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
  2018-07-10  5:59   ` John Crispin
@ 2018-07-10  6:38   ` Sean Wang
  2018-07-20 14:14   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: Sean Wang @ 2018-07-10  6:38 UTC (permalink / raw)
  To: Ryder Lee
  Cc: Matthias Brugger, Rob Herring, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, John Crispin

On Tue, 2018-07-10 at 13:09 +0800, Ryder Lee wrote:
> Cleanup binding document to get rid of unsupported reference boards
> for MT7623N.
> 
> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.txt | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
> index 7d21ab3..c07ddf4 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek.txt
> @@ -59,9 +59,6 @@ Supported boards:
>  - Reference board for MT7623n with eMMC:
>      Required root node properties:
>        - compatible = "mediatek,mt7623n-rfb-emmc", "mediatek,mt7623";
> -- Reference  board for MT7623n with NAND:
> -    Required root node properties:
> -      - compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";

Acked-by: Sean Wang <sean.wang@mediatek.com>

>  - Bananapi BPI-R2 board:
>        - compatible = "bananapi,bpi-r2", "mediatek,mt7623";
>  - MTK mt8127 tablet moose EVB:



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

* Re: [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file
  2018-07-10  5:09 [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file Ryder Lee
                   ` (2 preceding siblings ...)
  2018-07-10  6:38 ` Sean Wang
@ 2018-07-16 13:59 ` Matthias Brugger
  3 siblings, 0 replies; 8+ messages in thread
From: Matthias Brugger @ 2018-07-16 13:59 UTC (permalink / raw)
  To: Ryder Lee
  Cc: Rob Herring, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, John Crispin, Sean Wang



On 10/07/18 07:09, Ryder Lee wrote:
> Normally, we didn't release this kind of baord to user. This specific
> board exists only in the early stage of development inside MediaTek -
> and that may confuse peoples.
> 
> Hence this patch removes related files accordingly.
> 
> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>

Whole series pushed to v4.18-next/dts32

Thanks a lot to everybody who provided feedback.

Regards,
Matthias

> ---
>  arch/arm/boot/dts/Makefile             |  1 -
>  arch/arm/boot/dts/mt7623n-rfb-nand.dts | 73 -----------------------------
>  arch/arm/boot/dts/mt7623n-rfb.dtsi     | 86 ----------------------------------
>  3 files changed, 160 deletions(-)
>  delete mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
>  delete mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 37a3de7..dde494e 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -1168,7 +1168,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
>  	mt7623a-rfb-emmc.dtb \
>  	mt7623a-rfb-nand.dtb \
>  	mt7623n-rfb-emmc.dtb \
> -	mt7623n-rfb-nand.dtb \
>  	mt7623n-bananapi-bpi-r2.dtb \
>  	mt8127-moose.dtb \
>  	mt8135-evbp1.dtb
> diff --git a/arch/arm/boot/dts/mt7623n-rfb-nand.dts b/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> deleted file mode 100644
> index 96ff3c9..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb-nand.dts
> +++ /dev/null
> @@ -1,73 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623n-rfb.dtsi"
> -
> -/ {
> -	model = "MediaTek MT7623N NAND reference board";
> -	compatible = "mediatek,mt7623n-rfb-nand", "mediatek,mt7623";
> -};
> -
> -&bch {
> -	status = "okay";
> -};
> -
> -&nandc {
> -	status = "okay";
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&nand_pins_default>;
> -
> -	nand@0 {
> -		reg = <0>;
> -		spare_per_sector = <64>;
> -		nand-ecc-mode = "hw";
> -		nand-ecc-strength = <12>;
> -		nand-ecc-step-size = <1024>;
> -
> -		partitions {
> -			compatible = "fixed-partitions";
> -			#address-cells = <1>;
> -			#size-cells = <1>;
> -
> -			partition@0 {
> -				label = "preloader";
> -				reg = <0x0 0x40000>;
> -			};
> -
> -			partition@40000 {
> -				label = "uboot";
> -				reg = <0x40000 0x80000>;
> -			};
> -
> -			partition@c0000 {
> -				label = "uboot-env";
> -				reg = <0xC0000 0x40000>;
> -			};
> -
> -			partition@140000 {
> -				label = "bootimg";
> -				reg = <0x140000 0x2000000>;
> -			};
> -
> -			partition@2140000 {
> -				label = "recovery";
> -				reg = <0x2140000 0x2000000>;
> -			};
> -
> -			partition@4140000 {
> -				label = "rootfs";
> -				reg = <0x4140000 0x1000000>;
> -			};
> -
> -			partition@5140000 {
> -				label = "usrdata";
> -				reg = <0x5140000 0x1000000>;
> -			};
> -		};
> -	};
> -};
> diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
> deleted file mode 100644
> index 5c5cc7d..0000000
> --- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
> +++ /dev/null
> @@ -1,86 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * Copyright (c) 2017 MediaTek Inc.
> - * Author: John Crispin <john@phrozen.org>
> - *	   Sean Wang <sean.wang@mediatek.com>
> - *
> - */
> -
> -/dts-v1/;
> -#include "mt7623.dtsi"
> -#include "mt6323.dtsi"
> -
> -/ {
> -	aliases {
> -		serial0 = &uart0;
> -		serial1 = &uart1;
> -		serial2 = &uart2;
> -	};
> -
> -	chosen {
> -		stdout-path = "serial2:115200n8";
> -	};
> -
> -	cpus {
> -		cpu0 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu1 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu2 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -
> -		cpu3 {
> -			proc-supply = <&mt6323_vproc_reg>;
> -		};
> -	};
> -
> -	memory@80000000 {
> -		device_type = "memory";
> -		reg = <0 0x80000000 0 0x40000000>;
> -	};
> -
> -	usb_p1_vbus: regulator-5v {
> -		compatible = "regulator-fixed";
> -		regulator-name = "usb_vbus";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
> -		enable-active-high;
> -	};
> -};
> -
> -&mmc0 {
> -	vmmc-supply = <&mt6323_vemc3v3_reg>;
> -	vqmmc-supply = <&mt6323_vio18_reg>;
> -};
> -
> -&mmc1 {
> -	vmmc-supply = <&mt6323_vmch_reg>;
> -	vqmmc-supply = <&mt6323_vmc_reg>;
> -};
> -
> -&uart0 {
> -	status = "okay";
> -};
> -
> -&uart1 {
> -	status = "okay";
> -};
> -
> -&uart2 {
> -	status = "okay";
> -};
> -
> -&usb1 {
> -	vbus-supply = <&usb_p1_vbus>;
> -	status = "okay";
> -};
> -
> -&u3phy1 {
> -	status = "okay";
> -};
> 

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

* Re: [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards
  2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
  2018-07-10  5:59   ` John Crispin
  2018-07-10  6:38   ` Sean Wang
@ 2018-07-20 14:14   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-07-20 14:14 UTC (permalink / raw)
  To: Ryder Lee
  Cc: Matthias Brugger, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, John Crispin, Sean Wang

On Tue, Jul 10, 2018 at 01:09:26PM +0800, Ryder Lee wrote:
> Cleanup binding document to get rid of unsupported reference boards
> for MT7623N.
> 
> Cc: John Crispin <john@phrozen.org>
> Cc: Sean Wang <sean.wang@mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.txt | 3 ---
>  1 file changed, 3 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2018-07-20 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10  5:09 [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file Ryder Lee
2018-07-10  5:09 ` [PATCH 2/2] dt-bindings: arm: mediatek: cleanup MT7623N reference boards Ryder Lee
2018-07-10  5:59   ` John Crispin
2018-07-10  6:38   ` Sean Wang
2018-07-20 14:14   ` Rob Herring
2018-07-10  5:59 ` [PATCH 1/2] arm: dts: mt7623: cleanup MT7623N NAND dts file John Crispin
2018-07-10  6:38 ` Sean Wang
2018-07-16 13:59 ` Matthias Brugger

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