ASoC: msm: reorg q6core header file

This is needed to allow include from
non soc folder.

CRs-Fixed: 689849
Change-Id: I753012d5ce9c5a788e75b4edf9b0099b58b30ec0
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
defconfig: enable CONFIG_MSM_AVTIMER

It enables to read avtimer values using the avtimer driver so
ISP can switch to avtimer timestamps for the buffers when
VideoTelephony(VT) is used

Change-Id: Ia717200f9b5cf865012ee2a58d1808ad1cb19d2d
Signed-off-by: Suman Mukherjee <sumam@codeaurora.org>
avtimer: msm: allow driver to register to SSR framework

Sub System Restart[SSR] framework allows driver to handle
unexpected crash in middle of operation.
Also, adding support clk_div dtsi entry to calculate
avtimer_lsw value.

Change-Id: I521e3c010dadd00a06a0fe8998a1759b2eb81b55
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
msm: camera: isp: Add support for AV time stamp for VT call

For vt call we need to update the camera buffers with AVTimer
timestamp instead of normal kernel time stamp to prevent
AV sync issues.
A new AVTimer driver API has been provided which directly provides
the timestamp value in ticks that can be converted to appropriate
timescale and tagged to the video frames.

Change-Id: I9923c066602819eed0ccd06e112f12cd85b3d71b
Signed-off-by: Suman Mukherjee <sumam@codeaurora.org>
slim_ngd: Ensure device state consistency with runtime-pm during SSR

During ADSP SSR, client's thread calling runtime-pm resume will
fail since ADSP is unreachable. Make sure such power-up/resume attempt
is blocked until ADSP comes up by using mutex during device-state
transition.

Conflicts:

	drivers/slimbus/slim-msm-ngd.c
Change-Id: Ie85e52bb2974aaee9654eb8fa1cc60fe37c61b75
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: Venumadhav Kurva <kurva@codeaurora.org>
Merge "ASoC: msm: reorg q6core header file"
Merge "avtimer: msm: allow driver to register to SSR framework"
Merge "defconfig: enable CONFIG_MSM_AVTIMER"
Merge "msm: camera: isp: Add support for AV time stamp for VT call"
Merge "slim_ngd: Ensure device state consistency with runtime-pm during SSR"
avtimer: avoid timer query from clients during SSR

Update AV timer driver to schecdule a workqueue to
make sure the ADSP on modem is up while honouring the
requests from client for timer query

Change-Id: I3c3283e778c836fce1a68cf8a5dc439124ef2f1f
Signed-off-by: Venumadhav Kurva <kurva@codeaurora.org>
Merge "avtimer: avoid timer query from clients during SSR"
Revert "slim_ngd: Ensure device state consistency with runtime-pm during SSR"

This reverts commit d1152851aeb9dc8908da1e47fb7628e029976480.

Change-Id: Id6c4fca76cb4614894f7a247b3c94ea60558238f
Signed-off-by: Venumadhav Kurva <kurva@codeaurora.org>
Merge "Revert "slim_ngd: Ensure device state consistency with runtime-pm during SSR""