Commit graph

582596 commits

Author SHA1 Message Date
Odelu Kukatla
f68f0e758f clk: qcom: Add support for cpu clock for sdm630
CPU clock frequencies are different for sdm630, so update
the bootup frequency for perf cluster for sdm630.

Change-Id: I9da19b0a09ec1c5c7960f9c2fadfe26a3b4c3015
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-01-31 16:57:06 +05:30
Laxminath Kasam
9a4f615fca ASoC: msm: Remove i2s_pcm config settings in sdm660
I2S_PCM config as per SDM architecture is taken
care in LPAIF. It is not required to set any LPAIF
register to config I2s or PCM mode from Apps side.
Remove the code related to i2s_pcm config.

Change-Id: Ic8217b6dc178a7248979e7c2ca183286597112ad
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-31 15:36:55 +05:30
Raju P.L.S.S.S.N
67b984c116 ARM: dts: msm: Add PM support for sdm630
Add initial PM configuration necessary for SPM, LPM, MPM,
RPM stats to support SDM630.

Change-Id: I2e9ab91d8b0240a75198e489663ff794be3ee7ec
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2017-01-31 14:05:13 +05:30
Rama Krishna Phani A
3b900300ee thermal: tsens: Update sensor id for sdm660
Update sensor id flag for sdm660 such that thermal
client can obtain the HW ID for the available
temperature sensors (TSENS) with sensor ID details.

Change-Id: I6e217f734e8748c9ac5edf1c7a2b0dbf9deb9ac0
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-01-31 13:32:26 +05:30
Raviteja Tamatam
2d94891590 ARM: dts: msm: update recommended QOS vbif value for sdm660
Update the recommended QOS value for VBIF register
that programs maximum number of pending reads from
each AXI for display.

Change-Id: I0ca08f7e5d9c1ffa74abab987fc4382a7e5a9a4a
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2017-01-31 13:29:56 +05:30
Chaithanya Krishna Bacharaju
a2e395cfb2 ASoC: msm: qdsp6v2: Add App type cfg support for Listen
LSM needs to connect to ADM in cases where processing of
captured data is required. App type config support is added
to configure ADM in such cases.

Change-Id: I2e429235e0486c958cacf18e5b704736791c2f7e
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
2017-01-30 23:40:36 -08:00
Chaithanya Krishna Bacharaju
f7b4f38b89 ASoC: msm: qdsp6v2: Extend LSM support to 48khz, 24bit and 4 channel
Enhance LSM code to support maximum configuration of 48khz, 24bit
and 4 channel.

Change-Id: I03895c983527d87389ca69e85235b1def5b4a2fa
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
2017-01-30 23:39:57 -08:00
Chaithanya Krishna Bacharaju
1f5681eec2 ASoC: msm: qdsp6v2: Add timestamp support for lsm detection event
Add support to parse LSM_SESSION_EVENT_DETECTION_STATUS_V3
in cases where event status requires timestamp corresponding
to detection.

Framework mode config is set to timestamp mode in cases where
LSM_SESSION_EVENT_DETECTION_STATUS_V3 is required.

Change-Id: Id0da3b24d55ac56ff6b61372ede9c63f50b2f4d4
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
2017-01-31 12:43:11 +05:30
Jayant Shekhar
cde14d9172 ARM: dts: msm: Change underflow color for truly/sharp wqxga panel
Change underflow color for truly/sharp wqxga panel based on 30 bit
color format.

Change-Id: I1e0d0869af6992f27a5428718019401f940ff4ea
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2017-01-31 12:18:56 +05:30
Yeleswarapu Nagaradhesh
9870f9f6da ASoc: wcd-mbhc: correct handling of electrical interrupts
When 5 pole headset is removed, electrical interrupts are
disabled but intr_status bit is not set properly. Due to
which interrupts are not enabled when extension cable is
connected. So, corrrect handling on electrical interrupts.

CRs-Fixed: 1111164
Change-Id: I6d1c667ae6c44e7f0767df3e5450e99614717cc6
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2017-01-31 12:11:33 +05:30
Ashish Garg
f36d9e9024 ARM: dts: msm: add power supplies for amoled panel on sdm660
Add LAB/IBB/OLEDB entries for supporting amoled panel on
sdm660.

