msm: mdss: Display gamma control

TODO: confirm rgb channels, identify other tunables, cleanup,
apply values without switching screen (off and) on.

sysfs: /sys/devices/qcom,mdss_dsi_jdi_command_ors.69/*
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Apply commands values without switching screen (off and) on

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Remove tunable for command 32

Even slight changes look ugly or distort the screen.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: distinguish between Gamma RGB polarity Positive/Negative

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Remove sysfs for unused commands

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Identify white point in sysfs

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Add safety check for user input

Leave more checks either to the control app or the user's intelligence.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Finalize gamma interface and cleanup

- Remove all sysfs files of unused commands
- Remove auto sync for negative polarities, these must be written separately
- Protect offset bit of white point command as well
- Apply white point bit 2 as duplicate of bit 1

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Send panel commands via separate function

Sending panel comnmands is very expensive, add a separate function to
accomplish this. Once all commands have been stored write anything to
the kgamma_send file.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Use workqueue to send panel commands

Sending panel commands is known to be expensive, honor this by
scheduling this task. Also check for panel state and send commands
only when we're actually awake.

These fixes adress bug reports regarding behaviour during boot.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: mdss: Find a stable sysfs node for the gamma interface

Move sysfs files to /sys/module/dsi_panel/*

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
arm/dts: hammerhead: Optimize panel init/uninit sequence

Reduce panel on delay from 200ms and panel off from 120ms
to 20ms respectively.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: 8974: Enable bus scaling for 8974

Add the config to enable bus scaling for 8974

Change-Id: I6a84305a9b16b0c61e76553ba8043d3cb533d19e
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
arm/dt: msm: 8974: set micbias2 cap mode

On FLUID, micbias2 has an external bypass capacitor.
Without setting to cap mode, high pitch noise is heard
during audio capture from microphone biased by micbias2.

Change-Id: Iec3d2990549daa6da231ada1557383a30e6ac076
CRs-fixed: 433362
Signed-off-by: Patrick Lai <plai@codeaurora.org>
ASoC: msm: 8974: add DAI links for Ultrasound RX and TX

Ultrasound RX is used gesture detection, speed of sound measurement and
proximity detection. Ultrasound TX is used for ultrasound digital pen.

Change-Id: Ibc854d5ce2cac3cd11ac02ee9718a9160deb794f
Signed-off-by: Kiran Kandi <kkandi@codeaurora.org>
make_script: add git clean:
cpufreq: intelliactive:
drivers/cpufreq/cpufreq_intelliactive.c: GCC 4.9.x warning fix up

Signed-off-by: Paul Reioux <reioux@gmail.com>
Revert "drivers/cpufreq/cpufreq_intelliactive.c: GCC 4.9.x warning fix up"

This reverts commit 202c369c0bc11fc106295d0df8ffccd0ce17bb2f.
Revert "cpufreq: intelliactive:"

This reverts commit 1c9fed35df670e09f057daf58dc3d9d1fc2e0011.