29 Jul, 2013

1 commit

  • commit d817468c4b2892b9468e2a0c92116e38a3a61370 upstream.

    This patch restores serial port operation which has been broken since
    commit 60e93575476f ("serial: samsung: enable clock before clearing
    pending interrupts during init")

    That commit only uncovered the real issue which was missing clkdev
    entries for the "uart" clocks on S3C2440. It went unnoticed so far
    because return value of clk API calls were not being checked at all
    in the samsung serial port driver.

    This patch should be backported to at least 3.10 stable kernel, since
    the serial port has not been working on s3c2440 since 3.10-rc5.

    Signed-off-by: Sylwester Nawrocki
    Cc: Chander Kashyap
    [on S3C2440 SoC based Mini2440 board]
    Tested-by: Sylwester Nawrocki
    Reviewed-by: Tomasz Figa
    Tested-by: Juergen Beisert
    Signed-off-by: Kukjin Kim
    Signed-off-by: Greg Kroah-Hartman

    Sylwester Nawrocki
     

11 Jun, 2013

1 commit


08 Jun, 2013

1 commit

  • Printing low-level debug messages make an assumption that the specified
    UART port has been preconfigured by the bootloader. Incorrectly
    specified UART port results in system getting stalled while printing the
    message "Uncompressing Linux... done, booting the kernel"
    This UART port number is specified through S3C_LOWLEVEL_UART_PORT. Since
    the UART port might different for different board, it is not possible to
    specify it correctly for every board that use a common defconfig file.

    Calling this print subroutine only when DEBUG_LL fixes the problem. By
    disabling DEBUG_LL in default config file, we would be able to boot
    multiple boards with different default UART ports.

    With this current approach, we miss the print "Uncompressing Linux...
    done, booting the kernel." when DEBUG_LL is not defined.

    Signed-off-by: Tushar Behera
    Signed-off-by: Olof Johansson

    Tushar Behera
     

28 May, 2013

1 commit

  • …ne/linux-samsung into fixes

    From Kukjin Kim:

    Fixes following for v3.10
    - to get usb2 working on the Chromebook with adding the
    usb phy node for usb2 on exynos5250
    - supporting exynos4210 rev0 SoC
    - exynos5440 restart applying only to powered-on domains
    - drm-exynos probe failure with adding resource names to
    fimd0 platform device

    * tag 'samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: SAMSUNG: Add names to fimd0 IRQ resources
    ARM: EXYNOS: fix software reset logic for EXYNOS5440 SOC
    ARM: EXYNOS: Fix support of Exynos4210 rev0 SoC
    ARM: dts: Enabling samsung-usb2phy driver for exynos5250

    Olof Johansson
     

25 May, 2013

1 commit

  • Since commit 1977e6d8 (drm/exynos: change the method for getting the
    interrupt) the Exynos DRM FIMD driver requires IRQ resources to be
    named. This patch fixes probe failure in non-DT cases by adding
    appropriate resource names to fimd0 platform device.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Kyungmin Park
    Signed-off-by: Kukjin Kim

    Tomasz Figa
     

18 May, 2013

1 commit


08 May, 2013

1 commit

  • Pull late ARM Exynos multiplatform changes from Arnd Bergmann:
    "These continue the multiplatform support for exynos, adding support
    for building most of the essential drivers (clocksource, clk, irqchip)
    when combined with other platforms. As a result, it should become
    really easy to add full multiplatform exynos support in 3.11, although
    we don't yet enable it for 3.10.

    The changes were not included in the earlier multiplatform series in
    order to avoid clashes with the other Exynos updates.

    This also includes work from Tomasz Figa to fix the pwm clocksource
    code on Exynos, which is not strictly required for multiplatform, but
    related to the other patches in this set and needed as a bug fix for
    at least one board."

    * tag 'multiplatform-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (22 commits)
    ARM: dts: exynops4210: really add universal_c210 dts
    ARM: dts: exynos4210: Add basic dts file for universal_c210 board
    ARM: dts: exynos4: Add node for PWM device
    ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
    clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
    clocksource: samsung_pwm_timer: Correct programming of clock events
    clocksource: samsung_pwm_timer: Use proper clockevents max_delta
    clocksource: samsung_pwm_timer: Add support for non-DT platforms
    clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct
    clocksource: samsung_pwm_timer: Keep all driver data in a structure
    clocksource: samsung_pwm_timer: Make PWM spinlock global
    clocksource: samsung_pwm_timer: Let platforms select the driver
    Documentation: Add device tree bindings for Samsung PWM timers
    clocksource: add samsung pwm timer driver
    irqchip: exynos: look up irq using irq_find_mapping
    irqchip: exynos: pass irq_base from platform
    irqchip: exynos: localize irq lookup for ATAGS
    irqchip: exynos: allocate combiner_data dynamically
    irqchip: exynos: pass max combiner number to combiner_init
    ARM: exynos: add missing properties for combiner IRQs
    ...

    Linus Torvalds
     

07 May, 2013

1 commit

  • This series from Tomasz Figa restores support for the pwm clocksource
    in Exynos, which was broken during the conversion of the platform
    to the common clk framework. The clocksource is only used in one
    board in the mainline kernel (universal_c210), and this makes it
    work for DT based probing as well as restoring the non-DT based
    case.

    * exynos/pwm-clocksource:
    ARM: dts: exynops4210: really add universal_c210 dts
    ARM: dts: exynos4210: Add basic dts file for universal_c210 board
    ARM: dts: exynos4: Add node for PWM device
    ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
    clocksource: samsung_pwm_timer: Work around rounding errors in clockevents core
    clocksource: samsung_pwm_timer: Correct programming of clock events
    clocksource: samsung_pwm_timer: Use proper clockevents max_delta
    clocksource: samsung_pwm_timer: Add support for non-DT platforms
    clocksource: samsung_pwm_timer: Drop unused samsung_pwm struct
    clocksource: samsung_pwm_timer: Keep all driver data in a structure
    clocksource: samsung_pwm_timer: Make PWM spinlock global
    clocksource: samsung_pwm_timer: Let platforms select the driver
    Documentation: Add device tree bindings for Samsung PWM timers
    clocksource: add samsung pwm timer driver

    Conflicts:
    arch/arm/boot/dts/Makefile
    arch/arm/mach-exynos/common.c
    drivers/clocksource/Kconfig
    drivers/clocksource/Makefile

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

05 May, 2013

2 commits

  • Pull ARM platform specific firmware interfaces from Olof Johansson:
    "Two platforms, bcm and exynos have their own firmware interfaces using
    the "secure monitor call", this adds support for those.

    We had originally planned to have a third set of patches in here,
    which would extend support for the existing generic "psci" call that
    is used on multiple platforms as well as Xen and KVM guests, but that
    ended up getting dropped because the patches were not ready in time."

    * tag 'firmware-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: bcm: mark bcm_kona_smc_init as __init
    ARM: bcm281xx: Add DT support for SMC handler
    ARM: bcm281xx: Add L2 cache enable code
    ARM: EXYNOS: Add secure firmware support to secondary CPU bring-up
    ARM: EXYNOS: Add IO mapping for non-secure SYSRAM.
    ARM: EXYNOS: Add support for Exynos secure firmware
    ARM: EXYNOS: Add support for secure monitor calls
    ARM: Add interface for registering and calling firmware-specific operations

    Linus Torvalds
     
  • Pull ARM SoC driver changes from Olof Johansson:
    "This is a rather large set of patches for device drivers that for one
    reason or another the subsystem maintainer preferred to get merged
    through the arm-soc tree. There are both new drivers as well as
    existing drivers that are getting converted from platform-specific
    code into standalone drivers using the appropriate subsystem specific
    interfaces.

    In particular, we can now have pinctrl, clk, clksource and irqchip
    drivers in one file per driver, without the need to call into platform
    specific interface, or to get called from platform specific code, as
    long as all information about the hardware is provided through a
    device tree.

    Most of the drivers we touch this time are for clocksource. Since now
    most of them are part of drivers/clocksource, I expect that we won't
    have to touch these again from arm-soc and can let the clocksource
    maintainers take care of these in the future.

    Another larger part of this series is specific to the exynos platform,
    which is seeing some significant effort in upstreaming and
    modernization of its device drivers this time around, which
    unfortunately is also the cause for the churn and a lot of the merge
    conflicts.

    There is one new subsystem that gets merged as part of this series:
    the reset controller interface, which is a very simple interface for
    taking devices on the SoC out of reset or back into reset. Patches to
    use this interface on i.MX follow later in this merge window, and we
    are going to have other platforms (at least tegra and sirf) get
    converted in 3.11. This will let us get rid of platform specific
    callbacks in a number of platform independent device drivers."

    * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (256 commits)
    irqchip: s3c24xx: add missing __init annotations
    ARM: dts: Disable the RTC by default on exynos5
    clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3}
    ARM: exynos: restore mach/regs-clock.h for exynos5
    clocksource: exynos_mct: fix build error on non-DT
    pinctrl: vt8500: wmt: Fix checking return value of pinctrl_register()
    irqchip: vt8500: Convert arch-vt8500 to new irqchip infrastructure
    reset: NULL deref on allocation failure
    reset: Add reset controller API
    dt: describe base reset signal binding
    ARM: EXYNOS: Add arm-pmu DT binding for exynos421x
    ARM: EXYNOS: Add arm-pmu DT binding for exynos5250
    ARM: EXYNOS: Enable PMUs for exynos4
    irqchip: exynos-combiner: Correct combined IRQs for exynos4
    irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq
    ARM: EXYNOS: fix compilation error introduced due to common clock migration
    clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}
    clk: exynos4: export clocks required for fimc-is
    clk: samsung: Fix compilation error
    clk: tegra: fix enum tegra114_clk to match binding
    ...

    Linus Torvalds
     