Change-Id: I12b0f8d626d9c30a071b1877b9b9135a0ea83368
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
2017-01-31 11:57:04 +05:30
Sandeep Panda
804463697a ARM: dts: msm: enable ESD feature for SDM660 target
Enable ESD check feature for SDM660 target by adding
the property flag to default panel node.

Change-Id: Icbd99fdbe4283407f94e60e3fe06b845a21846fd
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-01-31 11:46:41 +05:30
Kaushal Kumar
2f5ead45f5 soc: qcom: make debugfs support configurable for kryo l2 accessors driver
Add config option to enable/disable l2 indirect access debug capability.
The driver exposes l2 indirect access debugfs interface to get/set data,
address, and target cpus so keep it disabled by default.

Change-Id: I22f84d16a3bf12a78295f2d052bb50e90d6f2a8b
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
2017-01-31 11:46:26 +05:30
Preetam Singh Ranawat
6fd9409fbd ALSA: pcm: fix blocking while loop in snd_pcm_update_hw_ptr0()
When period interrupts are disabled, while loop in snd_pcm_update_hw_ptr0()
results in the machine locking up if runtime->hw_ptr_buffer_jiffies is 0.

Validate runtime->hw_ptr_buffer_jiffies value before while loop to avoid
delta check.

CRs-Fixed: 1109229
Change-Id: Ib20b71c70aa4a8bee2837d1f3b5a91ad4ce083da
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2017-01-30 22:05:36 -08:00
Sayali Lokhande
283e8d1b93 mmc: sdhci-msm: Disable controller clocks in suspend
Generally, during card suspend we call mmc_power_off
and disable controller clocks.
Now consider below sequence of events :
suspend -> resume -> suspend.
1) During first platform suspend, mmc_power_off will
be called and clocks would be disabled.
2) As a part of platform resume, we enable controller
clocks and defer card resume when
MMC_BUSRESUME_NEEDS_RESUME flag is set.
3) During next suspend we check if card is already
suspended (i.e MMC_BUSRESUME_NEEDS_RESUME is set)
and return without doing actual suspend (where we
call mmc_power_off and disable controller clocks).

So in this scenario, controller clocks will remain ON
even though card state is SUSPENDED.

Fix this by disabling controller clocks during suspend
if controller clock was ON.

CRs-Fixed: 1088893
Change-Id: Id54a15d7f6a7131dab609eec1db158c64ada83ce
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2017-01-30 22:03:09 -08:00
Linux Build Service Account
42e1251b38 Merge "smb-lib: disable APSD run on CC while APSD is disabled" 2017-01-30 20:16:01 -08:00
Linux Build Service Account
15632ada36 Merge "msm: isp: Recover VFE when epoch mismatch happens" 2017-01-30 20:16:00 -08:00
Linux Build Service Account
9787f5c3c1 Merge "ARM: dts: msm: update cpufreq node for SDM660 target" 2017-01-30 20:15:59 -08:00
Bhalchandra Gajare
91b8de6ef6 ASoC: wcd-spi: add system suspend and resume functionality
When any SPI transaction is in progress or the SPI clock request
is active, the system suspend needs to be blocked to make sure
the pending transaction completes. If not blocked, it could result
into device crash due to unclocked access. Also, if other components
request resume through WDSP_EVENT_RESUME, we need to make sure the
system resume happens if the driver is already in suspended state.

CRs-Fixed: 1111863
Change-Id: I48a357b93bd46caa30e22f82299b70393f497827
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2017-01-30 18:00:50 -08:00
Bhalchandra Gajare
896e0b12ac ASoC: wcd-dsp-mgr: add suspend and resume functionality
Currently, the suspend and resume routines for the wcd dsp manager
driver are not implemented, which causes race conditions when the
components suspend or resume out of order. Implement the suspend/
resume functionality and route the events to the components in
the expected sequence.

CRs-Fixed: 1111863
Change-Id: Ie84cdef5ed7ffd61610cd83e5f627427f85bc125
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2017-01-30 18:00:06 -08:00
Satyajit Desai
e11aa6adb6 defconfig: arm64: Add coresight TMC support for msm8998
Adding back the missing coresight TMC support for 8998.

Change-Id: I0f7db0f80b3b55d30b38430a0c257ef32c4e2653
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2017-01-30 17:42:01 -08:00
Abhijeet Dharmapurikar
684caa6de4 qcom: qpnp-fg-gen3: handle late creation of battery psy
Currently if battery psy is not seen while the profile is loaded during
initialization, it doesn't configure the float voltage and the fast charge
current value when battery psy comes in later.

