| 89f44bb0 | 22-Oct-2014 |
Vitaly Andrianov <vitalya@ti.com> |
keystone2: ecc: add ddr3 error detection and correction support
This patch adds the DDR3 ECC support to enable ECC in the DDR3 EMIF controller for Keystone II devices.
By default, ECC will only be
keystone2: ecc: add ddr3 error detection and correction support
This patch adds the DDR3 ECC support to enable ECC in the DDR3 EMIF controller for Keystone II devices.
By default, ECC will only be enabled if RMW is supported in the DDR EMIF controller. The entire DDR memory will be scrubbed to zero using an EDMA channel after ECC is enabled and before u-boot is re-located to DDR memory.
An ecc_test environment variable is added for ECC testing. If ecc_test is set to 0, a detection of 2-bit error will reset the device, if ecc_test is set to 1, 2-bit error detection will not reset the device, user can still boot the kernel to check the ECC error handling in kernel.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 079da2d5 | 22-Oct-2014 |
Vitaly Andrianov <vitalya@ti.com> |
ARM: keystone: msmc: extend functionality of SES
Add functions to set/get SES PMAX values of Pivilege ID pair. Also add msmc module definitions.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Sig
ARM: keystone: msmc: extend functionality of SES
Add functions to set/get SES PMAX values of Pivilege ID pair. Also add msmc module definitions.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| e165b1d3 | 22-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
dma: ti-edma3: introduce edma3 driver
The EDMA3 controller’s primary purpose is to service data transfers that you program between two memory-mapped slave endpoints on the device.
Typical usage inc
dma: ti-edma3: introduce edma3 driver
The EDMA3 controller’s primary purpose is to service data transfers that you program between two memory-mapped slave endpoints on the device.
Typical usage includes, but is not limited to the following: - Servicing software-driven paging transfers (e.g., transfers from external memory, such as SDRAM to internal device memory, such as DSP L2 SRAM) - Servicing event-driven peripherals, such as a serial port - Performing sorting or sub-frame extraction of various data structures - Offloading data transfers from the main device DSP(s) - See the device-specific data manual for specific peripherals that are accessible via the EDMA3 controller
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 69a3b811 | 17-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
ARM: keystone: clock: add support for K2E SoCs
For K2E and K2L SoCs clock output from PASS PLL has to be enabled after NETCP domain and PA module are enabled. So create new function for that and cal
ARM: keystone: clock: add support for K2E SoCs
For K2E and K2L SoCs clock output from PASS PLL has to be enabled after NETCP domain and PA module are enabled. So create new function for that and call it after PA module is enabled.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| ff11c769 | 17-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
net: keystone_net: add Keystone2 K2E SoC support
The Keystone2 Edison SoC uses the same keystone net driver. This patch adds opportunity to use it by K2E SoCs.
Acked-by: Vitaly Andrianov <vitalya@t
net: keystone_net: add Keystone2 K2E SoC support
The Keystone2 Edison SoC uses the same keystone net driver. This patch adds opportunity to use it by K2E SoCs.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 3c61502a | 17-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
net: keystone_serdes: add keystone K2E SoC support
Keystone2 Edison SoC uses the same keystone SerDes driver. This patch adds support for K2E SoCs.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Acked
net: keystone_serdes: add keystone K2E SoC support
Keystone2 Edison SoC uses the same keystone SerDes driver. This patch adds support for K2E SoCs.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 2162faaf | 17-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
ARM: keystone2: keysonte_nav: add support for K2E SoC
Keystone2 Edison SoC uses the same keystone navigator, but uses different NETCP PktDMA definitions. This patch adds required definitions.
Acked
ARM: keystone2: keysonte_nav: add support for K2E SoC
Keystone2 Edison SoC uses the same keystone navigator, but uses different NETCP PktDMA definitions. This patch adds required definitions.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 3fe93623 | 17-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
net: keystone_net: register eth PHYs on MDIO bus
As MDIO bus has been added we can register PHYs with it. After registration, the PHY driver will be probed according to the hardware on board.
Start
net: keystone_net: register eth PHYs on MDIO bus
As MDIO bus has been added we can register PHYs with it. After registration, the PHY driver will be probed according to the hardware on board.
Startup PHY at the ethernet open.
Use phy_startup() instead of keystone_get_link_status() when eth open, as it verifies PHY link inside and SGMII link is checked before.
For K2HK evm PHY configuration at init was absent, so don't enable phy config at init for k2hk evm.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 92a16c81 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
soc: keystone_serdes: generalize to be used by other sub systems
SerDes driver is used by other sub systems like PCI, sRIO etc. So modify it to be more general. The SerDes driver provides common API
soc: keystone_serdes: generalize to be used by other sub systems
SerDes driver is used by other sub systems like PCI, sRIO etc. So modify it to be more general. The SerDes driver provides common API's that can also be extended for other peripherals SerDes configurations.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 95f74dad | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations
Enhance the driver to use cmu/comlane/lane specific configurations instead of 1 big array of configuration.
Signed-off-
soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations
Enhance the driver to use cmu/comlane/lane specific configurations instead of 1 big array of configuration.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| a43febde | 22-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
soc: keystone_serdes: create a separate SGMII SerDes driver
This patch split the Keystone II SGMII SerDes related code from Ethernet driver and create a separate SGMII SerDes driver. The SerDes driv
soc: keystone_serdes: create a separate SGMII SerDes driver
This patch split the Keystone II SGMII SerDes related code from Ethernet driver and create a separate SGMII SerDes driver. The SerDes driver can be used by others keystone subsystems like PCI, sRIO, so move it to driver/soc/keystone directory.
Add soc specific drivers directory like in the Linux kernel. It is going to be used by keysotone soc specific drivers.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| f0772266 | 29-Sep-2014 |
Vitaly Andrianov <vitalya@ti.com> |
net: keystone_net: increase MDIO clock frequency
With MAC_PHY sgmii configuration, u-boot checks PHY link status before sending each packet. Increasing MDIO frequency increases overall tftp speed. W
net: keystone_net: increase MDIO clock frequency
With MAC_PHY sgmii configuration, u-boot checks PHY link status before sending each packet. Increasing MDIO frequency increases overall tftp speed. We set it to maximum 2.5MHz.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 0935cac6 | 29-Sep-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
net: keystone_net: move header file from arch to ti-common
The header file for the driver should be in correct place. So move it to "arch/arm/include/asm/ti-common/keystone_net.h" and correct driver
net: keystone_net: move header file from arch to ti-common
The header file for the driver should be in correct place. So move it to "arch/arm/include/asm/ti-common/keystone_net.h" and correct driver's external dependencies. At the same time align and correct some definitions.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| e3114c9a | 29-Sep-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
net: keystone_net: add support for NETCP v1.5
Currently the network driver is used only by k2hk evm board. The k2hk SoC contains NETCP v1.0, but Keystone2 SoCs, like k2e contain NETCP v1.5. So drive
net: keystone_net: add support for NETCP v1.5
Currently the network driver is used only by k2hk evm board. The k2hk SoC contains NETCP v1.0, but Keystone2 SoCs, like k2e contain NETCP v1.5. So driver should be able to work with such kind of NETCP. This commit adds this opportunity. The main difference in masks and some registers, the logic is the same, so only definitions should be changed. To differentiate between versions add KS2_NETCP_V1_0 and KS2_NETCP_V1_5. Also remove unused and no more needed defines.
The port number is specific for each board so move this parameter to configuration.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| b2cfe322 | 29-Sep-2014 |
Hao Zhang <hzhang@ti.com> |
net: keystone_net: remove SoC specific emac_regs structure
This patch removes K2HK SOC specifc emac_regs structure, it uses soc specific register offset to keep the network driver common across all
net: keystone_net: remove SoC specific emac_regs structure
This patch removes K2HK SOC specifc emac_regs structure, it uses soc specific register offset to keep the network driver common across all the Keystone II EVMs.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 345af534 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
keystone2: k2l-evm: add board support
This patch adds Keystone II Lammar (K2L) EVM board support.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by:
keystone2: k2l-evm: add board support
This patch adds Keystone II Lammar (K2L) EVM board support.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| b66604fb | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
keystone2: enable OSR clock domain for K2L SoC
This patches enables the On-chip Shared Ram clock domain for K2L SoC.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.kh
keystone2: enable OSR clock domain for K2L SoC
This patches enables the On-chip Shared Ram clock domain for K2L SoC.
Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 5ec66b14 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
ARM: keystone2: spl: move board specific code
The initialization of PLLs is a part of board specific code, so move it appropriate places.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
ARM: keystone2: spl: move board specific code
The initialization of PLLs is a part of board specific code, so move it appropriate places.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| bc45d572 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
keystone2: msmc: add MSMC cache coherency support for K2L SOC
This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency.
Acked-by: Vitaly Andrianov <vitalya@t
keystone2: msmc: add MSMC cache coherency support for K2L SOC
This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 61d12258 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
keystone2: clock: add K2L clock definitions and commands
This patch adds clock definitions and commands to support Keystone II K2L SOC.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ha
keystone2: clock: add K2L clock definitions and commands
This patch adds clock definitions and commands to support Keystone II K2L SOC.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| c4995a82 | 22-Oct-2014 |
Hao Zhang <hzhang@ti.com> |
ARM: keystone2: add K2L device hardware definitions
This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhan
ARM: keystone2: add K2L device hardware definitions
This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 529ce1ee | 22-Oct-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
ARM: cmd_clock: generalize command usage description
The usage description of commands refers to headers of sources, that is not correct. This patch is intended to fix it. Also generalize code in or
ARM: cmd_clock: generalize command usage description
The usage description of commands refers to headers of sources, that is not correct. This patch is intended to fix it. Also generalize code in order to reduce SoC dependent #ifdefs.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| bc0e8d7c | 05-Sep-2014 |
WingMan Kwok <w-kwok2@ti.com> |
keystone: usb: add support of usb xhci
Add support of usb xhci. xHCI controls all USB speeds of the Host mode, that is, the SS through the SS PHY, as well as the HS, FS, and LS through the USB2 PHY.
keystone: usb: add support of usb xhci
Add support of usb xhci. xHCI controls all USB speeds of the Host mode, that is, the SS through the SS PHY, as well as the HS, FS, and LS through the USB2 PHY. xHCI replaces and supersedes all previous host HCIs (HS-only EHCI, FS/LS OHCI and UHCI), and is therefore not backwards compatible with any of them. The USB3SS’s USB Controller is fully compliant with xHC.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| 9ea9021a | 05-Sep-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
dma: keystone_nav: generalize driver usage
The keystone_nav driver is general driver intended to be used for working with queue manager and pktdma for different IPs like NETCP, AIF, FFTC, etc. So th
dma: keystone_nav: generalize driver usage
The keystone_nav driver is general driver intended to be used for working with queue manager and pktdma for different IPs like NETCP, AIF, FFTC, etc. So the it's API shouldn't be named like it works only with one of them, it should be general names. The names with prefix like netcp_* rather do for drivers/net/keystone_net.c driver. So it's good to generalize this driver to be used for different IP's and delete confusion with real NETCP driver.
The current netcp_* functions of keystone navigator can be used for other settings of pktdma, not only for NETCP. The API of this driver is used by the keystone_net driver to work with NETCP, so net driver also should be corrected. For convenience collect pkdma configurations in drivers/dma/keystone_nav_cfg.c.
Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|
| ef454717 | 05-Sep-2014 |
Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> |
dma: keystone_nav: move keystone_nav driver to driver/dma/
The keystone_nav is used by drivers/net/keystone_net.c driver to send and receive packets, but currently it's placed at keystone arch sourc
dma: keystone_nav: move keystone_nav driver to driver/dma/
The keystone_nav is used by drivers/net/keystone_net.c driver to send and receive packets, but currently it's placed at keystone arch sources. So it should be in the drivers directory also. It's separate driver that can be used for sending and receiving pktdma packets by others drivers also.
This patch just move this driver to appropriate directory and doesn't add any functional changes.
Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
show more ...
|