04 May, 2013

1 commit

  • Pull sound updates from Takashi Iwai:
    "Mostly many small changes spread as seen in diffstat in sound/*
    directory by this update. A significant change in the subsystem level
    is the introduction of snd_soc_component, which will help more generic
    handling of SoC and off-SoC components.

    Also, snd_BUG_ON() macro is enabled unconditionally now due to its
    misuses, so people might hit kernel warnings (it's a good thing for
    us).

    - compress-offload: support for capture by Charles Keepax
    - HD-audio: codec delay support by Dylan Reid
    - HD-audio: improvements/fixes in generic parser: better headphone
    mic and headset mic support, jack_modes hint consolidation, proper
    beep attach/detachment, generalized power filter controls by David
    Henningsson, et al
    - HD-audio: Improved management of HDMI codec pins/converters
    - HD-audio: Better pin/DAC assignment for VIA codecs
    - HD-audio: Haswell HDMI workarounds
    - HD-audio: ALC268 codec support, a few new quirks for Chromebooks
    - USB: regression fixes: USB-MIDI autopm fix, the recent ISO latency
    fix by Clemens Ladisch
    - USB: support for DSD formats by Daniel Mack
    - USB: A few UAC2 device endian/cock fixes by Eldad Zack
    - USB: quirks for Emu 192kHz support, Novation Twitch DJ controller,
    Yamaha THRxx devices
    - HDSPM: updates for TCO controls by Adrian Knoth
    - ASoC: Add a snd_soc_component object type for generic handling of
    SoC and off-SoC components by Kuninori Morimoto,
    - dmaengine: a large set of cleanups and conversions by Lars-Peter
    Clausen
    - ASoC DAPM: performance optimizations from Ryo Tsutsui
    - ASoC DAPM: support for mixer control sharing by Stephen Warren
    - ASoC: multiplatform ARM cleanups from Arnd Bergmann
    - ASoC: new codec drivers for AK5385 and TAS5086 from Daniel Mack"

    * tag 'sound-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (315 commits)
    ALSA: usb-audio: caiaq: fix endianness bug in snd_usb_caiaq_maschine_dispatch
    ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats
    ALSA: pcm_format_to_bits strong-typed conversion
    ALSA: compress: fix the states to check for allowing read
    ALSA: hda - Move Thinkpad X220 to use auto parser
    ALSA: USB: adjust for changed 3.8 USB API
    ALSA: usb - Avoid unnecessary sample rate changes on USB 2.0 clock sources
    sound: oss/dmabuf: use dma_map_single
    ALSA: ali5451: use mdelay instead of large udelay constants
    ALSA: hda - Add the support for ALC286 codec
    ALSA: usb-audio: USB quirk for Yamaha THR10C
    ALSA: usb-audio: USB quirk for Yamaha THR5A
    ALSA: usb-audio: USB quirk for Yamaha THR10
    ALSA: usb-audio: Fix autopm error during probing
    ALSA: snd-usb: try harder to find USB_DT_CS_ENDPOINT
    ALSA: sound kconfig typo
    ALSA: emu10k1: Fix dock firmware loading
    ASoC: ux500: forward declare msp_i2s_platform_data
    ASoC: davinci-mcasp: Add Support BCLK-to-LRCLK ratio for TDM modes
    ASoC: davinci-pcm, davinci-mcasp: Clean up active_serializers
    ...

    Linus Torvalds
     

