Commit graph

13160 commits

Author SHA1 Message Date
Jaiju Yesudasan
a027ef61cf ARM: dts: msm: add MSM external display node to msm8996
Add MSM external display node for 8996 which is needed to
manage the interaction between external displays (HDMI and
Display Port) and the audio and display frameworks.

Change-Id: I63e48ce47159e039818522c1df2bb8914a843d41
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
2017-06-27 20:03:21 -07:00
Tirupathi Reddy
791e28b55c ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster
The adaptive clock distribution (ACD) mitigates the impact of
high-frequency supply voltage (VDD) droops on microprocessor
performance.

Program ACD functional configuration for silver cluster of sdm660.

Also add the voltage margin savings with ACD to the existing
APC0 CPR closed-loop voltage margins.

Also set CPR_RAMP_EN and VCTL_RAMP_EN bits to 1 in AVS control
register of silver cluster.

Change-Id: Iaff7769cd1e71bbeb773658d0649092bff6e8916
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-28 08:25:26 +05:30
Linux Build Service Account
35589846a0 Merge "ARM: dts: msm: Defer regulator disable for msm8998 GPU SMMU" 2017-06-27 09:42:11 -07:00
Ramprasad Katkam
2e12256018 ARM: dts: msm: Change headset jack configuration for apq8098 mediabox
apq8098-mediabox form factor does not support headset detection, and
detection pin is floating. Hence change headset jack type to normally
open to avoid fake mbhc interrupts.

Change-Id: I0798ec425ee97f75a243462273fe84de8ed63ee3
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2017-06-27 06:45:43 -07:00
Linux Build Service Account
e6c4852492 Merge "ARM: dts: msm: add non-removable ufs/emmc property for msm8996" 2017-06-27 04:28:16 -07:00
Linux Build Service Account
3fb86ecd81 Merge "ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD" 2017-06-27 04:28:13 -07:00
Greg Kroah-Hartman
5672779e72 This is the 4.4.73 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAllEst4ACgkQONu9yGCS
 aT5RJQ//UBkwmDInzy8BbfZk7pXY4IXzbXYfZ/nS5QbmPQNcQArKeIsOH+C1ZTKq
 suo4wR4yWUzATr8BBBxbUKyyrAsA85oDq/fl3EyPVLYOHdChnM/sS9H/eFrQhJIN
 7PM9j1YiqyTohkagB2tkWSb8tO1r/wgTSTLmIE+RzsWn6rvMCPMPVY+3OGgC1fuT
 LJrgtXKGBl9zNxmrns3VlSou1MhJvh/y8ESIrhdYHdZKos0zsgQaISXJjhZtyQcV
 OnEzsuz9NMXWE9XGjNpyAm88Nh8T41Ey/vwOjt6mkvWac3r77IgI5NWaLV/QDyqm
 d3jpVWK5BSPcLsmeN4LwQC5aYayvHlh8CfP8ZlBx1xkB5TpclnqXGgQA9BYpXAKw
 XoeFl8n8xLaPrgX8gp3kw/f6C6443OC2JVeRvgnH/0ZM7M0+rZxE6DstRcUHGqf6
 K8PN+AssQpBLIjXSGHnzDVHME/1xWUSmJZfLd5bd6NJ1zSZqZOy1gkf5dx77p0Ka
 UaGVOg6UzOojr3GeUTE62bRO2ZuAno0QO1NQJJkUK1CbNMYmE61vYLM8i0pLKWZJ
 3mDlhcoGK8aJH8chNLU3mgkXECU/9zOVKveWZFoghhMlv8ImgeTuiqZhvztzzT38
 42DxdXPfMzxCwBF02zYu4qn+WDJbNyOqMQrlMEHwwb88wnKiOUg=
 =Ic1J
 -----END PGP SIGNATURE-----

Merge 4.4.73 into android-4.4

