09 Jan, 2016
14 commits
-
Enable support of cpts for both gbe and 10gbe on keystone
devices.Signed-off-by: WingMan Kwok
-
This patch adds the netcp cpts DT bindings for the
gbe and 10gbe devices on the Keystone2 platforms.Signed-off-by: WingMan Kwok
-
This patch adds support of the cpts device found in the
gbe and 10gbe ethernet switches on the keystone platforms.
PTP packet timetamping, Pulse per Second (PPS) and HW
Timestamp are supported.Signed-off-by: WingMan Kwok
-
This patch introduces a cpts software module for
supporting the cpts device found in the gbe and
10gbe ethernet switch subsystems on the Keystone2
devices.Signed-off-by: WingMan Kwok
-
This patch enables K2E HW crypto accelerator by adding device binding
for it.Signed-off-by: Vitaly Andrianov
-
This patch enables K2L HW crypto accelerator by adding device binding
for it.Signed-off-by: Vitaly Andrianov
-
CONFIG_INET_ESP enables encapsulated security payload.
Signed-off-by: Vitaly Andrianov
-
This patch enables HW crypto accelerator by adding device binding for it.
Signed-off-by: Vitaly Andrianov
-
This commits adds the driver support for keystone SA in sideband mode.
The driver registers algorithm implementations in the Kernel crypto
framework. Since the primary use case in kernel is to enable HW offload
of IPSec ESP crypto operations, the driver is currently supporting only
authenticated encryption (AEAD) mode. Following algorithms are currently
supported:- authenc(hmac(sha1),cbc(aes))
- authenc(hmac(sha1),cbc(des3_ede))
- authenc(hmac(sha1),ecb(cipher_null))Signed-off-by: Sandeep Nair
Signed-off-by: Tinku Mannan
Signed-off-by: Hao Zhang
Signed-off-by: Vitaly Andrianov -
The knav_dma.h uses some definitions from dmaengine.h.
Signed-off-by: Vitaly Andrianov
-
Some devices using packet DMA (e.g. PA, SRIO) need to configure additional
hw registers based on flow Ids. Add a function to retrieve this flow
Id from a given channel for a DMA client. While at it, also fix some typos.Signed-off-by: Aurelien Jacquiot
Signed-off-by: Murali Karicheri -
* For AM335x, PG 2.0 silicon was a very short lived revision mainly used
for internal board development and Beaglebone Black.
* For versions of the Beaglebone Black that were sold the 2.0 silicon used
was binned to insure that they supported 1 GHz.
* Therefore, enable 1 GHz since the only real users of 1 GHz on 2.0 silicon
are 1 GHz users.Signed-off-by: Franklin S. Cooper Jr
-
* The backtrace during boot makes it appear that there is a serious
problem even though it is a warning about a feature being deprecated
in the near future.
* Change the WARN() to a dev_warn()Signed-off-by: Jacob Stiffler
24 Dec, 2015
2 commits
-
TI-Feature: ti_linux_base_lsk
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.1.y* 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
net: netcp: remove obsolete driver code
phy: keystone: update header of the file
phy: keystone: remove comments per vendor recommendation
ARM: dts: keystone: enable gbe serdes support
phy: keystone: change function names per vendor recommendation
phy: keystone: rename data structures based on vendor recommendation
phy: keystone: reduce one level of nesting in the function call
phy: keystone: remove hyperlink support
phy: keystone: update comments per IP vendor recommendationSigned-off-by: LCPD Auto Merger
-
…gration-tree/connectivity-ti-linux-kernel into ti-linux-4.1.y
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.1.y* 'connectivity-ti-linux-4.1.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
net: netcp: remove obsolete driver code
phy: keystone: update header of the file
phy: keystone: remove comments per vendor recommendation
ARM: dts: keystone: enable gbe serdes support
phy: keystone: change function names per vendor recommendation
phy: keystone: rename data structures based on vendor recommendation
phy: keystone: reduce one level of nesting in the function call
phy: keystone: remove hyperlink support
phy: keystone: update comments per IP vendor recommendationSigned-off-by: Dan Murphy <DMurphy@ti.com>
23 Dec, 2015
3 commits
-
The serdes driver replace the netcp_xgbepcsr.c and should have been
removed as part of the serdes series, but missed. This patch removes this
driver.Signed-off-by: Murali Karicheri
Signed-off-by: Kishon Vijay Abraham I -
Update the driver file for the following:-
1. Use GPL v2 instead of GPL since latter use was an error.
2. Update the header to comply with the vendor's recommendation of using
BSD license for the file.Signed-off-by: Jack Manbeck
Signed-off-by: Murali Karicheri
Signed-off-by: Kishon Vijay Abraham I -
Vendor has recommended to remove all comments from the driver code.
This patch updates the code for the same.Signed-off-by: Murali Karicheri
10 Dec, 2015
6 commits
-
This patch enables the gbe serdes support on boards that
use it.As such gbe does not depend on the SerDes configurations
from u-boot.Signed-off-by: WingMan Kwok
[nsekhar@ti.com: massage commit message]
Signed-off-by: Sekhar Nori -
The IP is owned by a 3rd party and this patch renames some of the
functions per vendor recommendation.Signed-off-by: Murali Karicheri
Signed-off-by: Sekhar Nori -
The IP is owned by 3rd party and this patch makes updates to the code
to change constants and data structures per vendor recommendation.Signed-off-by: Murali Karicheri
Signed-off-by: WingMan Kwok
Signed-off-by: Sekhar Nori -
kserdes_att_boost_phyb_patch() is unnecessary as it just call another
function kserdes_att_boost_phyb_lane_patch() from within it. So instead
call kserdes_att_boost_phyb_lane_patch() directly since we have no reuse
of the same in the code anymore.Signed-off-by: Murali Karicheri
Signed-off-by: WingMan Kwok
[nm@ti.com: massage commit text]
Signed-off-by: Sekhar Nori -
Hyperlink is not supported by the driver. So remove all code related
to hyperlink.Signed-off-by: Murali Karicheri
Signed-off-by: WingMan Kwok
[nsekhar@ti.com: adjust subject line]
Signed-off-by: Sekhar Nori -
The SerDes IP is owned by a 3rd party and this patch makes
update to the comments in the code as recommended by the
vendor.Signed-off-by: Murali Karicheri
Signed-off-by: WingMan Kwok
Signed-off-by: Sekhar Nori
05 Dec, 2015
15 commits
-
TI-Feature: ti_linux_base_lsk
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.1.y* 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
remoteproc/keystone: ensure the DSPs are in reset in probe
TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
TEMP: ARM: dts: k2g-evm: Add dspmem node
ARM: dts: k2g: Add DSP node
remoteproc/keystone: add support for Keystone 2 Galileo SOCs
remoteproc/keystone: drop ti,syscon-psc fallback support
ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
remoteproc/keystone: add support for using reset frameworkSigned-off-by: LCPD Auto Merger
-
TI-Feature: rpmsg
TI-Tree: git://git.ti.com/rpmsg/rpmsg.git
TI-Branch: rpmsg-ti-linux-4.1.y* 'rpmsg-ti-linux-4.1.y' of git://git.ti.com/rpmsg/rpmsg:
remoteproc/keystone: ensure the DSPs are in reset in probe
TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
TEMP: ARM: dts: k2g-evm: Add dspmem node
ARM: dts: k2g: Add DSP node
remoteproc/keystone: add support for Keystone 2 Galileo SOCs
remoteproc/keystone: drop ti,syscon-psc fallback support
ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
remoteproc/keystone: add support for using reset frameworkSigned-off-by: Dan Murphy
Conflicts:
arch/arm/boot/dts/k2g-evm.dts
arch/arm/boot/dts/k2g.dtsi -
Pull in the updated remoteproc feature branch that adds the support
to load the DSP core on Keystone 2 Galileo SoC to the keystone
remoteproc driver. The driver already had support for the Keystone 2
Hawking/Kepler, Lamarr and Edison SoCs, and it has now been updated
to use the reset framework for reset control and management. The
K2G support is on par with the other SoCs in terms of functionality.The merge also syncs up the RPMsg integration branch with the latest
platform base code.* 'rproc-linux-4.1.y' of git://git.ti.com/rpmsg/remoteproc: (64 commits)
remoteproc/keystone: ensure the DSPs are in reset in probe
TEMP: ARM: dts: k2g-evm: Reserve some DDR for MPM usecases
ARM: dts: k2g-evm: Add a common DSP shared memory CMA pool
TEMP: ARM: dts: k2g-evm: Add dspmem node
ARM: dts: k2g: Add DSP node
remoteproc/keystone: add support for Keystone 2 Galileo SOCs
remoteproc/keystone: drop ti,syscon-psc fallback support
ARM: dts: k2e: Replace 'ti,syscon-psc' property in DSP node
ARM: dts: k2l: Replace 'ti,syscon-psc' property in DSP nodes
ARM: dts: k2hk: Replace 'ti,syscon-psc' property in DSP nodes
remoteproc/keystone: add support for using reset framework
ARM: dts: k2g: Add DSP GPIO controller node
ARM: dts: k2g: Add keystone IRQ controller node
ARM: dts: k2g: Add device state controller node
ti_config_fragments/baseport: Enable TI SCI reset driver
ARM: dts: k2g: Add TI SCI reset-controller node
reset: Add the TI SCI reset driver
Documentation: dt: reset: Add TI SCI reset binding
dt-bindings: reset: Add k2g reset definitions
ti_config_fragments/baseport: enable reset-syscon driver
...Signed-off-by: Suman Anna
-
The DSPs are expected to be in reset when the driver probes a device.
If the DSPs are out of reset in probe, the system may crash when the
firmware is being loaded. So, add a check to make sure the DSP resets
are asserted, and if not, throw a eye-catchy warning and assert the
resets specifically.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: replace warning with a WARN]
Signed-off-by: Suman Anna -
Add a reserved memory node to carveout a portion of the external
DDR memory, and add this address region to the dspmem node on the
K2 Galileo EVM board. This is done to enable the Keystone
Multi Proc Manager (MPM) to load images that use this memory
region. The memory is chosen to be adjacent to the DSP CMA memory
pool so that the DSP Memory Protection and Address Extension
(MPAX) module can be configured efficiently. The memory will
not be mapped into the kernel space.Signed-off-by: Suman Anna
-
A common CMA memory pool reserved memory node is added, and
is attached to all the DSP nodes through the 'memory-region'
property on the K2 Galileo EVM board. This area will be used
for allocating virtio rings and buffers. The common node allows
the DSP Memory Protection and Address Extension (MPAX) module
to be configured properly for the DSP processor.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: correct CMA pool addresses]
Signed-off-by: Suman Anna -
Add a dspmem node on the K2 Galileo EVM board. The node
allows the entire MSM RAM (1 MB) to be mapped to userspace
to enable the Keystone Multi Proc Manager (MPM) based
usecases.Signed-off-by: Suman Anna
-
The Keystone 2 Galileo SoC has a single TMS320C66x DSP
Core Subsystem (C66x CorePac), containing a C66x Fixed /
Floating-Point DSP Core, and 32KB of L1P & L1D SRAMs and a
1MB L2 SRAM. Add the DT node and the rproc alias for this DSP
processor sub-system.The DT node has a new property 'power-domains', and uses
slightly different property values for 'clocks' and 'resets'
compared to other Keystone 2 SoCs. The processor does not have
a MMU, and uses various IPC Generation registers and shared
memory for inter-processor communication.NOTE:
The node name uses a DSP number suffix and does not include the
address for now. This is required to match the DT name used by
the userland MPM stack for working properly.Signed-off-by: Andrew F. Davis
Signed-off-by: Suman Anna -
Add support to the keystone remoteproc driver for managing the
DSP present in the Keystone 2 Galileo (K2G) SoC. The K2G SoC has
a Power Management Micro Controller (PMMC) that manages the
individual device's power, clock and reset functionalities.The keystone remoteproc driver already uses standard frameworks
for reset and clock control, so it doesn't require any significant
modifications other than a new compatible suitable for K2G DSP.The binding document is also updated to reflect the modified
property values used by the K2G DSP node as compared to the
values used by existing Keystone 2 DSPs.NOTE:
The enhancement to use common pm_runtime framework for all Keystone
2 SoCs is left for a future time. The redundata clock API usage for
K2G does not impact any functionality, but is still required for
other K2 SoCs.Signed-off-by: Suman Anna
Signed-off-by: Andrew F. Davis -
The Keystone remoteproc driver has already been enhanced to
support using the reset framework API for managing the DSP
device resets. All the existing DSP DT nodes have also been
switched to use the 'resets' property instead of the deprecated
'ti,syscon-psc' property.All the Keystone 2 family of SoCs are expected to be using reset
drivers going forward, so drop the support for the direct syscon
PSC based reset handling from the driver completely. The DT
binding has also been updated accordingly.While at this, also add a build dependency for the driver
against the RESET_CONTROLLER Kconfig, and switch to using the
devm_reset_control_get() API instead of the optional variant.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: mandatory reset dependencies, binding updates]
Signed-off-by: Suman Anna -
Replace the custom 'ti,syscon-psc' property used for representing
device resets with a DT standard 'resets' property in the DSP node
present within the Keystone 2 Edison SoC. The 'ti,syscon-psc'
property is deprecated, and will not be supported anymore.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: update commit description]
Signed-off-by: Suman Anna -
Replace the custom 'ti,syscon-psc' property used for representing
device resets with a DT standard 'resets' property in the DSP nodes
present within the Keystone 2 Lamarr SoC. The 'ti,syscon-psc'
property is deprecated, and will not be supported anymore.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: update commit description]
Signed-off-by: Suman Anna -
Replace the custom 'ti,syscon-psc' property used for representing
device resets with a DT standard 'resets' property in the DSP nodes
present within the Keystone 2 Hawking/Kepler SoCs. The 'ti,syscon-psc'
property is deprecated, and will not be supported anymore.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: update commit description]
Signed-off-by: Suman Anna -
The Keystone family of SoCs has the reset registers as part of the
Power and Sleep Controller (PSC) module. The keystone remoteproc
driver currently manages these DSP resets by itself through the
regmap/syscon API.Enhance the keystone remoteproc driver to start using the reset
framework API for managing resets. This is being done to streamline
the driver usage for supporting the DSP on Keystone 2 Galileo (K2G)
SoC. This also switches the driver to use a more standard framework
for resets.The support is added as an incremental change, so the regmap/syscon
framework is used as a fallback to support the transition of the
Keystone 2 DSP DTS nodes from using 'ti,psc-syscon' to the 'resets'
property.Signed-off-by: Andrew F. Davis
[s-anna@ti.com: add error checking, checkpatch fixes, binding updates]
Signed-off-by: Suman Anna -
TI-Feature: ti_linux_base_lsk
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.1.y* 'ti-linux-4.1.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments: introduce wlan.cfg
ARM: dts: k2g: Add DSP GPIO controller node
ARM: dts: k2g: Add keystone IRQ controller node
ARM: dts: k2g: Add device state controller node
ti_config_fragments/baseport: Enable TI SCI reset driver
ARM: dts: k2g: Add TI SCI reset-controller node
reset: Add the TI SCI reset driver
Documentation: dt: reset: Add TI SCI reset binding
dt-bindings: reset: Add k2g reset definitions
ti_config_fragments/baseport: enable reset-syscon driver
ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
ARM: dts: keystone: Add PSC reset node
reset: add a SYSCON based reset driver
Documentation: dt: reset: Add syscon reset binding
Revert "drm/i2c: tda998x: Fix bad checksum of the HDMI AVI infoframe"Signed-off-by: LCPD Auto Merger