[PATCH 1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-03 Thread Shengzhou Liu
Trust Architecture 2.0 Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 349 arch/powerpc/boot/dts/fsl/t1024si-post.dtsi | 97 arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi | 87 +++ 3 files changed, 533 insertions(+) create mode 1

[PATCH 2/4] powerpc/fsl-booke: Add T1024 QDS board support

2015-04-03 Thread Shengzhou Liu
/Ethernet/USB) - eSPI: Three SPI flash devices. - SATA: one SATA 2.O. - USB: Two USB2.0 ports with internal PHY (one Type-A and one micro Type mini-AB) - eSDHC: Support SD, SDHC, SDXC and MMC/eMMC. - I2C: Four I2C controllers. - UART: Two UART on board. Signed-off-by: Shengzhou Liu --- arch

[PATCH 3/4] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-03 Thread Shengzhou Liu
universal communication controllers, supporting TDM, HDLC, and UART - I2C: four I2C controllers - UART: two UART on board - Deep sleep power management support Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1024rdb.dts| 235 ++ arch/powerpc/platforms/85xx

[PATCH 4/4] powerpc/fsl-booke: Add T1023 RDB board support

2015-04-03 Thread Shengzhou Liu
/MMC card and eMMC flash on-board - 256Kbit M24256 I2C EEPROM - RTC: Real-time clock DS1339 on I2C bus - UART: one serial port on-board with RJ45 connector - Debugging: JTAG/COP for T1023 debugging Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1023rdb.dts| 151

[PATCH 3/4 v2] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-08 Thread Shengzhou Liu
universal communication controllers, supporting TDM, HDLC, and UART - I2C: four I2C controllers - UART: two UART on board - Deep sleep power management support Signed-off-by: Shengzhou Liu --- v2: Integrated scott's comments. arch/powerpc/boot/dts/t1024rdb.dts

[PATCH 1/4 v2] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-08 Thread Shengzhou Liu
Trust Architecture 2.0 Signed-off-by: Shengzhou Liu --- v2: Integrated scott's comments. arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 343 arch/powerpc/boot/dts/fsl/t1024si-post.dtsi | 103 + arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi | 87 +++ 3 files ch

[PATCH 2/4 v2] powerpc/fsl-booke: Add T1024 QDS board support

2015-04-08 Thread Shengzhou Liu
/Ethernet/USB) - eSPI: Three SPI flash devices. - SATA: one SATA 2.O. - USB: Two USB2.0 ports with internal PHY (one Type-A and one micro Type mini-AB) - eSDHC: Support SD, SDHC, SDXC and MMC/eMMC. - I2C: Four I2C controllers. - UART: Two UART on board. Signed-off-by: Shengzhou Liu --- v2: no

[PATCH 4/4 v2] powerpc/fsl-booke: Add T1023 RDB board support

2015-04-08 Thread Shengzhou Liu
/MMC card and eMMC flash on-board - 256Kbit M24256 I2C EEPROM - RTC: Real-time clock DS1339 on I2C bus - UART: one serial port on-board with RJ45 connector - Debugging: JTAG/COP for T1023 debugging Signed-off-by: Shengzhou Liu --- v2: no change arch/powerpc/boot/dts/t1023rdb.dts| 151

[PATCH 3/4 v3] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-09 Thread Shengzhou Liu
universal communication controllers, supporting TDM, HDLC, and UART - I2C: four I2C controllers - UART: two UART on board - Deep sleep power management support Signed-off-by: Shengzhou Liu --- v3: no change. v2: Integrated scott's comments. arch/powerpc/boot/dts/t1024rdb.dts

[PATCH 4/4 v3] powerpc/fsl-booke: Add T1023 RDB board support

2015-04-09 Thread Shengzhou Liu
/MMC card and eMMC flash on-board - 256Kbit M24256 I2C EEPROM - RTC: Real-time clock DS1339 on I2C bus - UART: one serial port on-board with RJ45 connector - Debugging: JTAG/COP for T1023 debugging Signed-off-by: Shengzhou Liu --- v3: no change v2: no change arch/powerpc/boot/dts/t1023rdb.dts

[PATCH 2/4 v3] powerpc/fsl-booke: Add T1024 QDS board support

2015-04-09 Thread Shengzhou Liu
/Ethernet/USB) - eSPI: Three SPI flash devices. - SATA: one SATA 2.O. - USB: Two USB2.0 ports with internal PHY (one Type-A and one micro Type mini-AB) - eSDHC: Support SD, SDHC, SDXC and MMC/eMMC. - I2C: Four I2C controllers. - UART: Two UART on board. Signed-off-by: Shengzhou Liu --- v3: no

