1. 03 5月, 2013 1 次提交
    • A
      ARM: SPEAr: conditionalize SMP code · a94d236d
      Arnd Bergmann 提交于
      Some constant definitions are only defined for spear13xx, so
      we must not attempt to build SPEAr SMP support when that
      SoC is not enabled.
      
      arch/arm/mach-spear/platsmp.c:25:35:
       error: 'VA_SCU_BASE' undeclared here (not in a function)
       arch/arm/mach-spear/platsmp.c: In function 'spear13xx_smp_prepare_cpus':
       arch/arm/mach-spear/platsmp.c:111:58: error: 'SYS_LOCATION' undeclared (first use in this function)
      
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      a94d236d
  2. 19 4月, 2013 3 次提交
  3. 18 4月, 2013 2 次提交
  4. 16 4月, 2013 2 次提交
  5. 09 4月, 2013 8 次提交
  6. 04 4月, 2013 15 次提交
    • A
      arm: dss-common: don't use reset_gpio from omap4_panda_dvi_device · 29cdecab
      Archit Taneja 提交于
      gpio reset info is passed to the tfp410 panel driver via the panel's platform
      data struct 'tfp410_platform_data'. The tfp driver doesn't use the reset_gpio
      field in the omap4_panda_dvi_device struct. Remove this field.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      29cdecab
    • A
      arm: omap boards: Remove unnecessary platform_enable/disable callbacks for VENC devices · fe5c5fba
      Archit Taneja 提交于
      The omap_dss_device's platform_enable/disable callbacks don't do anything for
      any of the boards. The platform calls from the VENC driver will also be removed
      in the future. Remove these calls from the board which have a VENC device.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      fe5c5fba
    • A
      arm: omap: dss-common: use picodlp panel's gpio handling · e5e53322
      Archit Taneja 提交于
      The dss-common file currently requests gpios required by the picodlp DPI
      panel on the 4430sdp/blaze board. It also requests DISPLAY_SEL_GPIO and
      DLP_POWER_ON_GPIO gpios which are board specific gpios to switch between lcd2
      panel and picodlp, and setting intermediate power supplies for picodlp
      respectively. These gpios are toggled through platform_enable/disable functions
      called by the picodlp driver.
      
      Remove the gpio requests for the gpios which are already requested by the panel
      driver, and remove the platform callback functions and set the platform specific
      gpios in such a way that lcd2 panel is selected for the LCD2 overlay manager and
      the power supplies for picodlp are disabled.
      
      Note: We need to revisit this so that we can enable and switch to picodlp if
      that's the only panel driver available for the LCD2 overlay manager.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      e5e53322
    • 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
  7. 03 4月, 2013 7 次提交
    • P
      ARM: 7690/1: mm: fix CONFIG_LPAE typos · 4e1db26a
      Paul Bolle 提交于
      CONFIG_LPAE doesn't exist: the correct option is CONFIG_ARM_LPAE, so fix
      up the two typos under arch/arm/.
      
      The fix to head.S is slightly scary, but this is just for setting up
      an early io-mapping for the serial port when running on a big-endian,
      LPAE system. Since these systems don't exist in the wild (at least, I
      have no access to one outside of kvmtool, which doesn't provide a serial
      port suitable for earlyprintk), then we can revisit the code later if it
      causes any problems.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4e1db26a
    • R
      ARM: 7689/1: add unwind annotations to ftrace asm · b21e023b
      Rabin Vincent 提交于
      Add unwind annotations to the ftrace assembly code so that the function
      tracer's stacktracing options (func_stack_trace, etc.) work when
      CONFIG_ARM_UNWIND is enabled.
      Signed-off-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b21e023b
    • W
      ARM: 7685/1: delay: use private ticks_per_jiffy field for timer-based delay ops · 6f3d90e5
      Will Deacon 提交于
      Commit 70264367 ("ARM: 7653/2: do not scale loops_per_jiffy when
      using a constant delay clock") fixed a problem with our timer-based
      delay loop, where loops_per_jiffy is scaled by cpufreq yet used directly
      by the timer delay ops.
      
      This patch fixes the problem in a more elegant way by keeping a private
      ticks_per_jiffy field in the delay ops, independent of loops_per_jiffy
      and therefore not subject to scaling. The loop-based delay continues to
      use loops_per_jiffy directly, as it should.
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6f3d90e5
    • C
      ARM: 7684/1: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations) · 93dc6887
      Catalin Marinas 提交于
      On Cortex-A15 (r0p0..r3p2) the TLBI/DSB are not adequately shooting down
      all use of the old entries. This patch implements the erratum workaround
      which consists of:
      
      1. Dummy TLBIMVAIS and DSB on the CPU doing the TLBI operation.
      2. Send IPI to the CPUs that are running the same mm (and ASID) as the
         one being invalidated (or all the online CPUs for global pages).
      3. CPU receiving the IPI executes a DMB and CLREX (part of the exception
         return code already).
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      93dc6887
    • R
      ARM: 7682/1: cache-l2x0: fix masking of RTL revision numbering and set_debug init · 6e7aceeb
      Rob Herring 提交于
      Commit b8db6b88 (ARM: 7547/4: cache-l2x0: add support for Aurora L2 cache
      ctrl) moved the masking of the part ID which caused the RTL version to be
      lost. Commit 6248d060 (ARM: 7545/1: cache-l2x0: make outer_cache_fns a
      field of l2x0_of_data) changed how .set_debug is initialized. Both commits
      break commit 74ddcdb8 (ARM: 7608/1: l2x0: Only set .set_debug
      on PL310 r3p0 and earlier) which uses the RTL version to conditionally set
      .set_debug function pointer. Commit b8db6b88 also caused the printed cache
      ID to be missing the version information.
      
      Fix this by reverting how the part number is masked so the RTL version
      info is maintained. The cache-id-part DT property does not set the RTL
      bits so masking them should have no effect. Also, re-arrange the order
      of the function pointer init so the .set_debug function can be overridden.
      Reported-by: NPaolo Pisati <paolo.pisati@canonical.com>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
      Cc: Yehuda Yitschak <yehuday@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6e7aceeb
    • R
      ARM: iWMMXt: always enable iWMMXt support with PJ4 CPUs · 698613b6
      Russell King 提交于
      Jason Cooper reports these build errors:
      arch/arm/kernel/built-in.o: In function `iwmmxt_do':
      /.../arch/arm/kernel/pj4-cp0.c:36: undefined reference to `iwmmxt_task_release'
      /.../arch/arm/kernel/pj4-cp0.c:40: undefined reference to `iwmmxt_task_switch'
      make: *** [vmlinux] Error 1
      
      This is caused because the PJ4 code explicitly references the iWMMXt
      code, but doesn't require it to be built.  Fix this by ensuring that
      iWMMXt is always enabled with PJ4.
      Reported-by: NJason Cooper <jason@lakedaemon.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      698613b6
    • 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
  8. 01 4月, 2013 2 次提交