31 Oct, 2013

1 commit


03 Oct, 2013

1 commit


30 Jul, 2013

1 commit

  • On resume the slave controller is reinitialized. The tegra i2c master
    controller disables the clock at the end of the initialiation, propably
    to save some power, and enables it again on each transfer. We don't
    do this yet and also forgot to enable the clock on resume. Fix this
    copy-paste error by not disabling the clock after initialization.

    This didn't striked us yet because suspend/resume hasn't landed in mainline
    yet, but will soon.

    Signed-off-by: Marc Dietrich
    Signed-off-by: Greg Kroah-Hartman

    Marc Dietrich
     

25 Jun, 2013

2 commits


27 May, 2013

1 commit


24 May, 2013

1 commit

  • Pull staging driver fixes from Greg Kroah-Hartman:
    "Here are some staging tree driver fixes for 3.10-rc2

    The drivers/iio/ changes are here as they are still tied into
    drivers/staging/iio/.

    Nothing major, just a number of small bugfixes, and a larger
    documentation update for the ramster code."

    * tag 'staging-3.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (28 commits)
    staging: dwc2: remove compile warning for USB_DWC2_TRACK_MISSED_SOFS
    iio: exynos_adc: fix wrong structure extration in suspend and resume
    iio:common:st: added disable function after read info raw data
    iio: dac: Fix build error when CONFIG_SPI_MASTER=y && CONFIG_I2C=m
    staging:iio:light:tsl2x7x: fix the error handling in tsl2x7x_probe()
    staging/iio/mxs-lradc: fix preenable for multiple buffers
    staging: imx-drm: imx-tve: Check the return value of 'regulator_enable()'
    staging: video: imx: Select VIDEOMODE_HELPERS for parallel display
    staging: ramster: add how-to document
    staging: dwc2: Fix dma-enabled platform devices using a default dma_mask
    staging: vt6656: [bug] Fix missing spin lock in iwctl_siwpower.
    staging: Swap zram and zsmalloc in Kconfig
    staging: android: logger: use kuid_t instead of uid_t
    staging: zcache: Fix incorrect module_param_array types
    staging/solo6x10: depend on CONFIG_FONTS
    staging/drm: imx: add missing dependencies
    staging: ste_rmi4: Suppress 'ignoring return value of ‘regulator_enable()' warning
    staging: sep: fix driver build and kconfig
    staging: nvec: cleanup childs on remove
    staging: nvec: implement unregistering of notifiers
    ...

    Linus Torvalds
     

18 May, 2013

1 commit


17 May, 2013

2 commits


14 May, 2013

7 commits


24 Apr, 2013