[PATCH 1/4 v3] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-09 Thread Shengzhou Liu
Trust Architecture 2.0 Signed-off-by: Shengzhou Liu --- v3: use qoriq-clockgen2.dtsi v2: Integrated scott's comments. note: qoriq-tdm1.0.dtsi depends on patch http://patchwork.ozlabs.org/patch/457605/ arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 330 arch/powerpc/bo

[PATCH 1/4 v4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-14 Thread Shengzhou Liu
Trust Architecture 2.0 Signed-off-by: Shengzhou Liu --- v4: removed qoriq-tdm1.0.dtsi v3: use qoriq-clockgen2.dtsi v2: removed sleep. arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 330 arch/powerpc/boot/dts/fsl/t1024si-post.dtsi | 100 + arch/powerpc/boot/dts/fsl/t1

[PATCH 1/2] powerpc/t1024rdb: add ina220 current sense node

2015-07-03 Thread Shengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1024rdb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1024rdb.dts index 733e723..43474d9 100644 --- a/arch/powerpc/boot/dts

[PATCH 2/2] powerpc/t1023rdb: add ina220 current sense node

2015-07-03 Thread Shengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1023rdb.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerpc/boot/dts/t1023rdb.dts index 06b090a..a1c647b 100644 --- a/arch/powerpc

[PATCH 1/2 v2] powerpc/t1024rdb: add ina220 current sensor node

2015-07-06 Thread Shengzhou Liu
Add support for INA220 current sensor. Signed-off-by: Shengzhou Liu --- v2: rename node name to 'current-sensor' for generic. arch/powerpc/boot/dts/t1024rdb.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/boot/dts/t1024rdb.dts b/arch/powerpc/boot/dts/t1

[PATCH 2/2 v2] powerpc/t1023rdb: add ina220 current sensor node

2015-07-06 Thread Shengzhou Liu
Add support for INA220 current sensor. Signed-off-by: Shengzhou Liu --- v2: rename node name to 'current-sensor' for generic. arch/powerpc/boot/dts/t1023rdb.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/powerpc/boot/dts/t1023rdb.dts b/arch/powerp

[PATCH] powerpc/t1023rdb/dts: set ifc nand chip select from 2 to 1

2015-07-10 Thread Shengzhou Liu
From: Jaiprakash Singh IFC NAND chip select is wrongly mapped to 2 in reg property of NAND node. Due to this kernel is not able probe NAND flash. Set chip select to 1 in reg property. Signed-off-by: Jaiprakash Singh Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1023rdb.dts | 2

[PATCH] powerpc/p1010rdb: update phy node in dts

2013-08-21 Thread Shengzhou Liu
Update phy node according to new P1010RDB-PB board. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/p1010rdb.dtsi |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi index ec7c27a

[PATCH] fsl/ehci: fix failure of checking PHY_CLK_VALID during reinitialization

2013-09-01 Thread Shengzhou Liu
by the tricky of checking FSL_SOC_USB_PRICTRL register. Signed-off-by: Shengzhou Liu --- based on master branch of upstream, from sdk1.4 drivers/usb/host/ehci-fsl.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl

[PATCH] powerpc/fsl/defconfig: enable CONFIG_AT803X_PHY

2013-09-03 Thread Shengzhou Liu
Enable CONFIG_AT803X_PHY to support AR8030/8033/8035 PHY. Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet32_smp_defconfig |1 + arch/powerpc/configs/mpc85xx_defconfig |1 + arch/powerpc/configs/mpc85xx_smp_defconfig |1 + 3 files changed, 3 insertions(+), 0

[PATCH] usb: remove redundant tdi_reset

2013-04-17 Thread Shengzhou Liu
We remove the redundant tdi_reset in ehci_setup since there is already it in ehci_reset. It was observed that the duplicated tdi_reset was causing the PHY_CLK_VALID bit unstable. Signed-off-by: Shengzhou Liu --- drivers/usb/host/ehci-hcd.c |3 --- 1 files changed, 0 insertions(+), 3

[PATCH] net/phy: tune get_phy_c45_ids to support more c45 phy

2014-04-23 Thread Shengzhou Liu
ned-off-by: Shengzhou Liu --- Tested with CS4315 on T2080RDB, this patch have no impact on previous XAUI phy with verification. drivers/net/phy/phy_device.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/drivers/net/phy/phy_device.c b/drive

[PATCH] powerpc/corenet64_smp_defconfig: enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x

2014-05-12 Thread Shengzhou Liu
By default we enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x, which are needed on T2080QDS, T4240QDS, B4860QDS, etc. Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig

[PATCH 2/2] powerpc/corenet64_smp_defconfig: enable RTC support

2014-05-21 Thread Shengzhou Liu
Enable RTC support for DS1307, DS1374, DS3232, which is needed on some corenet boards. Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet64_smp_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs

[PATCH 1/2] mtd/spi: support en25s64 device

2014-05-21 Thread Shengzhou Liu
Add support for EON en25s64 spi device. Signed-off-by: Shengzhou Liu --- drivers/mtd/devices/m25p80.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 7eda71d..6989311 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers

[PATCH 1/3 v2] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-05-23 Thread Shengzhou Liu
ckage: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- v2: updated with some comments. arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 60 + arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 384 arch/powerpc/boot/dts/fsl/t208xsi-pre.dtsi | 91 +++

[PATCH v2] powerpc/t2080rdb: Add T2080RDB board support

2014-05-23 Thread Shengzhou Liu
cessor) SATA: - Two SATA 2.0 ports on-board SDHC: - support a MicroSD/TF card on-board I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- v2: updated with some comments. arch/powerpc/boot/dts/t2080rdb.dts| 57 arch/powe

