drivers: net: cpsw: cleanup: remove unused function

[ Upstream commit ef492001214ba250b3bd18a7a346a047fe079449 ]

removing unused function as part of driver cleanup.`

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers: net: cpsw: add support to dump ALE table via ethtool register dump

[ Upstream commit 52c4f0ec662bbf02f1b0bcb311a48af2c8e5ee89 ]

Add support to view addresses added by the driver and learnt by the
hardware from ALE table via ethtool register dump interface.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers: net: cpsw: disable coalesce when rx_coalesce_usecs is zero

[ Upstream commit a84bc2a9013fb123deeca7283480955d021503fb ]

instead of return error on zero rx_coalesce_usecs, disable coalesce

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net: ethtool: Add Multicast and broadcast rate limit coalescing feature

Add ability to limit the broadcast or multicast packets to prevent
the loading of the CPU by a hacker with a broadcast or multicast
packet flood.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers: net: cpsw: Add support for multicast/broadcast rate limit

Add support for multicast/broadcast rate limit feature via ethtool coalesce.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
net: ioctl: Adding switch configuration via ioctl

A switch can be configured in various combination of switch entry for
controling packet flow between the ports

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
drivers: net: cpsw: add support for switch ioctl

Add support for add/delete multicast and vlan using switch ioctl

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
ARM: AM33xx/AM43xx: fix AM33xx/AM43xx only builds

Currently AM33xx or AM43xx only build will fail due to missing
references to the low-level PM routines. Fixed by adding a couple of
pre-processor #ifdefs.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
ARM: OMAP2+: pm33xx: Drop clockdomain control for standby

Certain clockdomains needed to be activated before going in to standby
mode for MPU to be properly woken up. This clockdomain control is now
handled in the CM3 firmware so remove it from the pm33xx code.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
ARM: OMAP2+: AM43XX: Fix asm suspend abort path

During suspend abort path we must remove CKE override on EMIF otherwise
DDR will not be able to come out of self refresh correctly.

Also, remove write to EMIF_SDRAM_CONFIG register in abort path that was
mistakenly added.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
ARM: dts: am335x: Update vdd_mpu max voltage

Current regulator-max-microvolt value for vdd_mpu is for PG1.0 silicon
but on PG2.1 max OPP is 1GHz @ 1.325V so update value accordingly, with
+4% margin to account for things like IR drop on board.

Also update regulator-min-microvolt value for am335x-bone-common.dtsi as
current value only reflects a 2% margin rather than 4%.

Information from AM335x Data Manual, SPRS717F, Revised April 2013,
Table 3-7.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
ARM: OMAP2: sleep33xx: Adjust EMIF save sequencing during suspend

Adjust the sequence of the emif context save path and make sure to save
the EMIF_PWR_MGMT registers otherwise DDR2 systems are unable to resume.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Merge branch 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree into ti-linux-3.14.y

TI-Feature: power_management_base
TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
TI-Branch: pm-ti-linux-3.14.y

* 'pm-ti-linux-3.14.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
  ARM: OMAP2: sleep33xx: Adjust EMIF save sequencing during suspend
  ARM: dts: am335x: Update vdd_mpu max voltage
  ARM: OMAP2+: AM43XX: Fix asm suspend abort path
  ARM: OMAP2+: pm33xx: Drop clockdomain control for standby
  ARM: AM33xx/AM43xx: fix AM33xx/AM43xx only builds

Signed-off-by: Dan Murphy <DMurphy@ti.com>
ARM: DRA7: hwmod: Add data for DES IP

Adding hwmod data for DES.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
ARM: DRA7: hwmod: Add data for AES IP

Adding hwmod data for AES IP.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
ARM: DRA7: hwmod: Add data for SHA IP

Adding hwmod data for SHA module.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
ARM: DRA7: hwmod: Add data for RNG IP

Adding hwmod data for RNG IP.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
ARM: dts: DRA7: Add DT node for DES IP

DRA7xx SoCs have a DES3DES IP. Add DT data for the same.

Signed-off-by: Joel Fernandes <joelf@ti.com>
ARM: dts: DRA7: Add DT node for AES IP

DRA7 SoC has same AES IP as on OMAP4. Add DT entries for the same.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
ARM: dts: DRA7: Add DT node for SHA IP

Adding dt node for SHA IP.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>