03 May, 2013

4 commits

  • Pull i2c changes from Wolfram Sang:

    - an arbitration driver. While the driver is quite simple, it caused
    discussion if we need additional arbitration on top of the one
    specified in the I2C standard. Conclusion is that I accept a few
    generic mechanisms, but not very specific ones.

    - the core lost the detach_adapter() call. It has no users anymore and
    was in the way for other cleanups. attach_adapter() is sadly still
    there since there are users waiting to be converted.

    - the core gained a bus recovery infrastructure. I2C defines a way to
    recover if the data line is stalled. This mechanism is now in the
    core and drivers can now pass some data to make use of it.

    - bigger driver cleanups for designware, s3c2410

    - removing superfluous refcounting from drivers

    - removing Ben Dooks as second maintainer due to inactivity. Thanks
    for all your work so far, Ben!

    - bugfixes, feature additions, devicetree fixups, simplifications...

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (38 commits)
    i2c: xiic: must always write 16-bit words to TX_FIFO
    i2c: octeon: use HZ in timeout value
    i2c: octeon: Fix i2c fail problem when a process is terminated by a signal
    i2c: designware-pci: drop superfluous {get|put}_device
    i2c: designware-plat: drop superfluous {get|put}_device
    i2c: davinci: drop superfluous {get|put}_device
    MAINTAINERS: Ben Dooks is inactive regarding I2C
    i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver
    i2c: at91: convert to dma_request_slave_channel_compat()
    i2c: mxs: do error checking and handling in PIO mode
    i2c: mxs: remove races in PIO code
    i2c-designware: switch to use runtime PM autosuspend
    i2c-designware: use usleep_range() in the busy-loop
    i2c-designware: enable/disable the controller properly
    i2c-designware: use dynamic adapter numbering on Lynxpoint
    i2c-designware-pci: use managed functions pcim_* and devm_*
    i2c-designware-pci: use dev_err() instead of printk()
    i2c-designware: move to managed functions (devm_*)
    i2c: remove CONFIG_HOTPLUG ifdefs
    i2c: s3c2410: Add SMBus emulation for block read
    ...

    Linus Torvalds
     
  • Pull ARM SoC multiplatform updates from Olof Johansson:
    "More multiplatform enablement for ARM platforms. The ones converted
    in this branch are:

    - bcm2835
    - cns3xxx
    - sirf
    - nomadik
    - msx
    - spear
    - tegra
    - ux500

    We're getting close to having most of them converted!

    One of the larger platforms remaining is Samsung Exynos, and there are
    a bunch of supporting patches in this merge window for it. There was
    a patch in this branch to a early version of multiplatform conversion,
    but it ended up being reverted due to need of more bake time. The
    revert commit is part of the branch since it would have required
    rebasing multiple dependent branches and they were stable by then"

    * tag 'multiplatform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (70 commits)
    mmc: sdhci-s3c: Fix operation on non-single image Samsung platforms
    clocksource: nomadik-mtu: fix up clocksource/timer
    Revert "ARM: exynos: enable multiplatform support"
    ARM: SPEAr13xx: Fix typo "ARCH_HAVE_CPUFREQ"
    ARM: exynos: enable multiplatform support
    rtc: s3c: make header file local
    mtd: onenand/samsung: make regs-onenand.h file local
    thermal/exynos: remove unnecessary header inclusions
    mmc: sdhci-s3c: remove platform dependencies
    ARM: samsung: move mfc device definition to s5p-dev-mfc.c
    ARM: exynos: move debug-macro.S to include/debug/
    ARM: exynos: prepare for sparse IRQ
    ARM: exynos: introduce EXYNOS_ATAGS symbol
    ARM: tegra: build assembly files with -march=armv7-a
    ARM: Push selects for TWD/SCU into machine entries
    ARM: ux500: build hotplug.o for ARMv7-a
    ARM: ux500: move to multiplatform
    ARM: ux500: make remaining headers local
    ARM: ux500: make irqs.h local to platform
    ARM: ux500: get rid of
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform updates from Olof Johansson:
    "This branch contains part 1 of the platform updates for 3.10. Among
    the highlights:

    - Support for the new Atmel Cortex-A5 based platforms (SAMA5D3)
    - New support for CSR SiRFatlas6 SoCs
    - A handful of updates for NVidia T114 (a.k.a. Tegra 4)
    - A bunch of updates for the shmobile platforms
    - A handful of updates for davinci
    - A few updates for Qualcomm MSM
    - Plus a handful of other patches, defconfig updates, etc."

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (135 commits)
    ARM: tegra: pm: fix build error w/o PM_SLEEP
    ARM: davinci: ensure global variables are declared
    ARM: davinci: sram.c: fix incorrect type in assignment
    ARM: davinci: da8xx dt: make file local symbols static
    ARM: davinci: da8xx: add remoteproc support
    ARM: socfpga: Upgrade clk driver for socfpga to make use of dts clock entries
    ARM: socfpga: Add clock entries into device tree
    ARM: socfpga: Enable soft reset
    ARM: EXYNOS: replace cpumask by the corresponding macro
    ARM: EXYNOS: handle properly the return values
    ARM: EXYNOS: factor out the idle states
    ARM: OMAP4: Enable fix for Cortex-A9 erratas
    ARM: OMAP2+: Export SoC information to userspace
    ARM: OMAP2+: SoC name and revision unification
    ARM: OMAP2+: Move common part of late init into common function
    ARM: tegra: pm: remove duplicated include from pm.c
    ARM: davinci: da850: override mmc DT node device name
    ARM: davinci: da850: add mmc DT entries
    mmc: davinci_mmc: add DT support
    ARM: SAMSUNG: check processor type before cache restoration in resume
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanup from Olof Johansson:
    "Here is a collection of cleanup patches. Among the pieces that stand
    out are:

    - The deletion of h720x platforms
    - Split of at91 non-dt platforms to their own Kconfig file to keep
    them separate
    - General cleanups and refactoring of i.MX and MXS platforms
    - Some restructuring of clock tables for OMAP
    - Convertion of PMC driver for Tegra to dt-only
    - Some renames of sunxi -> sun4i (Allwinner A10)
    - ... plus a bunch of other stuff that I haven't mentioned"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (119 commits)
    ARM: i.MX: remove unused ARCH_* configs
    ARM i.MX53: remove platform ahci support
    ARM: sunxi: Rework the restart code
    irqchip: sunxi: Rename sunxi to sun4i
    irqchip: sunxi: Make use of the IRQCHIP_DECLARE macro
    clocksource: sunxi: Rename sunxi to sun4i
    clocksource: sunxi: make use of CLKSRC_OF
    clocksource: sunxi: Cleanup the timer code
    ARM: at91: remove trailing semicolon from macros
    ARM: at91/setup: fix trivial typos
    ARM: EXYNOS: remove "config EXYNOS_DEV_DRM"
    ARM: EXYNOS: change the name of USB ohci header
    ARM: SAMSUNG: Remove unnecessary code for dma
    ARM: S3C24XX: Remove unused GPIO drive strength register definitions
    ARM: OMAP4+: PM: Restore CPU power state to ON with clockdomain force wakeup method
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2412
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2410
    ARM: S3C24XX: Removed unneeded dependency on ARCH_S3C24XX for boards
    ARM: SAMSUNG: Fix typo "CONFIG_SAMSUNG_DEV_RTC"
    ARM: S5P64X0: Fix typo "CONFIG_S5P64X0_SETUP_SDHCI"
    ...

    Linus Torvalds
     

