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. 23 3月, 2013 1 次提交
  4. 19 3月, 2013 2 次提交
    • S
      ARM: imx: add dependency check for DEBUG_IMX_UART_PORT · 287939a3
      Shawn Guo 提交于
      While adding i.MX DEBUG_LL selection, commit f8c95fe6 (ARM: imx: support
      DEBUG_LL uart port selection for all i.MX SoCs) leaves Kconfig symbol
      DEBUG_IMX_UART_PORT there without any dependency check.  This results in
      that everyone gets the symbol in their config, which is someting
      undesirable.  Add "depends on ARCH_MXC" for the symbol to prevent that.
      Reported-by: NKarl Beldan <karl.beldan@gmail.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      287939a3
    • M
      ARM: video: mxs: Fix mxsfb misconfiguring VDCTRL0 · 6a15075e
      Marek Vasut 提交于
      The issue fixed by this patch manifests only then using X11
      with mxsfb driver. The X11 will display either shifted image
      or otherwise distorted image on the LCD.
      
      The problem is that the X11 tries to reconfigure the framebuffer
      and along the way calls fb_ops.fb_set_par() with X11's desired
      configuration values. The field of particular interest is
      fb_info->var.sync which contains non-standard values if
      configured by kernel. These are either FB_SYNC_DATA_ENABLE_HIGH_ACT,
      FB_SYNC_DOTCLK_FAILING_ACT or both, depending on the platform
      configuration. Both of these values are defined in the
      include/linux/mxsfb.h file.
      
      The driver interprets these values and configures the LCD controller
      accordingly. Yet X11 only has access to the standard values for this
      field defined in include/uapi/linux/fb.h and thus, unlike kernel,
      omits these special values. This results in distorted image on the
      LCD.
      
      This patch moves these non-standard values into new field of the
      mxsfb_platform_data structure so the driver can in turn check this
      field instead of the video mode field for these specific portions.
      
      Moreover, this patch prefixes these values with MXSFB_SYNC_ prefix
      instead of FB_SYNC_ prefix to prevent confusion of subsequent users.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>
      Cc: Linux FBDEV <linux-fbdev@vger.kernel.org>
      Cc: Lothar Waßmann <LW@karo-electronics.de>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Tested-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      6a15075e
  5. 18 3月, 2013 1 次提交
    • A
      ARM: fix CONFIG_VIRT_TO_BUS handling · b4811bac
      Arnd Bergmann 提交于
      887cbce0 "arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS"
      and  4febd95a "Select VIRT_TO_BUS directly where needed" from
      Stephen Rothwell changed globally how CONFIG_VIRT_TO_BUS is
      selected, while my own a5d533ee "ARM: disable virt_to_bus/
      virt_to_bus almost everywhere" was merged at the same time and
      changed which platforms select it on ARM.
      
      The result of this conflict was that we again see CONFIG_VIRT_TO_BUS
      on all ARM systems. This patch fixes up the problem and removes
      CONFIG_ARCH_NO_VIRT_TO_BUS again on ARM.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      b4811bac
  6. 16 3月, 2013 1 次提交
  7. 15 3月, 2013 4 次提交
    • S
      ARM: i.MX35: enable MAX clock · 5dc2eb7d
      Sascha Hauer 提交于
      The i.MX35 has two bits per clock gate which are decoded as follows:
            0b00 -> clock off
            0b01 -> clock is on in run mode, off in wait/doze
            0b10 -> clock is on in run/wait mode, off in doze
            0b11 -> clock is always on
      
      The reset value for the MAX clock is 0b10.
      
      The MAX clock is needed by the SoC, yet unused in the Kernel, so the
      common clock framework will disable it during late init time. It will
      only disable clocks though which it detects as being turned on. This
      detection is made depending on the lower bit of the gate. If the reset
      value has been altered by the bootloader to 0b11 the clock framework
      will detect the clock as turned on, yet unused, hence it will turn it
      off and the system locks up.
      
      This patch turns the MAX clock on unconditionally making the Kernel
      independent of the bootloader.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      5dc2eb7d
    • S
      ARM: Scorpion is a v7 architecture, not v6 · 8dda05cc
      Stephen Boyd 提交于
      Scorpion processors have always been v7 CPUs. Fix the Kconfig
      text to reflect this.
      Reported-by: NStepan Moskovchenko <stepanm@codeaurora.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      8dda05cc
    • H
      ARM: mmp: add platform_device head file in gplugd · e71dc5f7
      Haojian Zhuang 提交于
      arch/arm/mach-mmp/gplugd.c: In function ‘gplugd_init’:
      arch/arm/mach-mmp/gplugd.c:188:2: error: implicit declaration of
      function ‘platform_device_register’
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[1]: *** [arch/arm/mach-mmp/gplugd.o] Error 1
      make: *** [arch/arm/mach-mmp] Error 2
      
      So append platform_device.h to resolve build issue.
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
      e71dc5f7
    • A
      [media] s5p-fimc: fix s5pv210 build · 01ffe957
      Arnd Bergmann 提交于
      56bc911a "[media] s5p-fimc: Redefine platform data structure for fimc-is"
      changed the bus_type member of struct fimc_source_info treewide, but
      got one instance wrong in mach-s5pv210, which was evidently not
      even build tested.
      
      This adds the missing change to get s5pv210_defconfig to build again.
      Applies on the Mauro's media tree.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      01ffe957
  8. 14 3月, 2013 4 次提交
  9. 13 3月, 2013 4 次提交
  10. 12 3月, 2013 8 次提交
  11. 11 3月, 2013 2 次提交