Fix this by setting those parameters whenever batt_psy is seen for the
first time.

While at it change the name of this function from is_charger_available to
batt_psy_initialized to be in line with the added steps.

Change-Id: I31eb364e5fe33cc4b45aba4027150e4c21e74451
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-01-30 15:41:50 -08:00
Abhijeet Dharmapurikar
c2ccc0e909 power_supply: Add type and properties for parallel charger
USB Main charger type represents the main charging path. This will
be used to control charging parameters on the main charger.

FCC_DELTA property will be used to indicate whether hw implements
any FCC mitigation. This will be used to calculate the effective FCC
and set the FCC on the PMI.

PARALLEL_MODE property indicates whether the parallel charger chip is
configured in a mid-mid or usbin-usbin configuration.

ICL_REDUCTION property indicates by how much should the main charger
reduce its input current.

Change-Id: I3b064314e6b5c28a7ea9f79ac52f3a26749605fb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-01-30 15:41:49 -08:00
Nicholas Troast
88b334d041 smb-lib: disable APSD run on CC while APSD is disabled
CC can debounce several times while VBUS is present and if APSD is
disabled the APSD result will be unknown. Disable APSD run on CC
debounce when APSD is disabled so the APSD result will not be reset in
this case.

Change-Id: Ia0b18605ea7d51aab0426bc7ad7c873152f42dc7
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-01-30 14:52:33 -08:00
Tatenda Chipeperekwa
864ea9fc78 msm: mdss: dp: fix programming of audio ACR control
Fix the programming of the audio ACR control by clearing
the previous value first, and then ensuring that the audio
engine is updated with the correct link rate value. This
ensures that audio playback will be done at the correct
audio clock rate.

