26 Oct, 2012

1 commit


11 Oct, 2012

1 commit

  • Commit 6b8029fab641 ("rtc: kconfig: remove unnecessary dependencies")
    removed various 'depends on RTC_CLASS' dependencies but also removed a
    few 'default RTC_CLASS' statements, which actually changed default
    behavior.

    This resulted in the various RTC interfaces (sysfs, proc, dev) all being
    disabled by default, even when RTC_CLASS is enabled:

    # CONFIG_RTC_INTF_SYSFS is not set
    # CONFIG_RTC_INTF_PROC is not set
    # CONFIG_RTC_INTF_DEV is not set

    which is different from previous behavior (all of these where enabled.)

    To fix, add back the 'default RTC_CLASS' statments to each of the
    RTC_INTF_* options.

    I noticed this because some RTC tests started failing on my TI OMAP
    platforms because /dev/rtc0 was not present anymore, even though the
    driver was present and RTC_CLASS was enabled.

    Signed-off-by: Kevin Hilman
    Acked-by: Venu Byravarasu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Hilman
     

06 Oct, 2012

29 commits

  • Merge misc patches from Andrew Morton:
    "The MM tree is rather stuck while I wait to find out what the heck is
    happening with sched/numa. Probably I'll need to route around all the
    code which was added to -next, sigh.

    So this is "everything else", or at least most of it - other small
    bits are still awaiting resolutions of various kinds."

    * emailed patches from Andrew Morton : (180 commits)
    lib/decompress.c add __init to decompress_method and data
    kernel/resource.c: fix stack overflow in __reserve_region_with_split()
    omfs: convert to use beXX_add_cpu()
    taskstats: cgroupstats_user_cmd() may leak on error
    aoe: update aoe-internal version number to 50
    aoe: update documentation to better reflect aoe-plus-udev usage
    aoe: remove unused code
    aoe: make dynamic block minor numbers the default
    aoe: update and specify AoE address guards and error messages
    aoe: retain static block device numbers for backwards compatibility
    aoe: support more AoE addresses with dynamic block device minor numbers
    aoe: update documentation with new URL and VM settings reference
    aoe: update copyright year in touched files
    aoe: update internal version number to 49
    aoe: remove unused code and add cosmetic improvements
    aoe: increase net_device reference count while using it
    aoe: associate frames with the AoE storage target
    aoe: disallow unsupported AoE minor addresses
    aoe: do revalidation steps in order
    aoe: failover remote interface based on aoe_deadsecs parameter
    ...

    Linus Torvalds
     
  • Add basic get/set alarm support for the Seiko Instruments S-35390A. The
    chip is used on the QNAP TS-219P+ NAS device.

    Signed-off-by: Michael Langer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Langer
     
  • Commit c3b79770e51a ("rtc: m41t80: Workaround broken alarm
    functionality") disabled m41t80's alarm functions. But since those
    functions were not touched, building this driver triggers these GCC
    warnings:

    drivers/rtc/rtc-m41t80.c:216:12: warning: 'm41t80_rtc_alarm_irq_enable' defined but not used [-Wunused-function]
    drivers/rtc/rtc-m41t80.c:238:12: warning: 'm41t80_rtc_set_alarm' defined but not used [-Wunused-function]
    drivers/rtc/rtc-m41t80.c:308:12: warning: 'm41t80_rtc_read_alarm' defined but not used [-Wunused-function]

    Remove these functions (and the commented out references to them) to
    silence these warnings. Anyone wanting to fix the alarm irq functionality
    can easily find the removed code in the git log of this file or through
    some web searches.

    Signed-off-by: Paul Bolle
    Cc: John Stultz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Bolle
     
  • As RTC driver needs only irq number from platform data, using
    platform_get_irq(), instead of generic dev_get_platdata().

    Signed-off-by: Venu Byravarasu
    Acked-by: Stephen Warren
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Venu Byravarasu
     
  • Signed-off-by: Ulf Hansson
    Acked-by: Linus Walleij
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ulf Hansson
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future. while at it also fix a checkpatch
    warn WARNING: sizeof rs5c->buf should be sizeof(rs5c->buf)

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Convert the struct i2c_msg initialization to C99 format. This makes
    maintaining and editing the code simpler. Also helps once other fields
    like transferred are added in future.

    Signed-off-by: Shubhrajyoti D
    Reviewed-by: Felipe Balbi
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shubhrajyoti D
     
  • Return the value returned by platform_get_irq() instead of -ENOENT;

    Signed-off-by: Sachin Kamat
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sachin Kamat
     
  • Without this patch /sys/class/rtc/$CONFIG_RTC_HCTOSYS_DEVICE/hctosys
    contains a 1 (meaning "This rtc was used to initialize the system
    clock") even if setting the time by do_settimeofday() at bootup failed.
    The RTC can also be used to set the clock on resume, if it did 1,
    otherwise 0. Previously there was no indication if the RTC was used
    to set the clock in resume.

    This uses only CONFIG_RTC_HCTOSYS_DEVICE for conditional compilation
    instead of it and CONFIG_RTC_HCTOSYS to be more consistent.
    rtc_hctosys_ret was moved to class.c so class.c no longer depends on
    hctosys.c.

    [sfr@canb.auug.org.au: fix build]
    Signed-off-by: David Fries
    Cc: Matthew Garrett
    Cc: Alessandro Zummo
    Cc: Uwe Kleine-König
    Signed-off-by: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Fries
     
  • Converting to module_platform_driver can make the code smaller and cleaner.

    Signed-off-by: Fabio Estevam
    Cc: Sascha Hauer
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fabio Estevam
     
  • i.mx drivers should use clk_prepare_enable/clk_disable_unprepare() in
    order to avoid clk warnings.

    While at it, convert to devm_clk_get() since other devm_ functions are
    used in this driver and it can also save some clk_put() calls.

    Signed-off-by: Fabio Estevam
    Acked-by: Sascha Hauer
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fabio Estevam
     
  • clk_prepare_enable and clk_disable_unprepare combine clk_prepare and
    clk_enable, and clk_disable and clk_unprepare. They make the code more
    concise, and ensure that clk_unprepare is called when clk_enable fails.

    A simplified version of the semantic patch that introduces calls to these
    functions is as follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression e;
    @@

    - clk_prepare(e);
    - clk_enable(e);
    + clk_prepare_enable(e);

    @@
    expression e;
    @@

    - clk_disable(e);
    - clk_unprepare(e);
    + clk_disable_unprepare(e);
    //

    Signed-off-by: Julia Lawall
    Acked-by: Linus Walleij
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Julia Lawall
     
  • Add an RTC driver for the RTC device on Ricoh MFD Rc5t583. Ricoh RTC has
    3 types of alarms. The current patch adds support for the Y-Alarm of
    RC5t583 RTC.

    Signed-off-by: Venu Byravarasu
    Cc: Alessandro Zummo
    Cc: Mark Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Venu Byravarasu
     
  • There are several comparisons of a unsigned int to less than zero int
    spear RTC driver. Such a check will always be true. In all these cases a
    signed int is assigned to the unsigned variable, which is checked, before.
    So the right fix is to make the checked variable signed as well. In one
    case the check can be dropped completely, because all it does it returns
    'err' if 'err' is less than zero, otherwise it returns 0. Since in this
    particular case 'err' is always either 0 or less this is the same as just
    returning 'err'.

    The issue has been found using the following coccinelle semantic patch:

    //
    @@
    type T;
    unsigned T i;
    @@
    (
    *i < 0
    |
    *i >= 0
    )
    //

    Signed-off-by: Lars-Peter Clausen
    Cc: Viresh Kumar
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lars-Peter Clausen
     
  • The irq field of the jz4740_irc struct is unsigned. Yet we assign the
    result of platform_get_irq() to it. platform_get_irq() may return a
    negative error code and the code checks for this condition by checking if
    'irq' is less than zero. But since 'irq' is unsigned this test will
    always be false. Fix it by making 'irq' signed.

    The issue was found using the following coccinelle semantic patch:

    //
    @@
    type T;
    unsigned T i;
    @@
    (
    *i < 0
    |
    *i >= 0
    )
    //

    Signed-off-by: Lars-Peter Clausen
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lars-Peter Clausen
     
  • Remove "depends on RTC_CLASS = y" for multiple Kconfig definitions, as all
    of them are already placed under "if RTC_CLASS".

    Signed-off-by: Venu Byravarasu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Venu Byravarasu
     
  • The MAX8907 is an I2C-based power-management IC containing voltage
    regulators, a reset controller, a real-time clock, and a touch-screen
    controller.

    The driver is based on an original by or fixed by:
    * Tom Cherry
    * Prashant Gaikwad
    * Joseph Yoon

    During upstreaming, I (swarren):
    * Converted to regmap.
    * Fixed handling of RTC_HOUR register containing 12.
    * Fixed handling of RTC_WEEKDAY register.
    * General cleanup.

    Signed-off-by: Stephen Warren
    Cc: Tom Cherry
    Cc: Prashant Gaikwad
    Cc: Joseph Yoon
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Warren
     
  • TPS65910 PMIC is a MFD with RTC as one of the device. Adding RTC driver
    for supporting RTC device present inside TPS65910 PMIC.

    Only support for RTC alarm is implemented as part of this patch.

    Signed-off-by: Venu Byravarasu
    Cc: Alessandro Zummo
    Cc: Mark Brown
    Cc: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Venu Byravarasu
     
  • This driver does seems to do only platform_driver_register in the init
    function and platform_driver_unregister in the exit function,

    so replace all this code including the module_init and module_exit with
    module_platform_driver macro...

    Signed-off-by: Devendra Naga
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Devendra Naga
     
  • When calling rtc_device_unregister, we are not freeing the id used by the
    driver. So when doing a unload/load cycle for a RTC driver (e.g. rmmod
    rtc_cmos && modprobe rtc_cmos), its id is incremented by one. As a
    consequence, we no longer have neither an rtc0 driver nor a
    /proc/driver/rtc (as it only exists for the first driver).

    Signed-off-by: Vincent Palatin
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vincent Palatin
     
  • Add an RTC driver for Freescale Secure Non-Volatile Storage (SNVS)
    Low Power (LP) RTC.

    Signed-off-by: Shawn Guo
    Reviewed-by: Stephen Boyd
    Cc: Alessandro Zummo
    Cc: Kim Phillips
    Cc: Sascha Hauer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shawn Guo
     
  • [akpm@linux-foundation.org: fix warning]
    Signed-off-by: Sven Schnelle
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sven Schnelle
     
  • To get time information via /proc/driver/rtc, only the first device (rtc0)
    is used. If the rtcN (eg. rtc1 or rtc2) is used for the system clock,
    there is no way to get information of rtcN via /proc/driver/rtc. With
    this patch, the time data can be retrieved from the system clock RTC.

    If the RTC_HCTOSYS_DEVICE is not defined, then rtc0 is used by default.

    Signed-off-by: Milo(Woogyom) Kim
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kim, Milo
     
  • The ISL1218 chip is identical to the ISL1208, except that it has 6
    additional user-storage registers. This patch does not enable access to
    those additional registers, but only adds the chip name to the list.

    Signed-off-by: Ben Gardner
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Gardner
     

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
     

02 Oct, 2012

2 commits

  • Signed-off-by: Haojian Zhuang
    Signed-off-by: Samuel Ortiz

    Haojian Zhuang
     
  • Pull ARM soc device tree updates from Olof Johansson:
    "Device tree conversion and enablement branch. Mostly a bunch of new
    bindings and setup for various platforms, but the Via/Winchip VT8500
    platform is also converted over from being 100% legacy to now use
    device tree for probing. More of that will come for 3.8."

    Trivial conflicts due to removal of vt8500 files, and one documentation
    file that was added with slightly different contents both here and in
    the USb tree.

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (212 commits)
    arm: vt8500: Fixup for missing gpio.h
    ARM: LPC32xx: LED fix in PHY3250 DTS file
    ARM: dt: mmp-dma: add binding file
    arm: vt8500: Update arch-vt8500 to devicetree support.
    arm: vt8500: gpio: Devicetree support for arch-vt8500
    arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
    arm: vt8500: clk: Add Common Clock Framework support
    video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb
    serial: vt8500: Add devicetree support for vt8500-serial
    rtc: vt8500: Add devicetree support for vt8500-rtc
    arm: vt8500: Add device tree files for VIA/Wondermedia SoC's
    ARM: tegra: Add Avionic Design Tamonten Evaluation Carrier support
    ARM: tegra: Add Avionic Design Medcom-Wide support
    ARM: tegra: Add Avionic Design Plutux support
    ARM: tegra: Add Avionic Design Tamonten support
    ARM: tegra: dts: Add pwm label
    ARM: ux500: Fix SSP register address format
    ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT
    ARM: ux500: Remove redundant #gpio-cell properties from Snowball DT
    ARM: ux500: Add all encompassing sound node to the HREF Device Tree
    ...

    Linus Torvalds
     

24 Sep, 2012

1 commit

  • From Tony Prisk:

    Update arch-vt8500 and drivers to device tree and
    remove existing non-dt code.

    * tag 'vt8500-for-next' of git://git.code.sf.net/p/linuxwmt/code:
    arm: vt8500: Update arch-vt8500 to devicetree support.
    arm: vt8500: gpio: Devicetree support for arch-vt8500
    arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
    arm: vt8500: clk: Add Common Clock Framework support
    video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb
    serial: vt8500: Add devicetree support for vt8500-serial
    rtc: vt8500: Add devicetree support for vt8500-rtc
    arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

    Resolved add/change conflict in drivers/clk/Makefile.

    Signed-off-by: Olof Johansson

    Olof Johansson
     

23 Sep, 2012

1 commit

  • * 'for-arm-soc-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500:
    ARM: ux500: Fix SSP register address format
    ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT
    ARM: ux500: Remove redundant #gpio-cell properties from Snowball DT
    ARM: ux500: Add all encompassing sound node to the HREF Device Tree
    ARM: ux500: Add nodes for the MSP into the HREF Device Tree
    ARM: ux500: Add all known I2C sub-device nodes to the HREF DT
    ARM: ux500: Stop registering I2C sub-devices for HREF when DT is enabled
    ARM: ux500: Stop registering Audio devices for HREF when DT is enabled
    ARM: ux500: Add all encompassing sound node to the Snowball Device Tree
    ARM: ux500: Add nodes for the MSP into Device Tree
    ARM: ux500: Rename MSP board file to something more meaningful
    ARM: ux500: Remove platform registration of MSP devices
    ARM: ux500: Stop registering the MOP500 Audio driver from platform code
    ARM: ux500: Pass MSP DMA platform data though AUXDATA
    ARM: ux500: Fork MSP platform registration for step-by-step DT enablement
    ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree
    ARM: ux500: Clean-up MSP platform code
    ARM: ux500: Pass SDI DMA information though AUX_DATA to MMCI
    ARM: ux500: Add UART support to the HREF Device Tree
    ARM: ux500: Add skeleton Device Tree for the HREF reference board
    ...
    + sync to v3.6-rc6

    Olof Johansson
     

21 Sep, 2012

2 commits

  • Signed-off-by: Tony Prisk
    Reviewed-by: Linus Walleij

    Tony Prisk
     
  • …kernel/git/tmlind/linux-omap into next/dt

    Device tree related changes for omaps.

    Note that this branch is based on omap-cleanup-sparseirq-for-v3.7
    to avoid merge conflicts with the sparseirq changes for gpio-twl4030
    driver.

    * tag 'omap-devel-dt-merged-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    arm/dts: Mux uart pins for omap4-sdp
    ARM: OMAP2+: select PINCTRL in Kconfig
    arm/dts: Add pinctrl driver entries for omap2/3/4
    arm/dts: Add omap36xx.dtsi file and rename omap3-beagle to omap3-beagle-xm
    ARM: dts: omap3-overo: Add support for the blue LED
    Documentation: dt: Update the OMAP documentation with Overo/Toby
    ARM: dts: OMAP3: Add support for Gumstix Overo with Tobi expansion board
    ARM: dts: OMAP4: Add reg and interrupts for every nodes
    ARM: dts: AM33XX: Specify reg and interrupt property for all nodes
    ARM: dts: AM33XX: Convert all hex numbers to lower-case
    ARM: dts: omap3-beagle: Enable audio support
    ARM: dts: omap5: Add McPDM and DMIC section to the dtsi file
    ARM: dts: omap5: Add McBSP entries
    ARM: dts: omap4: Add reg-names for McPDM and DMIC
    ARM: dts: omap4: Add McBSP entries
    ARM: dts: omap3: Add McBSP entries
    ARM: dts: omap2420-h4: Include omap2420.dtsi file instead the common omap2
    ARM: dts: omap2: Add McBSP entries for OMAP2420 and OMAP2430 SoC
    ARM: dts: omap3-beagle: Add heartbeat and mmc LEDs support
    ARM: dts: omap3: Add gpio-twl4030 properties for BeagleBoard and omap3-EVM
    ...

    Olof Johansson
     

20 Sep, 2012

1 commit

  • All AB8500 devices are now registered via MFD core, so Device Tree
    capability is no longer required for probing. Here we pull the DT
    match table to ensure we're no longer probed during Device Tree
    start-up.

    CC: Alessandro Zummo
    CC: rtc-linux@googlegroups.com
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Lee Jones
     

18 Sep, 2012

1 commit

  • On some platforms, bootloaders are known to do some interesting RTC
    programming. Without going into the obscurities as to why this may be
    the case, suffice it to say the the driver should not make any
    assumptions about the state of the RTC when the driver loads. In
    particular, the driver probe should be sure that all interrupts are
    disabled until otherwise programmed.

    This was discovered when finding bursty I2C traffic every second on
    Overo platforms. This I2C overhead was keeping the SoC from hitting
    deep power states. The cause was found to be the RTC firing every
    second on the I2C-connected TWL PMIC.

    Special thanks to Felipe Balbi for suggesting to look for a rogue driver
    as the source of the I2C traffic rather than the I2C driver itself.

    Special thanks to Steve Sakoman for helping track down the source of the
    continuous RTC interrups on the Overo boards.

    Signed-off-by: Kevin Hilman
    Cc: Felipe Balbi
    Tested-by: Steve Sakoman
    Cc: Alessandro Zummo
    Tested-by: Shubhrajyoti Datta
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Hilman