msm: Makefile: Compile in gdsc for krypton

Krypton uses the gdsc driver.

Change-Id: I9407f410c585e6297183d464f098a3c6a9f55f88
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
msm: kgsl: Run the idle timer while the GPU is not power collapsed

If the GPU is not in its lowest permitted power collapse state,
make sure there is a timer running to get the GPU to that state.

Change-Id: If57aaaf02087036bc4e24725c0cd3de5bc1f1034
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
msm: kgsl: Bump the frequency all the way to turbo for long IBs

Any IB that hasn't gone idle in an idle period and has spent the
majority of that time with the GPU busy should go as fast as
possible.  The most common use case where this is seen is for
OpenCL kernels.

CRs-fixed: 527197
Change-Id: Idf3fd0bfddc1cd1ac00f87dd72e403b81d70b170
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
mdss: display: Fix clock disable/unprepare calls for split display

For split display, the clock disable calls for DSI clocks
for both the controllers should happen before
calling clock unprepare APIs. Implement this sequence
when broadcast mode is enabled.

Change-Id: Ifb7436bc88e9b5c71623775815052c15dcc42844
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
ARM: dts: msm: Update palladium 1500mAh batterydata

Update the batterydata profiles for the palladium 1500mAh battery
with newly profiled values. This will improve battery state of charge
accuracy provided by the BMS driver.

Change-Id: I9d7b3558c821cb8653c75875f88ce9c1b2b73ff9
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
ASoC: msm: Correct the EC reference RX port id for 0x1001

The EC reference RX port id that is being used for
PRIMARY_MI2S_TX is not correct and is set to 0 currently.
Set this to proper RX port id of 0x1000.

Change-Id: Id7a88076f06816adcb50e9cee0b83da10393883f
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
msm: kgsl: Handle failure of find_process_private()

Handle the case of NULL return from find_process_private() upon
its failure by failing from get_process_private().

CRs-fixed: 542831
Change-Id: I8a365368ecf68f0d1aa01199aca76bc7ac49e154
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
ARM: dts: msm: Remove active-only flag from sdhc node

SDHC does not need to configure this flag because at least
one CPU is active/powered-on when our bandwidth request is
applied.

Change-Id: I7e5e9af4baaeefbecc8a8ef9617962dc3d11524d
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
msm: Modify functional mode of suspened GPIO

Modify functional mode of suspended
GPIO configuration of SPI to GPIO mode
instead of FUNC2 mode. Observed leakage
current issue during boot up when the
functional mode of the GPIO is FUNC2.
Hence,it is changed to GPIO mode in
this patch.

CRs-Fixed: 545555
Change-Id: Ida766a16fb1e25ebedb7dcbf17dfc81f5dbb6f0b
Signed-off-by: Sana Venkat Raju <c_vsana@codeaurora.org>
usb: gadget: u_ether: Don't drop IP packets with size > ETH_FRAME

Driver drops RX packets if size is greater than ETH max packet size
i.e. 1500. But this can happen in IP mode, hence don't drop such
large RX packets in IP mode.

Change-Id: I9e916dc85ed8dea3d3d45ae8756485c14e3b2ac0
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
ARM: dts: msm: update touchscreen properties for skug

As some new properties were added to support all Focaltech models
and support smart firmware update, skug device tree needs to update.

Change-Id: I7af15e7da5fda9caa7cde55bfd65e38c8d1748d4
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
ARM: dts: msm: Add regulators for modem pil device

Ensure the necessary regulators are enabled for this device.

Change-Id: I403471d73c0f64ea90f9d1a9fc4988c6c3d40dd3
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
defconfig: msmkrypton: Add PIL support

krypton supports MSS PIL.

Change-Id: I6beba57e5fa1ca859637cf15df4735b9c1da3eb9
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
ARM/DT: 8962: Add bus topology for 8962

Add the device-tree data for 8962 to enable bus scaling.

Change-Id: I18af20599653885bdf4c31397b2d7355c776f4f4
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
ARM: dts: msm: Add KTM hotplug feature for msm8226

Add entry for hotplug threshold. Set hotplug threshold and threshold
hysteresis to 110degC and 90degC respectively.

Add cpu sensors mapping.

Change-Id: Ic833c00a42dbcbec71e730eccd2d52b4bdabf92e
Signed-off-by: Jennifer Liu <chihning@codeaurora.org>
msm: mdss: reduce minimum mdp ib bandwidth request

The minimum mdp ib for usecases such as portrait video is high,
causing unnecessary power increase, so it is reduced to a optimal
value for the purpose of both power saving and reducing chances of
underruns.

CRs-fixed: 538989
Change-Id: Ibabf16ef3081ef85d181cc8a70e4cfbe029156c1
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
qdsp6v2: Fix access issues in adsp loader

Access issues are present in adsp loader. These are introduced
by the changes made for making adsp loader an in kernel component.

Change-Id: I111c0c99710b66211cffa3340afed57dc6eabdc1
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
ARM: dts: msm: Add parent supply for oxili_gx GDSC on msmsamarium

Oxili_gx GDSC needs to turn on its parent supply when it's enabled.
Add relevant dt entry to model this dependency.

Change-Id: I972658b685821d75b0075852a3e7d67e89cdb6e2
Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
ARM: dts: msm: Add NFC device for msm8610

Add nfc device for 8610 based msm. currently sensor and nfc share
same i2c.

Change-Id: Ib696fbcd122583c241fb195fb83a36c892c92799
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Bansidhar Gopalachari <bansid@codeaurora.org>
msm: 8610: gpiomux: Configure nfc gpio clock source

Add gpio clock source and remove ethernet interrupt which is used
by NFC as clock

Change-Id: I50e9e4b5c1602019667a69b04244e03fb3bbf7a2
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Bansidhar Gopalachari <bansid@codeaurora.org>