1 commit

  • The serio code can be a loadable module, which in turn means that nvec
    also has to be a module, so mark it as "tristate" in Kconfig.

    drivers/built-in.o: In function `nvec_mouse_remove':
    drivers/staging/nvec/nvec_ps2.c:136: undefined reference to `serio_unregister_port'
    drivers/built-in.o: In function `nvec_mouse_probe':
    drivers/staging/nvec/nvec_ps2.c:126: undefined reference to `__serio_register_port'
    drivers/built-in.o: In function `nvec_ps2_notifier':
    drivers/staging/nvec/nvec_ps2.c:84: undefined reference to `serio_interrupt'
    drivers/staging/nvec/nvec_ps2.c:91: undefined reference to `serio_interrupt'

    Signed-off-by: Arnd Bergmann
    Cc: Marc Dietrich
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

26 Mar, 2013

1 commit


22 Feb, 2013

2 commits

  • Pull ARM SoC-specific updates from Arnd Bergmann:
    "This is a larger set of new functionality for the existing SoC
    families, including:

    - vt8500 gains support for new CPU cores, notably the Cortex-A9 based
    wm8850

    - prima2 gains support for the "marco" SoC family, its SMP based
    cousin

    - tegra gains support for the new Tegra4 (Tegra114) family

    - socfpga now supports a newer version of the hardware including SMP

    - i.mx31 and bcm2835 are now using DT probing for their clocks

    - lots of updates for sh-mobile

    - OMAP updates for clocks, power management and USB

    - i.mx6q and tegra now support cpuidle

    - kirkwood now supports PCIe hot plugging

    - tegra clock support is updated

    - tegra USB PHY probing gets implemented diffently"

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (148 commits)
    ARM: prima2: remove duplicate v7_invalidate_l1
    ARM: shmobile: r8a7779: Correct TMU clock support again
    ARM: prima2: fix __init section for cpu hotplug
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 3/3)
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3)
    arm: socfpga: Add SMP support for actual socfpga harware
    arm: Add v7_invalidate_l1 to cache-v7.S
    arm: socfpga: Add entries to enable make dtbs socfpga
    arm: socfpga: Add new device tree source for actual socfpga HW
    ARM: tegra: sort Kconfig selects for Tegra114
    ARM: tegra: enable ARCH_REQUIRE_GPIOLIB for Tegra114
    ARM: tegra: Fix build error w/ ARCH_TEGRA_114_SOC w/o ARCH_TEGRA_3x_SOC
    ARM: tegra: Fix build error for gic update
    ARM: tegra: remove empty tegra_smp_init_cpus()
    ARM: shmobile: Register ARM architected timer
    ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move
    ARM: shmobile: r8a7779: Correct TMU clock support
    ARM: mxs_defconfig: Select CONFIG_DEVTMPFS_MOUNT
    ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
    ARM: mxs: use apbx bus clock to drive the timers on timrotv2
    ...

    Linus Torvalds
     
  • Pull staging tree update from Greg Kroah-Hartman:
    "Here's the big staging tree merge for 3.9-rc1

    Lots of cleanups and updates for drivers all through the staging tree.
    We are pretty much "code neutral" here, adding just about as many
    lines as we removed.

    All of these have been in linux-next for a while."

    * tag 'staging-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (804 commits)
    staging: comedi: vmk80xx: wait for URBs to complete
    staging: comedi: drivers: addi-data: hwdrv_apci3200.c: Add a missing semicolon
    staging: et131x: Update TODO list
    staging: et131x: Remove assignment of skb->dev
    staging: wlan-ng: hfa384x.h: fix for error reported by smatch
    staging/zache checkpatch ERROR: spaces prohibited around that
    staging/ozwpan: Mark read only parameters and structs as const
    staging/ozwpan: Remove empty and unused function oz_cdev_heartbeat
    staging/ozwpan: Mark local functions as static (fix sparse warnings)
    staging/ozwpan: Add missing header includes
    staging/usbip: Mark local functions as static (fix sparse warnings)
    staging/xgifb: Remove duplicated code in loops.
    staging/xgifb: Consolidate return paths
    staging/xgifb: Remove code without effect
    staging/xgifb: Remove unnecessary casts
    staging/xgifb: Consolidate if/else if with identical code branches
    staging: vt6656: replaced custom TRUE definition with true
    staging: vt6656: replaced custom FALSE definition with false
    staging: vt6656: replace custom BOOL definition with bool
    staging/rtl8187se: Mark functions as static to silence sparse
    ...

    Linus Torvalds
     

30 Jan, 2013

3 commits


29 Jan, 2013

2 commits

  • As clock information is added to device tree clock can be looked up
    using clk_get. Remove use of clk_get_sys.

    Signed-off-by: Prashant Gaikwad
    Acked-by: Greg Kroah-Hartman
    Acked-by: Marc Dietrich
    Acked-by: Julian Andres Klode
    [swarren: updated TODO file to remove entry that requested this change]
    Signed-off-by: Stephen Warren

    Prashant Gaikwad
     
  • Migrate Tegra clock support to drivers/clk/tegra, this involves
    moving:
    1. definition of tegra_cpu_car_ops to clk.c
    2. definition of reset functions to clk-peripheral.c
    3. change parent of cpu clock.
    4. Remove legacy clock initialization.
    5. Initialize clocks using DT.
    6. Remove all instance of mach/clk.h

    Signed-off-by: Prashant Gaikwad
    [swarren: use to_clk_periph_gate().]
    Signed-off-by: Stephen Warren

    Prashant Gaikwad
     

23 Jan, 2013

1 commit

  • Convert all uses of devm_request_and_ioremap() to the newly introduced
    devm_ioremap_resource() which provides more consistent error handling.

    devm_ioremap_resource() provides its own error messages so all explicit
    error messages can be removed from the failure code paths.

    Signed-off-by: Thierry Reding
    Signed-off-by: Greg Kroah-Hartman

    Thierry Reding
     

13 Dec, 2012

1 commit

  • Pull ARM SoC cleanups on various subarchitectures from Olof Johansson:
    "Cleanup patches for various ARM platforms and some of their associated
    drivers. There's also a branch in here that enables Freescale i.MX to
    be part of the multiplatform support -- the first "big" SoC that is
    moved over (more multiplatform work comes in a separate branch later
    during the merge window)."

    Conflicts fixed as per Olof, including a silent semantic one in
    arch/arm/mach-omap2/board-generic.c (omap_prcm_restart() was renamed to
    omap3xxx_restart(), and a new user of the old name was added).

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (189 commits)
    ARM: omap: fix typo on timer cleanup
    ARM: EXYNOS: Remove unused regs-mem.h file
    ARM: EXYNOS: Remove unused non-dt support for dwmci controller
    ARM: Kirkwood: Use hw_pci.ops instead of hw_pci.scan
    ARM: OMAP3: cm-t3517: use GPTIMER for system clock
    ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER
    ARM: SAMSUNG: use devm_ functions for ADC driver
    ARM: EXYNOS: no duplicate mask/unmask in eint0_15
    ARM: S3C24XX: SPI clock channel setup is fixed for S3C2443
    ARM: EXYNOS: Remove i2c0 resource information and setting of device names
    ARM: Kirkwood: checkpatch cleanups
    ARM: Kirkwood: Fix sparse warnings.
    ARM: Kirkwood: Remove unused includes
    ARM: kirkwood: cleanup lsxl board includes
    ARM: integrator: use BUG_ON where possible
    ARM: integrator: push down SC dependencies
    ARM: integrator: delete static UART1 mapping
    ARM: integrator: delete SC mapping on the CP
    ARM: integrator: remove static CP syscon mapping
    ARM: integrator: remove static AP syscon mapping
    ...

    Linus Torvalds
     

27 Nov, 2012

1 commit


22 Nov, 2012

4 commits


06 Nov, 2012

1 commit


03 Oct, 2012

1 commit

  • Pull workqueue changes from Tejun Heo:
    "This is workqueue updates for v3.7-rc1. A lot of activities this
    round including considerable API and behavior cleanups.

    * delayed_work combines a timer and a work item. The handling of the
    timer part has always been a bit clunky leading to confusing
    cancelation API with weird corner-case behaviors. delayed_work is
    updated to use new IRQ safe timer and cancelation now works as
    expected.

    * Another deficiency of delayed_work was lack of the counterpart of
    mod_timer() which led to cancel+queue combinations or open-coded
    timer+work usages. mod_delayed_work[_on]() are added.

    These two delayed_work changes make delayed_work provide interface
    and behave like timer which is executed with process context.

    * A work item could be executed concurrently on multiple CPUs, which
    is rather unintuitive and made flush_work() behavior confusing and
    half-broken under certain circumstances. This problem doesn't
    exist for non-reentrant workqueues. While non-reentrancy check
    isn't free, the overhead is incurred only when a work item bounces
    across different CPUs and even in simulated pathological scenario
    the overhead isn't too high.

    All workqueues are made non-reentrant. This removes the
    distinction between flush_[delayed_]work() and
    flush_[delayed_]_work_sync(). The former is now as strong as the
    latter and the specified work item is guaranteed to have finished
    execution of any previous queueing on return.

    * In addition to the various bug fixes, Lai redid and simplified CPU
    hotplug handling significantly.

    * Joonsoo introduced system_highpri_wq and used it during CPU
    hotplug.

    There are two merge commits - one to pull in IRQ safe timer from
    tip/timers/core and the other to pull in CPU hotplug fixes from
    wq/for-3.6-fixes as Lai's hotplug restructuring depended on them."

    Fixed a number of trivial conflicts, but the more interesting conflicts
    were silent ones where the deprecated interfaces had been used by new
    code in the merge window, and thus didn't cause any real data conflicts.

    Tejun pointed out a few of them, I fixed a couple more.

    * 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq: (46 commits)
    workqueue: remove spurious WARN_ON_ONCE(in_irq()) from try_to_grab_pending()
    workqueue: use cwq_set_max_active() helper for workqueue_set_max_active()
    workqueue: introduce cwq_set_max_active() helper for thaw_workqueues()
    workqueue: remove @delayed from cwq_dec_nr_in_flight()
    workqueue: fix possible stall on try_to_grab_pending() of a delayed work item
    workqueue: use hotcpu_notifier() for workqueue_cpu_down_callback()
    workqueue: use __cpuinit instead of __devinit for cpu callbacks
    workqueue: rename manager_mutex to assoc_mutex
    workqueue: WORKER_REBIND is no longer necessary for idle rebinding
    workqueue: WORKER_REBIND is no longer necessary for busy rebinding
    workqueue: reimplement idle worker rebinding
    workqueue: deprecate __cancel_delayed_work()
    workqueue: reimplement cancel_delayed_work() using try_to_grab_pending()
    workqueue: use mod_delayed_work() instead of __cancel + queue
    workqueue: use irqsafe timer for delayed_work
    workqueue: clean up delayed_work initializers and add missing one
    workqueue: make deferrable delayed_work initializer names consistent
    workqueue: cosmetic whitespace updates for macro definitions
    workqueue: deprecate system_nrt[_freezable]_wq
    workqueue: deprecate flush[_delayed]_work_sync()
    ...

    Linus Torvalds
     

17 Sep, 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
     

05 Sep, 2012

3 commits