Commit graph

13142 commits

Author SHA1 Message Date
Alexei Avshalom Lazar
f0e4bc6843 ARM: dts: msm: update PCIe WAKE for msm8998 to be pull-up
PCIe WAKE for msm8998 is set to pull-down. This configuration
can cause the wake signal to be trigerred in some scenarios.
WAKE gpio should be always pull-up for preventing false wakes.

Change-Id: I893ef8908437d2118238c6fd45809703b1f5e3bb
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
2017-09-17 09:39:47 +03:00
Kasin Li
d5628ce56c ARM: dts: msm: Override GPU speed bin 2 for MSM8996Pro
In DRM driver gpu clock don't change. override the initial gpu clock to
maximal value to ensure the performance in auto system.

Change-Id: I95515aedfb7b6e462d693cc5ae945ac21fcba7b8
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2017-09-14 22:07:13 +08:00
Anthony Mah
64f7a316bb ARM: dts: msm: Early init changes for vendor image on msm8996
For use with A/B partition feature, remove early mount of system
image.  Change fs mgr flags from verify to slotselect.
System image is to be mounted in the lk when enabling A/B.

Change-Id: I4fc2ac5f5bd22dea2fd6ff832cd31d1f3697b4d4
Signed-off-by: Anthony Mah <amah@codeaurora.org>
2017-09-12 15:24:09 -07:00
Linux Build Service Account
468e3f4e6e Merge "ARM: dts: msm: add dummy SPSS ETM device for msm8998" 2017-09-12 05:25:35 -07:00
Linux Build Service Account
b462476de7 Merge "dts: msm: Add QSEECOM heap node on msm8996 lfv platform" 2017-09-11 19:13:04 -07:00
Linux Build Service Account
80e3abb9dc Merge "ARM: dts: msm: Add Support for new PM660L/A versions for SDM660/SDM630" 2017-09-11 19:12:49 -07:00
Linux Build Service Account
1e90ddd7a0 Merge "ARM: dts: msm: Add FAN cooling device to msm8996 CV2X boards" 2017-09-11 19:12:48 -07:00
Linux Build Service Account
f6927cde75 Merge "ARM: dts: msm: enable camera on SDM636 MTP" 2017-09-11 19:12:46 -07:00
Linux Build Service Account
ac9c82fdd9 Merge "Revert "ARM: dts: msm: Add initial support for msm8998-9x55"" 2017-09-11 19:12:43 -07:00
Saranya Chidura
f1084458cc ARM: dts: msm: add dummy SPSS ETM device for msm8998
Add dummy device for SPSS ETM. This device can be used to
configure SPSS ETM trace path.

Change-Id: Idd060ce0de61acab7842103f47c838f4a618d9df
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-09-11 12:58:42 +05:30
Amit Blay
4b924d1854 dts: msm: Add QSEECOM heap node on msm8996 lfv platform
Add the QSEECOM ION heap node, to allow QSEECOM driver and QSEECOM
API library to allocate ION memory from QSEECOM heap.

Change-Id: Ia0b346bbac9378b79d1b7683ee1cc0ade533b4fa
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-09-10 22:12:39 -07:00
Linux Build Service Account
c85421c41a Merge "ARM: dts: msm: Enable CAN controller for msm8996 CV2X boards" 2017-09-08 22:04:16 -07:00
Linux Build Service Account
ef93f7a163 Merge "Merge android-4.4@4b8fc9f (v4.4.82) into msm-4.4" 2017-09-08 22:04:15 -07:00
Gustavo Solaira
1b1517142f ARM: dts: msm: Add FAN cooling device to msm8996 CV2X boards
Add a node for a GPIO-based FAN cooling device for msm8996
CV2X boards. This GPIO has a single speed and can be controlled
from user space.

Change-Id: Iee427407f3c4032e1394c61dd1f225e24a091a99
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-09-07 10:35:31 -07:00
Gustavo Solaira
be06210b35 ARM: dts: msm: Enable CAN controller for msm8996 CV2X boards
Add a device tree node for the SPI CAN controller to enable
a CAN network interface for msm8996 CV2X boards.