30 Apr, 2013

3 commits

  • Pull spi updates from Mark Brown:
    "A fairly quiet release for SPI, mainly driver work. A few highlights:

    - Supports bits per word compatibility checking in the core.
    - Allow use of the IP used in Freescale SPI controllers outside
    Freescale SoCs.
    - DMA support for the Atmel SPI driver.
    - New drivers for the BCM2835 and Tegra114"

    * tag 'spi-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (68 commits)
    spi-topcliff-pch: fix to use list_for_each_entry_safe() when delete list items
    spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()
    ARM: dts: add pinctrl property for spi node for atmel SoC
    ARM: dts: add spi nodes for the atmel boards
    ARM: dts: add spi nodes for atmel SoC
    ARM: at91: add clocks for spi dt entries
    spi/spi-atmel: add dmaengine support
    spi/spi-atmel: add flag to controller data for lock operations
    spi/spi-atmel: add physical base address
    spi/sirf: fix MODULE_DEVICE_TABLE
    MAINTAINERS: Add git repository and update my address
    spi/s3c64xx: Check for errors in dmaengine prepare_transfer()
    spi/s3c64xx: Fix non-dmaengine usage
    spi: omap2-mcspi: fix error return code in omap2_mcspi_probe()
    spi/s3c64xx: let device core setup the default pin configuration
    MAINTAINERS: Update Grant's email address and maintainership
    spi: omap2-mcspi: Fix transfers if DMADEVICES is not set
    spi: s3c64xx: move to generic dmaengine API
    spi-gpio: init CS before spi_bitbang_setup()
    spi: spi-mpc512x-psc: let transmiter/receiver enabled when in xfer loop
    ...

    Linus Torvalds
     
  • Pull USB patches from Greg Kroah-Hartman:
    "Here's the big USB pull request for 3.10-rc1.

    Lots of USB patches here, the majority being USB gadget changes and
    USB-serial driver cleanups, the rest being ARM build fixes / cleanups,
    and individual driver updates. We also finally got some chipidea
    fixes, which have been delayed for a number of kernel releases, as the
    maintainer has now reappeared.

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

    * tag 'usb-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (568 commits)
    USB: ehci-msm: USB_MSM_OTG needs USB_PHY
    USB: OHCI: avoid conflicting platform drivers
    USB: OMAP: ISP1301 needs USB_PHY
    USB: lpc32xx: ISP1301 needs USB_PHY
    USB: ftdi_sio: enable two UART ports on ST Microconnect Lite
    usb: phy: tegra: don't call into tegra-ehci directly
    usb: phy: phy core cannot yet be a module
    USB: Fix initconst in ehci driver
    usb-storage: CY7C68300A chips do not support Cypress ATACB
    USB: serial: option: Added support Olivetti Olicard 145
    USB: ftdi_sio: correct ST Micro Connect Lite PIDs
    ARM: mxs_defconfig: add CONFIG_USB_PHY
    ARM: imx_v6_v7_defconfig: add CONFIG_USB_PHY
    usb: phy: remove exported function from __init section
    usb: gadget: zero: put function instances on unbind
    usb: gadget: f_sourcesink.c: correct a copy-paste misnomer
    usb: gadget: cdc2: fix error return code in cdc_do_config()
    usb: gadget: multi: fix error return code in rndis_do_config()
    usb: gadget: f_obex: fix error return code in obex_bind()
    USB: storage: convert to use module_usb_driver()
    ...

    Linus Torvalds
     
  • Pull tty/serial driver update from Greg Kroah-Hartman:
    "Here's the big tty/serial driver merge request for 3.10-rc1

    Once again, Jiri has a number of TTY driver fixes and cleanups, and
    Peter Hurley came through with a bunch of ldisc fixes that resolve a
    number of reported issues. There are some other serial driver
    cleanups as well.

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

    * tag 'tty-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (117 commits)
    tty/serial/sirf: fix MODULE_DEVICE_TABLE
    serial: mxs: drop superfluous {get|put}_device
    serial: mxs: fix buffer overflow
    ARM: PL011: add support for extended FIFO-size of PL011-r1p5
    serial_core.c: add put_device() after device_find_child()
    tty: Fix unsafe bit ops in tty_throttle_safe/unthrottle_safe
    serial: sccnxp: Replace pdata.init/exit with regulator API
    serial: sccnxp: Do not override device name
    TTY: pty, fix compilation warning
    TTY: rocket, fix compilation warning
    TTY: ircomm: fix DTR being raised on hang up
    TTY: synclinkmp: fix DTR being raised on hang up
    TTY: synclink_gt: fix DTR being raised on hang up
    TTY: synclink: fix DTR being raised on hang up
    serial: 8250_dw: Fix the stub for dw8250_probe_acpi()
    serial: 8250_dw: Convert to devm_ioremap()
    serial: 8250_dw: Set port capabilities based on CPR register
    serial: 8250_dw: Let ACPI code extract the DMA client info
    serial: 8250_dw: Support clk framework also with ACPI
    serial: 8250_dw: Enable runtime PM
    ...

    Linus Torvalds
     

