mdss: hdmi: Support for raw EDID data

Output edid raw data via sysfs. The size is fixed to
5 EDID blocks.

Change-Id: I46330db5e9507850ac9e82b766bcd4e4356c8755
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
mdss: hdmi: Set ITC and CN0_1 bits in AVI infoFrame

Changes ITC and CN0/1 bits in AVI hdmi infoFrame through
sysfs attributes.
Itc can be set either 1 or 0. CN0~1 bits can be set 0x00~0x11.

Change-Id: Ic6ae98ecd4c4b4a425e0219151c91eedab8d50e6
Signed-off-by: Lei Zhou <leizhou@codeaurora.org>
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
power: qpnp-bms: disable interrupts at probe

The ocv and cc threshold interrupt are required when the battery is
FULL. Disable them at probe time and enable them once the battery is
reported full.

Change-Id: I75bc0b9128f7a8552380ba184d8a72e54159c01d
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
msm: mdss: hdmi-cec: bounds check cec frame size

Ensure that the frame size for the HDMI-CEC message
frame size doesn't exceed the maximum size when
reading message from userspace through sysfs interface.
This avoids potential overflow in cec send msg routine.

Change-Id: I891f23ed70ed5a6c0e3af1f47869effa079ffac8
CRs-Fixed: 520140
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
msm: mdss: make the mdss debugfs implementation generic

Remove the core specific details in the debugfs implementation via
a defined debug interface.

Change-Id: I2bf9ac47e0121f1f269d8d82274143d760305526
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
msm: mdss: add debugfs support for MDP3 on 8x10

Enable debugfs support for MDP3 core on 8x10.

Change-Id: I3ea94379d58b67533bfbaa9b64977ab3ca08ee67
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
arm/dt: 8610: add cdrom support

Enable cdrom feature.

Change-Id: I2a87756d144eaa67bce641531dab9cf1769a08b6
Signed-off-by: Jin Wu <jinw@codeaurora.org>
ARM: dts: msm: Fix ov8825 rotation issue on 8x26

Change mount angle to fix the rotation issue.

Change-Id: I439f71da3080f9297b980a803a02262ee0cf750b
Signed-off-by: Ju He <juhe@codeaurora.org>
kconfig: add makefile and kconfig for cm36283

Add Kconfig and makefile to build Capella cm36283 ALPS driver.

Change-Id: I4e217d2b75ec6cf72b5a6534d5736be949534cd5
Signed-off-by: mengmeng <mengmeng@codeaurora.org>
msm: krypton: Add memory reservation function in board file

Add function to scan the device tree for memory hole, which can't
be accessed by the kernel, and carve it out.

Change-Id: I2c8b6fc05672f6622c5ad430418b815fe9c6de8e
Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>
defconfig: msm8610: enable cm36283 LP sensor

Enable Capella cm36283 ambient light and proximity sensor for
8610MTP.

Change-Id: Idf97bf5aade7f8d46736ba39f31c2de0b93ee298
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>
msm: cpufreq: Add msm_cpufreq debugfs file to show CPU -> L2/BW mapping

Example output:
cat /sys/kernel/debug/clk/msm_cpufreq
  CPU (KHz)  L2 (KHz)  Mem (MBps)
     300000    300000         600
     422400    422400        1200
     652800    499200        1600
     729600    576000        2456
     883200    576000        2456
     960000    960000        3680
    1036800   1036800        3680
    1190400   1036800        3680
    1267200   1267200        6400
    1497600   1497600        6400
    1574400   1574400        6400
    1728000   1651200        6400
    1958400   1728000        7448
    2265600   1728000        7448

Change-Id: Ie3a52bae467038770db46816ae4302186f318dcd
Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.org>
USB: bam: Enable RAM12, RAM13 only for QDSS data & descriptor fifo

Currently for QDSS<->USB usecase, DWC3 core internal memory
(RAM11, RAM12, RAM13) is used for data & descriptor fifos. A data
fifo of 8KB size is enough for achieving maximum QDSS performance
instead of 16KB size. Hence enable only RAM12, RAM13 for QDSS<->USB
usecase so that remaining RAM10, RAM11 can be used for TX endpoint's
fifo allocation. This enables more fifo allocation for TX endpoints,
which will allow double buffering and results in better throughput
improvement.

CRs-Fixed: 532070
Change-Id: I7637bda9520b92537b9297f30d6003d2b6ceccf7
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
mmc: sdhci-msm: Enable controller power save feature

Enable power save feature within controller by setting bit 1
in vendor specific register (0x10C). This allows controller to
disable SD clock when bus is idle to save power.

Change-Id: I916a5a414adb3f21dc3a75f3f86c3a81d6956dc8
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
msm: ipa : teth_bridge: adding MPDP-MBIM support

Added support for MPDP-MBIM feature. MPDP-MBIM enables bringing up
multiple MBIM calls.

Change-Id: Id54f7a84c249eeb4555229e1ea3276fb2b08ebd6
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
defconfig: Enable IPSec and NOTRACK target configs

Configuration changes to enable IPSec tunnel/transport mode, user
configuration via "ip xfrm" commands and necessary crypto algorithms.
Also, enable NOTRACK target in iptables to provide the ability to
exempt certain traffic from being tracked by the Linux connection
tracking mechanism.

CRs-Fixed: 534213
Change-Id: I3e01e20c8e0a7464c905ec2a74db777fd771c437
Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
mdss: display: Add support for dynamic FPS

Add sysfs entry for dynamic FPS update mode. Add support to
change FPS in the following scenarios:
1. Store the FPS and change the clocks only when Suspend/resume
   happens. This is the default configuration.
2. Change the FPS immediately by updating the clocks. Video
   mode engine is disabled and then enabled when clock rate
   is updated.

CRs-Fixed: 488453
Change-Id: I1722d54d9fbfdfbd7d22e02d8776a0f60dc86141
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
ARM: dts: msm: Add support for Dynamic Fps

Add properties to DSI panel node to support
dynamic FPS. One property is to enable this feature and the
second property is the control when frame rate will be changed.

CRs-Fixed: 488453
Change-Id: I24f6fe88eece327f97212d2aff06100e83164383
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
ARM: dts: msm: Config I2C on BLSP1 QUP2 for Samarium

Configure and enable the I2C controller at BLSP1 QUP2 on
Samarium chipset.

Change-Id: I82211198c9da37e8c99052e4eff38a846f554fc2
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
Merge "msm: mdss: make the mdss debugfs implementation generic"