1. 03 4月, 2015 1 次提交
  2. 31 1月, 2015 2 次提交
  3. 13 11月, 2014 1 次提交
  4. 14 7月, 2014 2 次提交
    • R
      drm/panel: make DRM_PANEL_LD9040 depend on SPI · 50d5ed39
      Russell King 提交于
      Rather than DRM_PANEL_LD9040 selecting SPI, which then results in an
      increase in the probability of Kconf reporting circular dependencies
      (we're one "select" away from that right now), make this depend on
      SPI instead.  This is akin to having some driver select DRM.
      
      Having some drivers depend on a subsystem, and other drivers select a
      subsystem is a recipe for circular dependencies, and there's really no
      need for it.
      
      The potential circular dependency (which can be caused today by the
      addition of selecting DRM_PANEL from DRM_IMX_LDB) is:
      
        symbol DMADEVICES is selected by SAMSUNG_DMADEV
        symbol SAMSUNG_DMADEV is selected by S3C64XX_PL080
        symbol S3C64XX_PL080 is selected by SPI_S3C64XX
        symbol SPI_S3C64XX depends on SPI
        symbol SPI is selected by DRM_PANEL_LD9040
        symbol DRM_PANEL_LD9040 depends on DRM_PANEL
        symbol DRM_PANEL is selected by DRM_IMX_LDB
        symbol DRM_IMX_LDB depends on MFD_SYSCON
        symbol MFD_SYSCON is selected by POWER_RESET_KEYSTONE
        symbol POWER_RESET_KEYSTONE depends on POWER_SUPPLY
        symbol POWER_SUPPLY is selected by HID_SONY
        symbol HID_SONY depends on NEW_LEDS
        symbol NEW_LEDS is selected by BACKLIGHT_ADP8860
        symbol BACKLIGHT_ADP8860 depends on BACKLIGHT_CLASS_DEVICE
        symbol BACKLIGHT_CLASS_DEVICE is selected by FB_MX3
        symbol FB_MX3 depends on MX3_IPU
        symbol MX3_IPU depends on DMADEVICES
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      50d5ed39
    • R
      drm/panel: consolidate unnecessary explicit dependencies · 937ca284
      Russell King 提交于
      DRM_PANEL_LD9040 and DRM_PANEL_S6E8AA0 both explicitly depended on
      DRM_PANEL && DRM, whereas DRM_PANEL_SIMPLE relies upon the dependency
      on the menu.
      
      We do not need to use explicit dependencies if we make the menu depend
      on DRM_PANEL && DRM - this will implicitly make each entry in the menu
      depend on DRM_PANEL && DRM without this needing to be explicitly stated
      against every entry.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      937ca284
  5. 04 4月, 2014 2 次提交
  6. 18 12月, 2013 2 次提交
    • T
      drm/panel: Add simple panel support · 280921de
      Thierry Reding 提交于
      Add a driver for simple panels. Such panels can have a regulator that
      provides the supply voltage and a separate GPIO to enable the panel.
      Optionally the panels can have a backlight associated with them so it
      can be enabled or disabled according to the panel's power management
      mode.
      
      Support is added for two panels: An AU Optronics 10.1" WSVGA and a
      Chunghwa Picture Tubes 10.1" WXGA panel.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      280921de
    • T
      drm: Add panel support · aead40ea
      Thierry Reding 提交于
      Add a very simple framework to register and lookup panels. Panel drivers
      can initialize a DRM panel and register it with the framework, allowing
      them to be retrieved and used by display drivers. Currently only support
      for DPMS and obtaining panel modes is provided. However it should be
      sufficient to enable a large number of panels. The framework should also
      be easily extensible to support more sophisticated kinds of panels such
      as DSI.
      
      The framework hasn't been tied into the DRM core, even though it should
      be easily possible to do so if that's what we want. In the current
      implementation, display drivers can simple make use of it to retrieve a
      panel, obtain its modes and control its DPMS mode.
      
      Note that this is currently only tested on systems that boot from a
      device tree. No glue code has been written yet for systems that use
      platform data, but it should be easy to add.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      aead40ea