Commit graph

884,088 commits

Author SHA1 Message Date
qctecmdr
a455d70f08 Merge "dwc3-msm: Move override usb speed functionality outside edev check" 2020-06-05 05:06:32 -07:00
qctecmdr
65fbcfac6f Merge "usb: dwc3: gsi: Disable GSI wrapper on clearing run_stop" 2020-06-05 05:06:28 -07:00
qctecmdr
5313030298 Merge "sched: Compile cpu_isolated_mask in SCHED_WALT only" 2020-06-05 05:06:27 -07:00
qctecmdr
9c7599702e Merge "defconfig: arm64: Enable Global clock controller for HOLI" 2020-06-05 05:06:27 -07:00
qctecmdr
25a07ed45c Merge "usb: phy: Reset and initialize HSPHY in host mode when EUD is enable" 2020-06-05 05:06:26 -07:00
qctecmdr
4b99be94b6 Merge "hwmon: Add QTI AMOLED ECM driver" 2020-06-05 05:06:26 -07:00
qctecmdr
7b7d13e1a5 Merge "drivers: soc: qcom: handle system sleep activities" 2020-06-05 00:39:02 -07:00
qctecmdr
1fa725da96 Merge "clk: qcom: lahaina: Add pll test ctl regs" 2020-06-05 00:39:02 -07:00
qctecmdr
732adf0e7c Merge "clk: qcom: gcc-lahaina: Add USB force_mem_core_on clocks" 2020-06-05 00:39:01 -07:00
qctecmdr
31cb055051 Merge "arm64: configs: Disable DCC console for Lahaina" 2020-06-05 00:39:01 -07:00
qctecmdr
485cd69967 Merge "cpuidle: lpm-levels: Track and predict next rescheduling ipi" 2020-06-04 20:01:38 -07:00
qctecmdr
f071bb5252 Merge "defconfig: lahaina: Enable linux bridge" 2020-06-04 20:01:38 -07:00
qctecmdr
92daa813ad Merge "radio: RTC6226: implement file read for rtc6226 driver" 2020-06-04 20:01:38 -07:00
qctecmdr
6275165e1e Merge "qseecom: Enable APIs only when module is enabled" 2020-06-04 20:01:37 -07:00
qctecmdr
e49657f5cf Merge "radio: RTC6226: remove the V4L2_CAP_DEVICE_CAPS cap as device_caps" 2020-06-04 20:01:37 -07:00
qctecmdr
14e6052999 Merge "proc: update perms of node "reclaim"" 2020-06-04 20:01:37 -07:00
qctecmdr
c2ac24a1a9 Merge "mhi: core: Read transfer length from an event properly" 2020-06-04 14:48:28 -07:00
qctecmdr
0efc14c3da Merge "mhi: core: Fix out of bound channel id handling" 2020-06-04 14:48:28 -07:00
qctecmdr
5a4580bd6b Merge "abi: Update qcom whitelist for cnss and netif" 2020-06-04 14:48:27 -07:00
qctecmdr
ab1b160dd8 Merge "coresight: etm4x: Fix use-after-free of per-cpu etm drvdata" 2020-06-04 14:48:27 -07:00
Mayank Rana
3e583e6cee usb: phy: Reset and initialize HSPHY in host mode when EUD is enable
EUD HUB functionality is relevant into USB device mode only. Hence when
using USB host mode, continue performing reset and initialization
functionality with HSPHY even though EUD is enable. If EUD is enable
while starting host mode, re-enable EUD whie exiting host mode.

Change-Id: Ifc2a105d8a02511dd2fc58be5fbc788d46546ba0
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-06-04 12:21:41 -07:00
Mayank Rana
a05993824c dwc3-msm: Move override usb speed functionality outside edev check
Currently usb speed override functionality doesn't work as expected
when usb role switch based notification is used. Hence move usb speed
override functionality out side edev check within dwc3_resume_work()
API. Also update maximum_speed as max hw supported speed out side
edev check.

