This reverts 'commit 29e061e200 ("drm/msm: add smmu handler")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I65034605b1caefe435a37c6fde78d4c52f3439c3
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit 815cfffb81 ("drm/msm/sde: add
basic sde object enumeration")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I5d58276f207485ac8ae80d8619282d2b62c0a695
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit 1cab338540 ("drm/msm/sde: add
controller instance to INTF block in catalog")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: Id950e4f131b9330908f65c431fca34cddf96b5ee
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit a142ec80ca ("drm/msm/sde: sde
encoder virtualization")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: Ida1e127788961e1c9484b0a69695d0ad5391cf88
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit fe03524bee ("drm/msm/sde: programmable
pre-fetch support for video encoders")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I978b0248f5e011abbb8cede98a56b3cb558f2d87
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit 0190e3c975 ("drm/msm/sde: move sde
encoder to new display interface")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I810da6da7df48bba1df68c81e2843f6597e4ca27
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit 643f961532 ("drm/msm/sde: simplify
encoder display probe logic")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I8df181f1e9a7d998aa9f35fbd5154a022d8563db
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit d199f38207 ("drm/msm/sde: sde
hw interrupt handling")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I7235fa269888d72247a3a5aee31b5fde3fb3b8e3
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit f8846e9345 ("drm/msm/sde: adding
implementation for mdp_top in hw driver")'
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I39fbad9b113cac96bb523876673787eed121172d
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts 'commit e14b3005bd ("drm/msm/sde: add
resource manager to enable dual dsi")'.
This is partial change for display drm driver,
that will break drm/sde merge commit.
Change-Id: I2d4f915aa5d3382ce22aa1b4d6e02183ab2f7c5c
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This reverts commit ee6143827c ("cfg80211: remove enum ieee80211_band")
which is incomplete cherry-pick of commit 57fbcce37be7
("cfg80211: remove enum ieee80211_band") from
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
and due to which compilation of ath10k module is broken.
Incomplete cherry-pick means not all files of corresponding commit from
opensource repo are pulled.
Conflicts were resolved in drivers/net/wireless/ath/ath10k/htt_rx.c
CRs-Fixed: 1113043
Change-Id: Ie2f95b1524777e8eaf1436ba3e4ab3f9e6b2822e
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Update internal codec settings for RX/TX devices.
Disable lpass notifier in analog codec driver.
Handle 44.1K support in machine driver to
disable MCLK before request for change in
MCLK frequency.
Change-Id: I5f78f07da46dee0c66e4e374da600e2e5c5d8e21
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Model and configure MDSS Display Port PLL for SDM660 target.
Add changes to define and register DP VCO, divider and mux clocks
as per common clock infrastructure.
Change-Id: Ice83e21323087e81e2f30998260be85120e41fa8
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
After hotplug policy max and min should be restored
to the user defined values.
Update to restore the policy min and max values defined
by user before going into hotplug.
Change-Id: I6a87fb7e84fae647e76e65734c7e1e9b498f82e3
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update the battery profiles for ascent, itech and st1031ga
batteries that are used with 8998 platforms as per the recent
characterized profile data.
Change-Id: I8dda10320f216e8fe40fda405817c1afc3b436de
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add batterydata phandle to pmi8998 FG device so that it can be
used for obtaining the battery profiles that is required for
msm8998 MTP and QRD platforms.
Change-Id: I2255cd6475f3e49394cbdf3dd4594cb96fd70c31
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Initialize the variables before their usage and add null pointer checks
before dereferencing pointers.
Change-Id: Ibe4140c6e0aa25c37583e6e5e6e2331d86f389aa
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Add a check to event ring handle.
Change-Id: If835e7e610745aeb82d4d0e363ef833d0f8d857a
CRs-Fixed: 1115476
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Don't check return value of sending dynamic feature mask in cold
boot initialization sequence as it is an optional message.
CRs-Fixed: 1115626
Change-Id: Ieb2f86f3a5c2c368b2699755a716a3e385562f48
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Change to iterate the mapped buffer list and use the secure buffer
info structure instead of dma buffer info to return the secure mapped
fd's pertaining to the corresponding session.
Change-Id: I6dbfef3741d7ae0b24a4e101eebbf8dc62da630a
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
The copy engine is a host to target communication interface
between wlan firmware and wlan wcn3990 platform driver. Add copy
engine register map for wcn3990 snoc wlan module. This add support
for the copy engine source/destination ring configuration for
wcn3990 chipset.
CRs-Fixed: 1114412
Change-Id: If1a87fd9fffc62605ebc6d3fd8ed22980c5518e9
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
The driver uses the bus_request platform operation to
request resources from the platform for a specific bandwidth.
Currently the driver requests resources for the maximum
theoretical bandwidth, when interface is brought up.
Refine this process a bit: now the driver will request a
small amount of resources when interface is up, and will only
issue the maximum request when connected.
This mechanism will be improved further in the future to make
more refined requests based on actual bandwidth.
Change-Id: Iada383f8183338190bfb082c1128d2ea38053ebc
CRs-Fixed: 1114406
Signed-off-by: Lior David <liord@codeaurora.org>
Added basic support for CPU boost: when driver calls ops_bus_request
with a high bandwidth requirement, enable the big CPU cluster
and adjust the affinity of the wil6210 interrupt to run on
the first big core. The first big core is selected because
WLAN driver uses the other cores.
Change-Id: Ia752b9a8ca343b56e2839a30a4fdb59231f9a634
CRs-Fixed: 1114406
Signed-off-by: Lior David <liord@codeaurora.org>
GPIO11 is used for home key on QRD sdm660 device.
Configure it to input/pull-up mode and add it to gpio-keys
device for key detection.
CRs-Fixed: 1115040
Change-Id: I7144a784c8cae4fbb026c4822b757ea76502bf7d
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
It is needed to enable remote file system on modem processor, which
needs access to store data onto eMMC/UFS device.
The shared memory size used by modem and apps for this purpose is 2MB
on sdm630.
Change-Id: Ib41f8c542e10add6ec5d77632a104028e51e6b8c
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
PM660A supports LAB-IBB and OLEDB regulator while they are not
existing in PM660L. Add device nodes and enable them for PM660A.
Change-Id: I0210accea5e3a358830acf2235f72bad003d8144
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Correct the conditional check in the oledb_hw_init to avoid programming the
configuration registers if module is already enabled. Also correct the
conditional check in the oledb_regulator_disable.
CRs-Fixed: 1114628
Change-Id: I1af6c5ba6427050832ae04e693f161c517ef03a2
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Programming the default (1.5x) LAB_CURRENT_SENSE configuration is not
required for PM660A. Configure it only if explicitly specified in the
DT config.
CRs-Fixed: 1114628
Change-Id: Ib09e6430e99a7f39a9d2f837494a977daff354ba
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Currently usb function instance driver depends on diag char driver to
create the channel (using usb_diag_open api). Failing to create channel
can result in enumeration failure. Avoid this dependency by creating
diag channel from function instance if not available. Same channel
will be reused when diag char driver creates/opens the channel.
Change-Id: I11debd0189d81542762af22b3d203728d2266a42
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Currently, the code reports whatever is in the BATTERY_CHARGING_STATUS_1
register for the battery status.
We have seen that the register continues to report FAST charging
even when the chg_ok pin could be low or dc path is in collapsed
state (collapsed state is treated as dc not online). This unexpected
report of charging while it is not really charging breaks certain
features.
Fix it by checking for usb_online and dc_online. But make sure that
if the battery is full it continues to report so.
Change-Id: I732c916b4f63f9ff0fd8d9c77ce5253c309698a4
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Add IRQ_AFFINITY_MANAGED flag and related kernel APIs so that
kernel driver can modify an irq's status in such a way that
user space affinity change will be ignored. Kernel space's
affinity setting will not be changed.
Change-Id: Ib2d5ea651263bff4317562af69079ad950c9e71e
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Drain WLAN_PROD pipe by sending a QMI to modem only in case
that the pipe is not empty. Also for SSR case, set a timeout
for QMI message response.
Change-Id: Iecd63a929b622d80ad4d4ebf15e8de9251f7d9d3
CRs-Fixed: 1113156
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Fix the HBR2 pattern generation by ensuring that the pattern
selection bit is not overwritten by a subsequent register write
that updates the scrambler reset count.
CRs-Fixed: 1108048
Change-Id: I2d2dcc79de82756eab015a343c24411a735947c9
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Interupts marked with this flag are excluded from user space interrupt
affinity changes. Contrary to the IRQ_NO_BALANCING flag, the kernel internal
affinity mechanism is not blocked.
This flag will be used for multi-queue device interrupts.
Change-Id: I204c49bb1c8ce87fbcd163119093163b120bfe83
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: linux-block@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: linux-nvme@lists.infradead.org
Cc: axboe@fb.com
Cc: agordeev@redhat.com
Link: http://lkml.kernel.org/r/1467621574-8277-3-git-send-email-hch@lst.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Git-commit: 9c2555835bb3d34dfac52a0be943dcc4bedd650f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[runminw@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Add a device tree node for CDSP loader, that is used for loading
CDSP image during boot.
Change-Id: I955ca3b89d36426a46554a62c11efb5fafb0e2c7
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
This config is already enabled in perf defconfig but missed
in the debug defconfig.
Change-Id: I85ba0624318a0141fb8b6418e8e923201a108c55
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>