[PATCH v2] powerpc/fsl-booke: Add initial T208x QDS board support

2014-05-23 Thread Shengzhou Liu
to 5 GHz eSDHC: - Supports SD/MMC/eMMC Card DMA: - Three 8-channels DMA controllers I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports System Logic: - QIXIS-II FPGA system controll T2081QDS board shares the same PCB with T1040QDS with some differences. Signed-off-by: Shengzhou

[PATCH v2] powerpc/defconfig: update RTC support

2014-05-27 Thread Shengzhou Liu
rt in corenet64_smp_defconfig Signed-off-by: Shengzhou Liu --- v2: updated with comments. arch/powerpc/configs/corenet32_smp_defconfig | 3 ++- arch/powerpc/configs/corenet64_smp_defconfig | 4 arch/powerpc/configs/mpc85xx_defconfig | 3 +++ arch/powerpc/configs/mpc85xx_smp_defconfig

[PATCH 1/3 v3] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-06-06 Thread Shengzhou Liu
owing difference: Feature T2080 T2081 1G Ethernet numbers: 8 6 10G Ethernet numbers: 4 2 SerDes lanes: 168 Serial RapidIO,RMan: 2 no SATA Controller: 2 no Aurora: yes no SoC Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu -

[PATCH 2/3 v3] powerpc/fsl-booke: Add initial T208x QDS board support

2014-06-06 Thread Shengzhou Liu
to 5 GHz eSDHC: - Supports SD/MMC/eMMC Card DMA: - Three 8-channels DMA controllers I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports System Logic: - QIXIS-II FPGA system controll T2081QDS board shares the same PCB with T1040QDS with some differences. Signed-off-by: Shengzhou

[PATCH 3/3 v3] powerpc/t2080rdb: Add T2080RDB board support

2014-06-06 Thread Shengzhou Liu
cessor) SATA: - Two SATA 2.0 ports on-board SDHC: - support a MicroSD/TF card on-board I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- v3: no change. v2: updated with some comments. arch/powerpc/boot/dts/t2080rdb.dts| 57

[PATCH 1/3 v4] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-06-11 Thread Shengzhou Liu
owing difference: Feature T2080 T2081 1G Ethernet numbers: 8 6 10G Ethernet numbers: 4 2 SerDes lanes: 168 Serial RapidIO,RMan: 2 no SATA Controller: 2 no Aurora: yes no SoC Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu -

[PATCH 2/3 v4] powerpc/fsl-booke: Add initial T208x QDS board support

2014-06-11 Thread Shengzhou Liu
to 5 GHz eSDHC: - Supports SD/MMC/eMMC Card DMA: - Three 8-channels DMA controllers I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports System Logic: - QIXIS-II FPGA system controll T2081QDS board shares the same PCB with T1040QDS with some differences. Signed-off-by: Shengzhou

[PATCH 3/3 v4] powerpc/t2080rdb: Add T2080RDB board support

2014-06-11 Thread Shengzhou Liu
cessor) SATA: - Two SATA 2.0 ports on-board SDHC: - support a MicroSD/TF card on-board I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- v4: no change. v3: no change. arch/powerpc/boot/dts/t2080rdb.dts| 57 arch/powe

[PATCH] of: Add vendor prefix for EON Corporation

