summaryrefslogtreecommitdiff
path: root/Documentation (follow)
Commit message (Collapse)AuthorAge
...
| | * | | | | | Merge tag 'v4.4.5' into linux-linaro-lsk-v4.4Mark Brown2016-03-18
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the 4.4.5 stable release # gpg: Signature made Wed 09 Mar 2016 23:36:03 GMT using RSA key ID 6092693E # gpg: Good signature from "Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>" # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 647F 2865 4894 E3BD 4571 99BE 38DB BDC8 6092 693E
| | | * | | | | efi: Make efivarfs entries immutable by defaultPeter Jones2016-03-03
| | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 upstream. "rm -rf" is bricking some peoples' laptops because of variables being used to store non-reinitializable firmware driver data that's required to POST the hardware. These are 100% bugs, and they need to be fixed, but in the mean time it shouldn't be easy to *accidentally* brick machines. We have to have delete working, and picking which variables do and don't work for deletion is quite intractable, so instead make everything immutable by default (except for a whitelist), and make tools that aren't quite so broad-spectrum unset the immutable flag. Signed-off-by: Peter Jones <pjones@redhat.com> Tested-by: Lee, Chun-Yi <jlee@suse.com> Acked-by: Matthew Garrett <mjg59@coreos.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | | | | Merge remote-tracking branch 'lsk/v4.4/topic/ro-vdso' into linux-linaro-lsk-v4.4Mark Brown2016-03-17
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | |
| | | * | | | mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel ↵Kees Cook2016-03-17
| | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mappings commit d2aa1acad22f1bdd0cfa67b3861800e392254454 upstream. It may be useful to debug writes to the readonly sections of memory, so provide a cmdline "rodata=off" to allow for this. This can be expanded in the future to support "log" and "write" modes, but that will need to be architecture-specific. This also makes KDB software breakpoints more usable, as read-only mappings can now be disabled on any kernel. Suggested-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: David Brown <david.brown@linaro.org> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Emese Revfy <re.emese@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mathias Krause <minipli@googlemail.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: PaX Team <pageexec@freemail.hu> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: kernel-hardening@lists.openwall.com Cc: linux-arch <linux-arch@vger.kernel.org> Link: http://lkml.kernel.org/r/1455748879-21872-3-git-send-email-keescook@chromium.org Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: David Brown <david.brown@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
* | | / | | leds: qpnp-flash-v2: Add support for multiple switch nodesDevesh Jhunjhunwala2016-07-12
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since multiple devices may need to use the flash module, each will need its own switch node to be able to independently control the different leds. Add support for this functionality. CRs-Fixed: 1024187 Change-Id: Ibeebaff8456d8d338ac9bebb50e205e1196ce8a6 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | | ARM: dts: msm: Add initial device tree files for falcon RUMIVenkatesh Yadav Abbarapu2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the device tree files for RUMI platform. Change-Id: I980e39b8c072fc2ec35d84b8698c40c770f7f041 Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
* | | | | mfd: qcom-i2c-pmic: add option to skip irq controlNicholas Troast2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some MFD PMIC configurations do not support interrupts. Make the interrupt controller optional to support these PMIC configrations. Without an interrupt controller this driver simply passes a regmap to its children. CRs-Fixed: 1037797 Change-Id: I52b909dd226494987c79ed106ffdf9892d966ef1 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | | sound: usb: Add support to share iova with remote processorHemant Kumar2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ISOC data transfer for audio device is offloaded to remote usb audio driver entity. This requires remote entity to access device context info, event ring, transfer rings and transfer buffers allocated by APPS XHCI device. Hence add a platform device which maps the XHCI device physical memory to virtual memory and shares with remote processor's iommu. All the memory info is then sent over QMI to remote entity. Change-Id: I1abc80652a167cefa667b914b3a80a87326c3d44 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
* | | | | leds: qpnp-flash-v2: add regulator supportDevesh Jhunjhunwala2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to control regulators required for flash-led. The pmicobalt_bob regulator is one such regulator required by the flash-led device. CRs-Fixed: 1024187 Change-Id: I1515fba2fb04c0b4d21828af3cea6d322262ab14 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | | leds: qpnp-flash-v2: add support for strobe configurationChun Zhang2016-07-11
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flash LED module supports various kinds of strobe support. Strobe type can be hardware or software, active high or low, and level or edge trigger. Add support for configuring strobe type through device tree properties. CRs-Fixed: 1024187 Change-Id: Ief6a610c82b7f645966c596f543a1d30f7a40dcc Signed-off-by: Chun Zhang <chunz@codeaurora.org> Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | leds: qpnp-flash-v2: Add operational current propertyDevesh Jhunjhunwala2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the qcom,current-ma property to specify the operational current for the flash led. Also limit the minimum flash current to 25mA since currents below this value cause unstable flash operation. CRs-Fixed: 1033071 Change-Id: Ia133b6c0cf0c21484f61631f04cba0d1112c9d48 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | usb: phy: qusb-v2: Add USB QUSB PHY for newer platformMayank Rana2016-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds USB QUSB PHY v2 driver which is compatible for USB QUSB PHY having major revision as 2. Change-Id: I1751352ebbe38d4b8c7886085d15043c2e5244f5 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | ARM: dts: msm: Add torch nodes to flash-led for pmicobaltDevesh Jhunjhunwala2016-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for torch mode by adding torch nodes to the flash-led device for pmicobalt. Also update the dt-bindings documentation accordingly. CRs-Fixed: 1024187 Change-Id: I640106abcf05949f2570efd42f925f1f73bdaa81 Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | | thermal: tsens: Enable TSENS for msmhamsterSiddartha Mohanadoss2016-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temperature sensor (TSENS) driver provides ability to thermal clients to read from on-die temperature sensors. msmhamster supports reading from 20 on-die temperature sensors and clients can set temperature thresholds and receive notification. Change-Id: I57e98f2182d0c44e9c7cffec3528bb926a878fb8 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
* | | | msm: thermal: Add support to monitor only one tsens for MX restrictionManaf Meethalavalappu Pallikunhi2016-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently VDD MX restriction feature monitors all tsens for low temperature condition. Some targets which has higher MX restriction thresholds shows frequent interrupts from multiple sensors causing power impact. Add support to monitor only one sensor for VDD MX restriction feature. Add an optional device tree property "qcom,mx-restriction-sensor_id" to specify sensor id for monitor. If not defined, monitor all tsens for VDD MX restriction. Change-Id: Ib709b00c27f43c2603ac8a08b75f2fbd5800983b Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
* | | | msm: mdss: add dynamic resolution switch support for DSC panelsVeera Sundaram Sankaran2016-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reconfigure the DSC parameters and DSI stream according to the new resolution. Mandate the first frame after dynamic resolution change for DSC panels to be full frame updates. Send PPS command based on the device tree entry before or after the switch commands. Fix device tree parsing of DSC parameters within the switch timing node. Add sub-nodes in target specific device tree to configure target specific timing and switch commands. Change-Id: I6aa5f8f972b16645b219bf6274036b6e5dac6dda Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* | | | dev_freq: devfreq_spdm: make cci_clk optional indicatorDavid Dai2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable dev_freq SPDM support in order to increase BIMC vote based on bus rejection rate. Make cci_clk an optional property as it's not always a relevant indicator of cpu performance. CRs-Fixed: 1025515 Change-Id: I713cc396c8d563735981547e0dc18a63f6f15180 Signed-off-by: David Dai <daidavid1@codeaurora.org>
* | | | soc: qcom: qsee_ipc_irq_bridge: Add initial driver versionArun Kumar Neelakantam2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver handles the Inter-Processor Communication(IPC) Interrupt(IRQ) from remote subsystems directed towards Qualcomm Technologies, Inc. Secure Execution Environment(QSEE) and notifies the QSEE listeners waiting in the userspace. CRs-Fixed: 1021749 Change-Id: Id0cab5773099e2f6267f8a5bd4fd5aeb3324e68b Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
* | | | msm: kgsl: Add gcc_gpu_iref_clk to list of GPU clocksOleg Perelet2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GPU will vote off gcc_gpu_iref_clk when going to low power modes. CRs-Fixed: 1024948 Change-Id: I13b7a70f1fa748f2f4cdfb485dda2f7857e0b3d2 Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
* | | | regulator: rpm-smd-regulator: implement set_loadNicholas Troast2016-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent change to regulator framework replaced the regulator_set_optimum_mode API with regulator_set_load. The regulator_set_load API does the following for regulators which have not implemented set_load(). - determines the most optimal mode for the given load by calling get_optimum_mode() - gets the current mode by calling get_mode() - calls set_mode() if the modes are different and expects the mode to be committed to the hardware The rpm-smd-regulator's get_optimum_mode() remembers the load and uses that for the upcoming get_mode() call. This causes the framework to never call the set_mode API, thereby causing rpm-smd-regulator to never send the load to the RPM. The set_load op was introduced for hardware which does not support the set_mode op. This is convenient since the RPM sets the mode according to the aggregated load requirements. In addition the RPM also supports forcing certain modes which fits well with the set_mode op. Implement the set_load op to send the aggregated load vote to RPM, and repurpose the set_mode op to send the aggregated mode vote to RPM. Remove the get_optimum_mode op since it is no longer required with this change. Repurposing of set_mode should not impact consumers since it has the same effect as before. Instead of sending a load vote which would cause the RPM to select the desired mode the mode will be sent directly. Furthermore, the hpm-min-load device tree property is no longer required since the mode is no longer set based on the hpm-min-load threshold. Remove it. Change-Id: I75cf0b4cfc7a6aec3e6d79da9172ce37ec9d91c1 CRs-Fixed: 1023326 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | hwmon: qpnp-adc-voltage: Add optional VADC propertySiddartha Mohanadoss2016-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add option to select whether a fresh calibration needs to be performed when performing the channel measurement. If the property is not present the default value of using calibration measurement collected from a timer will be used. For most cases using a measurement collected from a timer interval should suffice and the default value can be used. Change-Id: I632a9466f04d5d0712de436fc3e1251f7e2e7ad2 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
* | | | regulator: Add snapshot of DT documentation for rpm-smd-regulator driverNicholas Troast2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This DT bindings documentation snapshot is taken as of msm-3.18 'commit 00df358f2e6a8 ("regulator: rpm-smd-regulator: introduce BoB regulator type")'. CRs-Fixed: 1023326 Change-Id: Icc20967019996616a4eb2ebba6df47e7bc7188d7 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | regulator: cpr3: Add panic handler to dump register contentsTirupathi Reddy2016-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add panic handler to dump a few critical CPR registers when device crashes due to kernel panic errors. CRs-Fixed: 1004533 Change-Id: Id01b4f959c134af48c509ade61c7ec46401b4e70 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
* | | | clk: qcom: Add support for RPM ClocksGeorgi Djakov2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor on some Qualcomm SoCs, which use the qcom_rpm driver to communicate with RPM. Such platforms are apq8064 and msm8960. Change-Id: I1a73355bc9117c34589a25cf58446cad13ceb6e3 (cherry picked from commit 06d998a24c68be94685af38e8becfda3c8bf757b) Git-commit: 06d998a24c68be94685af38e8becfda3c8bf757b Git-repo: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | clk: qcom: Add support for SMD-RPM ClocksGeorgi Djakov2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor on some Qualcomm SoCs, which use the qcom_smd_rpm driver to communicate with RPM. Such platforms are msm8916, apq8084 and msm8974. The RPM is a dedicated hardware engine for managing the shared SoC resources in order to keep the lowest power profile. It communicates with other hardware subsystems via shared memory and accepts clock requests, aggregates the requests and turns the clocks on/off or scales them on demand. This driver is based on the codeaurora.org driver: https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c Change-Id: I8d2882de9410a992a8045caedc7ab71e3c3e45b2 (cherry picked from commit 69edeaf51c07c24e06b433762b3ada7b3d786315) Git-commit: 69edeaf51c07c24e06b433762b3ada7b3d786315 Git-repo: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | clk: qcom: Add A53 clock driverGeorgi Djakov2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a driver for the A53 subsystem PLL, so that we can provide higher frequency clocks for use by the system. Change-Id: I69b4c363c8b656bcd9481b6310a972b8140311a9 (cherry picked from commit 60e4f862c16dfc995a71ec0f50524e020dbfde2f) Git-commit: 60e4f862c16dfc995a71ec0f50524e020dbfde2f Git-repo: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | clk: qcom: Add Krait clock controller driverStephen Boyd2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Krait CPU clocks are made up of a primary mux and secondary mux for each CPU and the L2, controlled via cp15 accessors. For Kraits within KPSSv1 each secondary mux accepts a different aux source, but on KPSSv2 each secondary mux accepts the same aux source. Change-Id: I871de8d291f5c1b848b215766c61b8bd0ed98f77 Cc: <devicetree@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | coresight-tmc: add support to save TMC registersShashank Mittal2016-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some devices TMC registers are not preserved across reset. Add support to save TMC registers to read TMC buffer after a crash. Change-Id: I5fb7e870ddece35159d1fe465d4b70d2a4c1ec35 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
* | | | add documentation about reclaim knob on proc.txtMinchan Kim2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds stuff about new reclaim field in proc.txt Change-Id: I1718fad12ec078e204e7a59769ce70fad7708756 Acked-by: Rob Landley <rob@landley.net> Signed-off-by: Minchan Kim <minchan@kernel.org> Patch-mainline: linux-mm @ 9 May 2013 16:21:29 [vinmenon@codeaurora.org: trivial merge conflict fixes] Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: pull mode playback and push mode recordHaynes Mathew George2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement platform drivers to support shared memory based pcm playback and capture. Change-Id: I882c67ae1c3d950b98bd002ac384cc3a7e77874a CRs-Fixed: 992798 Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
* | | | coresight: add support to read cti dataShashank Mittal2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to read cti data from OF nodes. Devices can use this data to configure CTIs as part of their configurations. Change-Id: I55b0534ab4d81b9ce02378b513e6ae9bc3b6cd1e Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
* | | | msm: falcon: put reason for boot in procfs from SMEMRick Adams2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During board initialization read the shared memory item SMEM_POWER_ON_STATUS_INFO and place it in the procfs at /proc/sys/kernel/boot_reason The data item is an integer with a bit being set to identify the reason the device was powered on. The values of this data item is defined in the document Document/arm/msm/boot.txt, the following is the data in the documentation file. power_on_status values set by the PMIC for power on event: ---------------------------------------------------------- 0x01 -- keyboard power on 0x02 -- RTC alarm 0x04 -- cable power on 0x08 -- SMPL 0x10 -- Watch Dog timeout 0x20 -- USB charger 0x40 -- Wall charger 0xFF -- error reading power_on_status value This is cherrypicked from commit <372d39f87b0da75> ("put reason for boot in procfs") of 3.18 tree. Change-Id: I59e665f92e6e29f7dfef4380314f676a2d92c94b Signed-off-by: Rick Adams <rgadams@codeaurora.org> [abhimany: fix up minor merge conflicts] Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
* | | | msm: ipa3: support use for 64bit DMA maskSkylar Chang2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add 64bit dma mask support on ipa3 to resolve the dma pool exhausted issue. Change-Id: I629e2ae15574ab779c43dd40d40cf169fe19bb8e Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: mdss: dsi: configure data lane swap for newer hw revisionsAravind Venkateswaran2016-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with DSI PHY hardware revisions 3.0 and above, data lane swap configurations need to be programmed via the DSI PHY interface. In other cases, a new register interface has been introduced to program the lane swap configuration for DSI controller revision 2.0 and above. Refactor the existing implementation to account for these hardware changes. Change-Id: I3772c614bfee0ed13f30a38535bb814158d23226 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | | regulator: qpnp-labibb: Add support for controlling IBB pulse skip timingAnirudh Ghayal2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IBB pulse-skip and NLIMIT DAC configuration should be disabled before applying the 2nd SWIRE command skip logic, to guarantee that the IBB voltage changes immediately in the subsequent SWIRE command. After the WA is completed, the pulse-skip can be re-enabled after a programmable delay. Add this logic and a DT property 'qcom,swire-ibb-ps-enable-delay' to configure this delay. If this delay is not specified in the DT it defaults to 200ms. CRs-Fixed: 1010085 Change-Id: Ifec458a0028c16440ffd6ac1f6fa58eebc815c5a Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
* | | | clk: qcom: Add KPSS ACC/GCC driverStephen Boyd2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ACC and GCC regions present in KPSSv1 contain registers to control clocks and power to each Krait CPU and L2. For CPUfreq purposes probe these devices and expose a mux clock that chooses between PXO and PLL8. Change-Id: Icaa1b68652eb4c836e8aacad80ff6cebe34cad4f Cc: <devicetree@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | clk: qcom: Add HFPLL driverStephen Boyd2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some devices (MSM8974 for example), the HFPLLs are instantiated within the Krait processor subsystem as separate register regions. Add a driver for these PLLs so that we can provide HFPLL clocks for use by the system. Change-Id: If8a3e492e1c227cbf42f4f9907cdcb0dcb3ccc11 Cc: <devicetree@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
* | | | NFC: Add eSE power request gpio pin supportGaurav Singhal2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't control eSE power through driver as of now so adding gpio pin support for eSE in NQxxx driver. Multiline comments are updated. Change-Id: I60651052d7bf97a8a0505e76904cebe2b7c69ce2 Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
* | | | wcd9xxx: refactor wcd9xxx audio codec driversYeleswarapu Nagaradhesh2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor wcd9xxx audio codec driver for better handling of codec specific functionalities. CRs-fixed: 1028800 Change-Id: I229ee4a741c5a606e2eb045940f5ee3c4eabf512 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org> Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
* | | | qcom-charger: introduce SMB138X charger driverNicholas Troast2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver supports the SMB138X charger device. This charger peripheral is common among other chips, therefore the driver uses the smb library to support all common functionality. Register access is provided by the parent device via regmap. Interrupts are controlled by the parent device, and handlers are registered by the SMB138X charger driver. The power supply framework is used to communicate battery and usb properties to userspace and other driver consumers such as fuel gauge and USB. VBUS and VCONN regulators are registered for supporting OTG, and powered Type-C cables respectively. CRs-Fixed: 1023141 Change-Id: I119d33cdfdfc874b5d7f6137618ee3e590c72064 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | clk: qcom: Add MSM8996 Multimedia Clock Controller (MMCC) driverStephen Boyd2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a driver for the multimedia clock controller found on MSM8996 based devices. This should allow most multimedia device drivers to probe and control their clocks. Change-Id: I0b69b1e78a8b0faeaff3e5c87c73e24b1c19ba55 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
* | | | coresight: make 'coresight-name' a required propertyShashank Mittal2016-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without 'coresight-name' a CoreSight device gets registered with its dev_name. This can be a problem in case where we have CoreSight properties defined within some other platform device. Make 'coresight-name' a required property for a CoreSight device to avoid this problem. Change-Id: I5e192c4d850bb040983024cfe163714fbebbb199 Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
* | | | ARM: dts: apq: Add initial device tree files for APQCOBALTRunmin Wang2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the device tree files necessary to support the APQCOBALT. CRs-Fixed: 1026738 Change-Id: If440e1ef4bdbcc73ac7a0569a6bbf093db8aefef Signed-off-by: Runmin Wang <runminw@codeaurora.org>
* | | | ARM: dts: msm: Add support for MSMCOBALT QRDRunmin Wang2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add device tree file necessary to support msmcobalt qrd platform. CRs-Fixed: 1026732 Change-Id: Ic234c29b9c86e7095ab39f633eda57560b271c1f Signed-off-by: Runmin Wang <runminw@codeaurora.org>
* | | | mfd: introduce I2C PMIC controllerNicholas Troast2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The I2C PMIC Controller is used by multi-function PMIC devices which communicate over the I2C bus. The controller enumerates all child nodes as platform devices, and instantiates a regmap interface for them to communicate over the I2C bus. The controller also controls interrupts for all of the children platform devices. The controller handles the summary interrupt by deciphering which peripheral triggered the interrupt, and which of the peripheral interrupts were triggered. Finally, it calls the interrupt handlers for each of the virtual interrupts that were registered. CRs-Fixed: 975120 Change-Id: I5ebe6d0bcb7c097124ba9b35c56579815dda234f Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
* | | | qcom-charger: add qnovo driverAbhijeet Dharmapurikar2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qnovo hardware module controls battery charging pulses. Pulse characteristics are programmed via sysfs files, this driver translates those values to register values and writes to appropriate registers. CRs-Fixed: 1018090 Change-Id: I2573f719f4b2c2fa9a169659a65433fb834ea74e Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
* | | | ASoC: msmcobalt: Switch ground/mic swap GPIO control to pinctrlStephen Oglesby2016-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to swap ground and mic headset poles is controlled by a GPIO on the Apps processor instead of the PMIC, and therefore software logic must change to use pinctrl APIs CRs-fixed: 1019254 Change-Id: Ibccddc82b18614ddbe6ef9c9720b3de1ce00163e Signed-off-by: Stephen Oglesby <soglesby@codeaurora.org>
* | | | msm: ipa: Add napi support to rmnet ipa deviceSunil Paidimarri2016-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add napi framework to use napi API's to poll embedded data from IPA HW. Change-Id: Icb6ec9d060ca4fb02e95c1e98bded89422bb1fff CRs-Fixed: 1002026 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
* | | | clk: msm: hdmi: add cobalt hdmi pll calculator and clocksAjay Singh Parmar2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PLL and PHY programming for HDMI. Dynamically calculate the register values to be programmed for a given pixel clock. CRs-Fixed: 1022772 Change-Id: Ibf7877eb6edd29baefee57bc12188989d897d47e Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* | | | ARM: dts: msm: Add initial device tree files for MSMFALCONNeeraj Upadhyay2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the device tree files necessary to support the MSMFALCON SoC and the MSMFALCON Simulator platform. Change-Id: Iabdb1c21757ad6dead50fdc4aa3b12077f8f840f Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>