Change-Id: Ib9c1d63bf86e3b823aa8d762065ed374bdfeaa0e
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-09-06 10:45:33 -07:00
Linux Build Service Account
a2e923bd7d Merge "ARM: dts: msm: Add truly panel support for SDM636" 2017-09-04 06:37:56 -07:00
Linux Build Service Account
0b131e49d8 Merge "ARM: dts: msm: Add GPU maximum frequency 370Mhz support for SDM636" 2017-09-04 06:37:49 -07:00
Linux Build Service Account
78cc6c172a Merge "Merge branch 'dev/msm-4.4-8996au' into msm-4.4" 2017-09-03 23:04:20 -07:00
Rashi Bindra
fdb5a89b1c ARM: dts: msm: Add truly panel support for SDM636
Add the changes to support the 1080p truly panel as default panel
for SDM636.

Change-Id: Ia6d9b26fb7efb1d8ed362da42e3b6f22798f6f5e
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
2017-09-03 22:34:29 -07:00
Linux Build Service Account
0b7201d95b Merge "ARM: dts: msm: Update HS PHY parameters for QRD SDM660/630" 2017-09-02 00:32:37 -07:00
Blagovest Kolenichev
901bf6ddcc Merge android-4.4@4b8fc9f (v4.4.82) into msm-4.4
* refs/heads/tmp-4b8fc9f
  UPSTREAM: locking: avoid passing around 'thread_info' in mutex debugging code
  ANDROID: arm64: fix undeclared 'init_thread_info' error
  UPSTREAM: kdb: use task_cpu() instead of task_thread_info()->cpu
  Linux 4.4.82
  net: account for current skb length when deciding about UFO
  ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
  mm/mempool: avoid KASAN marking mempool poison checks as use-after-free
  KVM: arm/arm64: Handle hva aging while destroying the vm
  sparc64: Prevent perf from running during super critical sections
  udp: consistently apply ufo or fragmentation
  revert "ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output"
  revert "net: account for current skb length when deciding about UFO"
  packet: fix tp_reserve race in packet_set_ring
  net: avoid skb_warn_bad_offload false positives on UFO
  tcp: fastopen: tcp_connect() must refresh the route
  net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
  bpf, s390: fix jit branch offset related to ldimm64
  net: fix keepalive code vs TCP_FASTOPEN_CONNECT
  tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
  ANDROID: keychord: Fix for a memory leak in keychord.
  ANDROID: keychord: Fix races in keychord_write.
  Use %zu to print resid (size_t).
  ANDROID: keychord: Fix a slab out-of-bounds read.
  Linux 4.4.81
  workqueue: implicit ordered attribute should be overridable
  net: account for current skb length when deciding about UFO
  ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output
  mm: don't dereference struct page fields of invalid pages
  signal: protect SIGNAL_UNKILLABLE from unintentional clearing.
  lib/Kconfig.debug: fix frv build failure
  mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER
  ARM: 8632/1: ftrace: fix syscall name matching
  virtio_blk: fix panic in initialization error path
  drm/virtio: fix framebuffer sparse warning
  scsi: qla2xxx: Get mutex lock before checking optrom_state
  phy state machine: failsafe leave invalid RUNNING state
  x86/boot: Add missing declaration of string functions
  tg3: Fix race condition in tg3_get_stats64().
  net: phy: dp83867: fix irq generation
  sh_eth: R8A7740 supports packet shecksumming
  wext: handle NULL extra data in iwe_stream_add_point better
  sparc64: Measure receiver forward progress to avoid send mondo timeout
  xen-netback: correctly schedule rate-limited queues
  net: phy: Fix PHY unbind crash
  net: phy: Correctly process PHY_HALTED in phy_stop_machine()
  net/mlx5: Fix command bad flow on command entry allocation failure
  sctp: fix the check for _sctp_walk_params and _sctp_walk_errors
  sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()
  dccp: fix a memleak for dccp_feat_init err process
  dccp: fix a memleak that dccp_ipv4 doesn't put reqsk properly
  dccp: fix a memleak that dccp_ipv6 doesn't put reqsk properly
  net: ethernet: nb8800: Handle all 4 RGMII modes identically
  ipv6: Don't increase IPSTATS_MIB_FRAGFAILS twice in ip6_fragment()
  packet: fix use-after-free in prb_retire_rx_blk_timer_expired()
  openvswitch: fix potential out of bound access in parse_ct
  mcs7780: Fix initialization when CONFIG_VMAP_STACK is enabled
  rtnetlink: allocate more memory for dev_set_mac_address()
  ipv4: initialize fib_trie prior to register_netdev_notifier call.
  ipv6: avoid overflow of offset in ip6_find_1stfragopt
  net: Zero terminate ifr_name in dev_ifname().
  ipv4: ipv6: initialize treq->txhash in cookie_v[46]_check()
  saa7164: fix double fetch PCIe access condition
  drm: rcar-du: fix backport bug
  f2fs: sanity check checkpoint segno and blkoff
  media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds
  mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries
  iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done
  iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP
  iscsi-target: Fix initial login PDU asynchronous socket close OOPs
  iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
  iscsi-target: Always wait for kthread_should_stop() before kthread exit
  target: Avoid mappedlun symlink creation during lun shutdown
  media: platform: davinci: return -EINVAL for VPFE_CMD_S_CCDC_RAW_PARAMS ioctl
  ARM: dts: armada-38x: Fix irq type for pca955
  ext4: fix overflow caused by missing cast in ext4_resize_fs()
  ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize
  mm/page_alloc: Remove kernel address exposure in free_reserved_area()
  KVM: async_pf: make rcu irq exit if not triggered from idle task
  ASoC: do not close shared backend dailink
  ALSA: hda - Fix speaker output from VAIO VPCL14M1R
  workqueue: restore WQ_UNBOUND/max_active==1 to be ordered
  libata: array underflow in ata_find_dev()
  ANDROID: binder: don't queue async transactions to thread.
  ANDROID: binder: don't enqueue death notifications to thread todo.
  ANDROID: binder: call poll_wait() unconditionally.
  android: configs: move quota-related configs to recommended
  BACKPORT: arm64: split thread_info from task stack
  UPSTREAM: arm64: assembler: introduce ldr_this_cpu
  UPSTREAM: arm64: make cpu number a percpu variable
  UPSTREAM: arm64: smp: prepare for smp_processor_id() rework
  BACKPORT: arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx
  UPSTREAM: arm64: prep stack walkers for THREAD_INFO_IN_TASK
  UPSTREAM: arm64: unexport walk_stackframe
  UPSTREAM: arm64: traps: simplify die() and __die()
  UPSTREAM: arm64: factor out current_stack_pointer
  BACKPORT: arm64: asm-offsets: remove unused definitions
  UPSTREAM: arm64: thread_info remove stale items
  UPSTREAM: thread_info: include <current.h> for THREAD_INFO_IN_TASK
  UPSTREAM: thread_info: factor out restart_block
  UPSTREAM: kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function
  UPSTREAM: sched/core: Add try_get_task_stack() and put_task_stack()
  UPSTREAM: sched/core: Allow putting thread_info into task_struct
  UPSTREAM: printk: when dumping regs, show the stack, not thread_info
  UPSTREAM: fix up initial thread stack pointer vs thread_info confusion
  UPSTREAM: Clarify naming of thread info/stack allocators
  ANDROID: sdcardfs: override credential for ioctl to lower fs

