1. 09 7月, 2012 6 次提交
  2. 21 6月, 2012 1 次提交
  3. 01 6月, 2012 1 次提交
  4. 24 5月, 2012 1 次提交
    • C
      mfd: Fix build break of max77693 by adding REGMAP_I2C option · 29f772d4
      Chanwoo Choi 提交于
      This patch add REGMAP_I2C config option to fix build break
      of max77693 mfd driver because max77693 use regmap interface
      for i2c communication.
      
      drivers/mfd/max77693.c:103: error: variable 'max77693_regmap_config' has initializer but incomplete type
      drivers/mfd/max77693.c:104: error: unknown field 'reg_bits' specified in initializer
      drivers/mfd/max77693.c:104: warning: excess elements in struct initializer
      drivers/mfd/max77693.c:104: warning: (near initialization for 'max77693_regmap_config')
      drivers/mfd/max77693.c:105: error: unknown field 'val_bits' specified in initializer
      drivers/mfd/max77693.c:105: warning: excess elements in struct initializer
      drivers/mfd/max77693.c:105: warning: (near initialization for 'max77693_regmap_config')
      drivers/mfd/max77693.c:106: error: unknown field 'max_register' specified in initializer
      drivers/mfd/max77693.c:106: warning: excess elements in struct initializer
      drivers/mfd/max77693.c:106: warning: (near initialization for 'max77693_regmap_config')
      drivers/mfd/max77693.c: In function 'max77693_i2c_probe':
      drivers/mfd/max77693.c:122: error: implicit declaration of function 'devm_regmap_init_i2c'
      drivers/mfd/max77693.c:122: warning: assignment makes pointer from integer without a cast
      Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NMyungjoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      29f772d4
  5. 23 5月, 2012 5 次提交
    • 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
    • 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
    • M
      regmap: Use select .. if to get IRQ_DOMAIN enabled · 18d5eacb
      Mark Brown 提交于
      Ensure that we can't get randconfig breakage by doing the IRQ_DOMAIN
      select automatically. Don't just do the select from REGMAP_IRQ to ensure
      that the select actually gets noticed.
      Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      18d5eacb
    • 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
  6. 20 5月, 2012 26 次提交