08 Feb, 2013

1 commit

  • For cpufreq example, it takes 13 steps (25 mV for one step) to increase
    vddcore from 0.95 V to 1.275 V, and the time of 64 clock cycles at
    24 MHz for one step is ~2.67 uS, so the total delay time would be
    ~34.71 uS. But the current calculation in the driver gives 39 uS.
    Change the formula to have the addition of 1 be the last step, so that
    we can get a more precise delay time. For example above, the new
    formula will give 35 uS.

    Signed-off-by: Shawn Guo
    Signed-off-by: Mark Brown

    Shawn Guo
     

31 Jan, 2013

1 commit

  • some of anatop's regulators(cpu, vddpu and vddsoc) have
    register settings about LDO's step time, which will impact
    the LDO ramp up speed, need to use set_voltage_time_sel
    interface to add necessary delay everytime LDOs' voltage
    is increased.

    offset 0x170:
    bit [24-25]: cpu
    bit [26-27]: vddpu
    bit [28-29]: vddsoc

    field definition:
    0'b00: 64 cycles of 24M clock;
    0'b01: 128 cycles of 24M clock;
    0'b02: 256 cycles of 24M clock;
    0'b03: 512 cycles of 24M clock;

    Signed-off-by: Anson Huang
    Acked-by: Shawn Guo
    Signed-off-by: Mark Brown

    Anson Huang
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Liam Girdwood
    Cc: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

10 Dec, 2012

3 commits


20 Nov, 2012

3 commits


05 Oct, 2012

1 commit

  • Pull MFD changes from Samuel Ortiz:
    "MFD bits for the 3.7 merge window.

    As usual we have a few new drivers:

    - TI LP8788
    - TI OMAP USB TLL
    - Maxim MAX8907
    - SMSC ECE1099
    - Dialog Semiconductor DA9055
    - A simpler syscon driver that allow us to get rid of the anatop one.

    Drivers are also gradually getting Device Tree and IRQ domain support.

    The following drivers got DT support:
    - palmas, 88pm860x, tc3589x and twl4030-audio

    And those ones now use the IRQ domain APIs:
    - 88pm860x, tc3589x, db8500_prcmu

    Also some other interesting changes:
    - Intel's ICH LPC now supports Lynx Point
    - TI's twl4030-audio added a GPO child
    - tps6527 enabled its backlight subdevice
    - The twl6030 pwm driver moved to the new PWM subsystem

    And finally a bunch of cleanup and casual fixes for mc13xxx, 88pm860x,
    palmas, ab8500, wm8994, wm5110, max8907 and the tps65xxx family."

    Fix up various annoying conflicts: the DT and IRQ domain support came in
    twice and was already in 3.6. And then it was apparently rebased.

    Guys, DON'T REBASE!

    * tag 'mfd-3.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (89 commits)
    ARM: dts: Enable 88pm860x pmic
    mfd: 88pm860x: Move gpadc init into touch
    mfd: 88pm860x: Device tree support
    mfd: 88pm860x: Use irqdomain
    mfd: smsc: Add support for smsc gpio io/keypad driver
    backlight: tps65217_bl: Add missing platform_set_drvdata in tps65217_bl_probe
    mfd: DA9055 core driver
    mfd: tps65910: Add alarm interrupt of TPS65910 RTC to mfd device list
    mfd: wm5110: Add register patches for revision B
    mfd: wm5110: Disable control interface error report for WM5110 rev B
    mfd: max8907: Remove regulator-compatible from DT docs
    backlight: Add TPS65217 WLED driver
    mfd: Add backlight as subdevice to the tps65217
    mfd: Provide the PRCMU with its own IRQ domain
    mfd: Fix max8907 sparse warning
    mfd: Add lp8788 mfd driver
    mfd: dbx500: Provide a more accurate smp_twd clock
    mfd: rc5t583: Fix warning messages
    regulator: palmas: Add DT support
    mfd: palmas: Change regulator defns to better suite DT
    ...

    Linus Torvalds
     

17 Sep, 2012

1 commit


08 Aug, 2012

1 commit


25 Jun, 2012

1 commit


11 Jun, 2012

1 commit


04 Jun, 2012

1 commit


03 Jun, 2012

1 commit


30 May, 2012

1 commit

  • Pull MFD changes from Samuel Ortiz:
    "Besides the usual cleanups, this one brings:

    * Support for 5 new chipsets: Intel's ICH LPC and SCH Centerton,
    ST-E's STAX211, Samsung's MAX77693 and TI's LM3533.

    * Device tree support for the twl6040, tps65910, da9502 and ab8500
    drivers.

    * Fairly big tps56910, ab8500 and db8500 updates.

    * i2c support for mc13xxx.

    * Our regular update for the wm8xxx driver from Mark."

    Fix up various conflicts with other trees, largely due to ab5500 removal
    etc.

    * tag 'mfd-3.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (106 commits)
    mfd: Fix build break of max77693 by adding REGMAP_I2C option
    mfd: Fix twl6040 build failure
    mfd: Fix max77693 build failure
    mfd: ab8500-core should depend on MFD_DB8500_PRCMU
    gpio: tps65910: dt: process gpio specific device node info
    mfd: Remove the parsing of dt info for tps65910 gpio
    mfd: Save device node parsed platform data for tps65910 sub devices
    mfd: Add r_select to lm3533 platform data
    gpio: Add Intel Centerton support to gpio-sch
    mfd: Emulate active low IRQs as well as active high IRQs for wm831x
    mfd: Mark two lm3533 zone registers as volatile
    mfd: Fix return type of lm533 attribute is_visible
    mfd: Enable Device Tree support in the ab8500-pwm driver
    mfd: Enable Device Tree support in the ab8500-sysctrl driver
    mfd: Add support for Device Tree to twl6040
    mfd: Register the twl6040 child for the ASoC codec unconditionally
    mfd: Allocate twl6040 IRQ numbers dynamically
    mfd: twl6040 code cleanup in interrupt initialization part
    mfd: Enable ab8500-gpadc driver for Device Tree
    mfd: Prevent unassigned pointer from being used in ab8500-gpadc driver
    ...

    Linus Torvalds
     

20 May, 2012

1 commit


12 May, 2012

1 commit


11 Apr, 2012

2 commits


03 Apr, 2012

1 commit

  • There is a name collision between 'struct platform_driver
    anatop_regulator' and 'struct anatop_regulator', which causes some
    section mismatch warnings like below.

    WARNING: vmlinux.o(.data+0x154d4): Section mismatch in reference from the variable anatop_regulator to the function .devinit.text:anatop_regulator_probe()
    The variable anatop_regulator references
    the function __devinit anatop_regulator_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

    Rename 'struct platform_driver anatop_regulator' to
    'struct platform_driver anatop_regulator_driver' to fix the warnings.

    Signed-off-by: Shawn Guo
    Cc: Ying-Chun Liu (PaulLiu)
    Signed-off-by: Mark Brown

    Shawn Guo
     

28 Mar, 2012

1 commit


14 Mar, 2012

1 commit

  • Anatop is an integrated regulator inside i.MX6 SoC.
    There are 3 digital regulators which controls PU, CORE (ARM), and SOC.
    And 3 analog regulators which controls 1P1, 2P5, 3P0 (USB).
    This patch adds the Anatop regulator driver.

    Signed-off-by: Nancy Chen
    Signed-off-by: Ying-Chun Liu (PaulLiu)
    Acked-by: Shawn Guo
    Reviewed-by: Axel Lin
    Signed-off-by: Mark Brown

    Ying-Chun Liu (PaulLiu)