Conflicts:
	android/configs/android-base.cfg
	arch/arm64/Kconfig
	arch/arm64/include/asm/suspend.h
	arch/arm64/kernel/head.S
	arch/arm64/kernel/smp.c
	arch/arm64/kernel/suspend.c
	arch/arm64/kernel/traps.c
	arch/arm64/mm/proc.S
	kernel/fork.c
	sound/soc/soc-pcm.c

Change-Id: I273e216c94899a838bbd208391c6cbe20b2bf683
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2017-09-01 11:47:49 -07:00
Vijay kumar Tumati
20e67d37ce ARM: dts: msm: enable camera on SDM636 MTP
Use board specific configuration to enable
voltage supply to camera actuators

Change-Id: I25fc1f0dc75a3acecd9b751029ed28b6db6ac97a
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
2017-09-01 15:18:22 +05:30
Zhiqiang Tu
c140ef0eee Merge branch 'dev/msm-4.4-8996au' into msm-4.4
Change-Id: I9736089c23ce5dca4e4341406671269f19b7515f
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-09-01 10:30:44 +08:00
Subbaraman Narayanamurthy
887e3c2097 ARM: dts: msm: fix size-cells for smb138x
Fix the bad cell count warning coming from smb138x device by
setting size-cells correctly.

Change-Id: I050471d676c8a11737d9034bd25d3e9229591752
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-08-31 18:30:14 -07:00
Subbaraman Narayanamurthy
03c22f1938 ARM: dts: msm: update the battery profile for ascent 3450mAh battery
Update the battery profile for ascent 3450mAh battery based on
the latest characterization data.

