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>
exFAT support

Signed-off-by: flar2 <asegaert@gmail.com>
a5ul: enable exfat

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