SATA port
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |4 +
arch/powerpc/platforms/85xx/Kconfig |2 +-
arch/powerpc
On 06/03/2014 05:59 PM, Tudor Laurentiu wrote:
Hi Chunhe
Comment inline ...
On 06/03/2014 12:10 PM, Chunhe Lan wrote:
diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c
b/arch/powerpc/platforms/85xx/corenet_generic.c
index 8e4b1e1..2f50526 100644
--- a/arch/powerpc/platforms/85xx
SATA port
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |4 +
arch/powerpc/platforms/85xx/Kconfig |2 +-
arch/powerpc
On 05/31/2014 05:25 AM, Scott Wood wrote:
On Wed, 2014-05-28 at 16:11 +0800, Chunhe Lan wrote:
diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c
b/arch/powerpc/platforms/85xx/corenet_generic.c
index 8e4b1e1..2f50526 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch
T4240QDS and T4240RDB have the third DMA engine
controller. So add corresponding DMA node into
dts file.
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |1 +
arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi |1 +
2 files changed, 2 insertions(+), 0
SATA port
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |5 +
arch/powerpc/platforms/85xx/Kconfig |2 +-
arch/powerpc
On 01/14/2014 06:14 PM, Benjamin Herrenschmidt wrote:
On Tue, 2014-01-14 at 17:44 +0800, Chunhe Lan wrote:
Without this patch, kind of below error will be dumped if
'insmod ixgbevf.ko' is executed:
ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function
Netw
: enabling device ( -> 0002)
ixgbevf :01:10.0: No usable DMA configuration, aborting
ixgbevf: probe of :01:10.0 failed with error -5
..
..
Signed-off-by: Chunhe Lan
Cc: Benjamin Herrenschmidt
Tested-by: Chunhe Lan
---
arch/powerpc/include/asm/dma-map
On the P1023RDB, when board leaves the factory, it has
two Atheros wireless cards on the PCIe slot. So enable
ath9k wireless driver support.
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/configs/85xx/p1023_defconfig |5 +
1 files changed, 5 insertions(+), 0 deletions
FIXUP_EARLY macro to fix this issue.
Signed-off-by: Chunhe Lan
Cc: Benjamin Herrenschmidt
Cc: Bjorn Helgaas
Cc: Paul Mackerras
---
arch/powerpc/sysdev/fsl_pci.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
Changes for v2:
- Add the NAND flash node in the device tree
- Rename defconfig from p1023rds_defconfig to p1023_defconfig
- Delete a new p1023rdb Kconfig option
On 07/31/2013 02:57 AM, Scott Wood wrote:
On 07/30/2013 06:40:29 AM, Chunhe Lan wrote: +
+lbc: localbus@ff605000 {
+reg = <0 0xff605000 0 0x1000>;
+
+/* NOR, NAND Flashes */
+ranges = <0x0 0x0 0x0 0xec00 0x0400
+ 0x1 0x0 0x0 0xffa0 0
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/boot/dts/p1023rdb.dts | 237 ++
arch/powerpc/configs/85xx/p1023_defconfig| 183
arch/powerpc/configs/85xx
On 07/30/2013 09:09 AM, Scott Wood wrote:
On Fri, Jun 14, 2013 at 04:26:20PM +0800, Chunhe Lan wrote:
Ethernet:
eTSEC1: Connected to Atheros AR8035 GETH PHY
eTSEC2: Connected to Atheros AR8035 GETH PHY
Where are the PHYs in the device tree?
"Atheros AR8035 GETH PHY"
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
Cc: Kumar Gala
---
arch/powerpc/boot/dts/p1023rdb.dts | 191 ++
arch/powerpc/configs/85xx/p1023rds_defconfig |4 +
arch/powerpc/platforms/85xx/Kconfig |6
On the most boards of Freescale platform, they use the PCI-Express
Intel(R) PRO/1000 gigabit ethernet card to work. So enable the
corresponding driver for it.
Signed-off-by: Chunhe Lan
---
arch/powerpc/configs/mpc85xx_smp_defconfig |1 +
1 files changed, 1 insertions(+), 0 deletions
interrupts to mpic via interrupt 0.
This patch can handle both of them.
Signed-off-by: Chunhe Lan
---
drivers/edac/mpc85xx_edac.c | 94 --
drivers/edac/mpc85xx_edac.h |5 ++
2 files changed, 85 insertions(+), 14 deletions(-)
diff --git a/drivers/edac
On 03/09/2013 03:22 AM, Gala Kumar-B11780 wrote:
On Mar 8, 2013, at 2:32 AM, Chunhe Lan wrote:
Adding pcie error interrupt edac support for mpc85xx, p3041, p4080,
and p5020. The mpc85xx uses the legacy interrupt report mechanism -
the error interrupts are reported directly to mpic. While, the
interrupts to mpic via interrupt 0.
This patch can handle both of them.
Signed-off-by: Chunhe Lan
---
drivers/edac/mpc85xx_edac.c | 169 ---
drivers/edac/mpc85xx_edac.h |7 ++
2 files changed, 165 insertions(+), 11 deletions(-)
diff --git a/drivers/edac
On 03/08/2013 12:30 AM, Gala Kumar-B11780 wrote:
On Mar 7, 2013, at 2:05 AM, Chunhe Lan wrote:
This patch fixes timeout problems on t4240's sdhci controller:
mmc0: Too large timeout requested for CMD25!
mmc0: Too large timeout requested for CMD25!
mmc0: Too
This patch fixes timeout problems on t4240's sdhci controller:
mmc0: Too large timeout requested for CMD25!
mmc0: Too large timeout requested for CMD25!
mmc0: Too large timeout requested for CMD25!
Signed-off-by: Chunhe Lan
---
drivers/mmc/host/sdhci-pltfm.c |1
On the some platforms of Freescale, sdhci controller can only
support 1.8V voltage, but the peripheral hardware circuit has
capability to support 3.3V voltage.
Signed-off-by: Chunhe Lan
---
drivers/mmc/host/sdhci.c |3 +++
include/linux/mmc/sdhci.h |4
2 files changed, 7
On 09/28/2012 01:35 PM, Scott Wood wrote:
On 09/27/2012 05:33:26 PM, Kumar Gala wrote:
On Sep 27, 2012, at 4:51 PM, Scott Wood wrote:
> On 09/27/2012 04:45:08 PM, Gala Kumar-B11780 wrote:
>> On Sep 27, 2012, at 11:09 AM, Scott Wood wrote:
>>> On 09/27/2012 02:02:03 PM
On 09/27/2012 12:09 PM, Scott Wood wrote:
On 09/27/2012 02:02:03 PM, Chunhe Lan wrote:
Original process of call:
The mpc85xx_pci_err_probe function completes to been registered
and enabled of EDAC PCI err driver at the latter time stage of
kernel boot in the mpc85xx_edac.c.
Current
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan
---
arch/powerpc/sysdev/fsl_pci.h | 46 +---
drivers/edac/mpc85xx_edac.h | 12 +-
2 files changed, 40 insertions(+), 18
robed and
initialized by device_initcall in the fsl_pci.c.
Signed-off-by: Chunhe Lan
---
arch/powerpc/sysdev/fsl_pci.c | 12 ++
arch/powerpc/sysdev/fsl_pci.h |5
drivers/edac/mpc85xx_edac.c | 47
3 files changed, 50 insertions(+
patch can handle both
of them.
Signed-off-by: Chunhe Lan
---
drivers/edac/mpc85xx_edac.c | 228 +--
drivers/edac/mpc85xx_edac.h |8 ++-
2 files changed, 182 insertions(+), 54 deletions(-)
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac
On 09/21/2012 08:33 AM, Arnd Bergmann wrote:
On Friday 21 September 2012, Chunhe Lan wrote:
On 08/10/2012 09:27 AM, Arnd Bergmann wrote:
On Friday 10 August 2012, Chunhe Lan wrote:
cond_resched();
mdelay(ms);
sets off alarm bells, and I would always replace that with msleep
On 08/10/2012 09:27 AM, Arnd Bergmann wrote:
On Friday 10 August 2012, Chunhe Lan wrote:
+static inline void mmc_delay(unsigned int ms)
+{
+ if (ms < 1000 / HZ) {
+ cond_resched();
+ mdelay(ms);
+ } else {
+ msleep(ms);
+ }
+}
Signed-off-by: Chunhe Lan
---
arch/powerpc/configs/85xx/p1023rds_defconfig |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/configs/85xx/p1023rds_defconfig
b/arch/powerpc/configs/85xx/p1023rds_defconfig
index 26e541c..b80bcc6 100644
--- a/arch/powerpc
.
When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.
Signed-off-by: Shengzhou Liu
Signed-off-by: Chunhe Lan
Signed-off-by: Kumar Gala
Cc: Chris Ball
---
drivers/mmc/host/sdhci-esdhc.h |4
Move mmc_delay() from drivers/mmc/core/core.h to
include/linux/mmc/core.h. So when other functions
call it with include syntax using
of absolute path rather than "../core/core.h" of
relative path.
Signed-off-by: Chunhe Lan
Signed-off-by: Kumar Gala
Cc: Chris Ball
---
drivers/mmc/c
patch can handle both
of them.
Signed-off-by: Chunhe Lan
---
drivers/edac/mpc85xx_edac.c | 236 +--
drivers/edac/mpc85xx_edac.h |9 ++-
2 files changed, 191 insertions(+), 54 deletions(-)
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan
---
arch/powerpc/sysdev/fsl_pci.h | 46 +---
drivers/edac/mpc85xx_edac.h | 13 +-
2 files changed, 40 insertions(+), 19
patch can handle both
of them.
Signed-off-by: Chunhe Lan
Signed-off-by: Kumar Gala
Cc: Grant Likely
Cc: Doug Thompson
---
drivers/edac/mpc85xx_edac.c | 236 +--
drivers/edac/mpc85xx_edac.h |9 ++-
2 files changed, 191 insertions(+), 54 deletions
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan
Signed-off-by: Kumar Gala
Cc: Grant Likely
Cc: Doug Thompson
---
arch/powerpc/sysdev/fsl_pci.h | 46 +---
drivers/edac/mpc85xx_edac.h
This document is created for freescale PWM node in dts file. In addition,
it explicates the properties and gives example about PWM node.
Signed-off-by: Chunhe Lan
---
.../devicetree/bindings/powerpc/fsl/pwm.txt| 27
1 files changed, 27 insertions(+), 0 deletions
: NULL
clk_round_rate: NULL
clk_set_parent: NULL
clk_get_parent: NULL
Signed-off-by: Chunhe Lan
---
arch/powerpc/include/asm/clock.h| 33 +++
arch/powerpc/platforms/85xx/Makefile|1 +
arch/powerpc/platforms/85xx/pwm-clock.c | 161
evices/soc.0/e500.2/ff713000.pwm/period_ns
Signed-off-by: Chunhe Lan
---
arch/powerpc/include/asm/fsl_pwm.h | 111 +
drivers/misc/Kconfig | 11 +
drivers/misc/Makefile |1 +
drivers/misc/fsl_pwm.c | 471
4
On Thu, 01 Sep 2011 12:42:08 +0800, Kumar Gala
wrote:
On Aug 26, 2011, at 2:55 AM, Chunhe Lan wrote:
The mmc_delay() is a wrapper function for mdelay() and msleep().
o mdelay() -- block the system when busy-waiting.
o msleep() -- suspend the currently running task to enable CPU
.
When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.
Signed-off-by: Shengzhou Liu
Signed-off-by: Chunhe Lan
Cc: Chris Ball
---
drivers/mmc/host/sdhci.c | 10 +-
1 files changed, 5
.
When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.
Signed-off-by: Shengzhou Liu
Signed-off-by: Chunhe Lan
Cc: Chris Ball
---
drivers/mmc/host/sdhci-esdhc.h |4 ++--
1 files changed, 2
Move mmc_delay() from drivers/mmc/core/core.h to
include/linux/mmc/core.h. So when other functions
call it with include syntax using
of absolute path rather than "../core/core.h" of
relative path.
Signed-off-by: Chunhe Lan
Cc: Chris Ball
---
drivers/mmc/core/core
.
When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.
Signed-off-by: Shengzhou Liu
Signed-off-by: Chunhe Lan
Cc: Chris Ball
---
drivers/mmc/host/sdhci.c | 11 ++-
1 files changed, 6
.
When the desired delay time is more than a period of timer interrupt,
just use msleep(). Change mdelay() to mmc_delay() to avoid chewing
CPU when busy wait.
Signed-off-by: Shengzhou Liu
Signed-off-by: Chunhe Lan
Cc: Chris Ball
---
drivers/mmc/host/sdhci-esdhc.h |6 --
1 files changed, 4
Nand flash nodes with the property status="disabled" are not
usable and so avoid adding "disabled" nand flash devices with
the system.
Signed-off-by: Chunhe Lan
---
drivers/mtd/nand/fsl_elbc_nand.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --gi
Flash(cfi-flash, jedec-flash, and so on) nodes with the
property status="disabled" are not usable and so avoid
adding "disabled" flash devices with the system.
Signed-off-by: Chunhe Lan
---
drivers/mtd/maps/physmap_of.c |3 +++
1 files changed, 3 insertions(+), 0 deleti
should be enabled.
o The "status" property of nor node should be disabled.
Signed-off-by: Chunhe Lan
---
arch/powerpc/boot/dts/p1023rds.dts | 46 +--
1 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/boot/dts/p1023rds.dts
In the p1023rds, a physical bus of nor flash is 16 bits width.
The bank-width is width (in bytes) of the bus width. So, the
value of bank-width of nor flash is not one, and it should be
two.
Signed-off-by: Chunhe Lan
---
arch/powerpc/boot/dts/p1023rds.dts |2 +-
1 files changed, 1
49 matches
Mail list logo