All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] addr nor flash node for mt2701
@ 2017-01-25  3:38 ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel

Update DT bindings, clarify compatible strings that mt2701-nor node should contain. 
This patch series based on v4.10-rc2, include MT2701 spi nor node.
Dependent on "Add clock and power domain DT nodes for Mediatek MT2701"
[1] http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html

Guochun Mao (2):
  Documentation: mtk-quadspi: update DT bindings
  arm: dts: mt2701: add nor flash node

 .../devicetree/bindings/mtd/mtk-quadspi.txt        |  8 ++++++-
 arch/arm/boot/dts/mt2701-evb.dts                   | 25 ++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi                      | 12 +++++++++++
 3 files changed, 44 insertions(+), 1 deletion(-)

-- 
1.8.1.1.dirty

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

* [PATCH v2 0/2] addr nor flash node for mt2701
@ 2017-01-25  3:38 ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel

Update DT bindings, clarify compatible strings that mt2701-nor node should contain. 
This patch series based on v4.10-rc2, include MT2701 spi nor node.
Dependent on "Add clock and power domain DT nodes for Mediatek MT2701"
[1] http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html

Guochun Mao (2):
  Documentation: mtk-quadspi: update DT bindings
  arm: dts: mt2701: add nor flash node

 .../devicetree/bindings/mtd/mtk-quadspi.txt        |  8 ++++++-
 arch/arm/boot/dts/mt2701-evb.dts                   | 25 ++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi                      | 12 +++++++++++
 3 files changed, 44 insertions(+), 1 deletion(-)

-- 
1.8.1.1.dirty

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

* [PATCH v2 0/2] addr nor flash node for mt2701
@ 2017-01-25  3:38 ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Update DT bindings, clarify compatible strings that mt2701-nor node should contain. 
This patch series based on v4.10-rc2, include MT2701 spi nor node.
Dependent on "Add clock and power domain DT nodes for Mediatek MT2701"
[1] http://lists.infradead.org/pipermail/linux-mediatek/2016-December/007637.html

Guochun Mao (2):
  Documentation: mtk-quadspi: update DT bindings
  arm: dts: mt2701: add nor flash node

 .../devicetree/bindings/mtd/mtk-quadspi.txt        |  8 ++++++-
 arch/arm/boot/dts/mt2701-evb.dts                   | 25 ++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi                      | 12 +++++++++++
 3 files changed, 44 insertions(+), 1 deletion(-)

-- 
1.8.1.1.dirty

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

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
  2017-01-25  3:38 ` Guochun Mao
  (?)
@ 2017-01-25  3:38   ` Guochun Mao
  -1 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel, Guochun Mao

Add "mediatek,mt2701-nor" for nor flash node's compatible.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
---
 .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
index fb314f0..5ded66a 100644
--- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
+++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
@@ -1,7 +1,13 @@
 * Serial NOR flash controller for MTK MT81xx (and similar)
 
 Required properties:
-- compatible: 	  should be "mediatek,mt8173-nor";
+- compatible: 	  The possible values are:
+		  "mediatek,mt2701-nor"
+		  "mediatek,mt7623-nor"
+		  "mediatek,mt8173-nor"
+		  For mt8173, compatible should be "mediatek,mt8173-nor".
+		  For every other SoC, should contain both the SoC-specific compatible string
+		  and "mediatek,mt8173-nor".
 - reg: 		  physical base address and length of the controller's register
 - clocks: 	  the phandle of the clocks needed by the nor controller
 - clock-names: 	  the names of the clocks
-- 
1.7.9.5

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

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-25  3:38   ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel, Guochun Mao

Add "mediatek,mt2701-nor" for nor flash node's compatible.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
---
 .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
index fb314f0..5ded66a 100644
--- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
+++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
@@ -1,7 +1,13 @@
 * Serial NOR flash controller for MTK MT81xx (and similar)
 
 Required properties:
-- compatible: 	  should be "mediatek,mt8173-nor";
+- compatible: 	  The possible values are:
+		  "mediatek,mt2701-nor"
+		  "mediatek,mt7623-nor"
+		  "mediatek,mt8173-nor"
+		  For mt8173, compatible should be "mediatek,mt8173-nor".
+		  For every other SoC, should contain both the SoC-specific compatible string
+		  and "mediatek,mt8173-nor".
 - reg: 		  physical base address and length of the controller's register
 - clocks: 	  the phandle of the clocks needed by the nor controller
 - clock-names: 	  the names of the clocks
-- 
1.7.9.5

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

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-25  3:38   ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Add "mediatek,mt2701-nor" for nor flash node's compatible.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
---
 .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
index fb314f0..5ded66a 100644
--- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
+++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
@@ -1,7 +1,13 @@
 * Serial NOR flash controller for MTK MT81xx (and similar)
 
 Required properties:
-- compatible: 	  should be "mediatek,mt8173-nor";
+- compatible: 	  The possible values are:
+		  "mediatek,mt2701-nor"
+		  "mediatek,mt7623-nor"
+		  "mediatek,mt8173-nor"
+		  For mt8173, compatible should be "mediatek,mt8173-nor".
+		  For every other SoC, should contain both the SoC-specific compatible string
+		  and "mediatek,mt8173-nor".
 - reg: 		  physical base address and length of the controller's register
 - clocks: 	  the phandle of the clocks needed by the nor controller
 - clock-names: 	  the names of the clocks
-- 
1.7.9.5

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-01-25  3:38   ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel, Guochun Mao

Add Mediatek nor flash node.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
---
 arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
index 082ca88..85e5ae8 100644
--- a/arch/arm/boot/dts/mt2701-evb.dts
+++ b/arch/arm/boot/dts/mt2701-evb.dts
@@ -24,6 +24,31 @@
 	};
 };
 
+&nor_flash {
+	pinctrl-names = "default";
+	pinctrl-0 = <&nor_pins_default>;
+	status = "okay";
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+	};
+};
+
+&pio {
+	nor_pins_default: nor {
+		pins1 {
+			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
+				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
+				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
+				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
+				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
+				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
+			drive-strength = <MTK_DRIVE_4mA>;
+			bias-pull-up;
+		};
+	};
+};
+
 &uart0 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index bdf8954..1eefce4 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -227,6 +227,18 @@
 		status = "disabled";
 	};
 
+	nor_flash: spi@11014000 {
+		compatible = "mediatek,mt2701-nor",
+			     "mediatek,mt8173-nor";
+		reg = <0 0x11014000 0 0xe0>;
+		clocks = <&pericfg CLK_PERI_FLASH>,
+			 <&topckgen CLK_TOP_FLASH_SEL>;
+		clock-names = "spi", "sf";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	mmsys: syscon@14000000 {
 		compatible = "mediatek,mt2701-mmsys", "syscon";
 		reg = <0 0x14000000 0 0x1000>;
-- 
1.7.9.5

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-01-25  3:38   ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Guochun Mao

Add Mediatek nor flash node.

Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
---
 arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
index 082ca88..85e5ae8 100644
--- a/arch/arm/boot/dts/mt2701-evb.dts
+++ b/arch/arm/boot/dts/mt2701-evb.dts
@@ -24,6 +24,31 @@
 	};
 };
 