2014-07-07 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 1a6793b..3c10a21 100644 --- a

[PATCH v5] powerpc/t2080rdb: Add T2080RDB board support

2014-07-08 Thread Shengzhou Liu
on-board SDHC: - support a MicroSD/TF card on-board I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports Signed-off-by: Shengzhou Liu --- v5: updated i2c nodes. v4: no change. v3: no change. arch/powerpc/boot/dts/t2080rdb.dts| 57 arch/powerpc/boot/dts

[PATCH 2/3] powerpc/fsl-booke: Add T2080QDS board support

2013-11-15 Thread Shengzhou Liu
e 2.0 Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 406 arch/powerpc/boot/dts/fsl/t2080si-pre.dtsi | 100 +++ arch/powerpc/boot/dts/t2080qds.dts | 276 +++ 3 files changed, 782 insertions(+) create

[PATCH 1/3] powerpc/85xx/dts: add third elo3 dma component

2013-11-15 Thread Shengzhou Liu
Add elo3-dma-2.dtsi to support the third DMA controller. This is used on T2080, T4240, etc. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Gang --- arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi | 82 +++ 1 file changed, 82 insertions(+) create mode 100644 arch/powerpc

[PATCH 3/3] powerpc/fsl-booke: Enable T2080QDS board

2013-11-15 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/mpc85xx.h| 2 ++ arch/powerpc/platforms/85xx/Kconfig | 2 +- arch/powerpc/platforms/85xx/corenet_generic.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/mpc85xx.h b

[PATCH 1/4 v2] powerpc/85xx/dts: add third elo3 dma component

2013-11-22 Thread Shengzhou Liu
Add elo3-dma-2.dtsi to support the third DMA controller. This is used on T2080, T4240, etc. Signed-off-by: Shengzhou Liu Signed-off-by: Liu Gang --- v2: no change arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi | 82 +++ 1 file changed, 82 insertions(+) create mode

[PATCH 3/4 v2] powerpc/fsl-booke: Add initial T208x QDS board support

2013-11-22 Thread Shengzhou Liu
: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- v2: separate patches per board-related. arch/powerpc/boot/dts/t2080qds.dts | 57 arch/powerpc/boot/dts/t2081qds.dts | 46 +++ arch/powerpc/boot/dts/t208xqds.dtsi | 259 arch/powerpc/include

[PATCH 4/4 v2] powerpc/fsl-booke: Enable T208xQDS board

2013-11-22 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- v2: add T2081QDS compatible. arch/powerpc/platforms/85xx/Kconfig | 2 +- arch/powerpc/platforms/85xx/corenet_generic.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms

[PATCH 2/4 v2] powerpc/fsl-booke: Add initial device tree support for T2080/T2081

2013-11-22 Thread Shengzhou Liu
Trust Architecture 2.0 T2081 personality is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- v2: separate patches per silicon-related. arch/powerpc/boot/dts/fsl/t2080si-post.dtsi

[PATCH 1/5] powerpc/85xx/dts: add third elo3 dma component

2013-12-11 Thread Shengzhou Liu
208 is due to non-continous MPIC register space. Signed-off-by: Shengzhou Liu Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi | 82 +++ 1 file changed, 82 insertions(+) create mode 100644 arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi diff

[PATCH 2/5] powerpc/fsl_pci: add versionless pci compatible

2013-12-11 Thread Shengzhou Liu
There are much pci compatible with version on existing platforms. To stop putting version numbers in device tree later, we add a generic compatible 'fsl,qoriq-pcie'. The version number is readable directly from a register. Signed-off-by: Shengzhou Liu --- arch/powerpc/sysdev/fsl_pci.

[PATCH 3/5] powerpc/fsl-booke: Add initial device tree support for T2080/T2081

2013-12-11 Thread Shengzhou Liu
Trust Architecture 2.0 T2081 personality is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 60 + arch/powerpc/boot/dts/fsl/t2081si-post.dtsi

[PATCH 4/5] powerpc/fsl-booke: Add initial T208x QDS board support

2013-12-11 Thread Shengzhou Liu
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t2080qds.dts | 57 arch/powerpc/boot/dts/t2081qds.dts | 46 +++ arch/powerpc/boot/dts/t208xqds.dtsi | 259 arch/powerpc/include/asm/mpc85xx.h | 2 + 4

[PATCH 5/5] powerpc/fsl-booke: Enable T208xQDS board

2013-12-11 Thread Shengzhou Liu
Signed-off-by: Shengzhou Liu --- arch/powerpc/platforms/85xx/Kconfig | 2 +- arch/powerpc/platforms/85xx/corenet_generic.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index 4d46349