Changes in 4.4.73
	s390/vmem: fix identity mapping
	partitions/msdos: FreeBSD UFS2 file systems are not recognized
	ARM: dts: imx6dl: Fix the VDD_ARM_CAP voltage for 396MHz operation
	staging: rtl8192e: rtl92e_fill_tx_desc fix write to mapped out memory.
	Call echo service immediately after socket reconnect
	net: xilinx_emaclite: fix freezes due to unordered I/O
	net: xilinx_emaclite: fix receive buffer overflow
	ipv6: Handle IPv4-mapped src to in6addr_any dst.
	ipv6: Inhibit IPv4-mapped src address on the wire.
	NET: Fix /proc/net/arp for AX.25
	NET: mkiss: Fix panic
	net: hns: Fix the device being used for dma mapping during TX
	sierra_net: Skip validating irrelevant fields for IDLE LSIs
	sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
	i2c: piix4: Fix request_region size
	ipv6: Fix IPv6 packet loss in scenarios involving roaming + snooping switches
	PM / runtime: Avoid false-positive warnings from might_sleep_if()
	jump label: pass kbuild_cflags when checking for asm goto support
	kasan: respect /proc/sys/kernel/traceoff_on_warning
	log2: make order_base_2() behave correctly on const input value zero
	ethtool: do not vzalloc(0) on registers dump
	fscache: Fix dead object requeue
	fscache: Clear outstanding writes when disabling a cookie
	FS-Cache: Initialise stores_lock in netfs cookie
	ipv6: fix flow labels when the traffic class is non-0
	drm/nouveau: prevent userspace from deleting client object
	drm/nouveau/fence/g84-: protect against concurrent access to semaphore buffers
	net/mlx4_core: Avoid command timeouts during VF driver device shutdown
	gianfar: synchronize DMA API usage by free_skb_rx_queue w/ gfar_new_page
	pinctrl: berlin-bg4ct: fix the value for "sd1a" of pin SCRD0_CRD_PRES
	net: adaptec: starfire: add checks for dma mapping errors
	parisc, parport_gsc: Fixes for printk continuation lines
	drm/nouveau: Don't enabling polling twice on runtime resume
	drm/ast: Fixed system hanged if disable P2A
	ravb: unmap descriptors when freeing rings
	nfs: Fix "Don't increment lock sequence ID after NFS4ERR_MOVED"
	r8152: re-schedule napi for tx
	r8152: fix rtl8152_post_reset function
	r8152: avoid start_xmit to schedule napi when napi is disabled
	sctp: sctp_addr_id2transport should verify the addr before looking up assoc
	romfs: use different way to generate fsid for BLOCK or MTD
	proc: add a schedule point in proc_pid_readdir()
	tipc: ignore requests when the connection state is not CONNECTED
	xtensa: don't use linux IRQ #0
	s390/kvm: do not rely on the ILC on kvm host protection fauls
	sparc64: make string buffers large enough
	Linux 4.4.73

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2017-06-27 09:47:36 +02:00
Zhiqiang Tu
b0b763bf53 ARM: dts: msm: Add spi_9 and i2c_8 on virtual platform
Add spi_9 and i2c_8 as pass through devices.

Change-Id: I6ccd161eee69ffa062bcb1763eebfe7a4db331ec
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-06-26 21:22:36 -07:00
Lei wang
18bc3cb1f1 ARM: dts: msm: add non-removable ufs/emmc property for msm8996
Defines the non-removable property for ufs/emmc device node
This basically lets the driver whether ufs/emmc is the boot
device

Change-Id: I7e583e0ecef064d1ed91b443fe35f98a3b2c0c8a
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2017-06-23 19:34:47 -07:00
Maria Yu
d7edad5d69 ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD
Add the mdss panel file to support qrd device tree overlay.

Change-Id: I65152ee6a7cafdbba299f0e0a3cac2e77c8c2660
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
2017-06-23 20:00:04 +08:00
Linux Build Service Account
50947ee8ec Merge "ARM: dts: msm: Update temperature threshold limits for EA for 8998/660/630" 2017-06-22 23:41:07 -07:00
Linux Build Service Account
9a7d7cda15 Merge "ARM: dts: msm: Remove HDMI hotplug feature for msm8996 ADP" 2017-06-22 23:40:59 -07:00
Zhiqiang Tu
ca6aa324be ARM: dts: msm: Add clock and regulator for virtual platform
Add dummy clock and regulator stub for virutual platform to
bypass clock and regulator operations.

Change-Id: Ic2c15e4b939adc0ea492422c93e3f3eac2d01054
Signed-off-by: Ramachandran Venkataramani <ramavenk@codeaurora.org>
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-06-22 21:30:56 -07:00
Linux Build Service Account
86d96e09c2 Merge "ARM: dts: msm: Update sensor device node for SDM660 QRD" 2017-06-22 07:40:28 -07:00
Liangliang Lu
5ccb8c59b5 ARM: dts: msm: Update USB PHY0 parameters for SDA660/630 HDK platform
Update USB PHY0 parameters for SDA660/630 HDK platform.

Change-Id: I2780afcd99e1bb22f4dd6dc977382d379afb1393
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2017-06-22 17:35:23 +08:00
Hareesh Gundu
f304b0a865 ARM: dts: msm: Defer regulator disable for msm8998 GPU SMMU
IOMMU driver takes vote on regulator for every unmap, attach or
detach call and removes it once done.

This is an overhead if GPU is in power collapse mode and huge
number of unmap calls are pending from a given context. It would
end up in turning ON/OFF the regulator those many times.

To optimize this, do a deferred regulator disable about 80ms so that
all subsequent requests to regulator enable will be just refcounted.

