summaryrefslogtreecommitdiff
path: root/Documentation (follow)
Commit message (Collapse)AuthorAge
...
* | | msm: mdss: dsi: Add support for back-light enable gpioUjwal Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Board platform configurations using apq8084 needs a separate back-light enable gpio compared to msm8974 where same functionality is piggybacked on LCD enable gpio. Add support for this back-light enable gpio. Change-Id: I22f0ab747cb165bbac2055a75fc8ffcc84c79fd2 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
* | | mdss: display: making lpg channel and pwm period as optionalAsaf Penso2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These properties need to be optional and used only when having an embedded DP monitor, i.e. eDP. When using the eDP driver with external DP monitor there is no need to configure the fields for the external backlight since it is done by the monitor itself. Change-Id: I914a8c75acb406a900e9abd896253606c32e3601 Signed-off-by: Asaf Penso <apenso@codeaurora.org>
* | | mdss: display: edp continuous splash supportKuogee Hsieh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both edp main link clock and pixel clock are source from PLL. This patch add edp clock nodes into system clock tree so that both main link clock and pixel clock are configured properly to support different panels with different resolution. Edp related clocks handoff from bootloader are supported. Change-Id: I6e4096beb9bff0d39f4f850bbc6d2157ac42e524 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
* | | msm: mdss: primary panel config from boot paramManoj Rao2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to read kernel's boot parameters to check for primary panel interface and panel configuration. The parameter passes three fields of information which are parsed by the MDP driver as a part of the device probe. Format for cmdline param expected is: "mdss_mdp.panel=<lk_cfg>:<pan_intf>:<dt_node_name_panel>" where <lk_cfg> is "1" - lk/gcdb config or "0" non-lk/non-gcdb config; <pan_intf> is one of "dsi:<ctrl_id>", "hdmi", "edp"; and <dt_node_name_panel> is the string identical to panel's device node name from the DT. Change-Id: Ib9e7e4b69c62537f551aaf9ccaf0dd69eddd6889 Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
* | | msm: mdss: primary intf and panel configManoj Rao2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devicetree contains properties that specify the preferred primary panel interface for MDP. Parse this information from MDP and provide it to the individual controller. Each controller driver reads devicetree property to initialize the preferred panel. Add bindings for property, under MDSS-MDP, to indicate the panel interface such as dsi, hdmi, edp etc. Panel interfaces are configured independently based on msm board type. Add property that informs MDSS about the panel interface to be used. This facilitates the ability to use different panel interfaces irrespective of the board or SoC. Add bindings for property under DSI controller node to indicate the preferred primary panel. This allows to implement the ability to use different panel irrespective of the board or SoC. Change-Id: Iaa95f0676ac427bd57bd29c9e12701b6f548b30a Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
* | | msm: mdss: Add support for macro tile formatsShalabh Jain2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | MDP now supports tile formats on APQ8084. Macro tile formats are aligned with number of memory banks and access channels to improve performance. Change-Id: Ie566cc12b38f81d111f378f19883433bcc71fa48 Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
* | | msm: mdss: Add battery FET regulator usageUjwal Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During idle power-collapse using smart-panel, when PMIC chip goes to sleep, it puts battery FET (batfet) to low power mode (LPM) which allows less than 100mA current to be drawn. Since smart-panel is in self-refresh mode, it can still draw more than 100mA current causing PMIC and MSM reset. To fix this issue, batfet has to be kept in high power mode (HPM). In order to keep batfet in HPM, display driver enables batfet regulator whenever display panel is on. Change-Id: I2f3d9f20fcf86b3147ac7396d56f93bfc08377c7 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
* | | mdss: display: remove the pwm gpio request from edp backlightAsaf Penso2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | There is no use of the pwm gpio inside the driver so cleaning up the code and removing it from devicetree. Change-Id: I72c038f3082aa6ed18ea9142de75faecc1e1e0fd Signed-off-by: Asaf Penso <apenso@codeaurora.org>
* | | mdss: display: add edp aux channel support toward link trainingKuogee Hsieh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Edp aux channel is the communication channel between host and client (panel). Host reads edid back from panel and issues dpcd command to panel through aux channel. This patch adds aux channel support so that edp link training can be done. CRs-Fixed: 486135 Change-Id: If29dc8257ecc555296c043f2ebcc6dc5cb400d49 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> [cip@codeaurora.org: Moved mdss_edp_aux.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm: mdss: update kernel to support autogenerated dtsi filesArpita Banerjee2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | Changes are to support autogenerated panel/mdss dtsi files and their corresponding format Signed-off-by: Arpita Banerjee <cabane@codeaurora.org> Change-Id: Id7d33190f117f29ff5aca0021517020620a7afea
* | | msm: mdss: support uneven framebuffer splitHuaibin Yang2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default split ratio is 50 percent if buffer resolution width is greater than the max width that mixer can support. This even split may not be desired for optimal smp allocation or other usecases. CRs-fixed: 491728 Change-Id: I8ff3f7c1bd79daf1da9ebded0c561cf96db08b73 Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
* | | msm: mdss: Restrict SMP buffer reservationMayank Chopra2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given two line latency buffer requirement for performance, in some cases, three or more SMP blocks get reserved. This happens typically for the usecases involving higher resolution layers (e.g. 1080P). For these usecases required number of SMP blocks exceed total number of SMP blocks available, thus causing SMP reservation failures. These failures are often encountered in 8x26 target as it has in total, only seven SMP blocks available. Restrict SMP buffer reservation to two SMP blocks, based on an optionable device tree property, to be able to support most of the usecases. This restriction is not applicable to horizontal flip cases where two line latency buffer reservation is necessary. Change-Id: I7d57568b4b2710df0142bbc16749e56a9b492dfe Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
* | | msm: mdss: parse device tree for dedicated wfd blk propertySree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | The presence of a dedicated wfd writeback block needs to be retrieved from device tree, which can be used to determine if WFD and rotator sessions need to be multiplexed. Change-Id: I150b17d0ebb045aecc9c6e694632e5f89007c957 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | mdss: display: add cmdlist to tx/rx dcs commandKuogee Hsieh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since dsi link is a shared resource between pixel stream and dcs command, it needs a mechanism to protect dsi link to be accessed exclusively. cmdlist is introduced for this purpose in this patch. Change-Id: Ibfcab875c471c16e509cbf39c64c02f9423a6766 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
* | | mdss: display: add 16 bits length dcs command supportKuogee Hsieh2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current implemtation only supports 8 bits of dcs length. This patch adds support of 16 bits dcs length as specified at dcs standard. Therefore all dcs related tx/rx functions are needed be updated. In addition, all dsi panel dtsi files are need to be updated too since it contains dcs header. Change-Id: Icc72a5076e1b181a9bdeb2479e877022c4dc9b22 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
* | | msm: mdss: Implement basic assertive display functionalityCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provides starting control logic and register access for initialization, configuration, and input to assertive display (AD) feature. AD allows for several modes of operation that can be used to increase display visibility under various viewing conditions. Change-Id: I5db510e36c6b9394626e8efe8160d792c8bdda01 Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | msm: mdss: Support the option to swap mixer muxes.Sree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Different panel vendors have different board configurations. Driver needs to support swapping mixer muxes to accomodate all configurations if the swap property is defined in the device tree. CRs-fixed: 470035 Change-Id: I1c4299021a53c16ab2d5491b755c321f5e921c72 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | msm: mdss: Enable Decimation during fetchSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decimation is a new mdss hardware feature that facilitates display of images with width larger than 2048 through a single pipe. It enables display of high resolution images on multiple interfaces simulatenously. Also, the presence of this hardware feature needs to be exposed to userspace so that the usecase can be supported. Change-Id: I433db46c9f026b4c124ae73d10f1827144631934 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | msm: mdss: Expose bandwidth compression capability to userSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | The userspace needs to be aware of the presence of bandwidth compression use case which is a new hardware feature Change-Id: I02ec320a2ab9add78000df0459c8095c8f8505fb Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | msm: mdss: Remove regulator supply type parameterClarence Ip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The I/O utility library has helper function to configure regultor supplies used by different modules. The regulator type parameter associated with a supply regulator specifies whether it is possible to set voltage levels for that regulator. This change removes the need to specify the regulator type as this can be easily determined by calling corresponding regulator API. Change-Id: I73aff82a0d04920cd5dd5150aeb34edecc305e85 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> [cip@codeaurora.org: Resolved merge conflict] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm: mdss: Parse ping pong register from device treeSiddhartha Agrawal2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ping Pong register bases are different between 8974 v1/v2 and 8x26. Add support to parse ping pong register bases from device tree. Change-Id: I2109d1bdc360ef858660fd2ccf49985eaacee8a8 Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
* | | mdss: display: add dsi command mode panel supportChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to support TE signal needed for smart panels. The panel backlight is controlled using pwm. Change-Id: Id596b466b6fd16efbb26ffcc35db94c9939007b0 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org> [cip@codeaurora.org: Moved mdss_mdp_intf_cmd.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm: mdss: Program rotator block size from device treeAravind Venkateswaran2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | The block size for the rotator's internal scratch memory can vary based on the target. Add support for programming the block size from the device tree. Change-Id: Ic73808078ee69c8101e742d9c18f51f835f3d88c Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | msm: mdss: ensure mdp clk rate is not set beyond max rateAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clock calculations include some inefficiency factor which may lead to calculations exceeding the maximum clock rate supported. Limit the calculations to the maximum supported MDP clock in each SoC. Change-Id: I3b020518a28acfffeb48e5d100f5a4f48c8eb03c Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | msm: mdss: Program DSI regulator config from device treeAravind Venkateswaran2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regulators needed for DSI controller can vary based on the platform and should be specified in the corresponding device tree node. This change parses power related data from the device tree and uses the existing power configuration utilities to configure the regulators. Change-Id: I7e57fa4b17d540acefba58e050cf8057d05637a3 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | msm: mdss: parse shared memory pool specs from the device treeSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | Shared memory pool size and block count varies in different versions of mdss hardware. Change-Id: I1896b2494111c97c355329be8c2aae4802af5cfb Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | msm: mhl: hdmi: MHL-HDMI handshake implementationManoj Rao2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, HDMI driver adds entries for all the formats that it supports into an internal table. However, when MHL Tx is present, the max format supported should be limited based on the maximum bandwidth supported by the MHL Tx. We implement a handshake between HDMI and MHL drivers to exchange callback function which returns the status of HDMI's TMDS lines that is used by MHL driver before sending RAP messages. Change-Id: I53b6541307f54309fd53f0062d9be3ef1e15c495 Signed-off-by: Manoj Rao <manojraj@codeaurora.org> [cip@codeaurora.org: Moved mdss_hdmi_mhl.h file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm: mdss: add video interface offsets from device treeAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | Parse and setup video interface register offsets from device tree. Change-Id: I12a876fbcb88f47876beafd5349ed35e2511b02e Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | msm: mdss: program vbif and QoS settings from device treeAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | MDSS VBIF and QoS settings can differ across targets, move the setup of these settings to device tree to allow different settings to be set depending on specific targets. Change-Id: Idf7dca0f19a3a694d3da3f2af662077bac445636 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | msm: mdss: parse mdp reg offsets from device treeSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Register offset addressess for hw modules (pipes, dspp, mixer, ctl and writeback) are parsed from the device tree to support different chipset configurations at run time. Change-Id: I75d6805339469e37e5590b767c1918e224e83aa5 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org> Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | msm: mdss: Add driver changes to support multiple DSI controllersChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for second controller interrupts. Remove panel commands as global varibles. Add reference to framebuffer that the interface will use. Add support to send commands in broadcast mode. Add support to check for controller state when panel ON/OFF commands are sent. Use panel destination variable to select the DSI interface for the panel. Change-Id: If1a353b0d3d5e329ec9e41333db16a055bde96a7 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm: mdss: Bind the regulators and clocks to DSI controller structureChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove all the regulator and clock global variables in the driver and add them as part of the DSI controller structure. This will add support to enable both the DSI controllers. Use pHandle to map the panel to the controller. Add controller phandle as part of the DSI panel device. This we allow us bind specific DSI controller to one or more panels. Add panel distination property to select the DSI interface. Change-Id: I0a5ef0a01f85aa61a0b1e50fd24ddf40ff2a7509 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm: mdss: add framebuffer devices to device treeAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Manage framebuffer devices in device tree and allow panel drivers to select which framebuffer device to map to. Change-Id: I1ce0cd679dd9774ce5303a7231ad701bd9d45161 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm: mdss: hdmi: Add support for new HDMI-Audio interfaceUjwal Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using this new interface, HDMI-Audio codec driver can retrieve sink's audio capabilities. Based on this supported capabilities and current playback clip, it will pass appropriate audio setup information to HDMI driver for configuration. Change-Id: Ia52f72d955778859c381a5e6c94aba57e40d13b2 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
* | | msm: mdss: hdmi: Replace of_get_gpio usage with of_get_named_gpioUjwal Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | HDMI Tx driver parses platform gpio data based on index, using of_get_gpio api. Replace this index based lookup with name based lookup, using of_get_named_gpio api. Change-Id: Ic65aae1583c8c6f852c31fd454ac651fc6c8b907 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
* | | msm: 8974: MHL Driver for SI-8334 TxManoj Rao2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The B-family device driver for SI8334 Silicon Image's Mobile High-definition Link (MHL) Transmitter implements wake-up, discovery and communication with MHL sink. The MHL-8334 Tx is attached to MSM as an I2C-client. Change-Id: I33f6c6f00011b590f9913cdbbe44544472b60982 Signed-off-by: Manoj Rao <manojraj@codeaurora.org> [cip@codeaurora.org: Moved mhl_sii8334.c file location] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm: mdss: add eDP backlightAsaf Penso2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | Add configuration for setting different brightness levels in edp driver. This is done according to lpg channel and period values from devicetree. Change-Id: I4e9074d777102193d7678f7aac565be3a5a551df Signed-off-by: Asaf Penso <apenso@codeaurora.org>
* | | msm_fb: mdss: Add eDP controller driver supportAsaf Penso2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eDP controller is one of the output interfaces for MDSS. Add support for eDP host controller driver which runs in Video mode only and eDP related changes for msm_fb panel driver. Change-Id: I0a150f8d712f57bdfaee9051b2893e2910195567 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org> Signed-off-by: Asaf Penso <apenso@codeaurora.org> Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm_fb: mdss: Fix suspend/resume for panel driverChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid disabling video mode while sending OFF commands. Add delay between the display reset line toggle mechanism and GPIO display enable API for proper reset of the panel. Modify the PHY regulator control configuration sequence for proper reset of the physical layer. Change-Id: I2c890d52d773faab6020267121ea4557a59bd108 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm: mdss: Add support for HDMI Tx driverUjwal Patel2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the HDMI Tx driver in mdss domain. It uses device tree framework to get the platform data and then registers this device as dtv panel to mdss frame buffer domain. Change-Id: I55534919bacea5b044c1da5d44dda8db496e1528 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org> [cip@codeaurora.org: Moved new file locations, replace regulator_set_optimum_mode with regulator_set_load, add linux/regulator/consumer.h include] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | msm_fb: mdss: Add DSI physical layer settingsChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for dsi clocks. Add support for DSI PLL configurations. Add strength, regulator and control settings for the DSI physical layer. Change-Id: I04a0eec869e40b4813cf5187e8eeef63ae2f5a1f Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm_fb: mdss: Add support for Backlight control and panel gpiosChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add code to support the WLED client interface to control backlight levels using led_trigger mechanism. Add support for msm gpio that maps to the lcd_enable line for the panel. Add support for pmic gpio that is mapped to the display reset line. Change-Id: Ie89692f1c0a38d7878271d4a91122d61fbba8c1b Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | msm: mdss: add perf settings during hardware initializationAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | Add MDSS initialization sequence, tuning for optimal performance. Change-Id: Icd44abf2707d74bbf29a8d095184067ae3a420d1 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | msm_fb: MDSS: Add DSI driver support for MDSSChandan Uddaraju2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the dsi driver implementation for DSI version 3.0. Use the panel information retrieved from the 'dts' to configure the interface parameters. Add the device tree binding file to specify the basic configuration and panel features. Change-Id: I6a3677401454ad1d2bc29b0b845b0366eb7842b7 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org> [cip@codeaurora.org: Moved new file locations] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | ASoC: wcd: Add Audio codec drivers for MSM targetsSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot of audio codec drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level- AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | ALSA: compress: Add support to send codec specific dataAlexy Joseph2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless using set_next_track_param. Change-Id: Ieec6b2afedec156e47873efcad9b3571160b0a29 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: include/sound/compress_driver.h
* | | regulator: msm: Add snapshot of the stub regulator driverDevesh Jhunjhunwala2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a snapshot of the Documentation and header file for the stub regulator driver as of msm-3.18 kernel commit: 2642c0adc79c06c0f3225da0177e910a1cea8cb5 ("Merge "ARM: dts: msm: Add support for truly 720p command mode panel on msmgold"") Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
* | | PM / devfreq: memlat: Get complete CPU list during the probeRohit Gupta2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently arm-memlat-mon driver uses cpu_coregroup_mask to get the sibling CPUs for the first CPU specified during the probe. However if any of the CPUs in a cluster isn't hotplugged in even once before the probe runs then the call to cpu_coregroup_mask might not give the updated list of all the sibling CPUs for the specified CPU. With this change the initialization of the cpumask for the memlat device is obtained from the list of CPU phandles specified in the dtsi file. Change-Id: Ide97d60d9eecbbe1d33deda72a13951059822896 Signed-off-by: Rohit Gupta <rohgup@codeaurora.org> [junjiew@codeaurora.org: dropped changes in dtsi files.] Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
* | | PM / devfreq : Introduce a memory-latency governorRohit Gupta2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use performance counters to detect the memory latency sensitivity of CPU workloads and vote for higher DDR frequency if required. Change-Id: Ie77a3523bc5713fc0315bd0abc3913f485a96e0e Signed-off-by: Rohit Gupta <rohgup@codeaurora.org> Suggested-by: Saravana Kannan <skannan@codeaurora.org> [junjiew@codeaurora.org: dropped changes in arch/arm64/Kconfig] Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
* | | PM / devfreq: bw_hwmon: Expose a throttle adjust tunableRohit Gupta2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer versions of bimc-bwmon counters have the capability to fake higher byte count than what's actually transferred between a bus master and DDR if the bus master is being throttled by QoS hardware logic. Add support to set the throttle adjust field that comes with this newer version of bimc-bwmon. Change-Id: I33376c825fb11ab2e378f828b1d2ae46dd582836 Signed-off-by: Rohit Gupta <rohgup@codeaurora.org> [junjiew@codeaurora.org: dropped changes in dtsi.] Signed-off-by: Junjie Wu <junjiew@codeaurora.org>