CRs-Fixed: 1091543
Change-Id: I392592735ecc46253fc9bc07ae91848dd5d1018a
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-01-30 12:31:43 -08:00
Narendra Muppalla
3a7cd576f7 Merge remote-tracking branch 'quic/dev/msm-4.4-drm_kms' into msm-4.4-01-29-tip
* quic/dev/msm-4.4-drm_kms:
  drm/msm/sde: allow mmus to be optional during kms init
  drm/msm/sde: check for null catalog in sde hw destroy
  drm/msm: treat data bus dtsi property as optional
  drm/msm/sde: add crtc clock & bandwidth capabilities
  drm/msm/sde: parse csc type dtsi entry to select valid csc
  drm/msm: fix copyright marking in "msm" drm driver
  drm/msm: remove smmu coherent hardware table walk attrib
  drm/msm/sde: add DMA2 and DMA3 pipe staging support
  drm/msm/sde: add event for underruns
  drm/msm/sde: fix check for frame event overflow
  ARM: dts: msm: add ping pong split definitions for msm8996
  ARM: dts: msm: add sde max bus bandwidth setting for msm8996
  drm/msm/sde: add dynamic clock and bandwidth commit support
  ARM: dts: msm: add sde bus scale settings for msm8996
  drm/msm/sde: add bus bandwidth control for crtc
  drm/msm/sde: add frame done callback event to crtc
  drm/msm/sde: bypass crtc atomic begin/flush if disabled
  drm/msm/sde: add debugfs entry for vbif
  drm/msm/sde: add debugfs entry for danger and safe status
  drm/msm/sde: enable ping pong split support
  ARM: dts: msm: enable imgswap on sharp nt35597 dual panel
  drm/msm/sde: remove catalog parsing limits
  drm/msm/sde: update pixel extension uapi
  drm/msm/sde: enable master physical encoder last
  drm/msm/sde: reset ctl mixer config at end of use case
  drm/msm: Support virtualization of color processing properties
  drm/msm/sde: Move DSPP/SSPP color process hw programming to common location
  drm/msm/sde: Add support for Memory Color in plane
  drm/msm/sde: Add PA global adjustment properties to plane
  drm/msm: implement smmu detach and guard freeing of client dev
  drm/msm/sde: reset kickoff count atomically before irq enable
  ARM: dts: msm: default sde clock rate to max for msm8996
  drm/msm/sde: base scaler phase on decimated dimensions
  drm/msm/sde: move sde hw init to hw_init callback
  drm/msm/sde: check for missed irqs in command encoder
  drm/msm: support probe deferral in msm_drv
  drm/msm/sde: fix iounmap usage and init callflow
  drm/msm/sde: fixup sde_kms shutdown sequence and naming
  drm/msm/sde: fix cmd mode vblank irq control
  drm/msm/sde: apply correct zpos range for sde clients
  drm: Increase max number of DRM object properties
  drm/msm/sde: add debug dump and panic facility
  drm/msm/sde: match xlog features in evtlog
  drm/msm/sde: add debugfs support for misr data
  drm/msm/sde: Add device tree subnode parsing capability
  drm/msm: create separate commit thread for each display
  drm/msm/sde: Add backlight class support for sde drm driver
  drm/msm/sde: add common sde debug folder
  drm/msm/sde: route evtlog to sde trace log
  drm/msm/sde: add systrace compatible trace macro
  drm/msm/sde: separate plane/encoder/crtc functions into headers
  drm/msm/sde: add default 10 bit csc matrix to source pipe
  drm/msm/sde: add 10 bit csc for sde
  drm/msm/sde: add qseedv3.x support for sde
  drm/msm/sde: add 10-bit formats support
  drm/msm/sde: print error only if catalog property is mandatory
  drm/msm/sde: remove redundant vblank request in crtc
  drm/msm/sde: add vblank reference counting to crtc
  drm/msm/sde: handle pingpong blocks from virtual encoder
  drm/msm/sde: add support for BGRX and XBGR formats in plane
  drm/msm/sde: add multi-client and ref counting for core irq
  drm/msm/sde: cache connector list in sde crtc
  drm/msm/sde: remove display manager
  drm/msm/sde: fix video encoder access in phy encoder
  drm/msm/sde: add debugfs node for vsync and underrun status
  drm/msm/sde: update vblank and underrun isr handling
  drm/msm/sde: fix color component order
  drm/msm/dsi-staging: fix issues related to deferral
  drm/msm/sde: remove static allocation of mdp_top hw block
  drm/msm: initialize local varibles in sde power module
  drm/msm/sde: dual pipe use case support
  drm/msm/sde: update crtc status debugfs node
  ARM: dts: msm: add vbif OT and plane QoS/LUT for msm8996
  drm/msm/sde: add clock control parsing to hardware catalog
  drm/msm/sde: correct read out of bit offset array
  drm/msm/sde: add plane QoS parsing to hardware catalog
  drm/msm/sde: add vbif parsing to hardware catalog
  drm/msm/sde: add writeback id parsing to hardware catalog
  drm/msm/sde: update mixer op mode config bit fields correctly
  drm/msm/sde: add sde error prefix for all errors
  drm/msm: add capability property for crtc
  drm/msm/sde: update ubwc and src split properties for sde
  drm/msm/sde: correct to use sync vblank request for commit
  drm/msm: execute pending vblank disable upon last close
  drm/msm/sde: update crtc to use sde debug macros
  drm/msm/sde: remove unused functions in sde crtc
  drm/msm/sde: move sde_crtc declarations into sde_crtc header
  drm/msm/sde: move sde_crtc away from legacy drm vblank apis
  drm/msm: add error logging in msm_atomic
  drm/msm/sde: move vbif functions to their own file
  defconfig: enable backlight class driver for msm defconfig.
  drm/msm/sde: additional event logging for fences
  drm/msm/sde: assign relative mixer stages based on zpos
  drm/msm/sde: remove redundant vblank request and notification
  drm/msm/sde: fixup header markings
  drm/msm: fix power handle APIs when clk are not present
  drm/msm/sde: don't convert ktime to ns when waiting for fences
  DOWNSTREAM: drm/msm/sde: enable sde client customizations
  drm/msm: rename kernel module to msm_drm
  drm/msm/sde: allow primary planes to be used with all crtcs
  drm/msm/sde: limit primary plane count to number of crtcs
  drm/msm: teardown all modes in lastclose handler
  drm/msm/sde: update proper error message for rm failure
  drm/sde: move hardware catalog to dtsi parser
  drm/msm/sde: enable proper support for split flush
  drm/msm/sde: add mode config mutex lock for connector search
  drm/msm/sde: bypass wait for commit done if crtc is not enabled
  drm/msm/sde: add proper mode config lock to plane QoS check
  drm/msm/sde: correct crtc to use new plane state for update
  drm/msm/sde: remove error message from optional settings
  drm/msm/sde: remove unused traffic shaper from hw drivers
  drm/msm: property read should return success for virtual crtc
  drm/msm/sde: avoid programming same plane source address
  drm/msm/sde: update plane dmesg logging to use sde macros
  drm/msm/sde: update scaler property definition and type
  drm/msm/sde: break out plane decimation to separate properties
  drm/msm/sde: update register writes to use SDE logging macros
  drm/msm/sde: update csc property definition and type
  drm/msm: Modularize property install function of color processing
  drm/msm: Add support for PA vLut feature
  drm/msm: Expose Assertive display capability
  drm/msm: Suspend/Resume support for color processing features
  drm/msm: Add support for PCC in Crtc
  drm/msm/sde: update catalog for post processing
  drm/msm/sde: don't duplicate input fence pointer with state
  drm/msm/sde: fix color component order for compressed formats
  drm/msm/sde: add writeback ROI support for msmskunk
  drm/msm/sde: add const alpha support for msmskunk
  ARM: dts: msm: add max clock property for sde to msm8996
  drm/msm/sde: add max clock property for sde
  drm/msm: add support for custom event notification
  drm/msm: Initial version post processing header
  drm/msm: remove msm clock driver header files
  drm/msm/dsi-staging: keep backlight api under LED config
  drm/msm/sde: enable sde clocks during debugfs register read
  drm/msm/sde: update pipes on dirty plane properties
  drm/msm/sde: fix compilation issues in sde driver
  drm/msm/sde: update encoder dmesg logging to use sde macros
  drm/msm/sde: remove unused header dependency
  drm/msm/sde: use const alpha for wb if pipe alpha not supported
  drm/msm/sde: remove unused sde functions
  drm/msm/sde: add mode change request to cdm resource update
  drm/msm/sde: cleanup alpha calc and plane stage in crtc
  ARM: dts: msm: send panel off command during pre off state
  drm/msm/sde: remove unused writeback function stubs
  drm/msm/sde: remove unused vblank control for writeback
  drm/msm/sde: remove unused encoder function
  drm/msm/sde: always clear topology name when removing rsvp
  drm/msm/sde: reorganize top level interrupt handling code
  drm/msm/sde: add OT support for source pipe and writeback
  drm/msm/sde: add danger/safe/QoS support for source pipe
  drm/msm/sde: improve debug log for blend setup
  DOWNSTREAM: drm/msm/sde: optionally delay output fence signal
  drm/msm/sde: determine output fence timing on create
  drm/sde: use power handle api to vote for core clock
  ARM: dts: msm: add clk rate and gdsc supply entry for msm8996
  drm/msm: add power handle driver for msm
  drm/msm/sde: add helper macro for performing ktime comparisons
  drm/msm/sde: assign ctls based on capability requirements
  drm/msm/sde: clean up crtc ctl tracking
  drm/msm/sde: improve resource manager hw block lookup time
  drm/msm: internal property updates should update cached value
  drm/msm/sde: fix plane stage setup in sde crtc
  ARM: dts: msm: add nt35597 panel definition for msm8996
  drm/sde: remove warn on from sde encoder
  drm/sde: allow base layer plane stagging
  drm/msm: update plane, crtc and connector caps blob prop
  drm/msm/sde: add api for determining current interface mode
  drm/msm/sde: fix uninitialized return code in rm
  drm/msm/sde: fix atomic check for crtc driver
  drm/msm: validate framebuffer before accessing it
  drm/msm: fix atomic mode check for sde plane
  drm/msm: use drm helper API for atomic check
  ARM: dts: msm: remove hdmi connector for msm8996
  drm/msm/sde: enable dynamic hardware resource assignment
  drm/msm/sde: dynamic hardware resource manager
  drm/msm/sde: move crtc towards multi-encoder support
  drm/msm/sde: list block interconnects as bitmasks
  drm/msm/sde: add topology management properties
  drivers/gpu/drm: disable drm fbdev emulation
  drm/msm/sde: use common structure for phys encoder init
  drm/msm/sde: list hardwired mixer connections
  drm/msm: enable/disable sde during driver open and close
  drm/dsi: turn off the wled backlight with panel power off
  drm/dsi: fix dsi control power supply turn off sequence
  drm/msm/sde: add support for dirty properties
  drm/msm: allow flags to be set in property helpers
  drm/msm/sde: trigger plane modeset on buffer pitch change
  ARM: dts: msm: add SDE writeback display for msm8996
  drm/msm/sde: enable writeback enumeration in display manager
  drm/msm/sde: add virtual writeback device and connector
  drm/msm/sde: add resource management for writeback and cdm
  drm/msm/sde: add hardware driver support for chroma down module
  drm/msm/sde: add hardware driver support for writeback interface
  drm/msm/sde: add smmu domain selection logic to connector
  drm/msm/sde: add function to return raw interrupt status
  ARM: dts: msm: add SDE smmu node to msm8996
  drm/msm/sde: Bypass unused interface during smmu init
  drm/msm: add non-realtime and secure smmu domains
  drm/msm: cache active displays within display manager
  drm/msm/sde: add connector api for querying display info
  drm/msm/sde: use msm_display_info for display information
  drm/msm/sde: explicitly enumerate supported plane formats
  drm/msm/sde: add retire fence support
  drm/msm/dsi-staging: use sde connector for dsi
  drm/msm/sde: add generic support for drm connectors
  drm/msm/sde: add utility functions for kms info
  drm/msm/sde: enable output_fence property
  drm/msm/sde: add output fence utility functions
  drm/msm/sde: support more formats including compression
  drm/msm: subdriver hook to validate modified formats
  drm/msm/sde: add drm fourcc modifier for qcom compressed format
  drm/msm/sde: command mode panel encoder support
  drm/msm/dsi-staging: turn gpio off if panel reset fails
  drm/msm/sde: single kickoff to flush hardware
  drm/msm/dsi-staging: add dsi cmd/vid mode to display info
  drm/msm: add subdriver callback for single kickoff
  drm/msm/sde: fix reading of the pingpong counters
  drm/dsi-staging: update configurations for display related GPIOs
  drm/msm/sde: add register name to logging
  drm/msm/sde: add logmask area for top registers
  drm/msm/sde: define sde specific macros for dmesg logging
  drm/msm/sde: enable explicit input fences
  drm/msm/sde: add support for crtc properties
  drm/dsi-staging: reset drm/dsi data before reconfiguring
  ARM: dts: msm: fix compilation errors for msm8996
  ARM: dts: msm: add configurations for 1080p panel on msm8996
  defconfig: enabled drm/kms driver in msm defconfig
  drm/msm/dsi: remove unused tag from dsi API
  drm/kms: remove compilation of hdcp_hdmi
  ARM: dts: msm: update settings for dsi panels
  drm/msm: disable mdp4 driver in drm kms
  drm/msm: switch to qti KGSL driver
  ARM: dts: msm: add configurations for 720p panel
  ARM: dts: msm: add device tree for sde dsi device on msm8996
  drm/dsi-staging: add support to get regulator data from device tree
  drm/msm/sde: use sde plane csc cfg struct for user settings
  drm/msm: add display manager to makefile
  drm/msm: rename MSM drm platform driver's name into msm_drm
  drm/msm/sde: avoid dereferencing scaler blob if null state
  drm/msm: handle null blob property array
  drm/msm: enable both dsi drivers together
  drm: mipi: change header format to work with msm hardware
  drm/dsi-staging: remove interrupt handling
  drm/msm: move display manager out from dsi-staging
  drm/msm/dsi-staging: fix dynamic fps and seamless updates
  drm/msm/dsi-staging: support dynamic frame-rate and validation
  drm/msm: defer drm driver probe if backlight isn't ready
  drm/msm: common display interface for mdp driver
  drm/msm/sde: init private kms pointer before modeset init
  drm/msm/dsi-staging: add dsi panel driver
  drm/msm/dsi-staging: add debugfs support for dsi driver
  drm/msm/dsi-staging: add support for command mode panels
  drm/msm/dsi-staging: dsi display tests
  drm/msm/dsi-staging: add dsi drm interface
  drm/msm/dsi-staging: add dsi display driver
  drm/msm/sde: replace plane property/state handling with msm_prop
  drm/msm: add generic property/state handling
  drm/msm: use sde specific color format throughout
  drm/msm: move dynamic fps and seamless updates
  drm/msm: update wrapper macros for event logging
  drm/msm/sde: init spinlock for lm_lock
  drm/msm/sde: clean up debug output
  drm/msm: add event log for profiling msm drm driver events
  drm/msm/sde: pageflip fixes
  drm/msm/sde: remove crtc full modeset based on plane changes
  drm/msm/sde: add z-order and plane id to prints
  drm/msm/sde: add wrappers for release fence API
  drm/msm/sde: update max up/down scale
  drm/msm/sde: add planes color fill/fence timeout
  drm/msm/sde: updates to planes atomic_check
  drm/msm/sde: add cache for released plane states
  drm/msm/sde: input fence support for planes
  drm/msm/sde: add debugfs for crtc
  drm/msm/sde: don't overflow mixer cfg fields
  drm/msm: enable seamless dynamic framerates
  drm/msm/sde: remove plane decimation properties
  drm/msm/sde: change csc matrix coeff in h/w driver to s15.16
  drm/msm/sde: enable blending across all planes
  drm/msm/sde: remove 'mdp' from sde file names
  defconfig: msm: enable SYNC Driver
  drm/msm/sde: add valid rotator writeback flag
  drm/msm/sde: add properties for planes
  msm: sde: sde plane properties user definitions
  drm/msm/sde: consolidate SDE error logging on DRM standard calls
  drm/msm/sde: set encoder role at display probe time
  drm/msm/sde: add preliminary debugfs support
  drm/msm/sde: add blending support for more use cases
  drm/msm/sde: enable NV12 modetest for planes
  drm/msm/sde: fixup mdp top split pipe control
  drm/msm/sde: add support for vblank callback
  drm/msm/dsi-staging: add dsi phy driver
  drm/msm/dsi-staging: add clock and power utilities
  drm/msm/dsi-staging: add dsi controller driver
  drm/msm/sde: add resource manager to enable dual dsi
  drm/msm/sde: adding implementation for mdp_top in hw driver
  drm/msm/sde: sde hw interrupt handling
  drm/msm/sde: simplify encoder display probe logic
  drm/msm/sde: move sde encoder to new display interface
  drm/msm/sde: programmable pre-fetch support for video encoders
  drm/msm/sde: sde encoder virtualization
  drm/msm/sde: add controller instance to INTF block in catalog
  drm/msm/sde: add basic sde object enumeration
  drm/msm: add smmu handler
  drm/msm/sde: add driver for sde support
  drm/msm/dsi-staging: add catalog for dsi driver
  drm/msm/dsi-staging: add hardware driver for dsi controller
  drm/msm/dsi-staging: add hardware driver for dsi phy
  drm/msm/dsi-staging: add dsi definitions for new dsi driver
  drm/msm: remove clock framework dependency