29 Apr, 2013

2 commits

  • Merge in the gic cleanup since it has a handful of annoying internal conflicts
    with soc development branches. All of them are delete/delete conflicts.

    * gic/cleanup:
    irqchip: vic: add include of linux/irq.h
    irqchip: gic: Perform the gic_secondary_init() call via CPU notifier
    irqchip: gic: Call handle_bad_irq() directly
    arm: Move chained_irq_(enter|exit) to a generic file
    arm: Move the set_handle_irq and handle_arch_irq declarations to asm/irq.h

    Signed-off-by: Olof Johansson

    Conflicts:
    arch/arm/mach-shmobile/smp-emev2.c
    arch/arm/mach-shmobile/smp-r8a7779.c
    arch/arm/mach-shmobile/smp-sh73a0.c
    arch/arm/mach-socfpga/platsmp.c

    Olof Johansson
     
  • This patch removes legacy PWM timer interrupt initialization from
    exynos{4,5}_init_irq() functions, since it conflicts with internal
    interrupt handling of the new PWM clocksource driver.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Kyungmin Park
    Reviewed-by: Arnd Bergmann
    Acked-by: Kukjin Kim
    Signed-off-by: Olof Johansson

    Tomasz Figa
     

27 Apr, 2013

2 commits

  • This merges in the revert of multiplatform support for exynos.

    Trivial conflicts on removed code. Also, needed to add "select COMMON_CLK"
    to the non-multiplatform EXYNOS config option.

    * samsung/exynos-multiplatform:
    Revert "ARM: exynos: enable multiplatform support"

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • This reverts commit bd51de53e1be9896d815bbea30560262216d4616.

    Turns out that multiplatform breaks some uses cases, such as when you
    have an existing defconfig, since it adds the new EXYNOS_SINGLE config
    option as a dependecy. As a result, nearly all exynos config options
    will be disabled by default.

    Reverting instead of rebasing since this branch is pulled in as a
    dependency elsewhere.

    Signed-off-by: Olof Johansson

    Olof Johansson
     

