31 Jul, 2013

1 commit


13 Jun, 2013

1 commit


12 Jun, 2013

1 commit


08 Apr, 2013

1 commit

  • 'data' is a pointer and hence use NULL instead of 0.
    Silences the following warning:
    drivers/mfd/max77686.c:49:50: warning: Using plain integer as NULL pointer

    Signed-off-by: Sachin Kamat
    Cc: Jonghwa Lee
    Signed-off-by: Samuel Ortiz

    Sachin Kamat
     

22 Jan, 2013

1 commit


29 Nov, 2012

1 commit


16 Sep, 2012

1 commit

  • Currently the MFD core supports remapping MFD cell interrupts using an
    irqdomain but only if the MFD is being instantiated using device tree
    and only if the device tree bindings use the pattern of registering IPs
    in the device tree with compatible properties. This will be actively
    harmful for drivers which support non-DT platforms and use this pattern
    for their DT bindings as it will mean that the core will silently change
    remapping behaviour and it is also limiting for drivers which don't do
    DT with this particular pattern. There is also a potential fragility if
    there are interrupts not associated with MFD cells and all the cells are
    omitted from the device tree for some reason.

    Instead change the code to take an IRQ domain as an optional argument,
    allowing drivers to take the decision about the parent domain for their
    interrupts. The one current user of this feature is ab8500-core, it has
    the domain lookup pushed out into the driver.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     

10 Jul, 2012

1 commit


09 Jul, 2012

4 commits

  • This patch adds device tree support for mfd driver and adds
    Documentation/devicetree/bindings/mfd/max77686.txt.
    This patch also intialize max77686 pointer to NULL in max77686_i2c_probe
    to silent a compile time warning.

    Signed-off-by: Yadwinder Singh Brar
    Reviwed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Yadwinder Singh Brar
     
  • Presently driver expects irq_gpio pin in platform data and maps it to irq
    itself. But we can also directly specify the interrupt in DT or platform file.

    Signed-off-by: Yadwinder Singh Brar
    Signed-off-by: Samuel Ortiz

    Yadwinder Singh Brar
     
  • Now this driver is using regmap API, the iolock mutex is not used and
    can be removed.

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • This patch is device driver for MAX77686 chip.
    MAX77686 is PMIC and includes regulator and rtc on it.
    This driver is core of MAX77686 chip, so provides common support for
    accessing on-chip devices. It uses irq_domain to manage irq and regmap
    to read/write data to its register with i2c bus.

    Signed-off-by: Chiwoong Byun
    Signed-off-by: Jonghwa Lee
    Signed-off-by: Myungjoo Ham
    Signed-off-by: Kyungmin Park
    Reviewed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Jonghwa Lee