1. 04 4月, 2013 12 次提交
    • A
      arm: omap: board-omap3pandora: use tpo panel's gpio handling · 2af2ac7a
      Archit Taneja 提交于
      The omap3pandora board file currently passes the reset gpio number to the
      tpo-td043mtea1 panel driver via the reset_gpio field in omap_dss_device.
      
      Platform related information should be passed via the panel driver's platform
      data struct.
      
      Add the reset gpio information to panel_tpo_td043_data so that it's passed to
      the panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      2af2ac7a
    • A
      arm: omap: board-zoom: use NEC panel's gpio handling · 20012c77
      Archit Taneja 提交于
      The zoom board file currently requests gpios required by the nec-nl8048hl11-01
      dpi panel, and provides dummy platform_enable/disable callbacks.
      
      gpio request and configuration have been moved to the nec-nl8048hl11-01 panel
      driver itself and shouldn't be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file. Add the
      gpio information to panel_nec_nl8048_data so that it's passed to the panel
      driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      20012c77
    • A
      arm: omap: board-rx-51: use acx565akm panel's gpio handling · 3c803f40
      Archit Taneja 提交于
      The rx-51 board file currently requests gpios required by the acx565akm panel,
      and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the acx565akm panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file. Pass
      the panel_acx565akm_data instance 'lcd_data' to omap_dss_device instead of
      passing the gpio number in omap_dss_device's reset_gpio.
      
      Add the gpio information to panel_acx565akm_data so that it's passed to the
      panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      3c803f40
    • A
      arm: omap: board-sdp3430: use sharp panel's gpio handling · a05f92b7
      Archit Taneja 提交于
      The omap3430sdp board file currently requests gpios required by the sharp_ls dpi
      panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the sharp_ls panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Add the gpio information to panel_sharp_ls037v7dw01_data so that it's
      passed to the panel driver.
      
      Out of sharp panel's configurable pins, all apart from resb_gpio are managed by
      a CPLD on the display and set to a default value. Only the configurable pin is
      passed to platform data.
      
      The backlight GPIO doesn't go directly to the sharp panel, it is used to set up
      a voltage supply which goes to the LED+ pin of the panel, hence it isn't passed
      to panel as platform data, and configured in the board file itself. The
      backlight used to previously toggle through the platform_enable/disable
      callbacks, but now it is always on. This needs to be revisited.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      a05f92b7
    • A
      arm: omap: board-omap3evm: use sharp panel's gpio handling · fde38254
      Archit Taneja 提交于
      The omap3evm board file currently requests gpios required by the sharp_ls dpi
      panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the sharp_ls panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Add the gpio information to panel_sharp_ls037v7dw01_data so that it's passed
      to the panel driver.
      
      Note: The GPIOs OMAP3EVM_LCD_PANEL_ENVDD and OMAP3EVM_LCD_PANEL_BKLIGHT_GPIO
      aren't directly connected to the sharp panel, hence they aren't passed to the
      panel driver as platform data. These are set to a default value such that LCD
      is enabled and backlight is on. These used to previously toggle through the
      platform_enable/disable callbacks, but now these are always on. This needs to
      be revisited.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      fde38254
    • A
      arm: omap: board-overo: use lb035q02 dpi panel's gpio handling · 5c4e5995
      Archit Taneja 提交于
      The overo board file currently requests gpios required by the lb035q02 panel,
      and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the lb035q02 dpi panel driver itself and should
      be removed from the board files.
      
      The lb035q02 panel driver uses generic dpi panel's platform data struct
      internally. Remove the gpio requests and the platform callbacks from the board
      file. Add the gpio information to the generic dpi panel platform data struct so
      that it's passed to the panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      5c4e5995
    • A
      arm: omap: board-ldp: use generic dpi panel's gpio handling · fa2a02f2
      Archit Taneja 提交于
      The ldp board file currently requests gpios required to configure the NEC DPI
      panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the generic dpi panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Configure the gpio information in generic dpi panel's platform data so that it's
      passed to the panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      fa2a02f2
    • A
      arm: omap: board-am3517: use generic dpi panel's gpio handling · 130cbe57
      Archit Taneja 提交于
      The am3517 board file currently requests gpios required to configure the sharp
      lq DPI panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the generic dpi panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Add the gpio information to generic dpi panel's platform data so that it's
      passed to the panel driver.
      
      Note: It's not clear why the GPIOs were muxed as input signals in PULL down mode
      in am3517_evm_display_init(). Also, only the LCD_PANEL_PWR was toggled in the
      platform_enable/disable calls, the generic DPI panel driver will now toggle all
      the three gpios on panel's disable/enable. We need to test if these changes to
      see if they have any impact or not.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Vaibhav Hiremath <hvaibhav@ti.com>
      130cbe57
    • T
      arm: omap: board-cm-t35: use generic dpi panel's gpio handling · e471e9ad
      Tomi Valkeinen 提交于
      The cm-t35 board file currently requests gpios required to configure the tdo35s
      panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the generic dpi panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Add the gpio information to generic dpi panel's platform data so that it's
      passed to the panel driver.
      
      Note: Only BL enable gpio is handled in the panel driver. The LCD enable
      GPIO is handled in the board file at init time, as there's a 50 ms delay
      required when using the GPIO, and the panel driver doesn't know about
      that.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      e471e9ad
    • A
      arm: omap: board-devkit8000: use generic dpi panel's gpio handling · 9272d8bd
      Archit Taneja 提交于
      The devkit8000 board file currently requests gpios required to configure the
      innolux DPI panel, and provides platform_enable/disable callbacks to configure
      them.
      
      These tasks have been moved to the generic dpi panel driver itself and should
      be removed from the board files.
      
      Remove the gpio request and the platform callbacks from the board file.
      Configure the gpio information in generic dpi panel's platform data so that it's
      passed to the panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      9272d8bd
    • A
      arm: omap: board-2430: use generic dpi panel's gpio handling · 3b4ece75
      Archit Taneja 提交于
      The 2430sdp board file currently requests gpios required to configure the NEC
      DPI panel, and provides platform_enable/disable callbacks to configure them.
      
      These tasks have been moved to the generic dpi panel driver itself and shouldn't
      be done in the board files.
      
      Remove the gpio requests and the platform callbacks from the board file.
      Add the gpio information to generic dpi panel's platform data so that it's
      passed to the panel driver.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      3b4ece75
    • P
      ARM: OMAP: zoom: Use pwm stack for lcd and keyboard backlight · c1c88137
      Peter Ujfalusi 提交于
      Use pwm_leds driver for the keyboard light and pwm-backlight for the lcd
      backlight control (instead of implementing the PWM driver part in the board
      file).
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c1c88137
  2. 03 4月, 2013 1 次提交
    • A
      OMAPDSS: panels: keep platform data of all panels in a single header · a0d8dde9
      Archit Taneja 提交于
      Structs for platform data of omapdss panels are found in headers in the
      'include/video/' path. Board files populate these structs with platform
      specific values, and the panel driver uses these to configure the panel.
      
      Currently, each panel has it's own header in the above path. Move all the
      omapdss panel platform data structs to a single header omap-panel-data.h.
      This is useful because:
      
      - All other omapdss panel drivers will be modified to use platform data. This
        would lead to a lot of panel headers usable only by omapdss. A lot of these
        platform data structs are trivial, and don't really need a separate header.
      - Platform data would be eventually removed, and platform information would be
        passed via device tree. Therefore, omapdss panel platform data structs are
        temporary, and will be easier to remove if they are all in the same header.
      - All board files will have to include the same header to configure a panel's
        platform data, that makes the board files more consistent.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      a0d8dde9
  3. 06 3月, 2013 1 次提交
  4. 05 3月, 2013 6 次提交
  5. 15 2月, 2013 1 次提交
    • A
      ARM: omap2: include linux/errno.h in hwmod_reset · 55ccb1a8
      Arnd Bergmann 提交于
      The newly created omap_hwmod_reset.c is missing an
      include of linux/errno.h in commit c02060d8 "ARM:
      OMAP4+: AESS: enable internal auto-gating during
      initial setup". It still works in omap2_defconfig,
      but not in all other combinations.
      
      Without this patch, building allmodconfig results in:
      
      arch/arm/mach-omap2/omap_hwmod_reset.c: In function 'omap_hwmod_aess_preprogram':
      arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: error: 'EINVAL' undeclared (first use in this function)
      arch/arm/mach-omap2/omap_hwmod_reset.c:47:11: note: each undeclared identifier is reported only once for each function it appears in
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Sebastien Guiriec <s-guiriec@ti.com>
      55ccb1a8
  6. 14 2月, 2013 2 次提交
  7. 13 2月, 2013 1 次提交
    • P
      ARM: OMAP2+: fix some omap_device_build() calls that aren't compiled by default · 6efc3fe0
      Paul Walmsley 提交于
      Commit c1d1cd59 ("ARM: OMAP2+:
      omap_device: remove obsolete pm_lats and early_device code") missed a
      few omap_device_build() calls that aren't included as part of the default
      OMAP2+ Kconfig, omap2plus_defconfig.
      
      Ideally, all devices that are present on the SoC should be created by
      default, and only the corresponding device driver should be configured
      or deconfigured in Kconfig.  This allows drivers to be built as
      modules and loaded later, even if they weren't part of the original
      kernel build.  Unfortunately, we're not quite there yet.
      
      Thanks to Tony Lindgren for reporting this, found during his
      randconfig tests.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      6efc3fe0
  8. 11 2月, 2013 4 次提交
  9. 10 2月, 2013 2 次提交
  10. 09 2月, 2013 2 次提交
  11. 08 2月, 2013 8 次提交