summaryrefslogtreecommitdiff
path: root/arch (follow)
Commit message (Collapse)AuthorAge
...
* | | | | ARM: dts: msm: add pin control regulators for WLAN and BT on msmcobaltNicholas Troast2016-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize PMCOBALT regulators SMPS 7 and LDO 5 to use HW_EN0 pin control to force high power mode. Whenever HW_EN0 is driven high these regulators will be forced into high power mode. HW_EN0 is driven high whenever WLAN is transmitting or receiving, thereby reducing power when it is not active. Initialize PMCOBALT regulators SMPS 3 and SMPS 5 to use HW_EN2 pin control to force high power mode. Whenever HW_EN2 is driven high these regulators will be forced into high power mode. Add pin control regulator devices for PMCOBALT regulators LDO 7, LDO 17, and LDO 25. When any of these pin control regulators are enabled by software their output will be physically enabled whenever HW_EN2 is driven high. When disabled HW_EN2 is ignored. HW_EN2 is driven high whenever BT is transmitting or receiving, thereby reducing power when it is not active. CRs-Fixed: 971169 Change-Id: I819299fefde72400a18fb8503aedd1a1f32bfe7b Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | | defconfig: Enable SPS BAM and USB BAM driver on msmcobaltMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables SPS BAM and USB BAM driver required for USB QDSS BAM2BAM communication. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | defconfig: Enable USB related driver on msmcobaltMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables USB controller, PHY and required USB function drivers. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | ARM: dts: msm: Add required USB related resources on msmcobaltMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes USB and related different PHYs base address, and interrupt. It also adds USB DBM and USB BAM related device node and required resources for USB QDSS BAM functionality. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | defconfig: arm64: msmcortex: Enable data featuresSubash Abhinov Kasiviswanathan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable configurations needed for the operation of data specific features such as IPv4 and IPv6 tethering and packet filtering using QoS. Enable ESP match target in iptables to provide the ability to match packets based on the SPI (Security Parameters Index) value in the ESP (Encapsulating Security Payload) header. Enable the rmnet_data driver for MAP functionality. Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
* | | | | defconfig: arm64: msm: enable bluetooth driverSungjun Park2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver is required for bluetooth functionality. Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
* | | | | defconfig: arm64: enable IPC_LOGGING & EXTCON for msmcortexSatya Durga Srinivasu Prabhala2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPC_LOGGING allows the debug logging for IPC Drivers and QPNP_SMBCHARGER depends on EXTCON. Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | defconfig: msmcortex: Keep NR_CPUS to 16Trilok Soni2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep NR_CPUSs restricted to 16 compared to 64, since some of the schedular tracer code has compile time checks for NR_CPUS > 32. Other options update in this defconfig is based on the auto-update. Change-Id: I91e28714e3ee79a06eb5994ad8fc14f0b58a1e43 Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
* | | | | ARM: dts: msm: Add QMP PHY related initialization sequence for MSM8996Mayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds required QMP PHY related initialization from devicetree instead of using getting revision based sequence from QMP PHY driver. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | ARM: dts: msm: Update USB QMP PHY related registers' offsetMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change updates USB QMP PHY related registers' offset from devicetree for MSM8996 and cobalt platforms. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | ARM: dts: msm: Add terminate entry with QMP PHY init sequence on cobaltMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds missing terminate entry with QMP PHY init sequence which is required to know end of programming sequence. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | arm64: topology: Allow specifying the CPU efficiency from device treePavankumar Kondeti2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The efficiency of a CPU can vary across SoCs depending on the cache size, bus interconnect frequencies etc. Allow specifying this from the device tree. This value overrides the default values hardcoded in the efficiency table. Change-Id: Ie9ba69e11317e6eb6462630226355747d1def646 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
* | | | | arm64: topology: Define arch_get_cpu_efficiency() API for schedulerSrivatsa Vaddagiri2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a HMP system, scheduler needs to know efficiency factor (instructions-per-cycle) for various cpus. This is so that scheduler can estimate bandwidth consumption of tasks on each cpu, based on their efficiency factor. This patch defines arch_get_cpu_efficiency() API in ARM64 architecture. It depends on hard-coded "efficiency" factor for various cpu types (available in 'table_efficiency' data structure) and device-tree providing information on cpu-type for every cpu. Change-Id: Ied43ead650ab85b63c232bec14dde500cbcc0f7a Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [joonwoop@codeaurora.org: s/SCHED_POWER/SCHED_CAPACITY/.] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
* | | | | arm64: topology: Tell the scheduler about the relative power of coresMark Brown2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In heterogeneous systems like big.LITTLE systems the scheduler will be able to make better use of the available cores if we provide power numbers to it indicating their relative performance. Do this by parsing the CPU nodes in the DT. This code currently has no effect as no information on the relative performance of the cores is provided. Change-Id: If025e959b523afa37e75d4c58578a7c5fea7e0b0 Signed-off-by: Mark Brown <broonie@linaro.org> Patch-mainline: linux-arm-kernel 5/2/2014, 20:38 Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> [joonwoop@codeaurora.org: s/SCHED_POWER/SCHED_CAPACITY/. fixed a trival conflict in init_cpu_topology().] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
* | | | | ARM: dts: msm: Drop ufs_variant for ufs controller on msmcobaltVenkat Gopalakrishnan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This property is no longer used in 4.4 kernel, hence remove it. Change-Id: I82dae3d9c230c9e6d71e4b286d5eba684d1511f8 Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
* | | | | defconfig: arm64: msm: Set USB_GADGET_VBUS_DRAW=500Jack Pham2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the default amount of current to draw over USB VBUS to 500mA. Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | ARM: dts: msm: Add dpdm_supply reference to pmi8998_chargerJack Pham2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On MSM8996 the PMI8998 charger requires the USB D+/D- to be in floating state prior to performing charger detection. Control of this is exposed by the QUSB PHY node and is referenced by the charger as the dpdm-supply regulator. Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | ARM: dts: msm: Add extcon to usb3 node on msm8996Jack Pham2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary USB device now requires an extcon reference for cable connection notification. On MTP & CDP targets this is provided by the PMI8994 charger device. Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | defconfig: arm64: msm: Enable EXTCONJack Pham2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the EXTCON framework driver. This is used to allow drivers to notify other drivers about various cable connection state. For example the charger driver can notifiy USB driver when a cable is connected or removed. Change-Id: I07d12466bfe0b951769ec7d86a15af2811dbc390 Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | ARM: dts: msm: disable UFS LPM modes for MSMCOBALT RUMIGilad Broner2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As RUMI platform uses QRBTC-V2 UFS PHY, we need to disable various LPM modes so that UFS initialization is successful due to hw limitations. Change-Id: I7b7efc2fd6f01136a7f737d213e02e3aa078cbda Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | defconfig: Add iommu tests for msmcolbaltPatrick Daly2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create the iommu debugfs files. Change-Id: I6787adc24f6b155fa1cb71a97d8e191cc22a3061 Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* | | | | defconfig: Add REMOTEQDSSPatrick Daly2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the remoteqdss driver. Change-Id: I1885bbe9aecd71dc4fee41fe74ba4a195bb36bbf Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
* | | | | sched: Introduce the concept CPU clusters in the schedulerSrivatsa Vaddagiri2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A cluster is set of CPUs sharing some power controls and an L2 cache. This patch buids a list of clusters at bootup which are sorted by their max_power_cost. Many cluster-shared attributes like cur_freq, max_freq etc are needlessly maintained in per-cpu 'struct rq' currently. Consolidate them in a cluster structure. Change-Id: I0567672ad5fb67d211d9336181ceb53b9f6023af Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org> [joonwoop@codeaurora.org: fixed minor conflict in arch/arm64/kernel/topology.c. fixed conflict due to ommited changes for CONFIG_SCHED_QHMP.] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
* | | | | ARM: dts: msm: Add QUSB and QMP PHYs related tunning params for cobaltMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both QUSB PHY and QMP PHY are required set of registers to configure as part of initialization sequence. This change provides those registers' offset and value to program with it. Also remove android_usb device node as it usage is deprecated now. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | ARM: dts: msm: Add phy_clk_scheme property with QUSB PHYMayank Rana2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds phy_clk_scheme property related configuration with QUSB PHY device node for 8996 and cobalt. Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | arm64: mm: dma: panic on dummy dma allocLiam Mark2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the 4.4 kernel non platform devices now have to call arch_setup_dma_ops to setup their dma ops otherwise the dummy dma opts will be used. This because of change the following change: 1dccb59 arm64: simplify dma_get_ops Introduce a panic if a the dummy dma alloc is used to help clients more easily identify why their dma allocations are failing. This patch can later be reverted once all non platform devices have fixed their code. Change-Id: I2dd7eb0694c8c403da21133601eb7e831ead2dfd Signed-off-by: Liam Mark <lmark@codeaurora.org>
* | | | | defconfig: msm8996: Enable MHI driverTony Truong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable MHI driver for MSM8996. Change-Id: I2161f6cedc4152bb7c48fec9868cfc7070a5d494 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* | | | | mhi: core: Enable parsing of dev window from dtTony Truong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable parsing of device window size from device tree and calculating the appropriate addressing limitations. Change-Id: I252a593a74f0cc00e6295a45d4d13db6c79cdfca Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* | | | | defconfig: msm: Enable energy-awareness driverMahesh Sivasubramanian2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable energy awareness driver for msm chipsets. Change-Id: I81efe34339238eba6fa724e1c9bcd6f7eddeee6f Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
* | | | | ARM: dts: msm: add PMCOBALT and PMICOBALT devices for MSMCOBALTNicholas Troast2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure the PMCOABLT and PMICOABLT devices for MSMCOBALT. Change-Id: Ic896d7faea6405f260117fdd7ec84a88b3c74aac Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | | ARM: dts: msm: add SPMI PMIC arbiter device for MSMCOBALTNicholas Troast2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure the SPMI PMIC arbiter device for MSMCOBALT. Change-Id: I6ce0e9724acff8309e0f518a243b3e2b25c80bcf Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | | defconfig: remove manually added CRYPTO defconfig optionsDavid Keitel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are selected by other options already. Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | defconfig: enable FW_LOADER_USER_HELPER_FALLBACK for msm and msmcortexDavid Keitel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow fallback to user helper firmware loading when direct firmware loading fails. Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | ARM: dts: qcom: update ufs driver compatible for msmcobaltVenkat Gopalakrishnan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the upstream naming convention and update the ufs driver compatible string. Change-Id: Iee4d316c99d0d47537514a93ad91e14630970712 Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
* | | | | defconfig: enable PIL, SYSMON and SSR for msmcortexDavid Keitel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the sysmon, subsystem restart and PIL drivers for msmcortex. Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | defconfig: enable SYSMON_GLINKDavid Keitel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the SYSMON GLINK driver for msm targets. Signed-off-by: David Keitel <dkeitel@codeaurora.org>
* | | | | defconfig: msm: set SELinux as default security moduleAndrey Markovytch2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SELinux has to be the default security module for 'flask.h' to be generated and compilation error to be resolved. Signed-off-by: Gilad Broner <gbroner@codeaurora.org> Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
* | | | | defconfig: msm: enable Inline Crypto Module (ICE) for UFSGilad Broner2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable ICE driver for UFS storage encryption support Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | defconfig: msm: enable dm-req-cryptGilad Broner2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable dm-req-crypt to support full disk encryption (FDE). Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | defconfig: msm: enable Per-File-Key (PFK)Andrey Markovytch2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable PFK for file based encryption support. Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | defconfig: msm: enable eCryptFSGilad Broner2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable eCryptFS to support file based encryption. Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
* | | | | defconfig: arm64: Enable BCL framework driverAlex Sarraf2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable BCL framework driver to provide max available current to flash driver. Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | | | | defconfig: arm64: Enable PWM driversAlex Sarraf2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable PWM drivers for use with QPNP leds driver. Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | | | | defconfig: arm64: enable virtual key supportAlex Sarraf2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable gen_vkey driver to enable virtual keys for bottom of touch panel. Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | | | | defconfig: arm64: enable GPIO keys driverAlex Sarraf2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable support for GPIO keys Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
* | | | | defconfig: disable upstream qcrypto driver on 4.4 kernelZhen Kong2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable upstream qcrypto driver, and use qcom hw crypto driver. Signed-off-by: Zhen Kong <zkong@codeaurora.org>
* | | | | defconfig: arm64: enable various options on msm chipsetsSatya Durga Srinivasu Prabhala2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For debugging issues, below options are being enabled on msm chipsets: - DEBUG_SET_MODULE_RONX - MSM_BOOT_STATS - PAGE_OWNER - FREE_PAGES_RDONLY - PANIC_ON_DATA_CORRUPTION Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | qcom: perf: probe number of events in kryo CPU PMU initSatya Durga Srinivasu Prabhala2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPU PMU events needs to be probed and returned per new design in kernel 4.4. Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
* | | | | msm: defconfig: Enable virtual framebuffer for msmcortexJeykumar Sankaran2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable CONFIG_FB_VIRTUAL for msmcortex. Change-Id: I0885f3dde918dfb4021022751d26f31caf408ffe Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org> [cip@codeaurora.org: Resolved merge conflict] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | | | ARM: dts: msm: fix ghost display issue of R69006Ray Zhang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ghost image is displayed on R69006 panel after certain operations in some extreme cases. Fix this issue by optimizing its flicker value. Change-Id: Id36dcc67a419123c2ef45cbecf4c592222d95a2b Signed-off-by: Ray Zhang <rayz@codeaurora.org> [cip@codeaurora.org: Resolved merge conflicts] Signed-off-by: Clarence Ip <cip@codeaurora.org>