1. 23 5月, 2012 8 次提交
    • S
      mfd: Fix twl6040 build failure · ca2cad6a
      Samuel Ortiz 提交于
      Without it we get:
      
       CC      drivers/mfd/twl6040-core.o
      drivers/mfd/twl6040-core.c: In function ‘twl6040_has_vibra’:
      drivers/mfd/twl6040-core.c:55:2: error: implicit declaration of function
      ‘of_find_node_by_name’ [-Werror=implicit-function-declaration]
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      ca2cad6a
    • S
      mfd: Fix max77693 build failure · 78302a19
      Samuel Ortiz 提交于
      Without it we get:
      
      drivers/mfd/max77693.c: In function ‘max77693_i2c_probe’:
      drivers/mfd/max77693.c:157:2: error: implicit declaration of function
      ‘max77693_irq_init’ [-Werror=implicit-function-declaration]
      drivers/mfd/max77693.c: In function ‘max77693_resume’:
      drivers/mfd/max77693.c:215:2: error: implicit declaration of function
      ‘max77693_irq_resume’ [-Werror=implicit-function-declaration]
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_lock’:
      drivers/mfd/max77693-irq.c:104:2: error: ‘struct max77693_dev’ has no member
      named ‘irqlock’
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_sync_unlock’:
      drivers/mfd/max77693-irq.c:119:11: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cache’
      drivers/mfd/max77693-irq.c:119:42: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:122:13: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:125:24: error: ‘struct max77693_dev’ has no member
      named ‘irqlock’
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_mask’:
      drivers/mfd/max77693-irq.c:141:11: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:143:11: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_unmask’:
      drivers/mfd/max77693-irq.c:153:11: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:155:11: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_thread’:
      drivers/mfd/max77693-irq.c:209:26: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:211:27: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:217:39: error: ‘struct max77693_dev’ has no member
      named ‘irq_domain’
      drivers/mfd/max77693-irq.c: In function ‘max77693_irq_init’:
      drivers/mfd/max77693-irq.c:260:2: error: ‘struct max77693_dev’ has no member
      named ‘irqlock’
      drivers/mfd/max77693-irq.c:268:12: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:269:12: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cache’
      drivers/mfd/max77693-irq.c:271:12: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cur’
      drivers/mfd/max77693-irq.c:272:12: error: ‘struct max77693_dev’ has no member
      named ‘irq_masks_cache’
      drivers/mfd/max77693-irq.c:292:10: error: ‘struct max77693_dev’ has no member
      named ‘irq_domain’
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      78302a19
    • L
      mfd: ab8500-core should depend on MFD_DB8500_PRCMU · 21f082a6
      Lee Jones 提交于
      A recent move to eliminate excess historical baggage from ab8500 core
      code resulting in errors when building with x86_64 allmodconfig:
      
      In file included from drivers/mfd/ab8500-core.c:21:0:
      include/linux/mfd/dbx500-prcmu.h:614:19: error: redefinition of 'prcmu_abb_read'
      include/linux/mfd/db8500-prcmu.h:673:19: note: previous definition of 'prcmu_abb_read' was here
      include/linux/mfd/dbx500-prcmu.h:619:19: error: redefinition of 'prcmu_abb_write'
      include/linux/mfd/db8500-prcmu.h:678:19: note: previous definition of 'prcmu_abb_write' was here
      include/linux/mfd/dbx500-prcmu.h:630:19: error: redefinition of 'prcmu_config_clkout'
      include/linux/mfd/db8500-prcmu.h:643:19: note: previous definition of 'prcmu_config_clkout' was here
      include/linux/mfd/dbx500-prcmu.h:692:20: error: redefinition of 'prcmu_ac_wake_req'
      include/linux/mfd/db8500-prcmu.h:683:20: note: previous definition of 'prcmu_ac_wake_req' was here
      include/linux/mfd/dbx500-prcmu.h:694:20: error: redefinition of 'prcmu_ac_sleep_req'
      include/linux/mfd/db8500-prcmu.h:685:20: note: previous definition of 'prcmu_ac_sleep_req' was here
      
      Problem:
      When CONFIG_AB8500_CORE is set, building ab8500-core.c and
      !(CONFIG_UX500_SOC_DB8500 | CONFIG_MFD_DB8500_PRCMU), both db8500-prcmu.h
      and dbx500-prcmu.h take it upon themselves to _both_ create 'return 0'
      inline functions for the following:
      
      prcmu_abb_read()
      prcmu_abb_write()
      prcmu_config_clkout()
      prcmu_ac_wake_req()
      prcmu_ac_sleep_req()
      
      Solution:
      Depend on MFD_DB8500_PRCMU, which in turn depends on UX500_SOC_DB8500.
      Reported-By: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      21f082a6
    • L
      gpio: tps65910: dt: process gpio specific device node info · 6fe02e9f
      Laxman Dewangan 提交于
      Parse the gpio specific device node information locally.
      Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      6fe02e9f
    • L
      mfd: Remove the parsing of dt info for tps65910 gpio · dcc7dabd
      Laxman Dewangan 提交于
      Remove the parsing of device node information for sub devices
      from core file.
      The sub devices will parse the information as per the sub-devices
      specific information.
      Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      dcc7dabd
    • L
      mfd: Save device node parsed platform data for tps65910 sub devices · cb8d8654
      Laxman Dewangan 提交于
      Save the allocated memory to store the parsed device node information
      to the global device structure so that sub devices can directly use this
      pointer.
      In this way, the sub devices does not require to re-allocate the
      memory for storing the sub-devices specific device node information.
      Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      cb8d8654
    • J
      mfd: Add r_select to lm3533 platform data · 730a3d01
      Johan Hovold 提交于
      Add resistor-select parameter to the platform data.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      730a3d01
    • S
      gpio: Add Intel Centerton support to gpio-sch · 77820ffa
      Seth Heasley 提交于
      This patch adds the Intel Centerton processor device ID for GPIO.
      The device ID is defined in include/linux/pci_ids.h
      Signed-off-by: NSeth Heasley <seth.heasley@intel.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      77820ffa
  2. 20 5月, 2012 32 次提交