msm: mdss: expose MDP capabilities through sysfs on 8x10

Currently, MDP capabilities are exposed to the client via
a dedicated ioctl.  As more capabilities are added, it becomes
difficult to have to extend and maintain header file compatibility.
This change is to add a sysfs node which can be used to get the
MDP capabilities.

Change-Id: I9eb2e5546f708eb3f46c61f9abe4f25f23cd64aa
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
msm: mdss: expose MDP capabilities through sysfs

User space applications currently rely on special private ioctl to query
capabilities of MDP driver. As more capabilities are added it becomes
more difficult to have to extend and maintain header file compatibility.
Provide a sysfs node which can be queried for MDP capabilities.

Change-Id: I59efb29bf465083a1ef65c0419226788b44085b1
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>

Conflicts:

	drivers/video/msm/mdss/mdss_mdp_overlay.c

Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
msm: mdss: Edit MDP sysfs node text layout

Display kernel driver uses a sysfs node for outputting MDP capabilities.
This data needs to be written in a proper format. Editing the
current format to have a single keyword instead of spaces. Also,
using an "equal to" sign instead of colon.

Change-Id: I2d2b71f27194cc50bfe1b7395cc0910896f499f4
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
msm: mdss: Parse max bandwidth property from device tree

Maximum bandwidth on the AXI bus supported by MDSS is a hardware
capability that needs to be exposed to userspace process via
sysfs node for MDP composition decisions.

Change-Id: I60e74e96666ca97f21a9880f49a95c3264d01870
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>

Conflicts:
	Documentation/devicetree/bindings/fb/mdss-mdp.txt
msm: mdss: Add SMP per pipe parameter into hw capabilites

Additional SMP parameter 'smp_mb_per_pipe' is required by
userspace as part of hardware capability made available
through sysfs node.

Pipes availablity for a use case can be computed taking these
values, based on which, composition decisions can be made.

Change-Id: I2d790506ca895357762e1eca098ea1734077a097
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
mdss: Add newline to VSYNC timestamp

This makes sure that the userspace correctly interprets the end
of the vsync timestamp.

Change-Id: I66f9939658b6fb7531468429c1ca3e551a4a285c
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
mdss: Notify userspace of changes to blank status

Allow userspace to poll on the blank event to avoid triggering
unnecessary updates, such as when shutting down the device.

CRs-Fixed: 627814
Change-Id: I36bb7845edba14ba0b0ddbe43eaf3d386af2d5f1
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
config dump
Allow normal debuggin of audio subsystem

Conflicts:
	arch/arm/mach-msm/board-glu-audio.c
	arch/arm/mach-msm/board-m8-audio.c
	sound/soc/msm/qdsp6v2/q6adm.c
Revert "Revert "kernel: rng: Add IOCTL support to disable bus bandwidth""
This reverts commit 911fb8222bf5f4df424368a27b1c9f513db0a9d2

Change-Id: If9d4d8be7690c2cd7d4fffba084edb7247042dd0
kernel/msm: Add qrngp header file

Add qrngp header file, required for external/qrngd project.

Change-Id: Iac27ff57df91efe370ec749451142942289b23a8
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
msm8974: update crypto to kk_3.5, enable QCRYPTO in defconfig

Change-Id: I23259f7cbb9e8aef4ee4a04be68921992a5880b1

Conflicts:
	drivers/crypto/msm/qce50.c
	drivers/crypto/msm/qcrypto.c
radio: iris: transport: move radio_hci_smd_init to __init section

Change-Id: I37aba71dc5fdee00054172ed46a20d93c3e77766
radio: iris: fix smd init when iris-transport is not compiled as module

Change-Id: Id0d9a36f93ec387e08be3d041e60113d2cf75aa8
m8: fix build when disabling CONFIG_HTC_DEBUG_FOOTPRINT

Change-Id: I2908c9505e9c9e37e0dd457f9656ba6106d353a3

Conflicts:
	drivers/power/qpnp-bms.c
config dump

Signed-off-by: Willi Ye <williye97@gmail.com>