Change-Id: I07709f5a0ce55298a5fe46ffd95bb8bc472e7069
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2017-06-22 14:55:25 +05:30
Naresh Malladi
260a1b12fb ARM: dts: msm: Update temperature threshold limits for EA for 8998/660/630
Current limits are causing frequent wakeups at lower temperature.
Update higher and lower limits such that msm-core energy-aware driver
will not get too many notifications to avoid unnecessary wakeups.

Change-Id: I608aad0616d2f4e98c9d06ac1ccead9b3444817a
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
2017-06-21 14:54:35 +05:30
Depeng Shao
3dc4455f64 ARM: dts: msm: Update sensor device node for SDM660 QRD
Update main and aux camera sensor dvdd configuration
to enable the vreg and ldo together.

Change-Id: Iacc79799d1c06a3385a8cfd9ef80d707f8fa8d69
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2017-06-21 00:14:06 -07:00
Kasin Li
af803bcd66 ARM: dts: msm: override initial pwrlevel for MSM8996ProAU
Current DRM driver set GPU clock rate with initial pwrlevel and use it
all the time. This value is too low and couldn't cover many computing
tasks. Change to a higher value for automotive system.

Change-Id: I348f187bfb8c0c2a3936a132bc0142fd5553226c
Signed-off-by: Kasin Li <donglil@codeaurora.org>
2017-06-20 18:38:37 +08:00
Vijaykumar Badiger
5ac124eaed ARM: dts: msm: Remove HDMI hotplug feature for msm8996 ADP
This change is required to enable 3 display support so that
the secondary displays are always ON.

Change-Id: Icbe5d20902d8795cb3479f15a415bb24c204750e
Signed-off-by: Vijaykumar Badiger <vbadig@codeaurora.org>
2017-06-20 01:52:08 -07:00
Linux Build Service Account
69c6a42d14 Merge "ARM: dts: msm: Enable use of 64K page pool for SDM630" 2017-06-19 16:42:00 -07:00
Linux Build Service Account
ed435179ec Merge "ARM: dts: msm: Enable use of 64K page pool for SDM660" 2017-06-19 16:41:58 -07:00
Linux Build Service Account
3b61e32368 Merge "ARM: dts: msm: Early mount of vendor partition for sdm660/630" 2017-06-19 07:54:16 -07:00
Linux Build Service Account
371e1c1b54 Merge "ARM: dts: msm: Add Maxim regulator node for msm8996" 2017-06-19 07:54:15 -07:00
Tirupathi Reddy
d60a836ac0 ARM: dts: msm: Add Maxim regulator node for msm8996
Maxim20010 buck regulator is used to provide the supply for
graphics rail. The programmable output voltage range is from
0.5V to 1.27V in 10mV steps.

CRs-Fixed: 2062515
Change-Id: I50d3fe4c89f412cda2b58b3f1f19086edcf10553
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-19 08:52:45 +05:30
Linux Build Service Account
81f0507367 Merge "ARM: dts: msm: optimize brightness dcs control for msm8998 SKUK HDK panel" 2017-06-18 16:31:14 -07:00
Linux Build Service Account
03a11129eb Merge "drm/msm: add HDCP 2.2 module for DRM HDMI" 2017-06-18 09:47:20 -07:00
Imran Khan
e3a3f52ee1 ARM: dts: msm: Early mount of vendor partition for sdm660/630
Add support to early mount vendor partition so that vendor modules
can be loaded during early init.

Change-Id: I2233f6c3b8eab180631ca0a0472b586b7ec854f1
Signed-off-by: Imran Khan <kimran@codeaurora.org>
2017-06-18 21:05:44 +05:30
Fabio Estevam
3fc4d70453 ARM: dts: imx6dl: Fix the VDD_ARM_CAP voltage for 396MHz operation
commit 46350b71a09ccf3573649e03db55d4b61d5da231 upstream.

Table 8 from MX6DL datasheet (IMX6SDLCEC Rev. 5, 06/2015):
http://cache.nxp.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf

states the following:

"LDO Output Set Point (VDD_ARM_CAP) = 1.125 V minimum for operation
up to 396 MHz."

So fix the entry by adding the 25mV margin value as done in the other
entries of the table, which results in 1.15V for 396MHz operation.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Cc: Stephane Fillod <f8cfe@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-17 06:39:35 +02:00
Guchun Chen
8b3fc37c03 ARM: dtsi: msm: reserve memory for LK's stack on msm8996
The memory node LK's stack is running on should be reserved
in system booting stage. Otherwise, the processes like early
domain service on LK will be impacted. And in order not to
impact common dtsi file for mobile and other platforms,
only put the change in this auto-specific dtsi file.

