summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/drm/msm (follow)
Commit message (Collapse)AuthorAge
* drm/msm/sde: add shared display supportRahul Sharma2019-01-09
| | | | | | | | | | | | | | | | | | | Add support to shared display for panel stacking and split screen application. The current DRM framework only allows one atomic commit for each display, this change will create virtual display pipelines based on the physical display pipeline, and each virtual display can support independent async atomic commit. With the change user mode application can setup and update display on each virtual display and share the same physical port. No mode switch is allowed on virtual display. When all virtual displays are powered off, the physical display will also power off. Change-Id: Ibf9a7dd1a96c59b6db9891d826cb4f11b409696c Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org> Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
* drm/msm/sde: support to control layer mixer usageRahul Sharma2018-12-17
| | | | | | | | | | | | | This change enables resource manager to select the number of layer mixers to be reserved for a particular usecase. Number of mixers used will be controlled by the request from user by setting a SDE_RM_TOPCTL_FORCE_MIXER_CFG property. if SDE_RM_TOPCTL_FORCE_MIXER_CFG is set then num_lm = 1 Change-Id: I94d37cfd1632e4b8d42235c2c155d9cf6cf25fc2 Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
* drm: msm: add skip_ddc support for hdmi displaySuprith Malligere Shankaregowda2018-07-15
| | | | | | | | | | | HDMI display on auto boards has disabled pluggable function and hardcoded 1080p mode for output. So ddc related function should also be skipped. Otherwise, some error messages are printed when accessing ddc. Change-Id: I42694b0586dd870e7881b422cd3d6ee960276b17 Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org> Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* DRM: SDE: Fix the spelling in DTS parserCamus Wong2017-11-16
| | | | | | | Fix one of the mode properties' spelling error. Change-Id: I6cb0f31aa62b825773b97099fcac3da8a2b94af6 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* msm: sde: add early display handoff featureGuchun Chen2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | When enabling animation/static splash in LK, drm/kms driver needs to involve handoff code to support smooth transition. In display driver's probe, it will do following items: 1. Check the status in LK for early splash. 2. Add data bus bandwidth voting in function sde_splash_init. 2. Handle SMMU mapping issue to avoid SMMU fault problem. 3. Bypass hardware reset to avoid glitch. And after user's space is up, when first commit's vblank comes, it will call functions to: 1. Tell LK to stop static/animation display and to exit. 2. Set early_domain_map_attr to 1 to enable stage 1 translation in iommu driver. 3. Check the property of commit.If it's for HDMI, release HDMI resource. If for DSI, release DSI resource. 4. Recycle the memory to be available to system. 5. Withdraw the bus bandwidth voting. Change-Id: If425f044e2c40301eed57375a33a26ec1970abd5 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* drm/sde: add 4k hdmi supportwyun2017-06-01
| | | | | | | | When HDMI resolution is bigger than 2560 pixel of width, driver needs to use two hardware pipes. Use virtual plane to support this feature. Change-Id: I19e3bb32aa2a16c83393b0e3c6bec3db03827eca Signed-off-by: wyun <wyun@codeaurora.org>
* drm/sde: add support for customized modeJin Li2017-02-22
| | | | | | | | | | | Sometimes the HDMI is treated as non-pluggable display in auto use cases. Add support to configure it through dtsi file, and also provide timing parameters for the customized modes through dtsi. Change-Id: I2326b6c43cb7e6361be1f14d25f0e2e493c94177 Signed-off-by: Jin Li <jinl@codeaurora.org> Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
* ARM: dts: msm: rename mdss_mdp to sde_kms and add HDMI TX device nodeAbhinav Kumar2017-02-22
| | | | | | | | | Rename mdss_mdp to sde_kms in the device tree to reflect the new display DRM driver terminology and add support for HDMI TX device node Change-Id: Ide5dc6a5939945a3e993eca650c66a56f3955140 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
* drm/msm/sde: add dynamic clock and bandwidth commit supportAlan Kwong2016-12-16
| | | | | | | | | | | Current crtc supports static clock and bandwidth defined in device tree. Add support for dynamic clock and bandwidth control using new atomic crtc properties. User mode can adjust core clock rate, instantaneous and arbitrated bandwidth per crtc commit. Change-Id: I753a141bbc023d89f1532943f48252875883d684 Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* drm/msm/sde: remove display managerClarence Ip2016-11-02
| | | | | | | | | | Convert dsi and wb into actual drivers, and don't bind them from within the display manager any more. With this change, the display manager is no longer necessary, and may be safely removed. Change-Id: Ifac790fe31120d72cf78000a1476e22d000db4ae Signed-off-by: Clarence Ip <cip@codeaurora.org>
* drm/msm/sde: add virtual writeback device and connectorAlan Kwong2016-08-08
| | | | | | | | | | | | | Enable virtual writeback connector by allowing a property on the connector to specify output frame buffer id, which takes in a framebuffer object added via ADDFB2 ioctl. A new writeback configure ioctl is added to configure connection state and display modes of writeback connector. Change-Id: Ifce411a3f0798e3af7dd7f19da27d67cdd849bfb Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org> Signed-off-by: Alan Kwong <akwong@codeaurora.org> Signed-off-by: Clarence Ip <cip@codeaurora.org>
* drm/msm: common display interface for mdp driverAjay Singh Parmar2016-08-01
| | | | | | | | | | Display_manager.h provides a commong display interface for MDP driver to query DSI, HDMI and DP display properties. This is a replacement for the previous dsi-manager component. Change-Id: Ifdd213b3341ca3c21ca13aca4e56d9c2404030ff Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* drm/msm/dsi-staging: add dsi display driverAjay Singh Parmar2016-08-01
| | | | | | | | | Add dsi display driver. Configure all internal DSI modules. Manage power sequence for internal modules like controller and phy. Configure lanes, modes etc. Change-Id: I8edc918c4858f16d32af9373fc4626066b20d2e5 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* drm/msm/dsi-staging: add dsi phy driverAjay Singh Parmar2016-08-01
| | | | | | | | Add dsi phy driver. Configure clocks, regulators, gpios, lanes, and other dsi phy related hardware. Change-Id: Ic06c17f57496b22bcf820ea5c6929e334fa99a09 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* drm/msm/dsi-staging: add clock and power utilitiesAjay Singh Parmar2016-08-01
| | | | | | | | | Add clock and power utilities for DSI driver components. Read the clocks, regulators, gpios etc from device tree and make them available for use. Change-Id: Id3b08bac976da6834e636cbd79d05b3ba4b91557 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* drm/msm/dsi-staging: add dsi controller driverAjay Singh Parmar2016-08-01
| | | | | | | | | Add dsi controller driver. Initialize and implement hw modules, memory map, interrupt handling, check and set states, dsi message send and receive, low power mode and driver initialization. Change-Id: I9905e775ed73ba8dc8b57c717d32c4383b51d361 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* dt-bindings: consolidate display related bindingsRob Herring2015-10-22
| | | | | | | | | | | | | | This is a quite large renaming to consolidate display related bindings into a single "display" directory from various scattered locations of video, drm, gpu, fb, mipi, and panel. The prior location was somewhat based on the Linux driver location, but bindings should be independent of that. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org>
* drm/msm: dsi host: Use device graph parsing to parse connected panelArchit Taneja2015-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | The dsi host looks for the connected panel node by parsing for a child named 'panel'. This hierarchy isn't very flexible. The connected panel is forced to be a child to the dsi host, and hence, a mipi dsi device. This isn't suitable for dsi devices that don't use mipi dsi as their control bus. Follow the of_graph approach of creating ports and endpoints to represent the connections between the dsi host and the panel connected to it. In our case, the dsi host will only have one output port, linked to the panel's input port. Update DT binding documentation with device graph usage info. v3: - Fix return value checks of of_graph_* calls. - Don't make port a mandatory DT property - Fix defer check when no panel node specified - Rename parse_dt func to align with other dsi_host funcs Reviewed-by: Hai Li <hali@codeaurora.org> Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/hdmi: standardize on lead chip for compatible namesRob Clark2015-08-15
| | | | | | | | For all of these devices, msm89xy was the lead chip, so standardize the compatible names to align with convention used by rest of the qcom/msm drivers. Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm: Add support for msm8x94Stephane Viau2015-08-15
| | | | | | | | | | | | | | This change adds the MDP and HDMI support for msm8x94. Note that HDMI PHY registers are not being accessed anymore from the driver. Signed-off-by: Stephane Viau <sviau@codeaurora.org> [rename compatible s/8x94/8994/ since preference is to not trust the marketing folks who invent chip #'s but instead name things after the lead chip.. we should rename some 80XY to 89XY to standardize on the lead chip but leave that for another patch. Also, update dt bindings doc] Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/dsi: Add support for msm8x94Hai Li2015-08-15
| | | | | | | | | DSI controller on msm8x94 is version 1.3, which requires different power supplies and works with 20nm DSI PHY. This change is to add the basic support for this version. Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/dsi: Use pinctrl in DSI driverHai Li2015-08-15
| | | | | | | | | Some targets use pinctrl framework to configure some pins. This change allows DSI driver to set default and sleep pinctrl status. Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/dsi: Rename *dual panel* to *dual DSI*Hai Li2015-08-15
| | | | | | | | | The current term of *dual panel* in DSI driver code causes confusion. It is supposed to indicate the panel using two DSI links. Rename it to *dual DSI*. Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/hdmi: Use pinctrl in HDMI driverStephane Viau2015-06-11
| | | | | | | | | Some targets (eg: msm8994) use the pinctrl framework to configure interface pins. This change adds support for initialization and pinctrl active/sleep state control for the HDMI driver. Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/dsi: Separate PHY to another platform deviceHai Li2015-06-11
| | | | | | | | | | | | There are different types of PHY from one chipset to another, while the DSI host controller is relatively consistent across platforms. Also, the PLL inside PHY is providing the source of DSI byte and pixel clocks, which are used by DSI host controller. Separated devices for clock provider and clock consumer make DSI driver better fit into common clock framework. Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* dt-bindings: Add MSM eDP controller documentationHai Li2015-06-11
| | | | | Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* dt-bindings: Add MSM DSI controller documentationHai Li2015-06-11
| | | | | Signed-off-by: Hai Li <hali@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/hdmi: rework hdmi configurations, using dt_match[]Stephane Viau2015-02-01
| | | | | | | | In the same idea mdp5_cfg was added, this change allows us to quickly add new instances, such as apq8084's HDMI in this case. Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm/hdmi: Add HDMI platform config for apq8084Stephane Viau2015-02-01
| | | | | | | | | This change add the regulator/clock configuration for MDP5 v1.3. This config is close to the one already existing for 8x74, except that one more regulator is needed (hpd-5v-en). Signed-off-by: Stephane Viau <sviau@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
* drm/msm: DT support for 8960/8064 (v3)Rob Clark2014-08-04
Now that we (almost) have enough dependencies in place (MMCC, RPM, etc), add necessary DT support so that we can use drm/msm on upstream kernel. v2: update for review comments v3: rebase on component helper changes Signed-off-by: Rob Clark <robdclark@gmail.com>