* [PATCH v1] mtd: mtk-nor: set controller's address width according to nor flas
@ 2017-04-05 8:37 Guochun Mao
[not found] ` <1491381462-21893-1-git-send-email-guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Guochun Mao @ 2017-04-05 8:37 UTC (permalink / raw)
To: Cyrille Pitchen
Cc: David Woodhouse, Richard Weinberger, Rob Herring, Mark Rutland,
Matthias Brugger, Russell King, linux-mtd, devicetree,
linux-arm-kernel, linux-mediatek, linux-kernel
Guochun Mao (1):
mtd: mtk-nor: set controller's address width according to nor flash
drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
--
1.9.1
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <1491381462-21893-1-git-send-email-guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>]
* [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash [not found] ` <1491381462-21893-1-git-send-email-guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> @ 2017-04-05 8:37 ` Guochun Mao 2017-04-12 20:57 ` Cyrille Pitchen 0 siblings, 1 reply; 7+ messages in thread From: Guochun Mao @ 2017-04-05 8:37 UTC (permalink / raw) To: Cyrille Pitchen Cc: David Woodhouse, 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, Guochun Mao When nor's size larger than 16MByte, nor's address width maybe set to 3 or 4, and controller should change address width according to nor's setting. Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> --- drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c index e661877..b637770 100644 --- a/drivers/mtd/spi-nor/mtk-quadspi.c +++ b/drivers/mtd/spi-nor/mtk-quadspi.c @@ -104,6 +104,8 @@ #define MTK_NOR_MAX_RX_TX_SHIFT 6 /* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */ #define MTK_NOR_MAX_SHIFT 7 +/* nor controller 4-byte address mode enable bit */ +#define MTK_NOR_4B_ADDR_EN BIT(4) /* Helpers for accessing the program data / shift data registers */ #define MTK_NOR_PRG_REG(n) (MTK_NOR_PRGDATA0_REG + 4 * (n)) @@ -230,10 +232,35 @@ static int mt8173_nor_write_buffer_disable(struct mt8173_nor *mt8173_nor) 10000); } +static void mt8173_nor_set_addr_width(struct mt8173_nor *mt8173_nor) +{ + u8 val; + struct spi_nor *nor = &mt8173_nor->nor; + + val = readb(mt8173_nor->base + MTK_NOR_DUAL_REG); + + switch (nor->addr_width) { + case 3: + val &= ~MTK_NOR_4B_ADDR_EN; + break; + case 4: + val |= MTK_NOR_4B_ADDR_EN; + break; + default: + dev_warn(mt8173_nor->dev, "Unexpected address width %u.\n", + nor->addr_width); + break; + } + + writeb(val, mt8173_nor->base + MTK_NOR_DUAL_REG); +} + static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) { int i; + mt8173_nor_set_addr_width(mt8173_nor); + for (i = 0; i < 3; i++) { writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); addr >>= 8; -- 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] 7+ messages in thread
* Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash 2017-04-05 8:37 ` [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash Guochun Mao @ 2017-04-12 20:57 ` Cyrille Pitchen 2017-04-13 2:40 ` Guochun Mao 0 siblings, 1 reply; 7+ messages in thread From: Cyrille Pitchen @ 2017-04-12 20:57 UTC (permalink / raw) To: Guochun Mao, Cyrille Pitchen Cc: Mark Rutland, devicetree, Richard Weinberger, Russell King, linux-kernel, Rob Herring, linux-mtd, Matthias Brugger, linux-mediatek, David Woodhouse, linux-arm-kernel Hi Guochun, Le 05/04/2017 à 10:37, Guochun Mao a écrit : > When nor's size larger than 16MByte, nor's address width maybe > set to 3 or 4, and controller should change address width according > to nor's setting. > > Signed-off-by: Guochun Mao <guochun.mao@mediatek.com> > --- > drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c > index e661877..b637770 100644 > --- a/drivers/mtd/spi-nor/mtk-quadspi.c > +++ b/drivers/mtd/spi-nor/mtk-quadspi.c > @@ -104,6 +104,8 @@ > #define MTK_NOR_MAX_RX_TX_SHIFT 6 > /* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */ > #define MTK_NOR_MAX_SHIFT 7 > +/* nor controller 4-byte address mode enable bit */ > +#define MTK_NOR_4B_ADDR_EN BIT(4) > > /* Helpers for accessing the program data / shift data registers */ > #define MTK_NOR_PRG_REG(n) (MTK_NOR_PRGDATA0_REG + 4 * (n)) > @@ -230,10 +232,35 @@ static int mt8173_nor_write_buffer_disable(struct mt8173_nor *mt8173_nor) > 10000); > } > > +static void mt8173_nor_set_addr_width(struct mt8173_nor *mt8173_nor) > +{ > + u8 val; > + struct spi_nor *nor = &mt8173_nor->nor; > + > + val = readb(mt8173_nor->base + MTK_NOR_DUAL_REG); > + > + switch (nor->addr_width) { > + case 3: > + val &= ~MTK_NOR_4B_ADDR_EN; > + break; > + case 4: > + val |= MTK_NOR_4B_ADDR_EN; > + break; > + default: > + dev_warn(mt8173_nor->dev, "Unexpected address width %u.\n", > + nor->addr_width); > + break; > + } > + > + writeb(val, mt8173_nor->base + MTK_NOR_DUAL_REG); > +} > + > static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) > { > int i; > > + mt8173_nor_set_addr_width(mt8173_nor); > + > for (i = 0; i < 3; i++) { Should it be 'i < nor->addr_width' instead of 'i < 3' ? Does it work when accessing data after 128Mbit ? Best regards, Cyrille > writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); > addr >>= 8; > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash 2017-04-12 20:57 ` Cyrille Pitchen @ 2017-04-13 2:40 ` Guochun Mao 2017-04-13 8:24 ` Cyrille Pitchen 0 siblings, 1 reply; 7+ messages in thread From: Guochun Mao @ 2017-04-13 2:40 UTC (permalink / raw) To: Cyrille Pitchen Cc: Cyrille Pitchen, Mark Rutland, devicetree, Richard Weinberger, Russell King, linux-kernel, Rob Herring, linux-mtd, Matthias Brugger, linux-mediatek, David Woodhouse, linux-arm-kernel Hi Cyrille, On Wed, 2017-04-12 at 22:57 +0200, Cyrille Pitchen wrote: > Hi Guochun, > > Le 05/04/2017 à 10:37, Guochun Mao a écrit : > > When nor's size larger than 16MByte, nor's address width maybe > > set to 3 or 4, and controller should change address width according > > to nor's setting. > > > > Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>st > > --- > > drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++ > > 1 file changed, 27 insertions(+) > > > > diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c > > index e661877..b637770 100644 > > --- a/drivers/mtd/spi-nor/mtk-quadspi.c > > +++ b/drivers/mtd/spi-nor/mtk-quadspi.c > > @@ -104,6 +104,8 @@ > > #define MTK_NOR_MAX_RX_TX_SHIFT 6 > > /* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */ > > #define MTK_NOR_MAX_SHIFT 7 > > +/* nor controller 4-byte address mode enable bit */ > > +#define MTK_NOR_4B_ADDR_EN BIT(4) > > > > /* Helpers for accessing the program data / shift data registers */ > > #define MTK_NOR_PRG_REG(n) (MTK_NOR_PRGDATA0_REG + 4 * (n)) > > @@ -230,10 +232,35 @@ static int mt8173_nor_write_buffer_disable(struct mt8173_nor *mt8173_nor) > > 10000); > > } > > > > +static void mt8173_nor_set_addr_width(struct mt8173_nor *mt8173_nor) > > +{ > > + u8 val; > > + struct spi_nor *nor = &mt8173_nor->nor; > > + > > + val = readb(mt8173_nor->base + MTK_NOR_DUAL_REG); > > + > > + switch (nor->addr_width) { > > + case 3: > > + val &= ~MTK_NOR_4B_ADDR_EN; > > + break; > > + case 4: > > + val |= MTK_NOR_4B_ADDR_EN; > > + break; > > + default: > > + dev_warn(mt8173_nor->dev, "Unexpected address width %u.\n", > > + nor->addr_width); > > + break; > > + } > > + > > + writeb(val, mt8173_nor->base + MTK_NOR_DUAL_REG); > > +} > > + > > static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) > > { > > int i; > > > > + mt8173_nor_set_addr_width(mt8173_nor); > > + > > for (i = 0; i < 3; i++) { > > Should it be 'i < nor->addr_width' instead of 'i < 3' ? > Does it work when accessing data after 128Mbit ? Yes, it can work. Let's see the whole function, static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) { int i; mt8173_nor_set_addr_width(mt8173_nor); for (i = 0; i < 3; i++) { writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); addr >>= 8; } /* Last register is non-contiguous */ writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR3_REG); } The nor controller has 4 registers for address. This '3' indicates the number of contiguous address' registers base + MTK_NOR_RADR0_REG(0x10) base + MTK_NOR_RADR1_REG(0x14) base + MTK_NOR_RADR2_REG(0x18), but the last address register is non-contiguous, it's base + MTK_NOR_RADR3_REG(0xc8) mt8173_nor_set_addr will set addr into these 4 registers by Byte. The bit MTK_NOR_4B_ADDR_EN will decide whether 3-byte(0x10,0x14,0x18) or 4-byte(0x10,0x14,x018,0xc8) been sent to nor device. and, it can access data after 128Mbit when sent 4-byte address. Best regards, Guochun > > Best regards, > > Cyrille > > > writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); > > addr >>= 8; > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash 2017-04-13 2:40 ` Guochun Mao @ 2017-04-13 8:24 ` Cyrille Pitchen 2017-04-16 17:18 ` Cyrille Pitchen 0 siblings, 1 reply; 7+ messages in thread From: Cyrille Pitchen @ 2017-04-13 8:24 UTC (permalink / raw) To: Guochun Mao Cc: Cyrille Pitchen, Mark Rutland, devicetree, Richard Weinberger, Russell King, linux-kernel, Rob Herring, linux-mtd, Matthias Brugger, linux-mediatek, David Woodhouse, linux-arm-kernel Hi Guochun, Le 13/04/2017 à 04:40, Guochun Mao a écrit : > Hi Cyrille, > > On Wed, 2017-04-12 at 22:57 +0200, Cyrille Pitchen wrote: >> Hi Guochun, >> >> Le 05/04/2017 à 10:37, Guochun Mao a écrit : >>> When nor's size larger than 16MByte, nor's address width maybe >>> set to 3 or 4, and controller should change address width according >>> to nor's setting. >>> >>> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>st Acked-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> >>> --- >>> drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++ >>> 1 file changed, 27 insertions(+) >>> >>> diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c >>> index e661877..b637770 100644 >>> --- a/drivers/mtd/spi-nor/mtk-quadspi.c >>> +++ b/drivers/mtd/spi-nor/mtk-quadspi.c >>> @@ -104,6 +104,8 @@ >>> #define MTK_NOR_MAX_RX_TX_SHIFT 6 >>> /* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */ >>> #define MTK_NOR_MAX_SHIFT 7 >>> +/* nor controller 4-byte address mode enable bit */ >>> +#define MTK_NOR_4B_ADDR_EN BIT(4) >>> >>> /* Helpers for accessing the program data / shift data registers */ >>> #define MTK_NOR_PRG_REG(n) (MTK_NOR_PRGDATA0_REG + 4 * (n)) >>> @@ -230,10 +232,35 @@ static int mt8173_nor_write_buffer_disable(struct mt8173_nor *mt8173_nor) >>> 10000); >>> } >>> >>> +static void mt8173_nor_set_addr_width(struct mt8173_nor *mt8173_nor) >>> +{ >>> + u8 val; >>> + struct spi_nor *nor = &mt8173_nor->nor; >>> + >>> + val = readb(mt8173_nor->base + MTK_NOR_DUAL_REG); >>> + >>> + switch (nor->addr_width) { >>> + case 3: >>> + val &= ~MTK_NOR_4B_ADDR_EN; >>> + break; >>> + case 4: >>> + val |= MTK_NOR_4B_ADDR_EN; >>> + break; >>> + default: >>> + dev_warn(mt8173_nor->dev, "Unexpected address width %u.\n", >>> + nor->addr_width); >>> + break; >>> + } >>> + >>> + writeb(val, mt8173_nor->base + MTK_NOR_DUAL_REG); >>> +} >>> + >>> static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) >>> { >>> int i; >>> >>> + mt8173_nor_set_addr_width(mt8173_nor); >>> + >>> for (i = 0; i < 3; i++) { >> >> Should it be 'i < nor->addr_width' instead of 'i < 3' ? >> Does it work when accessing data after 128Mbit ? > > Yes, it can work. > > Let's see the whole function, > > static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) > { > int i; > > mt8173_nor_set_addr_width(mt8173_nor); > > for (i = 0; i < 3; i++) { > writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG > + i * 4); > addr >>= 8; > } > /* Last register is non-contiguous */ > writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR3_REG); > } > > The nor controller has 4 registers for address. > This '3' indicates the number of contiguous address' registers > base + MTK_NOR_RADR0_REG(0x10) > base + MTK_NOR_RADR1_REG(0x14) > base + MTK_NOR_RADR2_REG(0x18), > but the last address register is non-contiguous, > it's base + MTK_NOR_RADR3_REG(0xc8) > > mt8173_nor_set_addr will set addr into these 4 registers by Byte. > The bit MTK_NOR_4B_ADDR_EN will decide whether 3-byte(0x10,0x14,0x18) > or 4-byte(0x10,0x14,x018,0xc8) been sent to nor device. > and, it can access data after 128Mbit when sent 4-byte address. Indeed, you're right. Sorry for the noise! > > Best regards, > > Guochun > >> >> Best regards, >> >> Cyrille >> >>> writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); >>> addr >>= 8; >>> >> > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash 2017-04-13 8:24 ` Cyrille Pitchen @ 2017-04-16 17:18 ` Cyrille Pitchen [not found] ` <e78dba15-80d0-f2c3-c963-a7eb033af58d-yU5RGvR974pGWvitb5QawA@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Cyrille Pitchen @ 2017-04-16 17:18 UTC (permalink / raw) To: Guochun Mao Cc: Mark Rutland, devicetree, Richard Weinberger, Russell King, linux-kernel, Rob Herring, linux-mtd, Matthias Brugger, linux-mediatek, Cyrille Pitchen, David Woodhouse, linux-arm-kernel Le 13/04/2017 à 10:24, Cyrille Pitchen a écrit : > Hi Guochun, > > Le 13/04/2017 à 04:40, Guochun Mao a écrit : >> Hi Cyrille, >> >> On Wed, 2017-04-12 at 22:57 +0200, Cyrille Pitchen wrote: >>> Hi Guochun, >>> >>> Le 05/04/2017 à 10:37, Guochun Mao a écrit : >>>> When nor's size larger than 16MByte, nor's address width maybe >>>> set to 3 or 4, and controller should change address width according >>>> to nor's setting. >>>> >>>> Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>st > > Acked-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> > Applied to github/spi-nor Thanks! >>>> --- >>>> drivers/mtd/spi-nor/mtk-quadspi.c | 27 +++++++++++++++++++++++++++ >>>> 1 file changed, 27 insertions(+) >>>> >>>> diff --git a/drivers/mtd/spi-nor/mtk-quadspi.c b/drivers/mtd/spi-nor/mtk-quadspi.c >>>> index e661877..b637770 100644 >>>> --- a/drivers/mtd/spi-nor/mtk-quadspi.c >>>> +++ b/drivers/mtd/spi-nor/mtk-quadspi.c >>>> @@ -104,6 +104,8 @@ >>>> #define MTK_NOR_MAX_RX_TX_SHIFT 6 >>>> /* can shift up to 56 bits (7 bytes) transfer by MTK_NOR_PRG_CMD */ >>>> #define MTK_NOR_MAX_SHIFT 7 >>>> +/* nor controller 4-byte address mode enable bit */ >>>> +#define MTK_NOR_4B_ADDR_EN BIT(4) >>>> >>>> /* Helpers for accessing the program data / shift data registers */ >>>> #define MTK_NOR_PRG_REG(n) (MTK_NOR_PRGDATA0_REG + 4 * (n)) >>>> @@ -230,10 +232,35 @@ static int mt8173_nor_write_buffer_disable(struct mt8173_nor *mt8173_nor) >>>> 10000); >>>> } >>>> >>>> +static void mt8173_nor_set_addr_width(struct mt8173_nor *mt8173_nor) >>>> +{ >>>> + u8 val; >>>> + struct spi_nor *nor = &mt8173_nor->nor; >>>> + >>>> + val = readb(mt8173_nor->base + MTK_NOR_DUAL_REG); >>>> + >>>> + switch (nor->addr_width) { >>>> + case 3: >>>> + val &= ~MTK_NOR_4B_ADDR_EN; >>>> + break; >>>> + case 4: >>>> + val |= MTK_NOR_4B_ADDR_EN; >>>> + break; >>>> + default: >>>> + dev_warn(mt8173_nor->dev, "Unexpected address width %u.\n", >>>> + nor->addr_width); >>>> + break; >>>> + } >>>> + >>>> + writeb(val, mt8173_nor->base + MTK_NOR_DUAL_REG); >>>> +} >>>> + >>>> static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) >>>> { >>>> int i; >>>> >>>> + mt8173_nor_set_addr_width(mt8173_nor); >>>> + >>>> for (i = 0; i < 3; i++) { >>> >>> Should it be 'i < nor->addr_width' instead of 'i < 3' ? >>> Does it work when accessing data after 128Mbit ? >> >> Yes, it can work. >> >> Let's see the whole function, >> >> static void mt8173_nor_set_addr(struct mt8173_nor *mt8173_nor, u32 addr) >> { >> int i; >> >> mt8173_nor_set_addr_width(mt8173_nor); >> >> for (i = 0; i < 3; i++) { >> writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG >> + i * 4); >> addr >>= 8; >> } >> /* Last register is non-contiguous */ >> writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR3_REG); >> } >> >> The nor controller has 4 registers for address. >> This '3' indicates the number of contiguous address' registers >> base + MTK_NOR_RADR0_REG(0x10) >> base + MTK_NOR_RADR1_REG(0x14) >> base + MTK_NOR_RADR2_REG(0x18), >> but the last address register is non-contiguous, >> it's base + MTK_NOR_RADR3_REG(0xc8) >> >> mt8173_nor_set_addr will set addr into these 4 registers by Byte. >> The bit MTK_NOR_4B_ADDR_EN will decide whether 3-byte(0x10,0x14,0x18) >> or 4-byte(0x10,0x14,x018,0xc8) been sent to nor device. >> and, it can access data after 128Mbit when sent 4-byte address. > > Indeed, you're right. Sorry for the noise! > >> >> Best regards, >> >> Guochun >> >>> >>> Best regards, >>> >>> Cyrille >>> >>>> writeb(addr & 0xff, mt8173_nor->base + MTK_NOR_RADR0_REG + i * 4); >>>> addr >>= 8; >>>> >>> >> >> >> > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <e78dba15-80d0-f2c3-c963-a7eb033af58d-yU5RGvR974pGWvitb5QawA@public.gmane.org>]
* Re: [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash [not found] ` <e78dba15-80d0-f2c3-c963-a7eb033af58d-yU5RGvR974pGWvitb5QawA@public.gmane.org> @ 2017-04-17 3:34 ` Guochun Mao 0 siblings, 0 replies; 7+ messages in thread From: Guochun Mao @ 2017-04-17 3:34 UTC (permalink / raw) To: Cyrille Pitchen Cc: Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Richard Weinberger, Russell King, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Matthias Brugger, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Cyrille Pitchen, David Woodhouse, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Hi Cyrille, On Sun, 2017-04-16 at 19:18 +0200, Cyrille Pitchen wrote: > Le 13/04/2017 à 10:24, Cyrille Pitchen a écrit : > > Hi Guochun, > > > > Le 13/04/2017 à 04:40, Guochun Mao a écrit : > >> Hi Cyrille, > >> > >> On Wed, 2017-04-12 at 22:57 +0200, Cyrille Pitchen wrote: > >>> Hi Guochun, > >>> > >>> Le 05/04/2017 à 10:37, Guochun Mao a écrit : > >>>> When nor's size larger than 16MByte, nor's address width maybe > >>>> set to 3 or 4, and controller should change address width according > >>>> to nor's setting. > >>>> > >>>> Signed-off-by: Guochun Mao <guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>st > > > > Acked-by: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > > > > Applied to github/spi-nor Thank you very much! Best regards, 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] 7+ messages in thread
end of thread, other threads:[~2017-04-17 3:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-05 8:37 [PATCH v1] mtd: mtk-nor: set controller's address width according to nor flas Guochun Mao
[not found] ` <1491381462-21893-1-git-send-email-guochun.mao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-04-05 8:37 ` [PATCH v1 1/1] mtd: mtk-nor: set controller's address width according to nor flash Guochun Mao
2017-04-12 20:57 ` Cyrille Pitchen
2017-04-13 2:40 ` Guochun Mao
2017-04-13 8:24 ` Cyrille Pitchen
2017-04-16 17:18 ` Cyrille Pitchen
[not found] ` <e78dba15-80d0-f2c3-c963-a7eb033af58d-yU5RGvR974pGWvitb5QawA@public.gmane.org>
2017-04-17 3:34 ` Guochun Mao
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).