19 Apr, 2013

8 commits

  • Merging this into the next/drivers branch avoids a number of
    pointless conflicts with code changed here.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • This makes it possible to enable the exynos platform as part of a
    multiplatform kernel, in addition to keeping the single-platform
    exynos support.

    The multiplatform variant has a number of limitations at the moment:

    * It only supports DT-enabled machines. This is not a problem in
    the long run, as non-DT machines for exynos are going away.
    The main problem here is that the gpio code and the exynos_eint
    irqchip are not multiplatform capable but still required for
    ATAGS based boot.
    * The watchdog driver is still missing a conversion.
    * sparsemem and memory_holes are currently not supported in
    multiplatform.

    The the multiplatform aware ARCH_EXYNOS Kconfig symbol is disabled
    for now, as dependent patches are still pending in other
    subsystem trees. We will enable it once everything comes together.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Nothing outside of the rtc driver includes plat/regs-rtc.h,
    so we can simply move the file into the same directory,
    which allows us to build the file as platform-independent
    code.

    Signed-off-by: Arnd Bergmann
    Cc: rtc-linux@googlegroups.com
    Cc: Alessandro Zummo

    Arnd Bergmann
     
  • Nothing uses the NAND register definitions other than the
    actual driver, so we can move the header file into the
    same local directory, which lets us build it in a multiplatform
    configuration.

    Signed-off-by: Arnd Bergmann
    Acked-by: Kyungmin Park
    Cc: linux-mtd@lists.infradead.org
    Cc: David Woodhouse

    Arnd Bergmann
     
  • plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c
    driver, so it can become a local file there and all other
    inclusions removed.

    plat/sdhci.h is used only to define the platform devices,
    and with the exception of the platform_data structure not
    needed by the driver, so we can split out the platform_data
    definition instead and leave the rest to platform code.

    Signed-off-by: Arnd Bergmann
    Acked-by: Chris Ball

    Arnd Bergmann
     
  • For a DT-only build we don't want to compile devs.c, but we do need
    the mfc device, which is also referenced by the DT based platforms,
    so move it all into one place.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • The move is necessary to support early debug output on exynos
    with multiplatform configurations. This implies also moving the
    plat/debug-macro.S file, but we are leaving the remaining users of that
    file in place, to avoid adding large numbers of extra configuration
    options to Kconfig.debug

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • When we enable CONFIG_SPARSE_IRQ, we have to set the value of NR_IRQS in
    the machine_desc for legacy IRQ domains, and any file referring to the
    number of interrupts or a specific number must include the mach/irqs.h
    header file explicitly.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