Change-Id: I44e08b66d1f4dd424efc1595e3b4f3bbb2176a48
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-08-31 18:30:14 -07:00
Honghao Liu
075188f2da ARM: dts: msm: reserve memory for early-audio on msm8996
Reserving memory for early-audio. The memory is used as a buffer to
store PCM data for the LPASS DMA to read for playback while the
kernel is booting.

Change-Id: I6ec3b1f549da71d026b77508f2c56d88487eff9b
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2017-08-31 16:28:00 -04:00
Liangliang Lu
3e24701fda ARM: dts: msm: Update HS PHY parameters for QRD SDM660/630
Update HS Phy parameters which has better eye diagram.

Change-Id: I2774dc4c5512ba156dacb23e454d3f65691d5a06
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2017-08-31 17:12:25 +08:00
Linux Build Service Account
09a04dabb6 Merge "ARM: dts: msm: update mincpu BW vote when Big CPU runs at Max freq" 2017-08-30 19:30:06 -07:00
Linux Build Service Account
04e0dd59ce Merge "ARM: dts: msm: Add speed-bin 3 for sdm660" 2017-08-30 06:26:17 -07:00
Linux Build Service Account
8207427ffb Merge "ARM: dts: msm: Add minidump dt support for MSS subsystem on sdm660" 2017-08-30 06:26:16 -07:00
Sravan Kumar Ambapuram
57cff14555 ARM: dts: msm: update mincpu BW vote when Big CPU runs at Max freq
Increase mincpu BW vote mapping for Big CPU Max frequency
to DDR Max frequency. This will help to reduce RAM access
latencies when CPU is running at max frequency.

Change-Id: I5f12ff09d5b2b94b1f02394219a3dcb4e56589e8
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
2017-08-30 13:53:43 +05:30
Kiran Gunda
44102142b6 ARM: dts: msm: Add Support for new PM660L/A versions for SDM660/SDM630
Add support for PM660A V2.0.2/V2.0.0 and PM660L V2.0.1 for SDM660/SDM630.
The right DTB is selected based on the PMIC version used on the board.

Change-Id: I19efbc527479cba0ce997c5ebb7f932ecb89063e
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2017-08-30 12:38:27 +05:30
Linux Build Service Account
50bee17e34 Merge "ARM: dts: msm: Disable max20010 regulator device node for msm8996" 2017-08-29 21:19:33 -07:00
Linux Build Service Account
9217c8a15a Merge "ARM: dts: msm: add coresight support on sdm/a 636" 2017-08-29 21:19:28 -07:00
Linux Build Service Account
7272b66e32 Merge "ARM: dts: msm: Add support for speed-bin 3 for SDM660" 2017-08-29 21:19:26 -07:00
Avaneesh Kumar Dwivedi
0c83540fdd ARM: dts: msm: Add minidump dt support for MSS subsystem on sdm660
This change adds minidump id and imem region entries. Minidump id is
used to find imem offset for subsystem which is populated with base
smem table info for subsystem. While imem region entry points to table
of content in shared mem for any subsystem.