Change-Id: I69b066721490277b77333d2caf820b6c87703501
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-06-04 12:08:56 -07:00
Elliot Berman
9f125adcf2 sched: Compile cpu_isolated_mask in SCHED_WALT only
cpu_isolated_mask can only be used when SCHED_WALT is enabled. The
addition of the cpu_isolated_mask causes ABI to break. Thus, compile
references to cpu_isolated_mask only when SCHED_WALT is enabled.

Change-Id: I0982f6431abca807168dbabc4aca74771819565c
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-06-04 11:42:49 -07:00
Jeevan Shriram
09a7c66654 arm64: configs: Disable DCC console for Lahaina
Disable ARM JTAG DCC console for Lahaina platform.

Change-Id: Iadd3fc939401d47662ab0ed72411d7fa37b27f6b
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-06-04 10:58:45 -07:00
Taniya Das
6f76b42f79 defconfig: arm64: Enable Global clock controller for HOLI
Enable clock controller for HOLI.

Change-Id: Ib3f2f73dc08a530597a52cab202602ace8da6139
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-06-04 23:15:52 +05:30
qctecmdr
766163e7f1 Merge "qbt: Add support for touch events from input framework" 2020-06-04 10:39:49 -07:00
qctecmdr
e47a4e0e2f Merge "bluetooth: Vote VREG_L7E_2P8 from BT driver" 2020-06-04 10:39:49 -07:00
qctecmdr
b6ea26a756 Merge "cnss2: Allow WLAN driver register after cold boot calibration" 2020-06-04 10:39:48 -07:00
qctecmdr
8066095330 Merge "msm: camera: Add camera dt binding definitions" 2020-06-04 10:39:48 -07:00
qctecmdr
277df4ce60 Merge "msm: ADSPRPC: Fix to avoid race condition and use after free" 2020-06-04 10:39:48 -07:00
Taniya Das
d72d303946 Revert "defconfig: holi: Add support for Global clock controller"
This reverts commit 8ae959a72f.

Change-Id: I04df95da8726f7f415844754b17c0f168d6787fb
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-06-04 23:09:24 +05:30
Mike Tipton
75656695f4 clk: qcom: gcc-lahaina: Add USB force_mem_core_on clocks
The FORCE_MEM_CORE_ON bits default to 0 and this is fine for most use
cases. However, USB needs FORCE_MEM_CORE_ON=1 to properly retain its
memories when USB APM switches from CX to MX. This can't just be a
one-time setting since the FORCE_MEM_CORE_ON bits need to be set/cleared
upon USB cable connect/disconnect for power optimization. Add fake
clocks to allow the USB client to control them.

Change-Id: Ic7aac944feaa6a956a8892e0cf1f4dd465659302
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-06-04 10:18:41 -07:00
Mike Tipton
8d1bdc46b2 dt-bindings: clock: Add USB FORCE_MEM_CORE_ON bindings
Add clock bindings to control the USB FORCE_MEM_CORE_ON bits.

Change-Id: I406e98e1be5b4d6702636c3bfdf738ae9ff12198
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-06-04 10:16:46 -07:00
qctecmdr
732a1ae2a0 Merge "soc: qcom: dcc: avoid memory access violation" 2020-06-04 06:22:35 -07:00
qctecmdr
5f981341c1 Merge "msm: adsprpc: Fix error code for invalid ioctl" 2020-06-04 06:22:34 -07:00
qctecmdr
a6ec47d805 Merge "haven: touch: add touch notify tag for memory sharing" 2020-06-04 06:22:34 -07:00
qctecmdr
d8294b028a Merge "sched: Improve the scheduler" 2020-06-04 06:22:34 -07:00
qctecmdr
791feec767 Merge "cpufreq: qcom: Set the register for GT Limits Management interrupt" 2020-06-04 06:22:33 -07:00
qctecmdr
f95353fb89 Merge "scripts: gki: Add generic configuration options for defconfig" 2020-06-04 06:22:33 -07:00
qctecmdr
862190e8f9 Merge "clk: qcom: Add API to query corner voltage on given clk frequency" 2020-06-04 06:22:33 -07:00
himta ram
2d10ff8328 radio: RTC6226: implement file read for rtc6226 driver
FM app is using the VIDIOC DQBUF ioctl to read the
event from rtc6226 driver. VIDIOC DQBUF ioctl needs
the v4l2buf type as V4L2_BUF_TYPE_PRIVATE and it
is Deprecated and not recommend to use in latest
kernel version.Also upstream kernel code doesn't
have the VIDIOC DQBUF as a valid ioctl. 
Implement file read functionality to read the events
from rtc6226 driver.

