summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2016-03-23defconfig: arm64: Enable FP settings for msm8996Sarangdhar Joshi
Enable FP(Floating Point) and SIMD settings required during execution of AArch32 processes. CRs-Fixed: 952837 Change-Id: I71c9294a59053aad2abfd359f9d3035cf493307a Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
2016-03-23arm64: fpsimd: Enable FP(floating-point) settings for msm8996Se Wang (Patrick) Oh
Enable FP and SIMD settings for the MSM8996 during the execution of the AArch32 processes and disable these settings when you switch to the AArch64 processes. This commit also adds CONFIG_ENABLE_FP_SIMD_SETTINGS to support FP and SIMD settings. CRs-Fixed: 952837 Change-Id: If9537ca7390d8f08a6b48fb8865d1b349a93bcee Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
2016-03-23Revert "ARM: dts: msm: remove sync-wait-broadcast from jdi panel"Veera Sundaram Sankaran
This reverts commit c9b3e1ebbeb726a911ac6cf67f9a6386f7fb79ae ("ARM: dts: msm: remove sync-wait-broadcast from jdi panel"). Sync-wait-broadcast flag was removed for JDI dual dsi cmd mode panel as there were fps issues when used along with partial updates which is currently fixed. The flag is required for mode switch as sending the switch commands individually during cmd-to-video switch causes flicker issues. Revert this change to add the flag back as it is needed for mode switch. Change-Id: I5b86d293aea7905b115621df1eab3e6f8aece966 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23ARM: dts: msm: add HDMI support for msm8996 FluidBruce Levy
Add appropriate entries to support HDMI on msm8996 Fluid. Change-Id: I2000744eb0cb3d6d5c402d17a05f55ff55c43707 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2016-03-23ARM: dts: msm: Add WLAN antenna switch regulator for MSM8996Yue Ma
Explicitly vote for the regulator for WLAN antenna switch in order to enable WLAN antenna sharing capacity in MSM8996. Change-Id: Ibe06f33477f05ec860829f6a2de6fc23558bf4b8 Signed-off-by: Yue Ma <yuem@codeaurora.org>
2016-03-23ARM: dts: msm: add PM8994 LDO 18 pin control regulator for msm8996David Collins
Add a PM8994 LDO 18 regulator device which can be used to manage the HW_EN2 pin control enable configuration for LDO 18 at runtime. When this regulator is enabled, LDO 18 output is enabled whenever HW_EN2 (i.e. PM8994 GPIO 11) is driven high. When this regulator is disabled, the state of GPIO 11 is ignored. This regulator can be used to support WLAN antenna sharing where the WLAN chip is connected to GPIO 11 and drives it high whenever RX or TX is active. Also update the voltage constraint range to allow values from 2.7 V to 2.9 V. Change-Id: I7afab38356e6619580539ed05b5130553491b100 Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-23ARM: dts: msm: add dba property to adv panelsSandeep Panda
ADV7533 chip is used as DBA (Display Bridge Abstraction) in MDSS driver. So adding the dba property to panel dt files. Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Change-Id: Ideda14930a9025b105880021440fd84baf3343c3
2016-03-23ARM: dts: msm: remove backlight control type from adv panelSandeep Panda
ADV7533 is a DSI to HDMI bridge chip, it does not need any backlight control to be defined. So removing this property from panel dt files. Change-Id: I3ca7290ce324d9385da8b13d9c141de0730d8535 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23ARM: dts: msm: Set camera config for 8996 mojave platformTerence Ho
Configure csi0 camera to use cci master 1 to reflect hardware on 8996 mojave automotive plaftorm. Change-Id: I38d2a8499e6f1916aad7dfbc36d03e36a8fbd47b Signed-off-by: Terence Ho <terenceh@codeaurora.org>
2016-03-23ARM: dts: msm: disallow use of VDD_GFX CPR retention corner for msm8996David Collins
Disallow use of the 400 mV VDD_GFX CPR retention corner since it has been found that 400 mV is not a sufficiently high retention voltage across all parts. Additionally, no power benefits have been found when using the retention state during graphics hardware operation. Also, there is a minor performance penalty when the retention corner is allowed as software reconfigures the VDD_GFX supply to the retention voltage during GPU power collapse and resume before transitioning to an active voltage. Change-Id: I374d7620373d7fea17818009bec3d171a6072cdc Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-23msm: kgsl: Fix direct references to HZSuman Tatiraju
Make the various timeout values HZ agnostic by using the proper macros and values instead. Change-Id: I708cd491f593782f0172cd7d2cca058cd41044a5 Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
2016-03-23defconfig: msm: Enable APSS_CORE_EA config for ARM32 and ARM64 systemsMaulik Shah
Enable energy-awareness driver for msmtitanium. Change-Id: I875fe8c4ae5d84a6ac8311bcc64eca509d689b16 Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-03-23dma-mapping: Check for valid IOVA addressSusheel Khiani
We might fail in alloc_iova if we run out of virtual addresses in pool. Currently, if we fail in alloc_iova we are not checking for return value and directly going ahead and mapping invalid IOVA address. Fix this by explicitly checking for return value from alloc_iova. Change-Id: I7681d13b75f47a86f0b0b6cbf4b8405a7528ff66 Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
2016-03-23can: Add RH850 CAN controller driverAlex Yakavenka
This driver creates network device of type CAN and processes tx and rx frames that it sends and receives over SPI. Change-Id: I903927d5bb0025c2ad3e9f1dd7cb51de547fc360 Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
2016-03-23ARM: dts: apq: enable dual dsi for agave board for APQ8096Vinu Deokaran
Enable dual DSI for Agave board to support three displays. Change-Id: I80e0c90e3d039a1777598f4038d9a1d18f23ca1b Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23ARM: dts: msm: Add pinctrl for codec reset and interrupt on 8996Sudheer Papothi
Change reset and interrupt lines of codec from gpio to pinctrl on 8996 target to control the drive strength of the pins. Change-Id: Ie95b80699f1726c2b2e27c1b8e5f51f7ccdd5417 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23ARM: dts: msm: enable bta check for nt35597 panel on msm8996Dhaval Patel
Enable bta check for nt35597 dual dsi/single dsi(dsc) and video/command mode panel on msm8996 target. Change-Id: I0a4dd466719f973690f996e7a0cbe95de9b88ad7 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23Revert "ARM: dts: msm: Enable dynamic refresh for sharp WQXGA panel"Ingrid Gallardo
This reverts commit 9d9fb803fd88c493bd27f7b3af21358f8b16bfe2 ("ARM: dts: msm: Enable dynamic refresh for sharp WQXGA panel") since the dynamic refresh method enabled by the change is causing random touch events to be triggered. Change-Id: Ibfab4827c53635bd8c399b087a9a699f26c69dbc Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23ARM: dts: msm: Remove obsolete USB 'power-collapse' propertiesJack Pham
These properties are no longer used and can be removed. Change-Id: Iea376798a6a9da5ba5a0a6fa4e24c15c1cfe188d Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-03-23ARM: dts: msm: Disable VDD_APCC ACC regulator devices for msm8996v2Osvaldo Banuelos
Disable the regulator devices which manage ACC settings for memories powered by VDD_APCC in the CPUSS. In addition, update the CPR3 controller and regulator devices which manage VDD_APCC to ensure CPR corner changes do not result in configuring ACC regulators. Change-Id: Ib176c762d12e996e809ee0ccf0bc56d5ae37c0f3 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-03-23arm64: kernel: Update PERCPU_SECTION and RW_DATA_SECTION alignmentSarangdhar Joshi
Update PERCPU_SECTION and RW_DATA_SECTION to align to L1_CACHE_BYTES instead of hard coded 64 bytes since L1_CACHE_BYTES could get updated to more than 64 bytes cacheline size. Change-Id: I0bc1f0420675cf65e958c53a230357918f05aabc Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
2016-03-23ARM: dts: msm: Remove support for ADV7533 from apq8096 automotive dtsi fileSiddharth Zaveri
Remove support for ADV7533 from automotive dragonboard file as dragonboard should boot up with native panel by default Change-Id: Id0444a8edaf645a56b68ccd039ee6250d188822e Signed-off-by: Siddharth Zaveri <szaveri@codeaurora.org>
2016-03-23defconfig: msm: enable CMA debugfsLiam Mark
Enable CMA debugfs to make it easier to test CMA. Change-Id: Ib1f07f3a0d681b28af082c386d28796049b7f61f Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-03-23msm: mdss: add support to register secondary fb on DSI devicePadmanabhan Komanduru
In the current implementation, DSI0/DSI1 device is always mapped to frame buffer-0. For dual DSI configuration, we need to register both the DSI devices to different frame buffers. Add driver and dtsi support to register DSI device on primary/secondary frame buffer at runtime based on the DSI configuration. Change-Id: Iac872723711c5d0264088c4f3b53d1385fd9ffe0 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Vinu Deokaran <vinud@codeaurora.org> Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23ARM: dts: msm: update timing db property for MDSS nodesSandeep Panda
For some platforms due to HW limitation timing db property can not be a shared property, so making this property as interface specific for MDSS, instead of shared. Change-Id: I6e1a482dd23f475c332200f857494a7c848c58c1 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-03-23ARM: dts: msm: Add the timeout properties to SMMU GDSCs on MSM8996Deepak Katragadda
The votable SMMU GDSCs might take longer to enable than the default limit of 100usecs depending on the clock WAKE and SLEEP settings and the clock rates. Make this polling timeout limit more configurable. Change-Id: I26cb00cefa5d45ed2a92f306921e2d95938795af Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-23ARM: dts: msm: update TDM device info for MSM8996Honghao Liu
Update the TDM device information for slot and channel mapping configuration for MSM8996 device tree. Change-Id: Ie893184acb1361c5dcf8a6ad7bf9eb7cdf5dbafd Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2016-03-23ARM: dts: msm: add auto snd card and update TDM for APQ8096 and MSM8996Honghao Liu
Add automotive sound card for Agave and MMXF platform. Update the TDM device information for slot and channel mapping configuration for Dragonboard, Agave and MMXF platforms. Change-Id: If41e6fad527897cf4f0ee164f606357466bbbd52 Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
2016-03-23ARM: dts: msm: Update with correct SID for LPASS on msm8996Sathish Ambley
SID entries 13 to 15 are reserved and only entries from 5 to 12 are assigned for compute tasks. Trying to use SID entries from 13 to 15 when mapping the entries in SMMU could result in faults. Update the device tree entries to use the correct set of SIDs. Change-Id: I0033985f0a786fd4df19a1d83715781b2d5d0bd6 Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-03-23ARM: dts: msm: force register dump during tmc enableShashank Mittal
Enable force-reg-dump to save tmc registers in memory dump at the time of tmc enable, so that they can be extracted for debug purpose even if they get reset on a crash. CRs-Fixed: 945264 Change-Id: Ibd817bd79383d7df0aaee7b15694800732fdb74e Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-03-23ARM: dts: msm: disable pluggable feature for auto dragonboardVinu Deokaran
Disable HDMI hotplug feature for auto dragonboard. It's hard wired for this platform. Change-Id: If8bab4064eb0cb535656f05233b0415ee2549bb9 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23ARM: dts: msm: add pluggable support for hdmi txVinu Deokaran
Support hotplug feature for HDMI TX for all of the targets. It's a feature supported by default. Change-Id: I0af26695bef2f01f6f40e345d921bf2372df7f49 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23ARM: dts: msm: camera: Add regulator names and bus vectors in cpp nodeLakshmi Narayana Kalavala
The bus vectors are statically setup in cpp driver which is not portable on non-msm platforms. Hence add the vectors in dtsi node where the vectors can be setup with the bus routine msm_bus_cl_get_pdata dynamically. Change-Id: Ia1be07d7ad6542048ec8e20f3403f04a17cf4f9c Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2016-03-23ARM: dts: msm: Advertise SG support by rmnet_ipa on msm8996Ravi Gummadidala
This is needed to enable GSO (Generic Segmentation Offload). Change-Id: Ide202137a6fc37496a2bf9a5bde86117f20ae2bc Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
2016-03-23ARM: dts: msm: adjust virtual key map for msm8996 dtpMao Li
The virtual keys KEY_MENU/HOME/KEY_BACK are incorrectly defined for msm8996 dtp. Exchange the positions of these three virtual keys for a correct operation of the device. Change-Id: Ifd2a00291a9fcb195ac270ea85fd134e82ff5082 Signed-off-by: Mao Li <maol@codeaurora.org>
2016-03-23ARM: dts: apq: Fix configuration of DSI panel on SBC8096Anna Hanna Sedlak Grinbaum
Fix DSI panel configuration for SBC8096 platform: 1) Configuration of split-dsi to support DSI0 and DSI1. 2) Configuration of correct display panel dsi_dual_sharp_video. 3) Enablement of DSI1. 4) Configuration of backlight. Change-Id: Iacf2d663a0a84b2903384c139fcd1dd6c7da9da5 Signed-off-by: Anna Hanna Sedlak Grinbaum <asedla@codeaurora.org>
2016-03-23ARM: dts: msm: add PMIC revid source property for flash LEDJigarkumar Kishorkumar Zala
Add PMIC revid source property, in order to differentiate between PMIC subtypes and revisions for flash LED. Change-Id: Idd93f2c091fcf5c261e7f6c996c149a874fc3e83 Signed-off-by: Jigarkumar Kishorkumar Zala <j_zala@codeaurora.org>
2016-03-23ARM: dts: add sharp 1080p cmd mode panel supportSiddhartha Agrawal
Add support for the sharp 1080p command mode panel on 8996. This panel can be selected by using the oem override command mentioned below: - fastboot oem select-display-panel prim:sharp_1080p_cmd:skip Change-Id: I8dbf7863618cde1a47880d64a867aae80fbd73fc Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23ARM: dts: msm: add sharp 120 Hz panel support for msm8996Terence Hampson
add sharp 120Hz panel support for msm8996 target on CDP and MTP skews. Change-Id: Id9410b4cfb5574b0dc5e5c2b84940ff436ffb56d Signed-off-by: Terence Hampson <thampson@codeaurora.org> Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23ARM: dts: msm: Add max secure concurrent instance count for msm8996Shalaj Jain
Limit max secure concurrent instances to 5 due to some system wide limitations like memory, performance etc. This is only appcible for master side access control. Change-Id: I3963d7f747389ea0f5b8814cdb3d8436ba465e9e Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2016-03-23ARM: dts: msm: Enable BLSP entries for msm8996 auto platformsGirish Mahadevan
Enable the BLSP instances used for the msm8996 Agave and Dragonboard platforms. Change-Id: If9692995ea35870db488fd69a2153f59daca58f9 Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-03-23ARM: dts: msm: Add blsp instances for 8996Ankit Gupta
Add i2c, uart and spi instances for 8996. Change-Id: I5262dd0ef9fee8d4f6ae7bed2bc2edc2d8a9e71b Signed-off-by: Ankit Gupta <ankgupta@codeaurora.org> Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2016-03-23ARM: dts: apq: Add USB OTG support for APQ8096 DragonBoardLiron Kuch
USB OTG mode depends on USB ID detection performed by the PMIC driver. APQ8096 DragonBoard SOMs use either a PMI8994 or a PMI8996 component. In PMI8994, USB ID detection is based on an interrupt handled by the qpnp-smbcharger driver, so the pmi8994_charger device tree node must be enabled. In PMI8996, pmi8994_fg device needs to be enabled as well, as the charger USB ID detection is not connected to any interrupt, but handled by the qpnp-fg driver. Additionally, remove USB PHY initialization which causes USB PHY PLL lock failure. Change-Id: I8d7bc23e7c730174fb8f9f6c52dc4f5e02a0ec6e Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
2016-03-23ARM: dts: msm: add spi-msm-codec-slave deviceKuirong Wang
Add spi-msm-codec-slave device as a subnode of spi_0. Change-Id: I0cafb8ffb684ce78a9dedcdba6e9ecae49e434f2 Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-03-23ARM: dts: apq: Fix configuration of touchscreen on SBC8096Anna Hanna Sedlak Grinbaum
Fix touchscreen configuration: 1) Change display and panel coordinates. 2) Remove mapping of touchpad keys. 3) Add support for firmware update. 4) Fix I2C clock configuration to BLSP8. Change-Id: If18bd0396143dc9f21a1b5591a65a547256d64d8 Signed-off-by: Anna Hanna Sedlak Grinbaum <asedla@codeaurora.org>
2016-03-23defconfig: msmcortex: enable spcom driver for msmcobaltAmir Samuelov
Enable Secure Processor Communication (spcom) driver for msmcobalt. Change-Id: I1196bc5495b08126adbcbdb7e4d7a65a4a08609b Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23ARM: dts: msm: Program only L2 and L3 ACC SEL settings for msm8996Osvaldo Banuelos
According to the latest hardware guidelines, only L2 and L3 cache HMSS ACC settings need to be programmed based upon the level of their voltage supplies. Update the apc0_pwrcl and apc1_perfcl mem_acc regulator devices to adhere to this requirement. Change-Id: I94032f6fbe5920a8d446c58c763afa29705e527a Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-03-23ARM: dts: msm: Enable dynamic refresh for sharp WQXGA panelJeevan Shriram
This change enables clock update method as default for sharp WQXGA panel for changing refresh rate of panel. Change-Id: I08f1a4ee446318174824dbd26dcf9682dbabddc9 Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org> Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23ARM: dts: msm: Add support for NT35950 4k dsc cmd mode panelSiddhartha Agrawal
Add support for NT35950 4K DSC command mode panel. This panel support DSC with 3:1 compression ratio. Crs-Fixed: 922330 Change-Id: I6b0c2913851ec948ae84931396276c929bf63b7f Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23ARM: dts: msm: reduce VDD_GFX CPR max aging adjustment for msm8996v3David Collins
Reduce the VDD_GFX CPR max aging adjustment from 25 mV to 15 mV. Aging characterization has shown that at most 15 mV of additional supply voltage is required as the device ages. Change-Id: Ia96ff89afea16df6bfae9471a65dbf1a421b3f45 Signed-off-by: David Collins <collinsd@codeaurora.org>