Change-Id: I20ec5183e730d1033f824f3b33f52d5b1578f740
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2017-01-30 11:53:27 -08:00
Ingrid Gallardo
6b94a84a12 ARM: dts: msm: correct mdp settings of dma pipes for msm8998
This change fixes the hw clock control configuration
in the mdp for some of the dma pipes that were missing
to have the correct settings for msm8998.

Change-Id: Id520e60ae016a37a47ba8d1b36cbf64cde0e7e84
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2017-01-30 11:30:56 -08:00
Rajesh Bondugula
9064d21948 ARM: dts: msm: Update csi source clk in msm8998
Set phy/csid clk to 274290000 MAX clk in SVS mode in MSM8998.
This is needed to handle higher data rate from sensor and to
achieve dynamic clock scaling based on data rate.

Crs-Fixed: 1111089
Change-Id: If148f5a53ce4b151e4e7a2afe0352e5dba4a85ad
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
2017-01-30 11:25:28 -08:00
Satyajit Desai
e35d312a77 coresight: Add NULL pointer check for build paths
Fail the path building if we end up without a valid device
in our build path either due to incorrect device tree or
an incorrect defconfig.

Change-Id: I89b6b8544234251e10ebd4e1338b639685a9ff93
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2017-01-30 11:10:32 -08:00
Siena Richard
937bc9e644 ASoC: msm: qdsp6v2: completely deallocate on cal block creation failure
Completely deallocate the cal block if creation fails to ensure no
memory leaks are present.