Change-Id: I6c14fd962585039b5e7b6293a5ec872861f6600d
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2017-08-29 05:31:47 -07:00
Tirupathi Reddy
b5a1a5bac3 ARM: dts: msm: Disable max20010 regulator device node for msm8996
Disable max20010 regulator device node from msm8996 regulators
and conditionally enable it for 8996auto boards using max20010
as VDD_GFX supply.

CRs-Fixed: 2091156
Change-Id: I688f1dac31a7601bde5753e2544d07aabdc3cc7a
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-08-29 01:57:29 -07:00
Linux Build Service Account
0d617edc01 Merge "ARM: dts: qcom: Remove lpm performance index for sdm630" 2017-08-29 01:41:05 -07:00
Linux Build Service Account
a26a92216f Merge "drm/msm: add kconfig for enabling event log" 2017-08-29 01:40:56 -07:00
Odelu Kukatla
831f1a45c5 ARM: dts: msm: Add support for speed-bin 3 for SDM660
Add speed-bin 3 to support the fmax of 1.8 GHz and 1.6 GHz
for perf and power clusters respectively.
And also update the cpufreq table for the same.

Change-Id: Ia3be3f321b53bbbb4c37f5e86e451ca86ec8cdc9
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-08-28 17:02:50 +05:30
Zhiqiang Tu
d90bc47280 ARM: dts: msm: Add virtual platform specific pinctrl dtsi
Add customized pinctrl dtsi for virtual platform.

Change-Id: Id31cae5f3e96c4d816cb39953e0aaed5a783bb19
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-08-28 17:32:17 +08:00
Charan Teja Reddy
4285c6ba49 ARM: dts: msm: add coresight support on sdm/a 636
Remove device tree entries related to turing from coresight on sdm/a 636
target.

Change-Id: I22200dbb670d85d70a54caa61c110fd399b70211
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2017-08-28 12:30:13 +05:30
Abhinav Kumar
4bc07bbb40 ARM: dts: msm: add sde block lengths on msm8998
Specify the lengths of the register blocks for the sde hardware
on msm8998, needed to support register dumping.

Change-Id: I7f798b8a98cc3a8f919e994e1203d2d7c76687d0
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-08-26 00:31:39 -07:00
Linux Build Service Account
8aedd70842 Merge "ARM: dts: msm: Add support for msm8996 CV2X boards" 2017-08-26 00:12:27 -07:00
Zhiqiang Tu
4d690088c1 ARM: dts: msm: Disable dynamic ramdump for cnss on virtual platform
On virtual platform, cnss doesn't support dynamic dump.

Change-Id: I1734ed62be7753875efe85ed18beaf382af50654
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-08-25 15:26:59 +08:00
Linux Build Service Account
3fe16bcfc8 Merge "Revert "ARM: dts: msm: Add fastrpc vmid flag for sdm660"" 2017-08-24 14:01:17 -07:00
Gustavo Solaira
f2dfd94620 ARM: dts: msm: Add support for msm8996 CV2X boards
Add support for the msm8996 CV2X board that uses an mdm9650
module as endpoint for CV2X radio functionality. The msm8996
is responsible for running the CV2X application stack and
providing external debug and control access to the system.

Change-Id: I575f565580e8f81f15a9017a97aa064e7f2c6088
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-08-24 11:09:00 -07:00
Linux Build Service Account
9a718be2f4 Merge "ARM: dts: msm: update memlat and mincpu node for sdm636" 2017-08-24 06:14:35 -07:00
Hareesh Gundu
5033797b0e ARM: dts: msm: Add GPU maximum frequency 370Mhz support for SDM636
SDM636 inherits all SDM660 GPU properties, but it will support
GPU max frequency 370Mhz and DDR max frequency 1353Mhz.

Change-Id: I35c4e90a264109d9b490eeac762e79440bd46800
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2017-08-24 16:58:41 +05:30
Zhiqiang Tu
839374c50c ARM: dts: msm: Update cnss configuration on virtual platform
Config sleep state for wlan bootstrap pin and add fixed regulator
support for wlan_en.

Change-Id: I1fa7ccb98b6667e2f212a658d02a4c2b68da4f89
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-08-24 16:45:27 +08:00