0 |-|
| kernel |
| (5MB) |
0x70 |-|
| file system |
| (9MB) |
0x100 |-|
Signed-off-by: Mingkai Hu
---
Based on 'next' branch on git tree:
git://git
Signed-off-by: Mingkai Hu
---
arch/powerpc/boot/dts/fsl/pq3-mpic-message-B.dtsi | 43 +
arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi | 10 +
2 files changed, 53 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/fsl/pq3-mpic-message-B.dtsi
Signed-off-by: Mingkai Hu
---
arch/powerpc/sysdev/mpic_msgr.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c
index dc1cfe3..483d8fa 100644
--- a/arch/powerpc/sysdev/mpic_msgr.c
+++ b/arch/powerpc/sysdev
Also fix issue of accessing invalid msgr pointer issue. The local
msgr pointer in fucntion mpic_msgr_get will be accessed before
getting a valid address which will cause kernel crash.
Signed-off-by: Mingkai Hu
---
arch/powerpc/sysdev/mpic_msgr.c | 10 +-
1 files changed, 5 insertions
[arch/powerpc/sysdev/mpic_msgr.o] Error 1
Signed-off-by: Mingkai Hu
---
arch/powerpc/include/asm/mpic_msgr.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/include/asm/mpic_msgr.h
b/arch/powerpc/include/asm/mpic_msgr.h
index 3ec37dc..326d33c 100644
--- a/arch
one x4 PCIe SLOT2
Signed-off-by: Mingkai Hu
---
Based on http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
arch/powerpc/boot/dts/p2040rdb.dts | 166 +++
arch/powerpc/boot/dts/p2040si.dtsi | 623 ++
arch/powerpc/configs
Or else we cann't operate on the right address when the trans length
is greater than 65535.
Signed-off-by: Mingkai Hu
---
drivers/spi/spi_fsl_espi.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/spi_fsl_espi.c b/drivers/spi/spi_fsl_e
he data out, that is we can't clear the rx FIFO,
then the CPU will loop on the espi rx interrupt.
Signed-off-by: Mingkai Hu
---
The patch 2/2 is againsted on this patch, so I resent this patch again
for convience which sent several weeks ago.
drivers/spi/spi_fsl_espi.c | 19
he data out, that is we can't clear the rx FIFO,
then the CPU will loop on the espi rx interrupt.
Signed-off-by: Mingkai Hu
---
drivers/spi/spi_fsl_espi.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi_fsl_espi.c b/drivers/spi/spi_
This patchset refactor the file spi_mpc8xxx.c to abstract some common
code as a lib used by the SPI/eSPI controller driver, move the SPI
controller driver code to spi_fsl_spi.c, and add the eSPI controller
support with spi_fsl_espi.c.
v4 main change:
- Update to the latest kernel base(Linux 2.
Signed-off-by: Mingkai Hu
Acked-by: Grant Likely
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
- Made changes according to Grant's comments.
drivers/mtd/devices/m25p80.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/devices/m25p8
code operated the register to the
driver code, not the common code.
Signed-off-by: Mingkai Hu
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi/spi_fsl_lib.c | 237 +++
drivers/spi
field which is 0x. When used mkfs.ext2 command to create ext2
filesystem on the flash, the read length will exceed the max value of
the SPCOM[TRANSLEN] field.
Signed-off-by: Mingkai Hu
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
- Added support to the transaction that the l
Also modifiy the document of cell-index in SPI controller. Add the
SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board.
Signed-off-by: Mingkai Hu
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 ++-
arch
Signed-off-by: Mingkai Hu
---
v3:
- Add "spi-quirk-trans-len-limit" property to the board's dts.
Documentation/powerpc/dts-bindings/fsl/spi.txt |3 +++
arch/powerpc/boot/dts/mpc8536ds.dts|1 +
arch/powerpc/boot/dts/p4080ds.dts |1 +
3 f
subsystem, the command and data are put into different transfers, so
we need to combine all the transfers to one transfer in order to pass
the transfer to eSPI controller.
Signed-off-by: Mingkai Hu
---
v3:
- Update to the latest kernel base.
drivers/spi/Kconfig|9 +
drive
code operated the register to the
driver code, not the common code.
Signed-off-by: Mingkai Hu
---
v3:
- Update to the latest kernel base.
- Add a void *reg_base to compatible for SPI and eSPI register base.
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi
on to read page by page.
For other SPI flash driver, also needed to supply the read function
if used the eSPI controller.
Signed-off-by: Mingkai Hu
---
v3:
- Add a quirks member for the SPI master to handle the contrains of the
SPI controller. I can't think of other method. :-(
d
Signed-off-by: Mingkai Hu
---
v3:
- Move the SPI flash partition code to the probe function.
drivers/mtd/devices/m25p80.c | 39 +++
1 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
Also modifiy the document of cell-index in SPI controller. Add the
SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board.
Signed-off-by: Mingkai Hu
---
v3:
- Add "fsl,p4080-espi" compatible property.
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 ++-
arch/po
This patchset refactor the file spi_mpc8xxx.c to abstract some common
code as a lib used by the SPI/eSPI controller driver, move the SPI
controller driver code to spi_fsl_spi.c, and add the eSPI controller
support with spi_fsl_espi.c.
Tested on P4080DS and MPC8536DS board based on latest Linux
on to read page by page.
For other SPI flash driver, also needed to supply the read function
if used the eSPI controller.
Signed-off-by: Mingkai Hu
---
v2:
- Add SPI_MASTER_TRANS_LIMIT flag to indicate the master's trans length
limitation, so the MTD driver can select the correc
Signed-off-by: Mingkai Hu
---
v2:
- Move the flash partition function from of_spi.c to MTD driver
drivers/mtd/devices/m25p80.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
subsystem, the command and data are put into different transfers, so
we need to combine all the transfers to one transfer in order to pass
the transfer to eSPI controller.
Signed-off-by: Mingkai Hu
---
v2:
- Rename fsl_espi.c to spi_fsl_espi.c, also the config name
- Move register map
Also modifiy the document of cell-index in SPI controller.
Signed-off-by: Mingkai Hu
---
v2:
- Add cell-index clarification
- Add mpc8536 chip name to the compatible value
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 +++-
1 files changed, 23 insertions(+), 1
Signed-off-by: Mingkai Hu
---
v2:
- Remove the whitespace inconsitencies
arch/powerpc/boot/dts/mpc8536ds.dts | 52 +++
arch/powerpc/boot/dts/p4080ds.dts | 11 +++-
2 files changed, 56 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/boot/dts
In-Reply-To:
This patchset refactor the file spi_mpc8xxx.c to abstract some common
code as a lib used by the SPI/eSPI controller driver, move the SPI
controller driver code to spi_fsl_spi.c, and add the eSPI controller
support with spi_fsl_espi.c.
Tested on P4080DS and MPC8536DS board based on
Signed-off-by: Mingkai Hu
---
arch/powerpc/boot/dts/mpc8536ds.dts | 52 +++
arch/powerpc/boot/dts/p4080ds.dts |9 ++
2 files changed, 55 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts
b/arch/powerpc/boot/dts
transfers in the same message are needed to combine to one transfer.
Signed-off-by: Mingkai Hu
---
drivers/spi/Kconfig |7 +
drivers/spi/Makefile |1 +
drivers/spi/fsl_espi.c| 562 +
drivers/spi/spi_mpc8xxx.h | 12 +
4 fil
Signed-off-by: Mingkai Hu
---
drivers/of/of_spi.c | 11 +++
drivers/spi/spi_mpc8xxx.c |1 +
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/drivers/of/of_spi.c b/drivers/of/of_spi.c
index 5fed7e3..284ca0e 100644
--- a/drivers/of/of_spi.c
+++ b/drivers/of
Signed-off-by: Mingkai Hu
---
Documentation/powerpc/dts-bindings/fsl/spi.txt | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt
b/Documentation/powerpc/dts-bindings/fsl/spi.txt
index 80510c0..b360bf9 100644
on to read page by page.
For other SPI flash driver, also needed to change the read function
if used the eSPI controller.
Signed-off-by: Mingkai Hu
---
drivers/mtd/devices/m25p80.c | 18 ++
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/devices/m25
This patchset refactor the file spi_mpc8xxx.c to abstract some common code
as a lib used by the SPI/eSPI controller driver, move the SPI controller
driver code to fsl_spi.c, and add the eSPI controller support with fsl_espi.c.
Tested on P4080DS and MPC8536DS board based on latest Linux tree.
[PAT
There is no standard way of getting device platform data from
dts file to the I2C device when it's probed. This patch adds
a function pointer to the of_modalias_table to get such bindings
properties into device's platform data.
Signed-off-by: Mingkai Hu
---
Thanks to Scott Wood
34 matches
Mail list logo