[PATCH 1/4] powerpc/85xx/dts: add third elo3 dma component

2013-12-25 Thread Shengzhou Liu
. DMA controller 3 channel 0 internal interrupt 240 is at offset 0x3a00, and thus the corresponding interrupt number is: 0x3a00 >> 5 = 464, it's similar for other 7 interrupt numbers of DMA 3 channels. Signed-off-by: Shengzhou Liu Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fs

[PATCH 2/4] powerpc/fsl_pci: add versionless pci compatible

2013-12-25 Thread Shengzhou Liu
There are much pci compatible with version on existing platforms. To stop putting version numbers in device tree later, we add a generic compatible 'fsl,qoriq-pcie'. The version number is readable directly from a register. Signed-off-by: Shengzhou Liu --- arch/powerpc/sysdev/fsl_pci.

[PATCH 3/4] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2013-12-25 Thread Shengzhou Liu
e 2.0 T2081 is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 60 + arch/powerpc/boot/dts/fsl/t2081si-post.dtsi

[PATCH 4/4] powerpc/fsl-booke: Add initial T208x QDS board support

2013-12-25 Thread Shengzhou Liu
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t2080qds.dts| 57 +++ arch/powerpc/boot/dts/t2081qds.dts| 46 ++ arch/powerpc/boot/dts/t208xqds.dtsi | 213 ++ arch/powerpc/platforms/85xx

[PATCH 3/4 v2]powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-01-16 Thread Shengzhou Liu
e 2.0 T2081 is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- v2: remove wildcards in compatible strings. arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 60 + arch/powerpc/boot/dts/fsl/t2

[PATCH 3/4 v3] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-02-20 Thread Shengzhou Liu
e 2.0 T2081 is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- v3: add specific compatible strings. v2: remove wildcards in compatible strings. arch/powerpc/boot/dts/fsl/t2080si-post.dtsi

[PATCH 4/4 v2] powerpc/fsl-booke: Add initial T208x QDS board support

2014-02-20 Thread Shengzhou Liu
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- v2: rebase arch/powerpc/boot/dts/t2080qds.dts| 59 +++ arch/powerpc/boot/dts/t2081qds.dts| 48 ++ arch/powerpc/boot/dts/t208xqds.dtsi | 213 ++ arch/powerpc

[PATCH 1/3] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2014-03-03 Thread Shengzhou Liu
e 2.0 T2081 is a reduced personality of T2080 without SATA, sRIO, RMan, Aurora, and with less SerDes lanes and ethernet interfaces. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t2080si-post.dtsi | 60 + arch/powerpc/boot/dts/fsl/t2081si-post.dtsi

[PATCH 2/3] powerpc/fsl-booke: Add initial T208x QDS board support

2014-03-03 Thread Shengzhou Liu
Package: 896-pins 780-pins Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t2080qds.dts| 57 +++ arch/powerpc/boot/dts/t2081qds.dts| 48 ++ arch/powerpc/boot/dts/t208xqds.dtsi | 213 ++ arch/powerpc/platforms/85xx

[PATCH 3/3] powerpc/t2080rdb: Add T2080RDB board support

2014-03-03 Thread Shengzhou Liu
point device (C293 crypto co-processor) SATA: - Two SATA 2.0 ports on-board SDHC: - support a TF-card on-board I2C: - Four I2C controllers. UART: - Dual 4-pins UART serial ports This board can work in two mode: standalone mode and PCIe endpoint mode. Signed-off-by: Shengzhou Liu --- arch/powe

[PATCH] net/phy: Add Cortina CS43xx PHY support

2014-03-05 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. (Tested with CS4315 on T2080RDB and CS4340 on T4240RDB). Signed-off-by: YongHua Cao Signed-off-by: Shengzhou Liu --- drivers/net/phy/Kconfig | 5 +++ drivers/net/phy/Makefile | 1 + drivers/net/phy/cortina.c | 92

[PATCH 3/4] powerpc/fsl-booke: Add T1024RDB board support

2015-01-29 Thread Shengzhou Liu
universal communication controllers, supporting TDM, HDLC, and UART - I2C: four I2C controllers - UART: two UART on board - Deep sleep power management implementaion Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1024rdb.dts| 185 ++ arch/powerpc/platforms

[PATCH 2/4] powerpc/fsl-booke: Add T1024 QDS board support