CRs-Fixed: 1112751
Change-Id: I76916c8b3f7e8e9b864dc39dab96f7d330774473
Signed-off-by: Siena Richard <sienar@codeaurora.org>
2017-01-30 09:58:55 -08:00
Siena Richard
6445f4d483 msm: qdsp6v2: set device channels on vocproc
Media format data is used only to account for additional buffering
required in vocproc when a fractional sample rate is set. Set device
channels irrespective of the media format info in order to configure
the input no of channels when a custom topology is used.

CRs-Fixed: 1116092
Change-Id: I6eadba65dbed102aec085d99f28c39e66ea4b89b
Signed-off-by: Siena Richard <sienar@codeaurora.org>
2017-01-30 09:58:08 -08:00
Vikash Garodia
9619e890f1 msm: vidc: Handle perf mode configuration
Host will set the Venus firmware in below modes
1. If the load of current video session exceeds
the venus capability, video driver sets power
save mode for that session.
2. If an usecase is recommended to run in power
save mode to get power benefits, video driver
configures the session in power save mode.
3. If any V4L2 client makes an explicit call to
configure the usecase in a certain perf mode,
video driver sets the same to venus firmware,
unless restricted by core capability.

CRs-Fixed: 1106972
Change-Id: Ib8be6c9af1508389edc9cb6444531c6e711b6a11
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2017-01-30 21:21:02 +05:30
Benjamin Chan
58fd33a33c msm: sde: Avoid VBIF programming when SDE rotator is still busy
Whenever the rotation commit parameters have format or fps change, it is
required to program the OT in the VBIF, but only safe to do so when the
rotator is in IDLE state. The change is to make sure the correct fps is
used to lookup the OT, and issue panic when trying to program VBIF when
rotator is no in IDLE state.