12 Apr, 2013

5 commits

  • The spi-s3c64xx uses a Samsung proprietary interface for
    talking to the DMA engine, which does not work with
    multiplatform kernels.

    This version of the patch leaves the old code in place,
    behind an #ifdef. This can be removed in the future,
    after the s3c64xx platform start supporting the regular
    dmaengine interface. An earlier version of this patch was
    tested successfully on exynos5250 by Padma Venkat.

    The conversion was rather mechanical, since the samsung
    interface is just a shallow wrapper around the dmaengine
    interface.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • The definitions have moved to include/linux/usb/samsung-usb-phy.h,
    and plat/usb-phy.h is unavailable from drivers in a multiplatform
    configuration.

    Also fix up the plat/usb-phy.h header file to use the definitions
    from the new header instead of providing a separate copy.

    Signed-off-by: Arnd Bergmann
    Cc: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     
  • The registers for the Samsung S3C serial port are currently defined in
    the platform specific arch/arm/plat-samsung/include/plat/regs-serial.h
    file, which is not visible to multiplatform capable drivers.

    Unfortunately, it is not possible to move the file into a more local
    place as we should normally try to, because the same registers
    may be used in one of four places:

    * In the driver itself
    * In platform-independent ARM code for early debug output
    * In platform_data definitions
    * In the Samsung platform power management code

    I have also found no way to logically split out a platform_data
    file, other than possibly move everything into
    include/linux/platform_data, which also felt wrong. The only
    part of this file that makes sense to keep specific to the s3c24xx
    platform are the virtual and physical addresses defined here,
    which are needed in no other location.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     
  • The plat/regs-iis.h and plat/regs-ac97.h files in the samsung platform
    are only needed by the ASoC drivers, so they can be moved into the same
    directory, as one more step towards a multiplatform build.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Mark Brown

    Arnd Bergmann
     
  • With multiplatform kernels, we cannot use hardwired IRQ
    numbers in device drivers. This changes the idma driver
    to use a proper resource, like all other drivers do.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Mark Brown

    Arnd Bergmann
     

