1. 11 8月, 2016 1 次提交
    • L
      video: ARM CLCD: backlight support for OF · c38162be
      Linus Walleij 提交于
      If the device is probed from device tree, we can support
      backlight. This is used with some systems such as the
      ST Microelectronics Nomadik.
      
      We have to add HAS_IOMEM to the dependencies of CLCD since
      the backlight class device will now be selected, and if it
      gets selected on an arch that does not have IOMEM,
      compilation will fail.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c38162be
  2. 10 5月, 2016 1 次提交
  3. 28 4月, 2016 1 次提交
  4. 11 3月, 2016 1 次提交
    • A
      xen kconfig: don't "select INPUT_XEN_KBDDEV_FRONTEND" · 13aa38e2
      Arnd Bergmann 提交于
      The Xen framebuffer driver selects the xen keyboard driver, so the latter
      will be built-in if XEN_FBDEV_FRONTEND=y. However, when CONFIG_INPUT
      is a loadable module, this configuration cannot work. On mainline kernels,
      the symbol will be enabled but not used, while in combination with
      a patch I have to detect such useless configurations, we get the
      expected link failure:
      
      drivers/input/built-in.o: In function `xenkbd_remove':
      xen-kbdfront.c:(.text+0x2f0): undefined reference to `input_unregister_device'
      xen-kbdfront.c:(.text+0x30e): undefined reference to `input_unregister_device'
      
      This removes the extra "select", as it just causes more trouble than
      it helps. In theory, some defconfig file might break if it has
      XEN_FBDEV_FRONTEND in it but not INPUT_XEN_KBDDEV_FRONTEND. The Kconfig
      fragment we ship in the kernel (kernel/configs/xen.config) however
      already enables both, and anyone using an old .config file would
      keep having both enabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Suggested-by: NDavid Vrabel <david.vrabel@citrix.com>
      Fixes: 36c1132e ("xen kconfig: fix select INPUT_XEN_KBDDEV_FRONTEND")
      Acked-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      13aa38e2
  5. 26 2月, 2016 2 次提交
  6. 15 12月, 2015 4 次提交
  7. 08 10月, 2015 1 次提交
  8. 30 9月, 2015 1 次提交
  9. 20 8月, 2015 1 次提交
  10. 10 8月, 2015 1 次提交
  11. 08 8月, 2015 1 次提交
  12. 18 6月, 2015 1 次提交
  13. 27 5月, 2015 1 次提交
  14. 17 3月, 2015 2 次提交
  15. 30 1月, 2015 1 次提交
    • A
      fb: via: turn gpiolib and i2c selects into dependencies · 87f0fce7
      Arnd Bergmann 提交于
      Device driver should not directly select subsystems. In this case
      we get build warnings like
      
      warning: (ARCH_REQUIRE_GPIOLIB && PINCTRL_AT91 && PINCTRL_NOMADIK && MFD_TC6393XB && FB_VIA) selects GPIOLIB which has unmet direct dependencies (ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB)
      
      which we can avoid using the normal 'depends on' statement.
      
      Also, this patch makes it possible for DRM drivers to have a dependency
      on GPIOLIB without getting circular Kconfig dependencies.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      87f0fce7
  16. 13 1月, 2015 1 次提交
  17. 21 11月, 2014 1 次提交
  18. 06 11月, 2014 1 次提交
  19. 09 9月, 2014 1 次提交
    • A
      video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT · 9c8ee3c7
      Arnd Bergmann 提交于
      Commit 7edaa761 ("video: mx3fb: Add backlight control support")
      changed the mx3fb driver so it always selects the BACKLIGHT_CLASS_DEVICE
      symbol, but that is hidden behind BACKLIGHT_LCD_SUPPORT in Kconfig, so
      we get a Kconfig warning for multi_v5_defconfig, which doesn't have that:
      
      Warning: (DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 &&
      DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY
      && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI &&
      EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE
      which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
      
      This makes sure we always enable both symbols together for mx3fb, like
      we do for the other drivers that can't be built without backlight
      support. Note that a better solution would be to ensure the driver can
      work with or without backlight support.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Alexander Stein <alexander.stein@systec-electronic.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      9c8ee3c7
  20. 06 8月, 2014 1 次提交
    • D
      video/fbdev: Always built-in video= cmdline parsing · ea6763c1
      Daniel Vetter 提交于
      In drm/i915 we want to get at the video= cmdline modes even when we
      don't have fbdev support enabled, so that users can always override
      the kernel's initial mode selection.
      
      But that gives us a direct depency upon the parsing code in the fbdev
      subsystem. Since it's so little code just extract these 2 functions
      and always build them in.
      
      Whiel at it fix the checkpatch fail in this code.
      
      v2: Also move fb_mode_option. Spotted by the kbuild.
      
      v3: Review from Geert:
      - Keep the old copyright notice from fb_mem.c, although I have no
      idea what exactly applies.
      - Only compile this when needed.
      
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      
      --
      
      I prefer if we can merge this through drm-next since we'll use it
      there in follow-up patches.
      -Daniel
      ea6763c1
  21. 04 8月, 2014 1 次提交
  22. 29 7月, 2014 1 次提交
  23. 28 7月, 2014 1 次提交
    • M
      video: clcd-versatile: Depend on ARM · 94f30477
      Mark Brown 提交于
      The Versatile CLCD helpers call dma_alloc_writecombine() which is only
      available on ARM and AVR32, meaning they won't build on other platforms
      including arm64. Unfortunately the current Kconfig enables the symbol
      by default if ARCH_VEXPRESS is defined which means that it is enabled on
      arm64 when building for the ARM reference platforms and models for ARMv8
      since they have many hardware similarities with their pre-ARMv8 systems.
      
      Since all the systems that need the helpers are ARM systems fix this by
      adding a dependency on ARM.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      94f30477
  24. 23 7月, 2014 1 次提交
    • A
      video: fix up versatile CLCD helper move · ec4c4d87
      Arnd Bergmann 提交于
      commit 11c32d7b ("video: move Versatile CLCD helpers")
      moved files out of the plat-versatile directory but in the process
      got a few of the dependencies wrong:
      
      - If CONFIG_FB is not set, the file no longer gets built, resulting
        in a link error
      - If CONFIG_FB or CONFIG_FB_ARMCLCD are disabled, we also get a
        Kconfig warning for incorrect dependencies due to the symbol
        being 'select'ed from the platform Kconfig.
      - When the file is not built, we also get a link error for missing
        symbols.
      
      This patch should fix all three, by removing the 'select' statements,
      changing the Kconfig description of the symbol to be enabled in
      exactly the right configurations, and adding inline stub functions
      for the case when the framebuffer driver is disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      ec4c4d87
  25. 13 7月, 2014 2 次提交
  26. 04 7月, 2014 1 次提交
  27. 27 6月, 2014 1 次提交
    • L
      video: move Versatile CLCD helpers · 11c32d7b
      Linus Walleij 提交于
      This moves the Versatile-specific helper code and panel database
      down into the drivers/video folder next to the CLCD driver
      itself, preserving the config symbol but also moving the header
      to platform data.
      
      This is necessary to rid the Integrator of this final <plat/*>
      inclusion dependency and get us one less user of the
      plat-versatile folder.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      11c32d7b
  28. 24 6月, 2014 1 次提交
  29. 16 5月, 2014 1 次提交
  30. 09 5月, 2014 4 次提交
  31. 07 5月, 2014 1 次提交
    • A
      video: sh_mobile_lcdcfb depends on meram · 423431a3
      Arnd Bergmann 提交于
      The sh_mobile_lcdcfb driver calls interfaces provided
      by the corresponding "meram" helper. This fails if meram
      is a module but lcdcfb is built-in.
      
      To work around it, this uses special Kconfig magic to
      only allow lcdcfb to be built if
      a) both are modules,
      b) meram is built-in, or
      c) meram is disabled and the helpers stubbed out
      
      Changing meram from 'y' to 'm' now forces clcd to
      be a module as well, which seems to be the desired
      behavior.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: linux-sh@vger.kernel.org
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: linux-fbdev@vger.kernel.org
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      423431a3