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
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
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
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
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 manufac
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/sp
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
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-
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
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
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
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
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
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 (2):
mtd: mtk-nor: mtk serial flash controller driver
arm64: dts: mt8173: Add nor flash node
arch/arm64/boot/dts/mediat
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
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
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
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.
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
> > ---
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.../
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
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
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
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 Mediatek spi-nor controller
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
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
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
nd l2-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
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
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
nd l2-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/med
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
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
47 matches
Mail list logo