+&nor_flash {
+	pinctrl-names = "default";
+	pinctrl-0 = <&nor_pins_default>;
+	status = "okay";
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+	};
+};
+
+&pio {
+	nor_pins_default: nor {
+		pins1 {
+			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
+				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
+				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
+				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
+				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
+				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
+			drive-strength = <MTK_DRIVE_4mA>;
+			bias-pull-up;
+		};
+	};
+};
+
 &uart0 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index bdf8954..1eefce4 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -227,6 +227,18 @@
 		status = "disabled";
 	};
 
+	nor_flash: spi@11014000 {
+		compatible = "mediatek,mt2701-nor",
+			     "mediatek,mt8173-nor";
+		reg = <0 0x11014000 0 0xe0>;
+		clocks = <&pericfg CLK_PERI_FLASH>,
+			 <&topckgen CLK_TOP_FLASH_SEL>;
+		clock-names = "spi", "sf";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	mmsys: syscon@14000000 {
 		compatible = "mediatek,mt2701-mmsys", "syscon";
 		reg = <0 0x14000000 0 0x1000>;
-- 
1.7.9.5

--
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] 43+ messages in thread

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-01-25  3:38   ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-01-25  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Add Mediatek nor flash node.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
---
 arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
 arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
index 082ca88..85e5ae8 100644
--- a/arch/arm/boot/dts/mt2701-evb.dts
+++ b/arch/arm/boot/dts/mt2701-evb.dts
@@ -24,6 +24,31 @@
 	};
 };
 
+&nor_flash {
+	pinctrl-names = "default";
+	pinctrl-0 = <&nor_pins_default>;
+	status = "okay";
+	flash at 0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+	};
+};
+
+&pio {
+	nor_pins_default: nor {
+		pins1 {
+			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
+				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
+				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
+				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
+				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
+				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
+			drive-strength = <MTK_DRIVE_4mA>;
+			bias-pull-up;
+		};
+	};
+};
+
 &uart0 {
 	status = "okay";
 };
diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
index bdf8954..1eefce4 100644
--- a/arch/arm/boot/dts/mt2701.dtsi
+++ b/arch/arm/boot/dts/mt2701.dtsi
@@ -227,6 +227,18 @@
 		status = "disabled";
 	};
 
