1. 13 Jul, 2012 4 commits
  2. 06 Jul, 2012 3 commits
    • Lee Jones's avatar
      ARM: ux500: Over-ride the DT device naming scheme for pinctrl · 2b667a2d
      Lee Jones authored
      When pin control mapping tables are written the registered device
      name is supplied for use in name-based searches within the pinctrl
      driver. In the case of the DB8500 the string "pinctrl-db8500" is
      used. However, when we register the driver with Device Tree, its
      naming convention uses something that looks more like "pinctrl.2".
      
      To work around the device naming inconsistencies between devices
      registered via platform code and the ones registered by Device
      Tree, we use AUXDATA to over-ride the Device Tree naming scheme.
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      2b667a2d
    • Lee Jones's avatar
      ARM: ux500: Fix build errors/warnings when MACH_UX500_DT is not set · c57920e6
      Lee Jones authored
      When MACH_UX500_DT and all related Device Tree configurations are forced
      off the warning and error below prevent the kernel from compiling. This
      simple patch fixes both issues and allows for full build and boot of
      ST-Ericsson's low-cost development board, Snowball.
      
      Warnings fixed:
        arch/arm/mach-ux500/board-mop500.c:680:32: warning: ‘snowball_of_platform_devs’ defined but not used
      
      Errors fixed:
        arch/arm/mach-ux500/timer.c: In function ‘ux500_timer_init’:
        arch/arm/mach-ux500/timer.c:66:3: error: implicit declaration of function ‘of_find_matching_node’
        arch/arm/mach-ux500/timer.c:66:6: warning: assignment makes pointer from integer without a cast
      
      Cc: stable@vger.kernel.org
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      c57920e6
    • Lee Jones's avatar
      of: address: Don't fail a lookup just because a node has no reg property · 84774e61
      Lee Jones authored
      Sometimes it doesn't make any sense for a node to have an address.
      In this case device lookup will always be unsuccessful because we
      currently assume every node will have a reg property. This patch
      changes the semantics so that the resource address and the lookup
      address will only be compared if one exists.
      
      Things like AUXDATA() rely on of_dev_lookup to return the lookup
      entry of a particular device in order to do things like apply
      platform_data to a device. However, this is currently broken for
      nodes which do not have a reg property, meaning that platform_data
      can not be passed in those cases.
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      84774e61
  3. 30 Jun, 2012 13 commits
  4. 29 Jun, 2012 13 commits
  5. 28 Jun, 2012 7 commits