ASoC: OMAP4 ABE: Add CONFIG_SND_OMAP4_ABE_USE_ALT_FW

This enables a build to load the alternate ABE Firmware.

Change-Id: I5772616c576234845d0e839067d5b85f232f12be
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
ASoC: SDP4430: Add pre/post ops for McPDM UL DAI link

McPDM uplink requires pre and post operations to ensure its
prerequirements (mostly FCLK provided by TWL6040) is in place
at the time the McPDM interface is started.

Change-Id: I383860c67f10481f02036bf745a589ff8bebaaaa
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ASoC: OMAP4 ABE: Allow an alternate ABE firmware to be used.

On commit 52c46046 the ABE firmware was updated with a version that
included several improvements, but also disabled the digital
microphone (DMIC) feature.  In order to support DMIC on devices like
the Blaze, an alternate firmware (and matching code) must be
configured.

This commit allows an alternate firmware using
CONFIG_SND_OMAP4_ABE_USE_ALT_FW.

Change-Id: I2fd4aa8d03be802722dca973a71435b9965e80ea
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
OMAP:ABE: Fix schedule tablet formatting

Fixed the formatting of the code when the MultiFrame is set to 0

change
= 0/*...*/;
to
= 0; /*...*/

No operational changes are made to this file

Change-Id: I6b49e0f66f2fad16e540968c6ca926e450c60bf5
Signed-off-by: Dan Murphy <dmurphy@ti.com>
ASoC: ABE: update to ABE firmware 09.51.

New features:
- SRC 44.1 to 48 for MM_DL port (CBPr or Ping/Pong)
- Split monitoring of ABE filters saturation
- Table for filter saturation 8 or 16 kHz

Change-Id: I469a477612d4c927516e2bc96ea07d672bfcf3e0
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
Signed-off-by: Barry Woodward <b-woodward@ti.com>
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
mfd: Fix twl4030 dependencies for audio codec

commit f09ee0451a44a4e913a7c3cec3805508f7de6c54 upstream.

The codec for Devkit8000 (TWL4030)  was not detected except
when build with CONFIG_SND_SOC_ALL_CODECS.

twl-core.c still uses the CONFIG_TWL4030_CODEC for
twl_has_codec().

In commit 57fe7251f5bfc4332f24479376de48a1e8ca6211
the CONFIG_TWL4030_CODEC was renamed
into CONFIG_MFD_TWL4030_AUDIO, thatswhy the codec
was not detected.

This patch renames the CONFIG_ TWL4030_CODEC into
CONFIG_MFD_TWL4030_AUDIO in twl-core.c.

Signed-off-by: Thomas Weber <weber@corscience.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ASoC: OMAP ABE: Update ports in order to support 44.1 KHz

With new ABE release the driver can support now 44.1 on MM DL
and TONES DL port. For MM DL port a true interpolation is done.
For TONES DL the ratio 12/11 is used.

Change-Id: Ic433e1576e7c86b1477c1854816caf5cefdceeed
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
ASoC: McPDM: Update ABE OPP constraint for McPDM

With ABE release 09.50 both UL and DL task for McPDM are at OPP 25
So we just need to set the constrain to OPP 25 instead of 50.

Change-Id: Ic250678085d0b763993d3be8f540bc0cf836924e
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
OMAP: SMC: Update to AG01.06 release

This update should only be used with PPA 1.6.4 and higher. There are many
important, coupled fixes in PPA 1.6.3+, including ROM code critical section
management.

	* GP devices should still be built without SMC
	* SMC driver now supports starting the SMC daemon within a member
		group system. By default this is set to 1026 DRMRPC
	* FIPS certification capable (requires more patches to kernel though)
	* fixed ext4 filesystem corruptions on HW encrypted partitions
	* fixed wrong handle returned by C_OpenSession (crypto API) when
		opening a secondary session from a service
	* fixed SHandleClose silently fails on cryptoki key handles
	* fixed two instances of the tf_daemon could connect to the SMC PA
	* fixed Potential memory leak in case of error when tf_daemon is
		connecting to secure

Change-Id: I1b792c88fb4615fae60643d49989ac9fa542bf9b
Signed-off-by: Trusted Logic <smc_support@trusted-logic.com>
Signed-off-by: Jeremie Corbier <jeremie.corbier@trusted-logic.com>
Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>

Conflicts:
	security/smc/Makefile
	security/smc/tf_comm.c
	security/smc/tf_conn.c
OMAP4: SMC: remove group id check within SMC driver

Previously the driver will only allow the SMC daemon to start by the
kernel or a gid of 0. We remove this gid check and rely on the linux device
node access permissions.

Change-Id: Iaf2747c6f58a722f7668f9a5ad3ea7177c1233bf
Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>

Conflicts:
	security/smc/tf_conn.c
OMAP: SMC: Fix-up some whitespace

Change-Id: Iead40d07843a876892f17f109619a593e3b53a58
Signed-off-by: Bryan Buckley <bryan.buckley@ti.com>
use the alternative ABE firmware for testing
fix daul symbo
Revert "ASoC: SDP4430: Add pre/post ops for McPDM UL DAI link"

This reverts commit 7ed4b3484d6b849203b1c692d21ccb1c46381645.