+	nor_flash: spi at 11014000 {
+		compatible = "mediatek,mt2701-nor",
+			     "mediatek,mt8173-nor";
+		reg = <0 0x11014000 0 0xe0>;
+		clocks = <&pericfg CLK_PERI_FLASH>,
+			 <&topckgen CLK_TOP_FLASH_SEL>;
+		clock-names = "spi", "sf";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	mmsys: syscon at 14000000 {
 		compatible = "mediatek,mt2701-mmsys", "syscon";
 		reg = <0 0x14000000 0 0x1000>;
-- 
1.7.9.5

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
  2017-01-25  3:38   ` Guochun Mao
@ 2017-01-25  5:39     ` John Crispin
  -1 siblings, 0 replies; 43+ messages in thread
From: John Crispin @ 2017-01-25  5:39 UTC (permalink / raw)
  To: Guochun Mao, Brian Norris
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, Rob Herring, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel



On 25/01/2017 04:38, Guochun Mao wrote:
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> index fb314f0..5ded66a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> @@ -1,7 +1,13 @@
>  * Serial NOR flash controller for MTK MT81xx (and similar)
>  
>  Required properties:
> -- compatible: 	  should be "mediatek,mt8173-nor";
> +- compatible: 	  The possible values are:
> +		  "mediatek,mt2701-nor"
> +		  "mediatek,mt7623-nor"

Thanks !

Acked-by: John Crispin <john@phrozen.org>


> +		  "mediatek,mt8173-nor"
> +		  For mt8173, compatible should be "mediatek,mt8173-nor".
> +		  For every other SoC, should contain both the SoC-specific compatible string
> +		  and "mediatek,mt8173-nor".
>  - reg: 		  physical base address and length of the controller's register
>  - clocks: 	  the phandle of the clocks needed by the nor controller
>  - clock-names: 	  the names of the clocks
> 

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

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-25  5:39     ` John Crispin
  0 siblings, 0 replies; 43+ messages in thread
From: John Crispin @ 2017-01-25  5:39 UTC (permalink / raw)
  To: linux-arm-kernel



On 25/01/2017 04:38, Guochun Mao wrote:
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> index fb314f0..5ded66a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> @@ -1,7 +1,13 @@
>  * Serial NOR flash controller for MTK MT81xx (and similar)
>  
>  Required properties:
> -- compatible: 	  should be "mediatek,mt8173-nor";
> +- compatible: 	  The possible values are:
> +		  "mediatek,mt2701-nor"
> +		  "mediatek,mt7623-nor"

Thanks !

Acked-by: John Crispin <john@phrozen.org>


> +		  "mediatek,mt8173-nor"
> +		  For mt8173, compatible should be "mediatek,mt8173-nor".
> +		  For every other SoC, should contain both the SoC-specific compatible string
> +		  and "mediatek,mt8173-nor".
>  - reg: 		  physical base address and length of the controller's register
>  - clocks: 	  the phandle of the clocks needed by the nor controller
>  - clock-names: 	  the names of the clocks
> 

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-26 16:38     ` Cyrille Pitchen
  0 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-26 16:38 UTC (permalink / raw)
  To: Guochun Mao, Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Rob Herring, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

Le 25/01/2017 à 04:38, Guochun Mao a écrit :
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> index fb314f0..5ded66a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> @@ -1,7 +1,13 @@
>  * Serial NOR flash controller for MTK MT81xx (and similar)
>  
>  Required properties:
> -- compatible: 	  should be "mediatek,mt8173-nor";
> +- compatible: 	  The possible values are:
> +		  "mediatek,mt2701-nor"
> +		  "mediatek,mt7623-nor"
> +		  "mediatek,mt8173-nor"
> +		  For mt8173, compatible should be "mediatek,mt8173-nor".
> +		  For every other SoC, should contain both the SoC-specific compatible string
> +		  and "mediatek,mt8173-nor".
>  - reg: 		  physical base address and length of the controller's register
>  - clocks: 	  the phandle of the clocks needed by the nor controller
>  - clock-names: 	  the names of the clocks
> 

Rob, is it ok for you if I take this patch in the spi-nor tree?

Best regards,

Cyrille

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-26 16:38     ` Cyrille Pitchen
  0 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-26 16:38 UTC (permalink / raw)
  To: Guochun Mao, Brian Norris, John Crispin
  Cc: David Woodhouse, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Rob Herring, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Le 25/01/2017 à 04:38, Guochun Mao a écrit :
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> index fb314f0..5ded66a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> @@ -1,7 +1,13 @@
>  * Serial NOR flash controller for MTK MT81xx (and similar)
>  
>  Required properties:
> -- compatible: 	  should be "mediatek,mt8173-nor";
> +- compatible: 	  The possible values are:
> +		  "mediatek,mt2701-nor"
> +		  "mediatek,mt7623-nor"
> +		  "mediatek,mt8173-nor"
> +		  For mt8173, compatible should be "mediatek,mt8173-nor".
> +		  For every other SoC, should contain both the SoC-specific compatible string
> +		  and "mediatek,mt8173-nor".
>  - reg: 		  physical base address and length of the controller's register
>  - clocks: 	  the phandle of the clocks needed by the nor controller
>  - clock-names: 	  the names of the clocks
> 

Rob, is it ok for you if I take this patch in the spi-nor tree?

Best regards,

Cyrille
--
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] 43+ messages in thread

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-26 16:38     ` Cyrille Pitchen
  0 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-26 16:38 UTC (permalink / raw)
  To: linux-arm-kernel

Le 25/01/2017 ? 04:38, Guochun Mao a ?crit :
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> index fb314f0..5ded66a 100644
> --- a/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> +++ b/Documentation/devicetree/bindings/mtd/mtk-quadspi.txt
> @@ -1,7 +1,13 @@
>  * Serial NOR flash controller for MTK MT81xx (and similar)
>  
>  Required properties:
> -- compatible: 	  should be "mediatek,mt8173-nor";
> +- compatible: 	  The possible values are:
> +		  "mediatek,mt2701-nor"
> +		  "mediatek,mt7623-nor"
> +		  "mediatek,mt8173-nor"
> +		  For mt8173, compatible should be "mediatek,mt8173-nor".
> +		  For every other SoC, should contain both the SoC-specific compatible string
> +		  and "mediatek,mt8173-nor".
>  - reg: 		  physical base address and length of the controller's register
>  - clocks: 	  the phandle of the clocks needed by the nor controller
>  - clock-names: 	  the names of the clocks
> 

Rob, is it ok for you if I take this patch in the spi-nor tree?

Best regards,

Cyrille

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
  2017-01-25  3:38   ` Guochun Mao
  (?)
@ 2017-01-27 22:29     ` Rob Herring
  -1 siblings, 0 replies; 43+ messages in thread
From: Rob Herring @ 2017-01-27 22:29 UTC (permalink / raw)
  To: Guochun Mao
  Cc: Brian Norris, John Crispin, David Woodhouse, Boris Brezillon,
	Marek Vasut, Richard Weinberger, Cyrille Pitchen, Mark Rutland,
	Matthias Brugger, Russell King, linux-mtd, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel

On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

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

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-27 22:29     ` Rob Herring
  0 siblings, 0 replies; 43+ messages in thread
From: Rob Herring @ 2017-01-27 22:29 UTC (permalink / raw)
  To: Guochun Mao
  Cc: Mark Rutland, Boris Brezillon, devicetree, Richard Weinberger,
	Russell King, linux-kernel, Marek Vasut, linux-mtd, John Crispin,
	Matthias Brugger, linux-mediatek, Cyrille Pitchen, Brian Norris,
	David Woodhouse, linux-arm-kernel

On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-27 22:29     ` Rob Herring
  0 siblings, 0 replies; 43+ messages in thread
From: Rob Herring @ 2017-01-27 22:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

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

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
  2017-01-27 22:29     ` Rob Herring
  (?)
@ 2017-01-30 12:49       ` Cyrille Pitchen
  -1 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-30 12:49 UTC (permalink / raw)
  To: Rob Herring, Guochun Mao
  Cc: Brian Norris, John Crispin, David Woodhouse, Boris Brezillon,
	Marek Vasut, Richard Weinberger, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

Le 27/01/2017 à 23:29, Rob Herring a écrit :
> On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
>> Add "mediatek,mt2701-nor" for nor flash node's compatible.
>>
>> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
>> ---
>>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 
Applied to the github spi-nor tree.

Thanks!

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-30 12:49       ` Cyrille Pitchen
  0 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-30 12:49 UTC (permalink / raw)
  To: Rob Herring, Guochun Mao
  Cc: Brian Norris, John Crispin, David Woodhouse, Boris Brezillon,
	Marek Vasut, Richard Weinberger, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Le 27/01/2017 à 23:29, Rob Herring a écrit :
> On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
>> Add "mediatek,mt2701-nor" for nor flash node's compatible.
>>
>> Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
>> ---
>>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> 
Applied to the github spi-nor tree.

Thanks!
--
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] 43+ messages in thread

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-01-30 12:49       ` Cyrille Pitchen
  0 siblings, 0 replies; 43+ messages in thread
From: Cyrille Pitchen @ 2017-01-30 12:49 UTC (permalink / raw)
  To: linux-arm-kernel

Le 27/01/2017 ? 23:29, Rob Herring a ?crit :
> On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
>> Add "mediatek,mt2701-nor" for nor flash node's compatible.
>>
>> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
>> ---
>>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
>>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 
Applied to the github spi-nor tree.

Thanks!

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-02-02  3:21         ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-02  3:21 UTC (permalink / raw)
  To: Cyrille Pitchen, Rob Herring
  Cc: Brian Norris, John Crispin, David Woodhouse, Boris Brezillon,
	Marek Vasut, Richard Weinberger, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

On Mon, 2017-01-30 at 13:49 +0100, Cyrille Pitchen wrote:
> Le 27/01/2017 à 23:29, Rob Herring a écrit :
> > On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> >> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> >>
> >> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> >> ---
> >>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
> >>  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > Acked-by: Rob Herring <robh@kernel.org>
> > 
> Applied to the github spi-nor tree.
> 
> Thanks!

Thank you very much!

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

* Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-02-02  3:21         ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-02  3:21 UTC (permalink / raw)
  To: Cyrille Pitchen, Rob Herring
  Cc: Brian Norris, John Crispin, David Woodhouse, Boris Brezillon,
	Marek Vasut, Richard Weinberger, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Mon, 2017-01-30 at 13:49 +0100, Cyrille Pitchen wrote:
> Le 27/01/2017 à 23:29, Rob Herring a écrit :
> > On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> >> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> >>
> >> Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> >> ---
> >>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
> >>  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> > 
> Applied to the github spi-nor tree.
> 
> Thanks!

Thank you very much!

--
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] 43+ messages in thread

* [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings
@ 2017-02-02  3:21         ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-02  3:21 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, 2017-01-30 at 13:49 +0100, Cyrille Pitchen wrote:
> Le 27/01/2017 ? 23:29, Rob Herring a ?crit :
> > On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote:
> >> Add "mediatek,mt2701-nor" for nor flash node's compatible.
> >>
> >> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> >> ---
> >>  .../devicetree/bindings/mtd/mtk-quadspi.txt        |    8 +++++++-
> >>  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > Acked-by: Rob Herring <robh@kernel.org>
> > 
> Applied to the github spi-nor tree.
> 
> Thanks!

Thank you very much!

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
  2017-01-25  3:38   ` Guochun Mao
  (?)
@ 2017-02-05  4:00     ` Guochun Mao
  -1 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-05  4:00 UTC (permalink / raw)
  To: Boris Brezillon, Marek Vasut
  Cc: Brian Norris, John Crispin, David Woodhouse, Richard Weinberger,
	Cyrille Pitchen, Rob Herring, Mark Rutland, Matthias Brugger,
	Russell King, linux-mtd, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

On Wed, 2017-01-25 at 11:38 +0800, Guochun Mao wrote:
> Add Mediatek nor flash node.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
>  arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
>  2 files changed, 37 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
> index 082ca88..85e5ae8 100644
> --- a/arch/arm/boot/dts/mt2701-evb.dts
> +++ b/arch/arm/boot/dts/mt2701-evb.dts
> @@ -24,6 +24,31 @@
>  	};
>  };
>  
> +&nor_flash {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&nor_pins_default>;
> +	status = "okay";
> +	flash@0 {
> +		compatible = "jedec,spi-nor";
> +		reg = <0>;
> +	};
> +};
> +
> +&pio {
> +	nor_pins_default: nor {
> +		pins1 {
> +			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
> +				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
> +				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
> +				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
> +				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
> +				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
> +			drive-strength = <MTK_DRIVE_4mA>;
> +			bias-pull-up;
> +		};
> +	};
> +};
> +
>  &uart0 {
>  	status = "okay";
>  };
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index bdf8954..1eefce4 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -227,6 +227,18 @@
>  		status = "disabled";
>  	};
>  
> +	nor_flash: spi@11014000 {
> +		compatible = "mediatek,mt2701-nor",
> +			     "mediatek,mt8173-nor";
> +		reg = <0 0x11014000 0 0xe0>;
> +		clocks = <&pericfg CLK_PERI_FLASH>,
> +			 <&topckgen CLK_TOP_FLASH_SEL>;
> +		clock-names = "spi", "sf";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		status = "disabled";
> +	};
> +
>  	mmsys: syscon@14000000 {
>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>  		reg = <0 0x14000000 0 0x1000>;

Hi,
mtk-quadspi.txt had been updated as suggested.
Is there suggestion about this patch?
Thanks.

BR,
Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-05  4:00     ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-05  4:00 UTC (permalink / raw)
  To: Boris Brezillon, Marek Vasut
  Cc: Mark Rutland, devicetree, Richard Weinberger, Russell King,
	linux-kernel, Rob Herring, linux-mtd, John Crispin,
	Matthias Brugger, linux-mediatek, Cyrille Pitchen, Brian Norris,
	David Woodhouse, linux-arm-kernel

On Wed, 2017-01-25 at 11:38 +0800, Guochun Mao wrote:
> Add Mediatek nor flash node.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
>  arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
>  2 files changed, 37 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
> index 082ca88..85e5ae8 100644
> --- a/arch/arm/boot/dts/mt2701-evb.dts
> +++ b/arch/arm/boot/dts/mt2701-evb.dts
> @@ -24,6 +24,31 @@
>  	};
>  };
>  
> +&nor_flash {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&nor_pins_default>;
> +	status = "okay";
> +	flash@0 {
> +		compatible = "jedec,spi-nor";
> +		reg = <0>;
> +	};
> +};
> +
> +&pio {
> +	nor_pins_default: nor {
> +		pins1 {
> +			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
> +				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
> +				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
> +				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
> +				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
> +				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
> +			drive-strength = <MTK_DRIVE_4mA>;
> +			bias-pull-up;
> +		};
> +	};
> +};
> +
>  &uart0 {
>  	status = "okay";
>  };
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index bdf8954..1eefce4 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -227,6 +227,18 @@
>  		status = "disabled";
>  	};
>  
> +	nor_flash: spi@11014000 {
> +		compatible = "mediatek,mt2701-nor",
> +			     "mediatek,mt8173-nor";
> +		reg = <0 0x11014000 0 0xe0>;
> +		clocks = <&pericfg CLK_PERI_FLASH>,
> +			 <&topckgen CLK_TOP_FLASH_SEL>;
> +		clock-names = "spi", "sf";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		status = "disabled";
> +	};
> +
>  	mmsys: syscon@14000000 {
>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>  		reg = <0 0x14000000 0 0x1000>;

Hi,
mtk-quadspi.txt had been updated as suggested.
Is there suggestion about this patch?
Thanks.

BR,
Guochun

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-05  4:00     ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-05  4:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 2017-01-25 at 11:38 +0800, Guochun Mao wrote:
> Add Mediatek nor flash node.
> 
> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
> ---
>  arch/arm/boot/dts/mt2701-evb.dts |   25 +++++++++++++++++++++++++
>  arch/arm/boot/dts/mt2701.dtsi    |   12 ++++++++++++
>  2 files changed, 37 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
> index 082ca88..85e5ae8 100644
> --- a/arch/arm/boot/dts/mt2701-evb.dts
> +++ b/arch/arm/boot/dts/mt2701-evb.dts
> @@ -24,6 +24,31 @@
>  	};
>  };
>  
> +&nor_flash {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&nor_pins_default>;
> +	status = "okay";
> +	flash at 0 {
> +		compatible = "jedec,spi-nor";
> +		reg = <0>;
> +	};
> +};
> +
> +&pio {
> +	nor_pins_default: nor {
> +		pins1 {
> +			pinmux = <MT2701_PIN_240_EXT_XCS__FUNC_EXT_XCS>,
> +				 <MT2701_PIN_241_EXT_SCK__FUNC_EXT_SCK>,
> +				 <MT2701_PIN_239_EXT_SDIO0__FUNC_EXT_SDIO0>,
> +				 <MT2701_PIN_238_EXT_SDIO1__FUNC_EXT_SDIO1>,
> +				 <MT2701_PIN_237_EXT_SDIO2__FUNC_EXT_SDIO2>,
> +				 <MT2701_PIN_236_EXT_SDIO3__FUNC_EXT_SDIO3>;
> +			drive-strength = <MTK_DRIVE_4mA>;
> +			bias-pull-up;
> +		};
> +	};
> +};
> +
>  &uart0 {
>  	status = "okay";
>  };
> diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi
> index bdf8954..1eefce4 100644
> --- a/arch/arm/boot/dts/mt2701.dtsi
> +++ b/arch/arm/boot/dts/mt2701.dtsi
> @@ -227,6 +227,18 @@
>  		status = "disabled";
>  	};
>  
> +	nor_flash: spi at 11014000 {
> +		compatible = "mediatek,mt2701-nor",
> +			     "mediatek,mt8173-nor";
> +		reg = <0 0x11014000 0 0xe0>;
> +		clocks = <&pericfg CLK_PERI_FLASH>,
> +			 <&topckgen CLK_TOP_FLASH_SEL>;
> +		clock-names = "spi", "sf";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		status = "disabled";
> +	};
> +
>  	mmsys: syscon at 14000000 {
>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>  		reg = <0 0x14000000 0 0x1000>;

Hi,
mtk-quadspi.txt had been updated as suggested.
Is there suggestion about this patch?
Thanks.

BR,
Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
  2017-02-05  4:00     ` Guochun Mao
@ 2017-02-06  7:45       ` Boris Brezillon
  -1 siblings, 0 replies; 43+ messages in thread
From: Boris Brezillon @ 2017-02-06  7:45 UTC (permalink / raw)
  To: Guochun Mao, Matthias Brugger
  Cc: Marek Vasut, Mark Rutland, devicetree, Richard Weinberger,
	Russell King, linux-kernel, Rob Herring, linux-mtd, John Crispin,
	linux-mediatek, Cyrille Pitchen, Brian Norris, David Woodhouse,
	linux-arm-kernel

Hi Guochun,

On Sun, 5 Feb 2017 12:00:49 +0800
Guochun Mao <guochun.mao@mediatek.com> wrote:


> >  
> > +	nor_flash: spi@11014000 {
> > +		compatible = "mediatek,mt2701-nor",
> > +			     "mediatek,mt8173-nor";
> > +		reg = <0 0x11014000 0 0xe0>;
> > +		clocks = <&pericfg CLK_PERI_FLASH>,
> > +			 <&topckgen CLK_TOP_FLASH_SEL>;
> > +		clock-names = "spi", "sf";
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +		status = "disabled";
> > +	};
> > +
> >  	mmsys: syscon@14000000 {
> >  		compatible = "mediatek,mt2701-mmsys", "syscon";
> >  		reg = <0 0x14000000 0 0x1000>;  
> 
> Hi,
> mtk-quadspi.txt had been updated as suggested.
> Is there suggestion about this patch?

It should probably go through the Mediatek tree. Matthias, any opinion?

Regards,

Boris

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-06  7:45       ` Boris Brezillon
  0 siblings, 0 replies; 43+ messages in thread
From: Boris Brezillon @ 2017-02-06  7:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Guochun,

On Sun, 5 Feb 2017 12:00:49 +0800
Guochun Mao <guochun.mao@mediatek.com> wrote:


> >  
> > +	nor_flash: spi at 11014000 {
> > +		compatible = "mediatek,mt2701-nor",
> > +			     "mediatek,mt8173-nor";
> > +		reg = <0 0x11014000 0 0xe0>;
> > +		clocks = <&pericfg CLK_PERI_FLASH>,
> > +			 <&topckgen CLK_TOP_FLASH_SEL>;
> > +		clock-names = "spi", "sf";
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +		status = "disabled";
> > +	};
> > +
> >  	mmsys: syscon at 14000000 {
> >  		compatible = "mediatek,mt2701-mmsys", "syscon";
> >  		reg = <0 0x14000000 0 0x1000>;  
> 
> Hi,
> mtk-quadspi.txt had been updated as suggested.
> Is there suggestion about this patch?

It should probably go through the Mediatek tree. Matthias, any opinion?

Regards,

Boris

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
  2017-02-06  7:45       ` Boris Brezillon
  (?)
@ 2017-02-11 23:35         ` Matthias Brugger
  -1 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-02-11 23:35 UTC (permalink / raw)
  To: Boris Brezillon, Guochun Mao
  Cc: Marek Vasut, Mark Rutland, devicetree, Richard Weinberger,
	Russell King, linux-kernel, Rob Herring, linux-mtd, John Crispin,
	linux-mediatek, Cyrille Pitchen, Brian Norris, David Woodhouse,
	linux-arm-kernel



On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> Hi Guochun,
>
> On Sun, 5 Feb 2017 12:00:49 +0800
> Guochun Mao <guochun.mao@mediatek.com> wrote:
>
>
>>>
>>> +	nor_flash: spi@11014000 {
>>> +		compatible = "mediatek,mt2701-nor",
>>> +			     "mediatek,mt8173-nor";
>>> +		reg = <0 0x11014000 0 0xe0>;
>>> +		clocks = <&pericfg CLK_PERI_FLASH>,
>>> +			 <&topckgen CLK_TOP_FLASH_SEL>;
>>> +		clock-names = "spi", "sf";
>>> +		#address-cells = <1>;
>>> +		#size-cells = <0>;
>>> +		status = "disabled";
>>> +	};
>>> +
>>>  	mmsys: syscon@14000000 {
>>>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>>>  		reg = <0 0x14000000 0 0x1000>;
>>
>> Hi,
>> mtk-quadspi.txt had been updated as suggested.
>> Is there suggestion about this patch?
>
> It should probably go through the Mediatek tree. Matthias, any opinion?
>

Yes, I will take this one through mine tree.

Thanks,
Matthias

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-11 23:35         ` Matthias Brugger
  0 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-02-11 23:35 UTC (permalink / raw)
  To: Boris Brezillon, Guochun Mao
  Cc: Marek Vasut, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Richard Weinberger, Russell King,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, John Crispin,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Cyrille Pitchen,
	Brian Norris, David Woodhouse,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r



On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> Hi Guochun,
>
> On Sun, 5 Feb 2017 12:00:49 +0800
> Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> wrote:
>
>
>>>
>>> +	nor_flash: spi@11014000 {
>>> +		compatible = "mediatek,mt2701-nor",
>>> +			     "mediatek,mt8173-nor";
>>> +		reg = <0 0x11014000 0 0xe0>;
>>> +		clocks = <&pericfg CLK_PERI_FLASH>,
>>> +			 <&topckgen CLK_TOP_FLASH_SEL>;
>>> +		clock-names = "spi", "sf";
>>> +		#address-cells = <1>;
>>> +		#size-cells = <0>;
>>> +		status = "disabled";
>>> +	};
>>> +
>>>  	mmsys: syscon@14000000 {
>>>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>>>  		reg = <0 0x14000000 0 0x1000>;
>>
>> Hi,
>> mtk-quadspi.txt had been updated as suggested.
>> Is there suggestion about this patch?
>
> It should probably go through the Mediatek tree. Matthias, any opinion?
>

Yes, I will take this one through mine tree.

Thanks,
Matthias
--
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] 43+ messages in thread

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-11 23:35         ` Matthias Brugger
  0 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-02-11 23:35 UTC (permalink / raw)
  To: linux-arm-kernel



On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> Hi Guochun,
>
> On Sun, 5 Feb 2017 12:00:49 +0800
> Guochun Mao <guochun.mao@mediatek.com> wrote:
>
>
>>>
>>> +	nor_flash: spi at 11014000 {
>>> +		compatible = "mediatek,mt2701-nor",
>>> +			     "mediatek,mt8173-nor";
>>> +		reg = <0 0x11014000 0 0xe0>;
>>> +		clocks = <&pericfg CLK_PERI_FLASH>,
>>> +			 <&topckgen CLK_TOP_FLASH_SEL>;
>>> +		clock-names = "spi", "sf";
>>> +		#address-cells = <1>;
>>> +		#size-cells = <0>;
>>> +		status = "disabled";
>>> +	};
>>> +
>>>  	mmsys: syscon at 14000000 {
>>>  		compatible = "mediatek,mt2701-mmsys", "syscon";
>>>  		reg = <0 0x14000000 0 0x1000>;
>>
>> Hi,
>> mtk-quadspi.txt had been updated as suggested.
>> Is there suggestion about this patch?
>
> It should probably go through the Mediatek tree. Matthias, any opinion?
>

Yes, I will take this one through mine tree.

Thanks,
Matthias

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
  2017-02-11 23:35         ` Matthias Brugger
  (?)
  (?)
@ 2017-02-14  3:58           ` Guochun Mao
  -1 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-14  3:58 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel

On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> 
> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> > Hi Guochun,
> >
> > On Sun, 5 Feb 2017 12:00:49 +0800
> > Guochun Mao <guochun.mao@mediatek.com> wrote:
> >
> >
> >>>
> >>> +   nor_flash: spi@11014000 {
> >>> +           compatible = "mediatek,mt2701-nor",
> >>> +                        "mediatek,mt8173-nor";
> >>> +           reg = <0 0x11014000 0 0xe0>;
> >>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>> +           clock-names = "spi", "sf";
> >>> +           #address-cells = <1>;
> >>> +           #size-cells = <0>;
> >>> +           status = "disabled";
> >>> +   };
> >>> +
> >>>     mmsys: syscon@14000000 {
> >>>             compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>             reg = <0 0x14000000 0 0x1000>;
> >>
> >> Hi,
> >> mtk-quadspi.txt had been updated as suggested.
> >> Is there suggestion about this patch?
> >
> > It should probably go through the Mediatek tree. Matthias, any opinion?
> >
> 
> Yes, I will take this one through mine tree.
> 
> Thanks,
> Matthias

Thanks,
Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-14  3:58           ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-14  3:58 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Mark Rutland, Boris Brezillon, devicetree, Richard Weinberger,
	Russell King, linux-kernel, Marek Vasut, Rob Herring, linux-mtd,
	John Crispin, linux-mediatek, Cyrille Pitchen, Brian Norris,
	David Woodhouse, linux-arm-kernel

On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> 
> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> > Hi Guochun,
> >
> > On Sun, 5 Feb 2017 12:00:49 +0800
> > Guochun Mao <guochun.mao@mediatek.com> wrote:
> >
> >
> >>>
> >>> +   nor_flash: spi@11014000 {
> >>> +           compatible = "mediatek,mt2701-nor",
> >>> +                        "mediatek,mt8173-nor";
> >>> +           reg = <0 0x11014000 0 0xe0>;
> >>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>> +           clock-names = "spi", "sf";
> >>> +           #address-cells = <1>;
> >>> +           #size-cells = <0>;
> >>> +           status = "disabled";
> >>> +   };
> >>> +
> >>>     mmsys: syscon@14000000 {
> >>>             compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>             reg = <0 0x14000000 0 0x1000>;
> >>
> >> Hi,
> >> mtk-quadspi.txt had been updated as suggested.
> >> Is there suggestion about this patch?
> >
> > It should probably go through the Mediatek tree. Matthias, any opinion?
> >
> 
> Yes, I will take this one through mine tree.
> 
> Thanks,
> Matthias

Thanks,
Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-14  3:58           ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-14  3:58 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel

On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> 
> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> > Hi Guochun,
> >
> > On Sun, 5 Feb 2017 12:00:49 +0800
> > Guochun Mao <guochun.mao@mediatek.com> wrote:
> >
> >
> >>>
> >>> +   nor_flash: spi@11014000 {
> >>> +           compatible = "mediatek,mt2701-nor",
> >>> +                        "mediatek,mt8173-nor";
> >>> +           reg = <0 0x11014000 0 0xe0>;
> >>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>> +           clock-names = "spi", "sf";
> >>> +           #address-cells = <1>;
> >>> +           #size-cells = <0>;
> >>> +           status = "disabled";
> >>> +   };
> >>> +
> >>>     mmsys: syscon@14000000 {
> >>>             compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>             reg = <0 0x14000000 0 0x1000>;
> >>
> >> Hi,
> >> mtk-quadspi.txt had been updated as suggested.
> >> Is there suggestion about this patch?
> >
> > It should probably go through the Mediatek tree. Matthias, any opinion?
> >
> 
> Yes, I will take this one through mine tree.
> 
> Thanks,
> Matthias

Thanks,
Guochun

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-02-14  3:58           ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-02-14  3:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> 
> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> > Hi Guochun,
> >
> > On Sun, 5 Feb 2017 12:00:49 +0800
> > Guochun Mao <guochun.mao@mediatek.com> wrote:
> >
> >
> >>>
> >>> +   nor_flash: spi at 11014000 {
> >>> +           compatible = "mediatek,mt2701-nor",
> >>> +                        "mediatek,mt8173-nor";
> >>> +           reg = <0 0x11014000 0 0xe0>;
> >>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>> +           clock-names = "spi", "sf";
> >>> +           #address-cells = <1>;
> >>> +           #size-cells = <0>;
> >>> +           status = "disabled";
> >>> +   };
> >>> +
> >>>     mmsys: syscon at 14000000 {
> >>>             compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>             reg = <0 0x14000000 0 0x1000>;
> >>
> >> Hi,
> >> mtk-quadspi.txt had been updated as suggested.
> >> Is there suggestion about this patch?
> >
> > It should probably go through the Mediatek tree. Matthias, any opinion?
> >
> 
> Yes, I will take this one through mine tree.
> 
> Thanks,
> Matthias

Thanks,
Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
  2017-02-14  3:58           ` Guochun Mao
  (?)
  (?)
@ 2017-05-10 10:49             ` Matthias Brugger
  -1 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-05-10 10:49 UTC (permalink / raw)
  To: Guochun Mao
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel



On 14/02/17 04:58, Guochun Mao wrote:
> On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
>>
>> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
>>> Hi Guochun,
>>>
>>> On Sun, 5 Feb 2017 12:00:49 +0800
>>> Guochun Mao <guochun.mao@mediatek.com> wrote:
>>>
>>>
>>>>>
>>>>> +   nor_flash: spi@11014000 {
>>>>> +           compatible = "mediatek,mt2701-nor",
>>>>> +                        "mediatek,mt8173-nor";
>>>>> +           reg = <0 0x11014000 0 0xe0>;
>>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
>>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
>>>>> +           clock-names = "spi", "sf";
>>>>> +           #address-cells = <1>;
>>>>> +           #size-cells = <0>;
>>>>> +           status = "disabled";
>>>>> +   };
>>>>> +
>>>>>      mmsys: syscon@14000000 {
>>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
>>>>>              reg = <0 0x14000000 0 0x1000>;
>>>>
>>>> Hi,
>>>> mtk-quadspi.txt had been updated as suggested.
>>>> Is there suggestion about this patch?
>>>
>>> It should probably go through the Mediatek tree. Matthias, any opinion?
>>>
>>
>> Yes, I will take this one through mine tree.
>>
>> Thanks,
>> Matthias
> 
> Thanks,
> Guochun
> 
> 

Queued now for v4.12-next/dts32
Sorry for the delay.

Matthias

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-10 10:49             ` Matthias Brugger
  0 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-05-10 10:49 UTC (permalink / raw)
  To: Guochun Mao
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Richard Weinberger,
	Russell King, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, John Crispin,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Cyrille Pitchen,
	Brian Norris, David Woodhouse,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r



On 14/02/17 04:58, Guochun Mao wrote:
> On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
>>
>> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
>>> Hi Guochun,
>>>
>>> On Sun, 5 Feb 2017 12:00:49 +0800
>>> Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> wrote:
>>>
>>>
>>>>>
>>>>> +   nor_flash: spi@11014000 {
>>>>> +           compatible = "mediatek,mt2701-nor",
>>>>> +                        "mediatek,mt8173-nor";
>>>>> +           reg = <0 0x11014000 0 0xe0>;
>>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
>>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
>>>>> +           clock-names = "spi", "sf";
>>>>> +           #address-cells = <1>;
>>>>> +           #size-cells = <0>;
>>>>> +           status = "disabled";
>>>>> +   };
>>>>> +
>>>>>      mmsys: syscon@14000000 {
>>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
>>>>>              reg = <0 0x14000000 0 0x1000>;
>>>>
>>>> Hi,
>>>> mtk-quadspi.txt had been updated as suggested.
>>>> Is there suggestion about this patch?
>>>
>>> It should probably go through the Mediatek tree. Matthias, any opinion?
>>>
>>
>> Yes, I will take this one through mine tree.
>>
>> Thanks,
>> Matthias
> 
> Thanks,
> Guochun
> 
> 

Queued now for v4.12-next/dts32
Sorry for the delay.

Matthias
--
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] 43+ messages in thread

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-10 10:49             ` Matthias Brugger
  0 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-05-10 10:49 UTC (permalink / raw)
  To: Guochun Mao
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel



On 14/02/17 04:58, Guochun Mao wrote:
> On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
>>
>> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
>>> Hi Guochun,
>>>
>>> On Sun, 5 Feb 2017 12:00:49 +0800
>>> Guochun Mao <guochun.mao@mediatek.com> wrote:
>>>
>>>
>>>>>
>>>>> +   nor_flash: spi@11014000 {
>>>>> +           compatible = "mediatek,mt2701-nor",
>>>>> +                        "mediatek,mt8173-nor";
>>>>> +           reg = <0 0x11014000 0 0xe0>;
>>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
>>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
>>>>> +           clock-names = "spi", "sf";
>>>>> +           #address-cells = <1>;
>>>>> +           #size-cells = <0>;
>>>>> +           status = "disabled";
>>>>> +   };
>>>>> +
>>>>>      mmsys: syscon@14000000 {
>>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
>>>>>              reg = <0 0x14000000 0 0x1000>;
>>>>
>>>> Hi,
>>>> mtk-quadspi.txt had been updated as suggested.
>>>> Is there suggestion about this patch?
>>>
>>> It should probably go through the Mediatek tree. Matthias, any opinion?
>>>
>>
>> Yes, I will take this one through mine tree.
>>
>> Thanks,
>> Matthias
> 
> Thanks,
> Guochun
> 
> 

Queued now for v4.12-next/dts32
Sorry for the delay.

Matthias

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-10 10:49             ` Matthias Brugger
  0 siblings, 0 replies; 43+ messages in thread
From: Matthias Brugger @ 2017-05-10 10:49 UTC (permalink / raw)
  To: linux-arm-kernel



On 14/02/17 04:58, Guochun Mao wrote:
> On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
>>
>> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
>>> Hi Guochun,
>>>
>>> On Sun, 5 Feb 2017 12:00:49 +0800
>>> Guochun Mao <guochun.mao@mediatek.com> wrote:
>>>
>>>
>>>>>
>>>>> +   nor_flash: spi at 11014000 {
>>>>> +           compatible = "mediatek,mt2701-nor",
>>>>> +                        "mediatek,mt8173-nor";
>>>>> +           reg = <0 0x11014000 0 0xe0>;
>>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
>>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
>>>>> +           clock-names = "spi", "sf";
>>>>> +           #address-cells = <1>;
>>>>> +           #size-cells = <0>;
>>>>> +           status = "disabled";
>>>>> +   };
>>>>> +
>>>>>      mmsys: syscon at 14000000 {
>>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
>>>>>              reg = <0 0x14000000 0 0x1000>;
>>>>
>>>> Hi,
>>>> mtk-quadspi.txt had been updated as suggested.
>>>> Is there suggestion about this patch?
>>>
>>> It should probably go through the Mediatek tree. Matthias, any opinion?
>>>
>>
>> Yes, I will take this one through mine tree.
>>
>> Thanks,
>> Matthias
> 
> Thanks,
> Guochun
> 
> 

Queued now for v4.12-next/dts32
Sorry for the delay.

Matthias

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-11  1:30               ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-05-11  1:30 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel

On Wed, 2017-05-10 at 12:49 +0200, Matthias Brugger wrote:
> 
> On 14/02/17 04:58, Guochun Mao wrote:
> > On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> >>
> >> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> >>> Hi Guochun,
> >>>
> >>> On Sun, 5 Feb 2017 12:00:49 +0800
> >>> Guochun Mao <guochun.mao@mediatek.com> wrote:
> >>>
> >>>
> >>>>>
> >>>>> +   nor_flash: spi@11014000 {
> >>>>> +           compatible = "mediatek,mt2701-nor",
> >>>>> +                        "mediatek,mt8173-nor";
> >>>>> +           reg = <0 0x11014000 0 0xe0>;
> >>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>>>> +           clock-names = "spi", "sf";
> >>>>> +           #address-cells = <1>;
> >>>>> +           #size-cells = <0>;
> >>>>> +           status = "disabled";
> >>>>> +   };
> >>>>> +
> >>>>>      mmsys: syscon@14000000 {
> >>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>>>              reg = <0 0x14000000 0 0x1000>;
> >>>>
> >>>> Hi,
> >>>> mtk-quadspi.txt had been updated as suggested.
> >>>> Is there suggestion about this patch?
> >>>
> >>> It should probably go through the Mediatek tree. Matthias, any opinion?
> >>>
> >>
> >> Yes, I will take this one through mine tree.
> >>
> >> Thanks,
> >> Matthias
> > 
> > Thanks,
> > Guochun
> > 
> > 
> 
> Queued now for v4.12-next/dts32
> Sorry for the delay.
> 
> Matthias

Hi, Matthias,

It's OK. Thanks a lot.

Guochun

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

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-11  1:30               ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-05-11  1:30 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Richard Weinberger,
	Russell King, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, John Crispin,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Cyrille Pitchen,
	Brian Norris, David Woodhouse,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wed, 2017-05-10 at 12:49 +0200, Matthias Brugger wrote:
> 
> On 14/02/17 04:58, Guochun Mao wrote:
> > On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> >>
> >> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> >>> Hi Guochun,
> >>>
> >>> On Sun, 5 Feb 2017 12:00:49 +0800
> >>> Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> wrote:
> >>>
> >>>
> >>>>>
> >>>>> +   nor_flash: spi@11014000 {
> >>>>> +           compatible = "mediatek,mt2701-nor",
> >>>>> +                        "mediatek,mt8173-nor";
> >>>>> +           reg = <0 0x11014000 0 0xe0>;
> >>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>>>> +           clock-names = "spi", "sf";
> >>>>> +           #address-cells = <1>;
> >>>>> +           #size-cells = <0>;
> >>>>> +           status = "disabled";
> >>>>> +   };
> >>>>> +
> >>>>>      mmsys: syscon@14000000 {
> >>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>>>              reg = <0 0x14000000 0 0x1000>;
> >>>>
> >>>> Hi,
> >>>> mtk-quadspi.txt had been updated as suggested.
> >>>> Is there suggestion about this patch?
> >>>
> >>> It should probably go through the Mediatek tree. Matthias, any opinion?
> >>>
> >>
> >> Yes, I will take this one through mine tree.
> >>
> >> Thanks,
> >> Matthias
> > 
> > Thanks,
> > Guochun
> > 
> > 
> 
> Queued now for v4.12-next/dts32
> Sorry for the delay.
> 
> Matthias

Hi, Matthias,

It's OK. Thanks a lot.

Guochun


--
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] 43+ messages in thread

* Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-11  1:30               ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-05-11  1:30 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Boris Brezillon, Marek Vasut, Mark Rutland, devicetree,
	Richard Weinberger, Russell King, linux-kernel, Rob Herring,
	linux-mtd, John Crispin, linux-mediatek, Cyrille Pitchen,
	Brian Norris, David Woodhouse, linux-arm-kernel

On Wed, 2017-05-10 at 12:49 +0200, Matthias Brugger wrote:
> 
> On 14/02/17 04:58, Guochun Mao wrote:
> > On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> >>
> >> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> >>> Hi Guochun,
> >>>
> >>> On Sun, 5 Feb 2017 12:00:49 +0800
> >>> Guochun Mao <guochun.mao@mediatek.com> wrote:
> >>>
> >>>
> >>>>>
> >>>>> +   nor_flash: spi@11014000 {
> >>>>> +           compatible = "mediatek,mt2701-nor",
> >>>>> +                        "mediatek,mt8173-nor";
> >>>>> +           reg = <0 0x11014000 0 0xe0>;
> >>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>>>> +           clock-names = "spi", "sf";
> >>>>> +           #address-cells = <1>;
> >>>>> +           #size-cells = <0>;
> >>>>> +           status = "disabled";
> >>>>> +   };
> >>>>> +
> >>>>>      mmsys: syscon@14000000 {
> >>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>>>              reg = <0 0x14000000 0 0x1000>;
> >>>>
> >>>> Hi,
> >>>> mtk-quadspi.txt had been updated as suggested.
> >>>> Is there suggestion about this patch?
> >>>
> >>> It should probably go through the Mediatek tree. Matthias, any opinion?
> >>>
> >>
> >> Yes, I will take this one through mine tree.
> >>
> >> Thanks,
> >> Matthias
> > 
> > Thanks,
> > Guochun
> > 
> > 
> 
> Queued now for v4.12-next/dts32
> Sorry for the delay.
> 
> Matthias

Hi, Matthias,

It's OK. Thanks a lot.

Guochun

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

* [PATCH v2 2/2] arm: dts: mt2701: add nor flash node
@ 2017-05-11  1:30               ` Guochun Mao
  0 siblings, 0 replies; 43+ messages in thread
From: Guochun Mao @ 2017-05-11  1:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 2017-05-10 at 12:49 +0200, Matthias Brugger wrote:
> 
> On 14/02/17 04:58, Guochun Mao wrote:
> > On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote:
> >>
> >> On 02/06/2017 08:45 AM, Boris Brezillon wrote:
> >>> Hi Guochun,
> >>>
> >>> On Sun, 5 Feb 2017 12:00:49 +0800
> >>> Guochun Mao <guochun.mao@mediatek.com> wrote:
> >>>
> >>>
> >>>>>
> >>>>> +   nor_flash: spi at 11014000 {
> >>>>> +           compatible = "mediatek,mt2701-nor",
> >>>>> +                        "mediatek,mt8173-nor";
> >>>>> +           reg = <0 0x11014000 0 0xe0>;
> >>>>> +           clocks = <&pericfg CLK_PERI_FLASH>,
> >>>>> +                    <&topckgen CLK_TOP_FLASH_SEL>;
> >>>>> +           clock-names = "spi", "sf";
> >>>>> +           #address-cells = <1>;
> >>>>> +           #size-cells = <0>;
> >>>>> +           status = "disabled";
> >>>>> +   };
> >>>>> +
> >>>>>      mmsys: syscon at 14000000 {
> >>>>>              compatible = "mediatek,mt2701-mmsys", "syscon";
> >>>>>              reg = <0 0x14000000 0 0x1000>;
> >>>>
> >>>> Hi,
> >>>> mtk-quadspi.txt had been updated as suggested.
> >>>> Is there suggestion about this patch?
> >>>
> >>> It should probably go through the Mediatek tree. Matthias, any opinion?
> >>>
> >>
> >> Yes, I will take this one through mine tree.
> >>
> >> Thanks,
> >> Matthias
> > 
> > Thanks,
> > Guochun
> > 
> > 
> 
> Queued now for v4.12-next/dts32
> Sorry for the delay.
> 
> Matthias

Hi, Matthias,

It's OK. Thanks a lot.

Guochun

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

end of thread, other threads:[~2017-05-11  1:30 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25  3:38 [PATCH v2 0/2] addr nor flash node for mt2701 Guochun Mao
2017-01-25  3:38 ` Guochun Mao
2017-01-25  3:38 ` Guochun Mao
2017-01-25  3:38 ` [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings Guochun Mao
2017-01-25  3:38   ` Guochun Mao
2017-01-25  3:38   ` Guochun Mao
2017-01-25  5:39   ` John Crispin
2017-01-25  5:39     ` John Crispin
2017-01-26 16:38   ` Cyrille Pitchen
2017-01-26 16:38     ` Cyrille Pitchen
2017-01-26 16:38     ` Cyrille Pitchen
2017-01-27 22:29   ` Rob Herring
2017-01-27 22:29     ` Rob Herring
2017-01-27 22:29     ` Rob Herring
2017-01-30 12:49     ` Cyrille Pitchen
2017-01-30 12:49       ` Cyrille Pitchen
2017-01-30 12:49       ` Cyrille Pitchen
2017-02-02  3:21       ` Guochun Mao
2017-02-02  3:21         ` Guochun Mao
2017-02-02  3:21         ` Guochun Mao
2017-01-25  3:38 ` [PATCH v2 2/2] arm: dts: mt2701: add nor flash node Guochun Mao
2017-01-25  3:38   ` Guochun Mao
2017-01-25  3:38   ` Guochun Mao
2017-02-05  4:00   ` Guochun Mao
2017-02-05  4:00     ` Guochun Mao
2017-02-05  4:00     ` Guochun Mao
2017-02-06  7:45     ` Boris Brezillon
2017-02-06  7:45       ` Boris Brezillon
2017-02-11 23:35       ` Matthias Brugger
2017-02-11 23:35         ` Matthias Brugger
2017-02-11 23:35         ` Matthias Brugger
2017-02-14  3:58         ` Guochun Mao
2017-02-14  3:58           ` Guochun Mao
2017-02-14  3:58           ` Guochun Mao
2017-02-14  3:58           ` Guochun Mao
2017-05-10 10:49           ` Matthias Brugger
2017-05-10 10:49             ` Matthias Brugger
2017-05-10 10:49             ` Matthias Brugger
2017-05-10 10:49             ` Matthias Brugger
2017-05-11  1:30             ` Guochun Mao
2017-05-11  1:30               ` Guochun Mao
2017-05-11  1:30               ` Guochun Mao
2017-05-11  1:30               ` Guochun Mao

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.