Change-Id: Ica8d2a98e00289990789eedf6f4e3d88b03acfcc
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2017-06-16 20:53:54 +08:00
Abhinav Kumar
bd23536bdb ARM: dts: msm: add device node for MSM HDCP driver
Add device node for the MSM HDCP driver which manages
communication between HLOS and TZ for HDCP related
operations.

Change-Id: Iecb4c86ae37ddf7cbc84f962895bbe6e1973b989
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:17:45 -07:00
Linux Build Service Account
120151a6e6 Merge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP" 2017-06-15 16:10:55 -07:00
Linux Build Service Account
cfff412669 Merge "ARM: dts: msm: Add non-removable ufs property for SDM660" 2017-06-15 16:10:53 -07:00
Linux Build Service Account
fe93f243e8 Merge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform" 2017-06-15 16:10:52 -07:00
Linux Build Service Account
a4bd635c3d Merge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro" 2017-06-15 08:36:26 -07:00
Akhil P Oommen
97bbab07b8 ARM: dts: msm: Enable use of 64K page pool for SDM630
64K page pool is currently unused because it doesn't have
any reserved pages and also dynamic page allocation for
this pool is disabled.

Add qcom,mempool-allocate property to allow pool to grow
dynamically and hence being used.

Change-Id: I4036032758ec12500854562d6a92d73742952dcb
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
2017-06-15 16:15:04 +05:30
Jin Li
c5c679855f ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP
On APQ8096 Auto ADP Lite platform, it only has two displays,
native HDMI and one DSI-HDMI display through ADV7533 bridge
chip. The secondary ADV7533 instance needs to be disabled.

Change-Id: Ibae5c1561ec9f6890f818eeef185dfcf0bc1a62d
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 02:25:13 -07:00
Asutosh Das
9670ff4d32 ARM: dts: msm: Add non-removable ufs property for SDM660
Defines the non-removable property for UFS device node.
This basically lets the driver know that UFS is the boot
device.

Change-Id: I11df8441385910fdab7595a96a5deb24c7ca833e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-06-15 14:37:25 +05:30
Jin Li
9ec3ce38d7 ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform
There is still one ADV7535 instance on MSM8996Pro Auto CDP lite
platform, which connects DSI0 interface to HDMI.

Change-Id: I1efe7484d6f4eb1956c95689420b06b40278588e
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 00:32:01 -07:00
Manaf Meethalavalappu Pallikunhi
e2e1274594 ARM: dts: msm: Update low temperature APSS frequency in msm8996pro
Update the minimum frequency restriction value and maximum frequency
limit value to the correct nominal frequency 1.056 GHz and 1.2096 GHz
respectively, as per the updated frequency plan of msm8996pro.

Change-Id: I725351c064f0211f95af4b4dd708b62360331282
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-06-14 22:18:20 -07:00
Linux Build Service Account
3b0f5d0bb3 Merge "ARM: dts: msm: fix the ADB connection issue on auto CDP." 2017-06-14 19:48:50 -07:00
Linux Build Service Account
888fc2f900 Merge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630" 2017-06-14 19:48:49 -07:00
Linux Build Service Account
d1bf5a8e07 Merge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive" 2017-06-14 19:48:42 -07:00
Linux Build Service Account
25207d283f Merge "msm: ba: Update ba driver to latest v4l2 framework" 2017-06-14 19:48:39 -07:00
Linux Build Service Account
f32e95c637 Merge "ARM: dts: msm: Add clock config entry to vmem device on MSM8996" 2017-06-13 08:48:42 -07:00
Linux Build Service Account
c13834210f Merge "ARM: dts: msm: Align CB size to 128MB for SDM660 and SDM630" 2017-06-13 08:48:41 -07:00
Vijayavardhan Vennapusa
c09e5063e1 ARM: dts: msm: Add tune2_efuse_addr for SDM660/630
Pass tune2_efuse_addr register and bit field to be read from the register
from the device tree, which will be used to read HS_TRIM value and update
the value to QUSB2_PHY_TUNE2_REGISTER for eye-diagram test passing.

Change-Id: I64b4febf41f2e2c027c1d220e7037d8eeec27d46
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-06-13 11:27:56 +05:30
Linux Build Service Account
0b271fdd58 Merge "ARM: dts: msm: specify a PWM mode threshold for BoB on SDM660" 2017-06-12 10:41:35 -07:00
Zhiqiang Tu
d992f38d6d Merge remote-tracking branch 'remotes/quic/msm-4.4' into dev/msm-4.4-8996au
Conflicts:
	arch/arm64/configs/msm-auto-perf_defconfig

Change-Id: Ibc59804762c3e14031c22b03a52d49ff2acc36d4
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-06-12 15:40:13 +08:00
Linux Build Service Account
12cf20b0e9 Merge "ARM: dts: msm: update nt35597 panel properties for msm8998" 2017-06-10 02:20:43 -07:00