summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2016-03-23msm: camera: sensor: Update default CCI settings to 37.5MhzRajesh Bondugula
Update CCI settings for 100Khz, 400Khz and 1Mhz I2C frequency with upgraded CCI frequency of 37.5 Mhz. Disable clock stretching for 1Mhz I2C frequency and enable for custom frequency. Change-Id: Ib28eacc09028c0e2f3e36259f04b71fe0b827bf8 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
2016-03-23ARM: dts: msm: Add support for FPC without psci for 8996Archana Sathyakumar
Add support for FPC without psci for cpus in DT. This mode helps reduce the latency associated with entering Fast Power collapse by not incurring the latency of terminating in the PSCI driver in Secure EL1. Change-Id: I1209b62d45d10b74bd36756c4ddefa137fb571a5 Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
2016-03-23ARM: dts: msm: Update power attributes for 8996Archana Sathyakumar
The attributes are updated to generate non-negative residency values. The numbers do not affect the residency values. Mode | Time Overhead | Energy OverHead | SS Power WFI(C1) | 60 | 15000 | 200.0000 FPC(C4) | 180 | 39740 | 198.0000 Best Mode below 60 us is Active Best Mode below 550 us in WFI Best Mode above 550 us is FPC Mode | Total Time Overhead | Energy OverHead | SS Power L2 CG(D1) | 85 | 65000 | 195.0000 L2 GDHS(D3) | 180 | 89070 | 180.0000 L2 FPC(D4) | 1000 | 441000 | 160.0000 Best Mode below 85us is Active Best Mode below 550us is WFI Best Mode below 11500us is GDHS Best Mode above 11500us is FPC Mode | Total Time Overhead | Energy OverHead | SS Power E1-M1 | 120 | 60000 | 192.0000 E3-M2 | 150 | 69000 | 160.0000 E4-M3 | 1200 | 1380000 | 72.0000 Best mode below 120 us is Active Best mode above 11500us is FPC Change-Id: I4ba5d1361d7a9ff72531c4921e2941c56e935484 Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
2016-03-23ARM: dts: msm: remove gpio output settings in dsi pinctrlNaseer Ahmed
The generic pin control configuration for mdss should not have gpio output settings. This change removes them so that gpio output can be controlled in the driver. Change-Id: I84c69571256ae5f1a11cdfe05d0ac90c49ec3d55 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2016-03-23msm: platsmp: snapshot of the smp opsVenkatesh Yadav Abbarapu
Add smp related files like platsmp, headsmp and hotplug. Copied from the below caf link https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.18/ tree/arch/arm/mach-msm?h=caf/3.10/msm-3.10 &id=5724b421fc2db7413048fe5b18135d481d68597a Change-Id: I2b0be05f939dd97efa6bd187f65f6805d73cb64e Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
2016-03-23ARM: dts: msm: Add support for MSM8996proSanrio Alvares
Add device tree support for MSM8996pro along with different PMIC configurations it supports. Change-Id: I9d386b79f2324180c2001d382f89c4163fd1af62 Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
2016-03-23ARM: dts: msm: Add dmic clock drive strength for tasha codec on 8996Bhalchandra Gajare
DMIC clock drive strength for tasha codec on 8996 is required to be set to 2MA as per hardware specification. Add this to tasha codec device settings. Change-Id: Idecc9caa484c26a431ea3f2410bd72d441eda550 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23ARM: dts: msm: correct camera clock setting for 8996Jing Zhou
Update camera clock setting to match latest 8996 clock plan. Change-Id: Ib08ad55b53454196d72370fede075e9447fe7af0 Signed-off-by: Jing Zhou <jzhou70@codeaurora.org>
2016-03-23ARM: dts: msm: Enable HDMI hot-plug on Automotive DragonBoard 820Mathew Joseph Karimpanal
Automotive DragonBoard 820 is a development kit and has an HDMI type A receptacle. So enable HDMI hot-plug feature. Change-Id: I2be85cf91f6532110b125050bce0cca441e42960 Signed-off-by: Mathew Joseph Karimpanal <mkarim@codeaurora.org>
2016-03-23Revert "ARM: dts: msm: Increase CSIPHY clock rate on 8996"Xu Han
This reverts commit b6db8cdda733821b9d21cc66a5f8c2ce62238065 ("ARM: dts: msm: Increase CSIPHY clock rate on 8996") to meet power test requirement. Change-Id: I1a1667782dc211c5061ddd5642868d0e2d066631 Signed-off-by: Xu Han <hanxu@codeaurora.org>
2016-03-23ARM: dts: msm: Update TSENS to use msmcobaltSiddartha Mohanadoss
MSM Cobalt TSENS can support upto 22 temperature sensors across two controllers. Use explicity the msmcobalt to specify changes to the controller usage such as enabling health monitor check. Change-Id: I6e0d600e9fe88cc2d835ad051eede4efcbee9563 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-03-23ARM: dts: msm: reduce flash ramp rate for PMI8996Subbaraman Narayanamurthy
Currently, the flash_led device for PMI8994/8996 has a step up and step down ramp rate of 6.7uS. For PMI8996, reduce it to 27uS as per the systems team recommendation. CRs-Fixed: 948392 Change-Id: I787916470a2ce6dda079259f60eda3ea50f0fa17 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-03-23ARM: dts: msm: Add temperature sensor support for MSMCOBALTSiddartha Mohanadoss
Support thermal clients to read die temperature from the temperature sensors. MSM Cobalt TSENS supports upto 22 temperature sensors across two TSENS controllers. Thermal client has the ability to set temperature threshold and receive notification on a threshold crossing. Change-Id: I30ed627567643e014fae588f43c4f8945cf6165b Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-03-23UM: x86_64: add defconfig file for UML on x86_64Jeevan Shriram
Add defconfig file for compiling UML build on x86_64 architecture. Change-Id: I84746ce766c0f1032ec33eb5ea16a7fb5dfa3de9 Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-03-23ARM: dts: msm: Enable memory clamps during MSS restart for MSM8996Puja Gupta
This enables assertion of QDSP6 I/O, memory wordline and compiler memory clamps during MSS restart for MSM8996. CRs-Fixed: 949533 Change-Id: Icae60cc08ec23104817394bd20e03d87740a0da8 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-03-23ARM: dts: msm: Remove HPD pin for ADV7533 on Agave BoardSiddharth Zaveri
Remove the HPD pin assignment for ADV7533 as it is connected to GPIO on the Agave peripheral board. Change-Id: Iccdbb1c6dece5cf8a60d0bc79b86a161b188184b Signed-off-by: Siddharth Zaveri <szaveri@codeaurora.org>
2016-03-23ARM: dts: msm: disable mdp clock from the GDSC dtsi entries for msm8996Ping Li
Prevent gdsc code from modifying the MDSS memory retention and PERIPH ON and OFF bits on msm8996. Change-Id: I020ab27336227a2ad8577ff882defa517bde8464 Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-03-23ARM: dts: msm: update HS UART interrupt mapping for MSM8996Naveen Kaje
Update MSM8996 HS UART interrupt mapping as needed based on GICv3 ITS changes. Change-Id: I3cba4522249dab94b4d94b89880b4edcd1803f06 Signed-off-by: Naveen Kaje <nkaje@codeaurora.org>
2016-03-23ARM: dts: msm: fix DSI ACK error for r69006 panelRay Zhang
There are extra EOT packages sent by r69006 panel, so its output does not match what DSI host expects. Ignore EOT in the end of transmission. Change-Id: I50ac96dbc92ab0062f403af0ebbe052a966f0671 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-03-23ARM: dts: msm: enable PON device for pmk8001Subbaraman Narayanamurthy
As per the hardware documentation, PON device of PMK8001 should be configured when the system goes for a reset. Enable it so that it can be configured in a similar way when the primary PON device is configured during system reset. CRs-Fixed: 953825 Change-Id: Ic10b003b4c2bd9b4c851b616795aacf308200244 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
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>