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
SATA port
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |4 +
arch/powerpc/platforms/85xx
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 chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |4 +
arch/powerpc/platforms/85xx
SATA port
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/boot/dts/t4240rdb.dts| 186 +
arch/powerpc/configs/corenet64_smp_defconfig |5 +
arch/powerpc/platforms/85xx
T4240QDS and T4240RDB have the third DMA engine
controller. So add corresponding DMA node into
dts file.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |1 +
arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi
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 chunhe@freescale.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Tested-by: Chunhe Lan chunhe
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
Network Driver
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 chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/configs/85xx/p1023_defconfig |5 +
1
macro to fix this issue.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Bjorn Helgaas bhelg...@google.com
Cc: Paul Mackerras pau...@samba.org
---
arch/powerpc/sysdev/fsl_pci.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
Changes for v2:
- Add the NAND flash node in the device tree
- Rename defconfig from p1023rds_defconfig to p1023_defconfig
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 driver
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/boot/dts/p1023rdb.dts | 237 ++
arch/powerpc/configs/85xx/p1023_defconfig| 183
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 0x0800
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Kumar Gala ga...@kernel.crashing.org
---
arch/powerpc/boot/dts/p1023rdb.dts | 191 ++
arch/powerpc/configs/85xx/p1023rds_defconfig |4 +
arch
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 chunhe@freescale.com
---
arch/powerpc/configs/mpc85xx_smp_defconfig |1 +
1 files changed, 1 insertions
interrupts to mpic via interrupt 0.
This patch can handle both of them.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/edac/mpc85xx_edac.c | 94 --
drivers/edac/mpc85xx_edac.h |5 ++
2 files changed, 85 insertions(+), 14 deletions(-)
diff
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
interrupts to mpic via interrupt 0.
This patch can handle both of them.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/edac/mpc85xx_edac.c | 169 ---
drivers/edac/mpc85xx_edac.h |7 ++
2 files changed, 165 insertions(+), 11 deletions(-)
diff
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 chunhe@freescale.com
---
drivers/mmc/host
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 large
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 chunhe@freescale.com
---
drivers/mmc/host/sdhci.c |3 +++
include/linux/mmc/sdhci.h |4
2
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, Chunhe Lan wrote:
Original
. This patch can handle both
of them.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
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
and
initialized by device_initcall in the fsl_pci.c.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/sysdev/fsl_pci.c | 12 ++
arch/powerpc/sysdev/fsl_pci.h |5
drivers/edac/mpc85xx_edac.c | 47
3 files changed, 50
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/sysdev/fsl_pci.h | 46 +---
drivers/edac/mpc85xx_edac.h | 12 +-
2 files changed, 40
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
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);
+ }
+}
I would
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
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
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 linux/mmc/core.h
of absolute path rather than ../core/core.h of
relative path.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Signed-off-by: Kumar Gala ga
.
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 b36...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Signed-off-by: Kumar Gala ga
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/sysdev/fsl_pci.h | 46 +---
drivers/edac/mpc85xx_edac.h | 13 +-
2 files changed, 40
. This patch can handle both
of them.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
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
remove the hardcoded define and
add pci/pcie error management register in ccsr_pci structure.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Signed-off-by: Kumar Gala ga...@kernel.crashing.org
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Doug Thompson dougthomp...@xmission.com
---
arch
. This patch can handle both
of them.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Signed-off-by: Kumar Gala ga...@kernel.crashing.org
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Doug Thompson dougthomp...@xmission.com
---
drivers/edac/mpc85xx_edac.c | 236
/soc.0/e500.2/ff713000.pwm/period_ns
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/include/asm/fsl_pwm.h | 111 +
drivers/misc/Kconfig | 11 +
drivers/misc/Makefile |1 +
drivers/misc/fsl_pwm.c | 471
: NULL
clk_round_rate: NULL
clk_set_parent: NULL
clk_get_parent: NULL
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/include/asm/clock.h| 33 +++
arch/powerpc/platforms/85xx/Makefile|1 +
arch/powerpc/platforms/85xx/pwm-clock.c | 161
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 chunhe@freescale.com
---
.../devicetree/bindings/powerpc/fsl/pwm.txt| 27
1 files changed, 27
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 linux/mmc/core.h
of absolute path rather than ../core/core.h of
relative path.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Chris Ball c...@laptop.org
.
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 b36...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Chris Ball c...@laptop.org
.
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 b36...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Chris Ball c...@laptop.org
.
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 b36...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Chris Ball c...@laptop.org
.
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 b36...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Chris Ball c...@laptop.org
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 chunhe@freescale.com
---
drivers/mtd/maps/physmap_of.c |3 +++
1 files changed, 3 insertions(+), 0
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 chunhe@freescale.com
---
drivers/mtd/nand/fsl_elbc_nand.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git
be enabled.
o The status property of nor node should be disabled.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/boot/dts/p1023rds.dts | 46 +--
1 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/boot/dts/p1023rds.dts
b
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 chunhe@freescale.com
---
arch/powerpc/boot/dts/p1023rds.dts |2 +-
1
48 matches
Mail list logo