CRs-Fixed: 1109943
Change-Id: I592df0f65b4c80fe8bf8eeb5cafffd369c41fcc2
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2017-01-30 10:30:11 -05:00
Vikash Garodia
1de4de91e0 ARM: dts: msm: Define power configuration for msm8996 and msm8998
Power configuration is a value measured as HxW of a video
session. If the resolution of current video session meets
this value, the session will be configured in low power
mode to get power benefits.

CRs-Fixed: 1106972

Change-Id: Ibe4eba7a76a070b1bc02caff89cfb871993043c2
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2017-01-30 20:54:11 +05:30
Linux Build Service Account
ea4719da1f Merge "ath10k: Add htt tx/rx layer changes for WCN3990 target." 2017-01-30 07:05:36 -08:00
Linux Build Service Account
f9500f4705 Merge "msm: kgsl: Fix incomplete IB2 dump in the snapshot" 2017-01-30 07:05:35 -08:00
Linux Build Service Account
9b80f2b723 Merge "ARM: dts: msm: add truly 1080p panel support for sdm660" 2017-01-30 07:05:34 -08:00
Linux Build Service Account
e3e2337e47 Merge "ARM: dts: msm: Add qrng device node for SDM630" 2017-01-30 07:05:32 -08:00
Linux Build Service Account
ba93fbf5f0 Merge "ufs: add additional sync between ice work queue and pending request" 2017-01-30 07:05:31 -08:00
Linux Build Service Account
d9f73b621e Merge "msm: kgsl: Check GPMU presence before accessing power counters" 2017-01-30 07:05:30 -08:00
Linux Build Service Account
7b317a25ea Merge "wil6210: fix QCA_WLAN_VENDOR_ATTR_FREQ attribute ID" 2017-01-30 07:05:29 -08:00
Linux Build Service Account
e1d0109fdc Merge "adreno_tz: Correct tz_buf pointer type to correct pointer arithmetic" 2017-01-30 07:05:28 -08:00
Linux Build Service Account
520c2d8947 Merge "ARM: dts: msm: change ref threhold to 184K in sdm660" 2017-01-30 07:05:27 -08:00
Linux Build Service Account
f3b8923a2c Merge "ARM: dts: msm: Disable WSA for internal codec SDM660" 2017-01-30 07:05:26 -08:00
Linux Build Service Account
e1e1ad0592 Merge "ath10k: Add host/target CE config and services for WCN3990" 2017-01-30 07:05:24 -08:00
Linux Build Service Account
79e80bf58b Merge "ASoC: msm: Update WCD934X RX and TX Slim channels" 2017-01-30 07:05:24 -08:00
Linux Build Service Account
3ed889b39e Merge "sched: set LBF_IGNORE_PREFERRED_CLUSTER_TASKS correctly" 2017-01-30 07:05:23 -08:00
Linux Build Service Account
564fc4f080 Merge "scsi: ufs: validate input args to queuecommand" 2017-01-30 07:05:22 -08:00
Linux Build Service Account
31a533f0a9 Merge "ARM: dts: msm: Add BCL mitigation configuration for sdm630" 2017-01-30 07:05:21 -08:00
Linux Build Service Account
e0c4785094 Merge "scsi: ufs: check for err state when polling for doorbell" 2017-01-30 07:05:19 -08:00