summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2016-05-18arm64: mmu: dma remap fail with 1GB block mappingShiraz Hashim
The provision to map 1GB block, gives a problem during dma_contiguous_remap when it attempts to remaps the dma buffers into 4K. During this attempt to remap dma buffers it overwrites pgd mapping for 1G block, thus leaving an unmapped hole. Managing remapping of dma regions with 1G block mapping is difficult hence avoid mapping 1G block and switch to SECTION_SIZE mapping (2MB) when memory region overlaps with dma buffers range. Change-Id: I2aa4119b3aeb328a2b95cf22656d2ec36012716f Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-05-18defconfig: arm64: msmcortex: Enable nqx nfc driverGaurav Singhal
Enabled the NQxxx nfc driver on msmcobalt. Change-Id: Ia56a64c9fa5973afe8c9830d42bd2f4228065f2f Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2016-05-18defconfig: msmcortex: enable bonding and TC driversMaya Erez
bonding and TC drivers (sch_multiq) are required for fast session transfer feature. CRs-Fixed: 1001827 Change-Id: I08ee482ddc6c189241a69452fb12335d1ffb626f Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-05-16defconfig: msm64: msm: Enable v4l2 video driverChinmay Sawarkar
Enable v4l2 video driver on msmcobalt for decode and encode sessions. Change-Id: Ibda63abad6a469c0a5f738c51ee1e740d0f1ce7a Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2016-05-16ARM: dts: msm: Enable VMEM nodeVikash Garodia
Enable VMEM node and configure the size as per msmcobalt. CRs-Fixed: 1008076 Change-Id: I8bbb827e6fcddb12bf452279f5f7d60b614c2915 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2016-05-16defconfig: arm64: enable common log driver for msmcobaltShashank Mittal
Common log driver can be used to register entries for memory dump table. Change-Id: I75be0d467c8f7c2db854987598770f9798688e51 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16defconfig: arm64: enable DCC device driverShashank Mittal
Set MSM_DCC config to enable support for Data Capture and Compare(DCC) device. Change-Id: Ibc2de3c142b8df4ac86e4628199726750f19dac3 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16ARM: dts: msm: add DCC device on msmcobaltShashank Mittal
Add node to add support for Data Capture and Compare (DCC) device on msmcobalt. DCC block can be used to capture user programmed memory mapped registers or to run CRC on user programmed memory region. Change-Id: I1d302e51693315998d915ca44f739fb58ef9e4a5 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-16ARM: dts: msm: Add clock rates in camera node for all boardsSureshnaidu Laveti
Adding clock rates to camera node instead of statically reading from sensor driver so that clock names and rates can be read from camera node using common software on chip API and if needed it can be overrided with the values obtained from userspace sensor drivers. Change-Id: Icf950194191cbd0887740d692bb88cc650430fb8 Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
2016-05-16ARM: dts: msm: Disable LMH driver probe for msmhamster rumiRam Chandrasekar
Tsens controller wont be able to send any temperature data in RUMI. This will block LMH driver in HLOS during profile switch. Disable LMH driver probe for RUMI to avoid this profile switch. CRs-Fixed: 1015361 Change-Id: I729af5235109cf8b09d4c89a339a4b4f14926d26 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-16ARM: dts: msm: Enable Silver frequency scaling up to SVS on msmcobaltOsvaldo Banuelos
Add the necessary frequency configuration to the OSM and CPUfreq device nodes to allow frequency scaling of the Silver cluster in msmcobalt to SVS Fmax. Change-Id: I8153e1c2ad9cb320a4c116593b15898dbe2f6ca2 CRs-Fixed: 1014894 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-16ARM: dts: msm: restrict VDD_APC voltages to NOM for CPR rev 0 on msmcobaltOsvaldo Banuelos
Raise the VDD_APC0 and VDD_APC1 CPR floor voltages to be equal to the Nominal ceiling voltage on CPR revision 0 parts. Also, increase the number of supported fuse combos to 8, to support up to 8 CPR revisions using a single speed bin. This ensures stable operation on some msmcobalt CPR revision 0 parts that cannot operate reliably with SVS2/SVS voltages and has no impact to CPR rev 1 and greater parts. Change-Id: I6913a168596b34f527f689360f93fdf15b7d2f10 CRs-Fixed: 1014782 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-16ARM: dts: msm: Disable LMH driver probe for msmcobalt rumiRam Chandrasekar
Tsens controller wont be able to send any temperature data in RUMI. This will block LMH driver in HLOS during profile switch. Disable LMH driver probe for RUMI to avoid this profile switch and lock up. CRs-Fixed: 1015361 Change-Id: Id54c09e0cf2c3701c10c71d6688417d3f5d4c08e Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-16defconfig: msm: enable CONFIG_SCHED_DEBUGJoonwoo Park
Enable CONFIG_SCHED_DEBUG for debugging purpose. CRs-fixed: 1006303 Change-Id: Iceee806479bc41d7aa32cb78b6ede59cb85fc259 Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2016-05-16Revert "defconfig: enable msm serial console on msmcortex perf config"Runmin Wang
This reverts commit 7b1a1d226391 ("defconfig: enable msm serial console on msmcortex perf config"). We do not need this change since USB issue is fixed. No longer need console to connect or disconnect USB. CRs-Fixed: 1015006 Change-Id: I49154af38f0c59f6add8a38ebbc06f7dcfc85373 Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-05-16ARM: dts: msm: create PCIe devicetree node for msmcobaltTony Truong
Create and add PCIe resources such as register bases, clocks, regulators, GPIOs, etc. to msmcobalt devicetree and pinctrl devicetree. Change-Id: I7a41ed6dd0f78cba140a15661d44b2f6c2745e39 Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-05-16defconfig: msm: enable PCIe bus driver in msmcobalt defconfigTony Truong
Enable MSM PCIe bus driver in defconfig for msmcobalt. Change-Id: I44ece35ed1d8dda4d8139dfb54adc7a2e9c49383 Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-05-16ARM: dts: msm: Disable OSM vred FSM for msmcobaltOsvaldo Banuelos
Disable the OSM vred FSM until core-count adjustments are enabled for the CPRh VDD_APC0 and VDD_APC1 devices. Change-Id: I467f49edbc65449f29f761c6b873ca702d24fa72 CRs-Fixed: 1014894 Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-05-16ARM: dts: msm: Add rotator clocks MNOC AHB/AXI for msmcobaltAlan Kwong
Add additional required clocks to mdss device tree to enable mmss smmu and ahb access for rotator. CRs-Fixed: 1008505 Change-Id: I5bfc16e3d6ac3c6052b8dca55b42b57480ec650e Signed-off-by: Alan Kwong <akwong@codeaurora.org>
2016-05-16ARM: dts: msm: restrict VDD_GFX voltage to Nom for CPR Rev 0 on msmcobaltDavid Collins
Some MSMCOBALT parts with CPR revision 0 are unable to operate at low voltage. Therefore, raise the CPR floor voltage to be equal to the Nominal ceiling voltage for all corners. Also increase the ceiling voltages for corners accordingly to ensure that the ceiling >= floor voltage requirement is met. Change-Id: I346a909984519c2522503f842d449c6f3217b746 CRs-Fixed: 1014407 Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-05-16ARM: dts: msm: Enable super speed mode support on msmcobaltHemant Kumar
Enable ssphy and update the qmp phy initialization sequence to enumerate in super speed mode. By default Lane A is selected for super speed mode. Change-Id: Ibd5fdd0a1f48ecd8a828d187ac86513e3f48ae6f Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-05-16ARM: dts: msm: Add mnoc_ahb clock for msmcobaltAbhijit Kulkarni
Add mmss_mnoc_ahb clock to mdss device tree as this clock needs to be turned on before turning on ahb_clk. CRs-Fixed: 1008505 Change-Id: I43ccff9774d098d551c4ba25ad5678fee13aca1f Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-05-15arm64: enable HAVE_IRQ_TIME_ACCOUNTING for arm64Steve Muckle
The only dependency for irq time accounting is a sufficiently high resolution timer. Plenty of arm64 platforms will have this, so enable this feature. CRs-Fixed: 1013947 Change-Id: Id675a541a6813a14ae0b7e1bb66670bf7467a97f Signed-off-by: Steve Muckle <smuckle@codeaurora.org> [satyap@codeaurora.org: trivial merge conflict resolution.] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-05-15defconfig: Enable CPUSS dump driverRunmin Wang
Enable CPUSS dump driver to dump cpu subsystem during crash. CRs-Fixed: 1011333 Change-Id: Id4a8bca3eb77db4f998c790f1927fe373684048a Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-05-12ARM: dts: msm: separate control and config offsets for PPBJeykumar Sankaran
This change separates the control and config register offset nodes for ping pong blocks. Its not necessary every ping pong blocks to have both control and config registers. Change-Id: Ide998ad71abccb35d899f9e1f6093949acb95b09 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2016-05-12defconfig: msmcortex: Enable bcl driverRam Chandrasekar
Enable bcl peripheral driver. The driver will interact with the bcl peripheral to get the battery current, battery voltage and set and receive thresholds for the same. CRs-Fixed: 1010115 Change-Id: I7168c754e939ef9da001bcac52a5b802dea40b41 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-12ARM: dts: msm: Add slimbus_6_rx back-end dai-link for msmcobaltKuirong Wang
Add slimbus_6_rx back-end dai-link for msmcobalt to enable independent backend for different devices during audio playback. Change-Id: If22cadbcfac92f8243a3b6d3201935a839cd701a Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-05-12ARM: dts: msm: Add USB audio via ADSP support for msmcobaltKuirong Wang
Add device tree entries for USB audio rx and tx to support USB audio via ADSP on msmcobalt platform. Change-Id: I345aa2369d18e2137ce79676049bb59d715d1ee0 Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-05-12ARM: dts: msm: fix panel mode selection GPIO specificationAravind Venkateswaran
Commit a240321fd68894659859861b96a618af8370efbb ("ARM: dts: msm: define primary display interface for msmcobalt CDP") used an incorrect binding to specify the panel mode selection gpio state for the nt35597 WQXGA dual dsi panel. Fix this to ensure that the panel mode gpio state is set correctly. Change-Id: I895642c231d980633801d094c8f329d209370c88 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-05-12ARM: dts: msm: Add default configs for bcl in msmcobaltRam Chandrasekar
Add default battery mitigation configurations for msmcobalt CRs-Fixed: 1010115 Change-Id: I13f1825f2eb04d606464d1092c222c8269084107 Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-12ARM: dts: msm: Configure bcl peripheral driver for PMIcobaltRam Chandrasekar
Configure the bcl peripheral driver with the details about the register address, interrupt and interrupt clear polling delay for PMIcobalt. CRs-Fixed: 1010115 Change-Id: I521ee6c715525bd401630ec7948e5746682de6da Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-05-12ARM: dts: msm: Correct camera nodes for msmcobaltViswanadha Raju Thotakura
Correct the pinctrl nodes for actuator, change the CCI source for auxiliary camera node, add eeprom1 node for auxiliary sensor. CRs-Fixed: 1014373 Change-Id: Icd9f1478c797fbdbd76d96c3069e5baa2c30ff61 Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
2016-05-12ARM: dts: msm: Add mnoc ahb bus fab for msmcobaltDavid Dai
Add mnoc ahb fab used by clients to request for different speeds on configuration paths. CRs-Fixed: 1013346 Change-Id: Ic5f3598644a6d93796b8613117e42ff692168c3c Signed-off-by: David Dai <daidavid1@codeaurora.org>
2016-05-12ARM: dts: msm: use msmbus_bimc node for bimc_fab for msm_cobaltDavid Dai
To prevent a 0 vote on to bimc_clk from late clock init, there must be a non zero vote on bimc_clk's child as opposed to itself, vote on the child clock node as opposed to the parent. CRs-Fixed: 1013348 Change-Id: Id3a9fa3238ce0f04737a7b98aa897ec83ecdc8e2 Signed-off-by: David Dai <daidavid1@codeaurora.org>
2016-05-12defconfig: enable CONFIG_DEVMEM and CONFIG_DEVKMEMRunmin Wang
Add support to access system's memory. CRs-Fixed: 1013668 Change-Id: I7cafb74373efbc611bc894bdf3b351aae7e03da5 Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-05-11defconfig: arm64: msmcortex: Enable VADC_HC and BTM driverSiddartha Mohanadoss
Enable VADC_HC and BTM peripheral driver on PMcobalt to support reading and setting thresholds on ADC channel such as voltage phone power(vph_pwr) and thermistors. Change-Id: I783d87714145f58fefc9e1e6a09d1ecfab56744b Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-05-11defconfig: arm64: enable Coresight drivers for msmcobaltShashank Mittal
Enable Coresight drivers for msmcoblt. These devices can be used to configure and enable trace functionality on msmcobalt. Change-Id: Ib4b50d7df15114d417898c36b229441766bd5b42 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-05-11ARM: dts: msm: Clock fixes and Secure context banks for msmcobaltChinmay Sawarkar
Update the Venus clock frequency for different Venus load. There were kernel panic as the BIMC clocks were OFF. Add the bimc_smmu gdsc to turn ON the BIMC clocks. Add secure context banks. Change-Id: I120ce95ea20434b41ac88a5d686b994630516435 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2016-05-11defconfig: msm: enable rndis_ipa on cobaltSkylar Chang
enable rndis_ipa on cobalt build to support IPA-offload data path. Change-Id: I98c462b56dbe01930456a16d5eeb6646b0a2db83 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-05-11ARM: dts: msm: update touch screen resolutionMohan Pallaka
Change the touch screen to match WQHD display Change-Id: Ia0b77f23b26941ea2a53451ae61c46aa0ada731c Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2016-05-11icnss: Add support to configure voltage regulatorHardik Kantilal Patel
Add voltage regulator support to power the WLAN hardware. CRs-Fixed: 982993 Change-Id: Ic36ac920497d05131ef8162a42ee5318600a3473 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
2016-05-11ARM: dts: msm: Add Synaptics regulator voltage and current for msm8996Alex Sarraf
Add voltage and current specs for regulators for the Synaptics driver. Change-Id: I94c7d5b20fc73ba49b0c8613297f0514fedb3d97 Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
2016-05-11ARM: dts: msm: Add apps port entries for audio slimbus on msmcobaltSagar Dharia
Add apps side data port entries for audio slimbus instance based on audio usecases. CRs-Fixed: 1003083 Change-Id: I4fd83519ab75a1d979573b63761676f7c99593d4 Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2016-05-10ARM: dts: msm: Add PD PHY peripheral to pmicobaltJack Pham
Add device node for the USB PD PHY peripheral found in PMICOBALT. Reference this from the USB3 node as its extcon device as it provides notifications of cable insertion/removal. Change-Id: I42916b13e5d28dd3f3b0ed40c53767cbd7ae32b1 Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-05-10defconfig: msmcortex: Enable USB PD driversJack Pham
Enable USB_PD_POLICY and QPNP_USB_PDPHY drivers which support USB Power Delivery. Change-Id: I44a385af5c68b0bf656fc705a07251850fb38fde Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-05-10defconfig: arm64: msmcortex: enable QPNP_SMB2 support for msmcobaltNicholas Troast
Enable QPNP_SMB2 device support for the msmcobalt platform. CRs-Fixed: 1005389 Change-Id: I0ecabc0febd38ad55cee69bb415a0856a3e83a73 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-05-10ARM: dts: msm: add VBUS and VCONN regulators for msmcobaltHarry Yang
QPNP SMB2 charger controls enabling VBUS and VCONN regulators. - VBUS is used to support OTG connected devices - VCONN is used to support Type-C powered cables Add regulator devices for VBUS and VCONN. CRs-Fixed: 1005389 Change-Id: Ia8dd2d6c8d51765dc49bdfa15565aed09c6a3893 Signed-off-by: Harry Yang <harryy@codeaurora.org> Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-05-10ARM: dts: msm: add QPNP SMB2 charger device to PMICOBALTNicholas Troast
Add the QPNP SMB2 charger device that is present in PMICOBALT. CRs-Fixed: 1005389 Change-Id: I03be96c229095b666d8e1a84c718989d84ec506e Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-05-10ARM: dts: msm: Add VADC_HC and BTM channels for msmcobaltSiddartha Mohanadoss
Clients of VADC_HC and BTM include reading voltage phone power, system thermistors for thermal mitigation such as msm_therm, case_therm, XO therm. Add the supported VADC and BTM channels for the msmcobalt platforms. Change-Id: I87d0b7c8280a57b88a9b9e7c6a2710e4694a2c0b Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2016-05-10ARM: dts: msm: Add clocks MNOC AHB/AXI for smmuAbhijit Kulkarni
Add additional required clocks mdss device tree to enable mmss smmu functionality. Change-Id: I09a7268861663761df716dd18f07069f6b1152ce Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>