11 Apr, 2013

1 commit

  • The s3c-fb driver requires header files from the samsung platforms
    to find its platform_data definition, but this no longer works on
    multiplatform kernels, so let's move the data into a new header
    file under include/linux/platform_data.

    Signed-off-by: Arnd Bergmann
    Cc: linux-fbdev@vger.kernel.org
    Acked-by: Jingoo Han
    Signed-off-by: Tomi Valkeinen

    Arnd Bergmann
     

10 Apr, 2013

2 commits

  • …t/kgene/linux-samsung into next/drivers

    From Kukjin Kim <kgene.kim@samsung.com>:

    add support arm-pmu for exynos4 and exynos5250

    * tag 'pmu-exynos-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: EXYNOS: Add arm-pmu DT binding for exynos421x
    ARM: EXYNOS: Add arm-pmu DT binding for exynos5250
    ARM: EXYNOS: Enable PMUs for exynos4
    irqchip: exynos-combiner: Correct combined IRQs for exynos4
    irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Arnd Bergmann
     
  • …t/kgene/linux-samsung into next/drivers

    From Kukjin Kim <kgene.kim@samsung.com>:

    add suppport common clock framework for exynos

    * tag 'clk-exynos-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (73 commits)
    ARM: EXYNOS: fix compilation error introduced due to common clock migration
    clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}
    clk: exynos4: export clocks required for fimc-is
    clk: samsung: Fix compilation error
    clk: exynos5250: register display block gate clocks to common clock framework
    clk: exynos4: Add support for SoC-specific register save list
    clk: exynos4: Add missing registers to suspend save list
    clk: exynos4: Remove E4X12 prefix from SRC_DMC register
    clk: exynos4: Add E4210 prefix to GATE_IP_PERIR register
    clk: exynos4: Add E4210 prefix to LCD1 clock registers
    clk: exynos4: Remove SoC-specific registers from save list
    clk: exynos4: Use SRC_MASK_PERIL{0,1} definitions
    clk: exynos4: Define {E,V}PLL registers
    clk: exynos4: Add missing mout_sata on Exynos4210
    clk: exynos4: Add missing CMU_TOP and ISP clocks
    clk: exynos4: Add G3D clocks
    clk: exynos4: Add camera related clock definitions
    clk: exynos4: Export mout_core clock of Exynos4210
    clk: samsung: Remove unimplemented ops for pll
    clk: exynos4: Export clocks used by exynos cpufreq drivers
    ...

    [arnd: add missing #address-cells property in mshc DT node]

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Arnd Bergmann
     

09 Apr, 2013

2 commits

  • …el/git/kgene/linux-samsung into next/cleanup

    From Kukjin Kim <kgene.kim@samsung.com>:

    cleanup unused codes for samsung

    * tag 'cleanup-samsung-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: EXYNOS: remove "config EXYNOS_DEV_DRM"
    ARM: EXYNOS: change the name of USB ohci header
    ARM: SAMSUNG: Remove unnecessary code for dma
    ARM: S3C24XX: Remove unused GPIO drive strength register definitions
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2412
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2410
    ARM: S3C24XX: Removed unneeded dependency on ARCH_S3C24XX for boards
    ARM: SAMSUNG: Fix typo "CONFIG_SAMSUNG_DEV_RTC"
    ARM: S5P64X0: Fix typo "CONFIG_S5P64X0_SETUP_SDHCI"
    ARM: S3C64XX: remove obsolete Makefile line
    ARM: S3C24XX: remove unneeded "config SMDK2440_CPU2442"
    ARM: SAMSUNG: Remove useless Samsung GPIO related CONFIG
    ARM: SAMSUNG: remove "config S3C_BOOT_WATCHDOG"
    ARM: EXYNOS: change HAVE_SAMSUNG_KEYPAD to KEYBOARD_SAMSUNG
    ARM: EXYNOS: remove duplicated include from common.c
    ARM: EXYNOS: drop "select HAVE_SCHED_CLOCK"
    ARM: S3C24XX: drop "select MACH_NEO1973"
    ARM: S3C24XX: drop "select MACH_N35"

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>

    Arnd Bergmann
     
  • On TrustZone-enabled boards the non-secure SYSRAM is used for secondary
    CPU bring-up, so add a mapping for it.

    Signed-off-by: Kyungmin Park
    Signed-off-by: Tomasz Figa
    Signed-off-by: Kukjin Kim

    Tomasz Figa