CRs-Fixed: 2702667
Change-Id: I747411e362e319ff8f45e9005e0c677eeef854dc
Signed-off-by: himta ram <hram@codeaurora.org>
2020-06-04 16:06:59 +05:30
Shyam Kumar Thella
fdc40b1cb9 hwmon: Add QTI AMOLED ECM driver
AMOLED ECM (Embedded Current Measurement) is a method to measure OLED
display power consumption with a time granularity in sub-frame or
multiple frames of image data. ECM can be for a short period or for a
longer period.

Change-Id: I7ea0b7d8d5961ec015c5a79ee2037ff36329f775
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-06-04 14:51:15 +05:30
Raghavendra Rao Ananta
a6ba293d8a abi: Update qcom whitelist for cnss and netif
Add netif_receive_skb_list and cfg80211_external_auth_request to qcom
whitelist to avoid failure in the wlan.

CRs-Fixed: 2699380
Change-Id: Ib09a79c107adc0f4a3260f5e6561cde8534f221f
Signed-off-by: Tiger Yu <tfyu@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-04 01:01:42 -07:00
Maulik Shah
ffedc6cbb5 cpuidle: lpm-levels: Track and predict next rescheduling ipi
Add changes to track and predict next rescheduling ipi
based on past history. Add a module param to control enabling
it.

Change-Id: Ie495d8906288ee410708693ee15ed51643aefb44
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-06-03 23:50:44 -07:00
Mohammed Nayeem Ur Rahman
39bab9b845 msm: ADSPRPC: Fix to avoid race condition and use after free
Current mmap and munmap use same mutex but munmap_fd does not
use the same. This can introduce race condition between mmap
and munmap_fd. Also there is a use after free scenario in get_args
and init_process as only mmap_create is protected and the map can
be freed after this. Unifying mutex to avoid race condition.
Restricting munmap_fd only for persist bufs to avoid this.

Change-Id: I2adf631b1e61c2274a14a3645a5e555f5d248645
Acked-by: Ekansh Gupta <ekangupt@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-06-03 22:06:16 -07:00
Suresh Vankadara
a32228d0c9 msm: camera: Add camera dt binding definitions
Define camera OPE cpas path definitions to be used in
device tree and driver for bandwidth consolidation.

Change-Id: Iedc8157c1ac999999152588acdab44fecc7f1aeb
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
2020-06-04 07:42:25 +05:30
qctecmdr
0f30cf7e56 Merge "drivers: irqchip: mpm: Add QTI SoC interrupt controller" 2020-06-03 17:08:18 -07:00
qctecmdr
b1d9b568be Merge "msm: kgsl: Add a flag for guard page allocation" 2020-06-03 17:08:18 -07:00
qctecmdr
92fe4104ee Merge "msm: kgsl: 'qcom,kgsl-3d0' device does not need to get regulators" 2020-06-03 17:08:17 -07:00
qctecmdr
3fbf87d4db Merge "msm: kgsl: Add GPU_RBBM_GBIF_CLIENT_QOS_CNTL to powerup register list" 2020-06-03 17:08:17 -07:00