[PATCH v2] arm64: dts: mt8192: add nor_flash device node

2020-12-22 Thread Bayi Cheng
From: bayi cheng add nor_flash device node Change-Id: I79f0228529bd8a33e5f354b7a861a4ec8d92e9ba Signed-off-by: bayi cheng --- Change in v2: 1: add dependent patch of arm soc 2: change compatible name Depends on: https://patchwork.kernel.org/patch/11713559/ [v4,1/3] arm64: dts: Add Mediatek

[PATCH v1] arm64: dts: mt8192: add nor_flash device node

2020-12-10 Thread Bayi Cheng
From: bayi cheng add nor_flash device node Signed-off-by: bayi cheng --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index e12e024..b15b0d3

[PATCH v1] spi: spi-mtk-nor: add axi clock control for MT8192 spi-nor

2020-11-11 Thread Bayi Cheng
From: bayi cheng MT8192 spi-nor is an independent sub system, we need extra control axi bus clock for it. Add support for the additional axi clock to allow it to be configured appropriately. Signed-off-by: bayi cheng --- drivers/spi/spi-mtk-nor.c | 16 +++- 1 file changed, 15

[PATCH v1] add axi clock control for MT8192 spi-nor

2020-11-11 Thread Bayi Cheng
bayi cheng (1): spi: spi-mtk-nor: add axi clock control for MT8192 spi-nor drivers/spi/spi-mtk-nor.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) -- 1.9.1

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-01-05 Thread bayi cheng
On Wed, 2016-01-06 at 01:03 +0100, Felix Fietkau wrote: > On 2016-01-06 01:02, Brian Norris wrote: > > On Mon, Jan 04, 2016 at 06:29:28PM -0800, Brian Norris wrote: > >> On Tue, Dec 15, 2015 at 10:48:20AM -0800, Brian Norris wrote: > >> > Spansion and Winbond have occasionally used the same

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-01-05 Thread bayi cheng
On Wed, 2016-01-06 at 01:03 +0100, Felix Fietkau wrote: > On 2016-01-06 01:02, Brian Norris wrote: > > On Mon, Jan 04, 2016 at 06:29:28PM -0800, Brian Norris wrote: > >> On Tue, Dec 15, 2015 at 10:48:20AM -0800, Brian Norris wrote: > >> > Spansion and Winbond have occasionally used the same

[RESEND PATCH] mtd: mtk-nor: adjust sequence of trigger function and assignment function

2015-12-17 Thread Bayi Cheng
Move write data register before excute command to avoid missing first byte write to nor flash Signed-off-by: Bayi Cheng --- the previous patch didn't drop the Change-Id --- drivers/mtd/spi-nor/mtk-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor

[PATCH] mtd: mtk-nor: adjust sequence of trigger function and assignment function

2015-12-17 Thread Bayi Cheng
move write data register before excute command to avoid missing first byte write to nor flash Change-Id: Ie9d7ae30f9de1f3e976d2e1de5d8ee28837598c8 Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/mtk-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi

[RESEND PATCH] mtd: mtk-nor: adjust sequence of trigger function and assignment function

2015-12-17 Thread Bayi Cheng
Move write data register before excute command to avoid missing first byte write to nor flash Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- the previous patch didn't drop the Change-Id --- drivers/mtd/spi-nor/mtk-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] mtd: mtk-nor: adjust sequence of trigger function and assignment function

2015-12-17 Thread Bayi Cheng
move write data register before excute command to avoid missing first byte write to nor flash Change-Id: Ie9d7ae30f9de1f3e976d2e1de5d8ee28837598c8 Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/mtk-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:34 +0800, bayi cheng wrote: > On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > > Bayi, > > > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: > > > Add Mediatek nor flash node > > > > > > Signed-

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > Bayi, > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng wrote: > > Add Mediatek nor flash node > > > > Signed-off-by: Bayi Cheng > > Acked-by: Brian Norris > > --- > > Previous version of

[PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- Previous version of this patch is http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386005.html Drop flash node from mt8173.dtsi accroding review comment --- arch/arm64/boot/dts/mediatek/mt8173

[PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> Acked-by: Brian Norris <computersforpe...@gmail.com> --- Previous version of this patch is http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/386005.html Drop flash node from mt8173.dt

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > Bayi, > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng <bayi.ch...@mediatek.com> wrote: > > Add Mediatek nor flash node > > > > Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> > > Acked-

Re: [PATCH] arm64: dts: mt8173: Add nor flash node

2015-12-06 Thread bayi cheng
On Mon, 2015-12-07 at 12:34 +0800, bayi cheng wrote: > On Mon, 2015-12-07 at 12:09 +0800, Daniel Kurtz wrote: > > Bayi, > > > > On Mon, Dec 7, 2015 at 11:53 AM, Bayi Cheng <bayi.ch...@mediatek.com> wrote: > > > Add Mediatek nor flash node > >

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-25 Thread bayi cheng
On Thu, 2015-11-26 at 09:20 +0800, Daniel Kurtz wrote: > Hi Bayi, Matthias, > > Sorry for the late review, one comment below... > > On Wed, Nov 18, 2015 at 11:30 AM, Bayi Cheng wrote: > > Add Mediatek nor flash node > > > > Signed-off-by: Bayi

Re: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-25 Thread bayi cheng
On Thu, 2015-11-26 at 09:20 +0800, Daniel Kurtz wrote: > Hi Bayi, Matthias, > > Sorry for the late review, one comment below... > > On Wed, Nov 18, 2015 at 11:30 AM, Bayi Cheng <bayi.ch...@mediatek.com> wrote: > > Add Mediatek nor flash node > > >

[PATCH v8 1/2] mtd: mtk-nor: mtk serial flash controller driver

2015-11-17 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files changed, 494 insertions(+) create mode

[PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-17 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH v8 0/2] Mediatek SPI-NOR flash driver

2015-11-17 Thread Bayi Cheng
dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (2): mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node arch/arm64/boot/dts/mediatek/m

[PATCH v7 0/2] Mediatek SPI-NOR flash driver

2015-11-17 Thread Bayi Cheng
se auto-increment mechanism for single write 5: write address added to 32bytes Change in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some funct

[PATCH v7 1/2] mtd: mtk-nor: mtk serial flash controller driver

2015-11-17 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 483 ++ 3 files changed, 491 insertions(+) create mode

[PATCH v7 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-17 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng Acked-by: Brian Norris --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH v8 0/2] Mediatek SPI-NOR flash driver

2015-11-17 Thread Bayi Cheng
dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (2): mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node arch/arm64/boot/dts/mediatek/m

[PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-17 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> Acked-by: Brian Norris <computersforpe...@gmail.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/

[PATCH v8 1/2] mtd: mtk-nor: mtk serial flash controller driver

2015-11-17 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files change

[PATCH v7 0/2] Mediatek SPI-NOR flash driver

2015-11-17 Thread Bayi Cheng
se auto-increment mechanism for single write 5: write address added to 32bytes Change in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some funct

[PATCH v7 1/2] mtd: mtk-nor: mtk serial flash controller driver

2015-11-17 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 483 ++ 3 files change

[PATCH v7 2/2] arm64: dts: mt8173: Add nor flash node

2015-11-17 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> Acked-by: Brian Norris <computersforpe...@gmail.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 13:41 -0800, Brian Norris wrote: > One more small comment, since you're respinning this: > > On Fri, Nov 06, 2015 at 11:48:08PM +0800, Bayi Cheng wrote: > > diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c > > b/drivers/mtd/spi-nor/mtk-quadspi.c >

Re: [PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 12:38 -0800, Brian Norris wrote: > On Fri, Nov 06, 2015 at 11:48:07PM +0800, Bayi Cheng wrote: > > Add device tree binding documentation for serial flash with > > Mediatek serial flash controller > > > > Signed-off-by: Bayi Cheng > > --

Re: [PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 12:26 -0800, Brian Norris wrote: > On Wed, Nov 11, 2015 at 10:04:14PM +0800, Bayi Cheng wrote: > > On Mon, 2015-11-09 at 18:46 -0800, Brian Norris wrote: > > > I believe you didn't completely answer all my questions from v5 though. > > > I'll repe

Re: [PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 12:26 -0800, Brian Norris wrote: > On Wed, Nov 11, 2015 at 10:04:14PM +0800, Bayi Cheng wrote: > > On Mon, 2015-11-09 at 18:46 -0800, Brian Norris wrote: > > > I believe you didn't completely answer all my questions from v5 though. > > > I'll repe

Re: [PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 12:38 -0800, Brian Norris wrote: > On Fri, Nov 06, 2015 at 11:48:07PM +0800, Bayi Cheng wrote: > > Add device tree binding documentation for serial flash with > > Mediatek serial flash controller > > > > Signed-off-by: Bayi Che

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-12 Thread bayi cheng
On Wed, 2015-11-11 at 13:41 -0800, Brian Norris wrote: > One more small comment, since you're respinning this: > > On Fri, Nov 06, 2015 at 11:48:08PM +0800, Bayi Cheng wrote: > > diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c > > b/drivers/mtd/spi-nor/mtk-quadspi.c >

Re: [PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 18:46 -0800, Brian Norris wrote: > Hi Bayi, > > On Fri, Nov 06, 2015 at 11:48:06PM +0800, Bayi Cheng wrote: > > This series is based on v4.3-rc1 and l2-mtd.git [0] and erase_sector > > implementation patch [1] > > > > [0]: git://gi

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 19:01 -0800, Brian Norris wrote: > Hi Bayi, > > A few small comments. > > On Fri, Nov 06, 2015 at 11:48:08PM +0800, Bayi Cheng wrote: > > add spi nor flash driver for mediatek controller > > > > Signed-off-by: Bayi Cheng > &g

Re: [PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 18:46 -0800, Brian Norris wrote: > Hi Bayi, > > On Fri, Nov 06, 2015 at 11:48:06PM +0800, Bayi Cheng wrote: > > This series is based on v4.3-rc1 and l2-mtd.git [0] and erase_sector > > implementation patch [1] > > > > [0]: git://gi

Re: [PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-11 Thread bayi cheng
On Mon, 2015-11-09 at 19:01 -0800, Brian Norris wrote: > Hi Bayi, > > A few small comments. > > On Fri, Nov 06, 2015 at 11:48:08PM +0800, Bayi Cheng wrote: > > add spi nor flash driver for mediatek controller > > > > Signed-off-by: Bayi Cheng <bayi.ch...@me

[PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-06 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 475 ++ 3 files changed, 483 insertions(+) create mode

[PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-06 Thread Bayi Cheng
5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node .../devicetree/bindings/mtd/m

[PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-06 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v6 3/3] arm64: dts: mt8173: Add nor flash node

2015-11-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..f5f08eb 100644 --- a/arch

[PATCH v6 3/3] arm64: dts: mt8173: Add nor flash node

2015-11-06 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d

[PATCH v6 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-11-06 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documen

[PATCH v6 0/3] Mediatek SPI-NOR flash driver

2015-11-06 Thread Bayi Cheng
5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node .../devicetree/bindings/mtd/m

[PATCH v6 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-11-06 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 475 ++ 3 files change

[PATCH v5 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-26 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 491 ++ 3 files changed, 499 insertions(+) create mode

[PATCH v5 0/3] Mediatek SPI-NOR flash driver

2015-10-26 Thread Bayi Cheng
in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for

[PATCH v5 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-26 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..f5f08eb 100644 --- a/arch

[PATCH v5 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-26 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v5 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-26 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documen

[PATCH v5 0/3] Mediatek SPI-NOR flash driver

2015-10-26 Thread Bayi Cheng
in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for

[PATCH v5 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-26 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d

[PATCH v5 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-26 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 491 ++ 3 files change

[PATCH v4 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-13 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v4 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-13 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files changed, 494 insertions(+) create mode

[PATCH v4 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-13 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..385c2e4 100644 --- a/arch

[PATCH v4 0/3] Mediatek SPI-NOR flash driver

2015-10-13 Thread Bayi Cheng
or binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node .../

[PATCH v4 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-13 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d

[PATCH v4 0/3] Mediatek SPI-NOR flash driver

2015-10-13 Thread Bayi Cheng
or binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node .../

[PATCH v4 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-13 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files change

[PATCH v4 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-13 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documen

[PATCH v3 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-01 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files changed, 494 insertions(+) create mode

[PATCH v3 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-01 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..385c2e4 100644 --- a/arch

[PATCH v3 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-01 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v3 0/3] Mediatek SPI-NOR flash driver

2015-10-01 Thread Bayi Cheng
2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd

[PATCH v3 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-01 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk-quadspi.c | 486 ++ 3 files change

[PATCH v3 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-10-01 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- .../devicetree/bindings/mtd/mtk-quadspi.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documen

[PATCH v3 0/3] Mediatek SPI-NOR flash driver

2015-10-01 Thread Bayi Cheng
2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd

[PATCH v3 3/3] arm64: dts: mt8173: Add nor flash node

2015-10-01 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d

[PATCH v2 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-18 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk_quadspi.c | 483 ++ 3 files changed, 491 insertions(+) create mode

[PATCH v2 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-18 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk_quadspi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v2 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-18 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..385c2e4 100644 --- a/arch

[PATCH v2 0/3] Mediatek SPI-NOR flash driver

2015-09-18 Thread Bayi Cheng
-mtd.git (git://git.infradead.org/l2-mtd.git) Change in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi

[PATCH v2 0/3] Mediatek SPI-NOR flash driver

2015-09-18 Thread Bayi Cheng
-mtd.git (git://git.infradead.org/l2-mtd.git) Change in v2: 1. Rebase to 4.3-rc1 2. propagate error code 3. delete mux clock and axi clock in dts file 4. descripts more exactly for binding file 5. change file names from mtk-nor.c to mtk_quadspi.c 6. delete some functions witch were used once time Bayi

[PATCH v2 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-18 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d

[PATCH v2 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-18 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- .../devicetree/bindings/mtd/mtk_quadspi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documen

[PATCH v2 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-18 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk_quadspi.c | 483 ++ 3 files change

[PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-17 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Change-Id: Iaecd0bb7ba1b224f1e27bd7063f0b8d7ea30175a Signed-off-by: Bayi Cheng --- Documentation/devicetree/bindings/mtd/mtk_quadspi.txt | 18 ++ 1 file changed, 18 insertions(+) create

[PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-17 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Change-Id: Iaecd0bb7ba1b224f1e27bd7063f0b8d7ea30175a Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- Documentation/devicetree/bindings/mtd/mtk_quadspi.txt | 18 ++ 1 file c

[PATCH 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-08 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk_nor.c | 533 ++ 3 files changed, 541 insertions(+) create mode 100644

[PATCH 0/3] Mediatek SPI-NOR flash driver

2015-09-08 Thread Bayi Cheng
-mtd.git (git://git.infradead.org/l2-mtd.git) Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 + arch/arm64/boot/dts/mediatek

[PATCH 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-08 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..a14f005 100644 --- a/arch/arm64

[PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-08 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 +++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-08 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 +++ 1 file changed, 25 insertions(+) create mode 100644 Documen

[PATCH 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-08 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk_nor.c | 533 ++ 3 files changed, 541 inse

[PATCH 0/3] Mediatek SPI-NOR flash driver

2015-09-08 Thread Bayi Cheng
-mtd.git (git://git.infradead.org/l2-mtd.git) Bayi Cheng (3): doc: dt: add documentation for Mediatek spi-nor controller mtd: mtk-nor: mtk serial flash controller driver arm64: dts: mt8173: Add nor flash node Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 + arch/arm64/boot/dts/mediatek

[PATCH 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-08 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng <bayi.ch...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index d18ee42..a