2015-01-29 Thread Shengzhou Liu
/Ethernet/USB) - eSPI: Three SPI flash devices. - SATA: one SATA 2.O. - USB: Two USB2.0 ports with internal PHY (one Type-A and one micro Type mini-AB) - eSDHC: Support SD, SDHC, SDXC and MMC/eMMC. - I2C: Four I2C controllers. - UART: Two UART on board. Signed-off-by: Shengzhou Liu --- arch

[PATCH 1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-01-29 Thread Shengzhou Liu
Trust Architecture 2.0 Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 351 arch/powerpc/boot/dts/fsl/t1024si-post.dtsi | 50 arch/powerpc/boot/dts/fsl/t102xsi-pre.dtsi | 88 +++ 3 files changed, 489 insertions(+) create mode 100644

[PATCH 4/4] powerpc/fsl-booke: Add T1023 RDB board support

2015-01-29 Thread Shengzhou Liu
/MMC and eMMC card - 256Kbit M24256 I2C EEPROM - RTC: Real-time clock DS1339 on I2C bus - UART: one serial port on-board with RJ45 connector - Debugging: JTAG/COP for T1023 debugging Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t1023rdb.dts| 150

[PATCH] mtd/spi: support en25s64 device

2015-03-27 Thread Shengzhou Liu
Add support for EON en25s64 spi device. Signed-off-by: Shengzhou Liu --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 0f8ec3c..f8acef7 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b

[PATCH] powerpc/defconfig: enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x

2015-03-27 Thread Shengzhou Liu
By default we enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x, which are needed on T2080QDS, T4240QDS, B4860QDS, etc. Signed-off-by: Shengzhou Liu --- against 'next' branch of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git arch/powerpc/configs/corenet32_smp_def

[PATCH] t2080qds/rtc: fix rtc interrupt

2015-03-27 Thread Shengzhou Liu
RTC interrupt uses IRQ11 on T2080QDS. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/t208xqds.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/t208xqds.dtsi b/arch/powerpc/boot/dts/t208xqds.dtsi index 5906183..024cc96 100644 --- a/arch

[PATCH] mtd/nand: Add NAND chip ID to support Micron 4k pagesize NAND chip

2011-11-22 Thread Shengzhou Liu
Add NAND chip ID 0x38 in ids table to support Micron 4k large-page NAND chip. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/nand_ids.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 00cf1b0..23ed1d2

[PATCH 2/2] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-05 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand

[PATCH 1/2] mtd/nand: fixup for fmr initialization of Freescale NAND controller

2011-12-05 Thread Shengzhou Liu
There was a bug for fmr initialization, which lead to fmr was always 0x100 in fsl_elbc_chip_init() and caused FCM command timeout before calling fsl_elbc_chip_init_tail(). Signed-off-by: Shengzhou Liu --- drivers/mtd/nand/fsl_elbc_nand.c |8 +++- 1 files changed, 3 insertions(+), 5

[PATCH 1/2 v2] mtd/nand: fixup for fmr initialization of Freescale NAND controller

2011-12-06 Thread Shengzhou Liu
There was a bug for fmr initialization, which lead to fmr was always 0x100 in fsl_elbc_chip_init() and caused FCM command timeout before calling fsl_elbc_chip_init_tail(), now we initialize CWTO to maximum timeout value and not relying on the setting of bootloader. Signed-off-by: Shengzhou Liu

[PATCH 2/2 v2] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-06 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- v2: no changes drivers/mtd/nand/fsl_elbc_nand.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/mtd

[PATCH 1/2] mtd/nand: fixup for fmr initialization of Freescale NAND controller

2011-12-12 Thread Shengzhou Liu
There was a bug for fmr initialization, which lead to fmr was always 0x100 in fsl_elbc_chip_init() and caused FCM command timeout before calling fsl_elbc_chip_init_tail(), now we initialize CWTO to maximum timeout value and not relying on the setting of bootloader. Signed-off-by: Shengzhou Liu

[PATCH 2/2] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-12 Thread Shengzhou Liu
- fix NAND_CMD_READID command for ONFI detect. - add NAND_CMD_PARAM command to read the ONFI parameter page. Signed-off-by: Shengzhou Liu --- v3: unify the bytes of fbcr to 256. v2: no changes drivers/mtd/nand/fsl_elbc_nand.c | 18 ++ 1 files changed, 10 insertions(+), 8

[PATCH] powerpc/usb: fix issue of CPU halt when missing USB PHY clock

2012-02-01 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will halt during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hang in this case. Signed-off-by: Shengzhou Liu --- drivers/usb/host/ehci-fsl.c | 11 +-- drivers/usb/host/ehci-fsl.h |1 + 2 files changed, 10

[PATCH v2] powerpc/usb: fix issue of CPU halt when missing USB PHY clock

2012-02-01 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will halt during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hang in this case. Signed-off-by: Shengzhou Liu --- v2: changes: return -ENODEV instead of -1 drivers/usb/host/ehci-fsl.c | 11 +-- drivers/usb

[PATCH] PCI: Add pcie_irq=other to enable non MSI/INTx interrupt for port service driver

2012-07-09 Thread Shengzhou Liu
, Hot-plug, etc, services to work. Signed-off-by: Shengzhou Liu --- Documentation/kernel-parameters.txt |4 drivers/pci/pcie/portdrv_core.c | 19 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation

[PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-10 Thread Shengzhou Liu
* Enable NAND, MSI, PAMU, * Enable FSL RAID on P5020 * Enable general RAID features (MD + async-tx) * Enable RTC on P2041RDB * Enable UIO SRIO & UIO DMA Signed-off-by: Harninder Rai Signed-off-by: Shaohui Xie Signed-off-by: Minghuan Lian Signed-off-by: Kumar Gala Signed-off-by: Shengzhou

[PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-10 Thread Shengzhou Liu
* Enable NAND, MSI, PAMU, * Enable FSL RAID on P5020 * Enable general RAID features (MD + async-tx) * Enable RTC on P2041RDB * Enable UIO SRIO & UIO DMA Signed-off-by: Harninder Rai Signed-off-by: Shaohui Xie Signed-off-by: Minghuan Lian Signed-off-by: Kumar Gala Signed-off-by: Shengzhou

[PATCH 2/2] powerpc/fsl: Update corenet64_smp_defconfig

2012-07-10 Thread Shengzhou Liu
gned-off-by: Laurentiu Tudor Signed-off-by: Harninder Rai Signed-off-by: Minghuan Lian Signed-off-by: Kumar Gala Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet64_smp_defconfig | 94 -- 1 files changed, 89 insertions(+), 5 deletions(-) diff --git a/

[PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-11 Thread Shengzhou Liu
- Enable NAND support - Enable CONFIG_PCI_MSI and CONFIG_MMC_SDHCI_OF Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet32_smp_defconfig |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc

[PATCH 2/2] powerpc/fsl: Update corenet64_smp_defconfig

2012-07-11 Thread Shengzhou Liu
Enable USB, MMC, SATA, LBC, MTD, NAND, SPI, PCIe, EDAC, VFAT, NFS, etc. Signed-off-by: Shengzhou Liu --- arch/powerpc/configs/corenet64_smp_defconfig | 59 - 1 files changed, 56 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b

[PATCH][upstream] PCI: Add PCI_DEV_FLAGS_USE_NON_MSI_INTX_IRQ to enable non MSI/INTx interrupt

2012-07-12 Thread Shengzhou Liu
interrupt on platform P1010/P3041/P4080 etc) Signed-off-by: Shengzhou Liu --- drivers/pci/pcie/portdrv_core.c | 10 -- drivers/pci/quirks.c| 12 include/linux/pci.h |5 + 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 1/2 v2] PCI: Add PCI_DEV_FLAGS_USE_NON_MSI_INTX_IRQ to enable non MSI/INTx interrupt

2012-07-15 Thread Shengzhou Liu
On some platforms, in RC mode, root port has neither MSI/MSI-X nor INTx interrupt generated, which are available only in EP mode on those platform. In this case, we try to use other interrupt for port service driver to have AER, Hot-plug, etc, services to work. Signed-off-by: Shengzhou Liu

[PATCH 2/2 v2] powerpc/fsl: PCI: add quirk_enable_non_msi_intx_interrupt

2012-07-15 Thread Shengzhou Liu
-plug etc, services. Signed-off-by: Shengzhou Liu --- v2: separated platform-specific part to arch/powerpc/sysdev. arch/powerpc/sysdev/fsl_pci.c |2 ++ arch/powerpc/sysdev/fsl_pci.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/po

[PATCH] PCI: use dev->irq instead of dev->pin to enable non MSI/INTx interrupt

2012-07-16 Thread Shengzhou Liu
On some platforms, root port has neither MSI/MSI-X nor INTx interrupt generated in RC mode. In this case, we have to use other interrupt(i.e. system shared interrupt) for port service irq to have AER, Hot-plug, etc, services to work. Signed-off-by: Shengzhou Liu --- drivers/pci/pcie

[PATCH v2] PCI: use dev->irq instead of dev->pin to enable non MSI/INTx interrupt

2012-07-17 Thread Shengzhou Liu
On some platforms, root port has neither MSI/MSI-X nor INTx interrupt generated in RC mode. In this case, we have to use other interrupt(e.g. system shared interrupt) for port service irq to have AER, Hot-plug, etc, services to work. Signed-off-by: Shengzhou Liu --- drivers/pci/pcie

[PATCH 1/2] powerpc/p4080ds: dts - add usb controller version info and port0

2012-08-10 Thread Shengzhou Liu
Add the missing usb controller version info and port0, which is required during setup usb phy. Signed-off-by: Shengzhou Liu --- arch/powerpc/boot/dts/fsl/p4080si-post.dtsi |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi

[PATCH 2/2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-10 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu --- drivers/usb/host/ehci-fsl.c | 63 ++ drivers/usb/host/ehci

[PATCH v2] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-08-22 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu --- v2 changes: use spin_event_timeout() instead. drivers/usb/host/ehci-fsl.c | 58

[PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

2012-09-18 Thread Shengzhou Liu
when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu --- v3 change: no check for UTMI PHY. v2 change: use spin_event_timeout() instead. drivers/usb/host/ehci

[PATCH] powerpc/usb: remove checking PHY_CLK_VALID for UTMI PHY

2012-09-24 Thread Shengzhou Liu
fix bug of CPU hang when missing USB PHY clock" Signed-off-by: Shengzhou Liu --- drivers/usb/host/ehci-fsl.c |3 +-- include/linux/fsl_devices.h |2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 1

[PATCH] powerpc/usb: fix bug of kernel hang when initializing usb

2012-02-16 Thread Shengzhou Liu
If USB UTMI PHY is not enable, writing to portsc register will lead to kernel hang during boot up. Signed-off-by: Shengzhou Liu --- Apply for master branch of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Tested on P5020DS, the issue was reported by Benjamin

[PATCH] powerpc/dts: fix the compatible string of sec 4.0

2012-03-05 Thread Shengzhou Liu
From: Liu Shuo Fix the compatible string of sec 4.0 to match with CAMM driver according to the documentation file Documentation/devicetree/bindings/crypto/fsl-sec4.txt. Signed-off-by: Liu Shuo Signed-off-by: Shengzhou Liu --- against master branch of git://git.kernel.org/pub/scm/linux/kernel

[PATCH v2] powerpc/dts: fix the compatible string of sec 4.0

2012-03-06 Thread Shengzhou Liu
From: Liu Shuo Fix the compatible string of sec 4.0 to match with CAMM driver according to Documentation/devicetree/bindings/crypto/fsl-sec4.txt Signed-off-by: Liu Shuo Signed-off-by: Shengzhou Liu --- v2: refine description. arch/powerpc/boot/dts/fsl/pq3-sec4.4-0.dtsi | 10 +- 1

[PATCH] powerpc/crypto: caam - add backward compatible string sec4.0

2012-03-18 Thread Shengzhou Liu
In some device trees of previous version, there were string "fsl,sec4.0". To be backward compatible with device trees, we have CAAM driver first check "fsl,sec-v4.0", if it fails, then check for "fsl,sec4.0". Signed-off-by: Shengzhou Liu --- driver

[PATCH] powerpc/85xx: Enable MTD/NOR/NAND options by default in defconfig

2012-04-26 Thread Shengzhou Liu
Enable MTD/NOR/NAND options by default in mpc85xx_defconfig and mpc85xx_smp_defconfig to support NOR, NAND flash. Signed-off-by: Shengzhou Liu --- based on master branch of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git arch/powerpc/configs/mpc85xx_defconfig | 26

[PATCH v2] powerpc/85xx: Enable MTD/NOR/NAND options by default in defconfig

2012-04-26 Thread Shengzhou Liu
Enable MTD/NOR/NAND options by default in mpc85xx_defconfig and mpc85xx_smp_defconfig to support NOR, NAND flash. Signed-off-by: Shengzhou Liu --- based on master branch of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git changes of v2: remove typo "CONFIG_MPC8xxx_G

[PATCH v3] powerpc/85xx: Enable MTD/NOR/NAND options by default in defconfig

2012-04-26 Thread Shengzhou Liu
Enable MTD/NOR/NAND options by default in mpc85xx_defconfig and mpc85xx_smp_defconfig to support NOR, NAND flash. Signed-off-by: Shengzhou Liu --- based on master branch of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git tree. v3: remove "CONFIG_MTD_NAND_VERIFY_WRITE=

  1   2   >