13 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (526 commits)
    ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
    ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
    ALSA: usb-audio: add Yamaha MOX6/MOX8 support
    ALSA: virtuoso: add S/PDIF input support for all Xonars
    ALSA: ice1724 - Support for ooAoo SQ210a
    ALSA: ice1724 - Allow card info based on model only
    ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
    ALSA: hdspm - Provide unique driver id based on card serial
    ASoC: Dynamically allocate the rtd device for a non-empty release()
    ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
    ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs
    ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    ALSA: hda - Use auto-parser for HP laptops with cx20459 codec
    ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
    ALSA: hdsp - Fix potential Oops in snd_hdsp_info_pref_sync_ref()
    ALSA: hda/cirrus - support for iMac12,2 model
    ASoC: cx20442: add bias control over a platform provided regulator
    ALSA: usb-audio - Avoid flood of frame-active debug messages
    ALSA: snd-usb-us122l: Delete calls to preempt_disable
    mfd: Put WM8994 into cache only mode when suspending
    ...

    Fix up trivial conflicts in:
    - arch/arm/mach-s3c64xx/mach-crag6410.c:
    renamed speyside_wm8962 to tobermory, added littlemill right
    next to it
    - drivers/base/regmap/{regcache.c,regmap.c}:
    duplicate diff that had already come in with other changes in
    the regmap tree

    Linus Torvalds
     

12 Jan, 2012

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci: (80 commits)
    x86/PCI: Expand the x86_msi_ops to have a restore MSIs.
    PCI: Increase resource array mask bit size in pcim_iomap_regions()
    PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES
    PCI: pci_ids: add device ids for STA2X11 device (aka ConneXT)
    PNP: work around Dell 1536/1546 BIOS MMCONFIG bug that breaks USB
    x86/PCI: amd: factor out MMCONFIG discovery
    PCI: Enable ATS at the device state restore
    PCI: msi: fix imbalanced refcount of msi irq sysfs objects
    PCI: kconfig: English typo in pci/pcie/Kconfig
    PCI/PM/Runtime: make PCI traces quieter
    PCI: remove pci_create_bus()
    xtensa/PCI: convert to pci_scan_root_bus() for correct root bus resources
    x86/PCI: convert to pci_create_root_bus() and pci_scan_root_bus()
    x86/PCI: use pci_scan_bus() instead of pci_scan_bus_parented()
    x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan
    sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources
    sparc/PCI: convert to pci_create_root_bus()
    sh/PCI: convert to pci_scan_root_bus() for correct root bus resources
    powerpc/PCI: convert to pci_create_root_bus()
    powerpc/PCI: split PHB part out of pcibios_map_io_space()
    ...

    Fix up conflicts in drivers/pci/msi.c and include/linux/pci_regs.h due
    to the same patches being applied in other branches.

    Linus Torvalds
     

11 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (64 commits)
    Input: tc3589x-keypad - add missing kerneldoc
    Input: ucb1400-ts - switch to using dev_xxx() for diagnostic messages
    Input: ucb1400_ts - convert to threaded IRQ
    Input: ucb1400_ts - drop inline annotations
    Input: usb1400_ts - add __devinit/__devexit section annotations
    Input: ucb1400_ts - set driver owner
    Input: ucb1400_ts - convert to use dev_pm_ops
    Input: psmouse - make sure we do not use stale methods
    Input: evdev - do not block waiting for an event if fd is nonblock
    Input: evdev - if no events and non-block, return EAGAIN not 0
    Input: evdev - only allow reading events if a full packet is present
    Input: add driver for pixcir i2c touchscreens
    Input: samsung-keypad - implement runtime power management support
    Input: tegra-kbc - report wakeup key for some platforms
    Input: tegra-kbc - add device tree bindings
    Input: add driver for AUO In-Cell touchscreens using pixcir ICs
    Input: mpu3050 - configure the sampling method
    Input: mpu3050 - ensure we enable interrupts
    Input: mpu3050 - add of_match table for device-tree probing
    Input: sentelic - document the latest hardware
    ...

    Fix up fairly trivial conflicts (device tree matching conflicting with
    some independent cleanups) in drivers/input/keyboard/samsung-keypad.c

    Linus Torvalds
     

10 Jan, 2012

3 commits

  • Board-level changes

    This adds and extends support for specific boards on a number of
    ARM platforms: omap, imx, samsung, tegra, ...

    * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (49 commits)
    Enable 32 bit flash support for iMX21ADS board
    ARM: mx31pdk: Add MC13783 RTC support
    iomux-mx25: configuration to support CSPI3 on CSI pins
    MX1:apf9328: Add i2c support
    mioa701: add newly available DoC G3 chip
    arm/tegra: remove __initdata annotation from pinmux tables
    arm/tegra: Use bus notifiers to trigger pinmux setup
    arm/tegra: Refactor board-*-pinmux.c to share code
    arm/tegra: Fix mistake in Trimslice's pinmux
    arm/tegra: Rework Seaboard-vs-Ventana pinmux table
    arm/tegra: Remove useless entries from ventana_pinmux[]
    arm/tegra: PCIe: Remove include of mach/pinmux.h
    arm/tegra: Harmony PCIe: Don't touch pinmux
    arm/tegra: Add AUXDATA for tegra-pinmux and tegra-gpio
    arm/tegra: Split Seaboard GPIO table to allow for Ventana
    ARM: imx6q: generate imx6q dtb files
    arm/imx6q: Rename Sabreauto to Armadillo2
    arm/imx6q-sabrelite: add enet phy ksz9021rn fixup
    arm/imx6: add imx6q sabrelite board support
    dts/imx: rename uart labels to consistent with hw spec
    ...

    Linus Torvalds
     
  • SoC-level changes for tegra and omap

    This adds support for the new tegra30 SoC, as well as small
    changes to support minor variations of existing omap SoCs.

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits)
    arm/tegra: Compile tegra_dt_init_irq only when CONFIG_OF
    arm/tegra: Make MACH_TEGRA_DT depend on ARCH_TEGRA_2x_SOC
    arm/tegra: Delete tegra_init_clock()
    arm/tegra: Fix section mismatch errors in tegra30 pinmux
    arm/tegra: Fix section mismatch errors in tegra20 pinmux
    arm/tegra: refresh defconfig for tegra30
    arm/tegra: add support for tegra30 based board cardhu
    arm/tegra: implement support for tegra30
    arm/tegra: pinmux tables and definitions for tegra30
    arm/tegra: add new fields to struct tegra_pingroup_desc
    arm/tegra: prepare pinmux code for multiple tegra variants
    arm/tegra: rename tegra20 pinmux files
    arm/tegra: generalize L2 cache initialization
    arm/tegra: use PMC reset
    arm/tegra: rename board-dt.c to board-dt-tegra20.c
    arm/tegra: prepare early init for multiple tegra variants
    arm/tegra: don't export clk_measure_input_freq
    arm/tegra: prepare clock code for multiple tegra variants
    arm/tegra: cleanup tegra20 support
    arm/tegra: clk_get should not be fatal
    ...

    Fix up trivial conflict in arch/arm/mach-tegra/board-dt-tegra20.c

    Linus Torvalds
     
  • Conflicts:
    arch/arm/mach-imx/mach-imx6q.c
    arch/arm/mach-omap2/board-ti8168evm.c
    arch/arm/mach-s3c64xx/Kconfig
    arch/arm/mach-tegra/Makefile
    arch/arm/mach-tegra/board-dt-tegra20.c
    arch/arm/mach-tegra/common.c

    Lots of relatively simple conflicts between the board
    changes and stuff from the arm tree. This pulls in
    the resolution from the samsung/cleanup tree, so we
    don't get conflicting merges.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

08 Jan, 2012

3 commits

  • Conflicts:
    arch/arm/mach-tegra/board-dt-tegra20.c
    arch/arm/mach-tegra/common.c

    Arnd Bergmann
     
  • * samsung/dt: (3 commit)
    Merge branch 'depends/rmk/for-linus' into samsung/dt
    Merge branch 'depends/rmk/restart' into next/cleanup
    Merge branch 'next/cleanup' into samsung/dt

    Conflicts:
    arch/arm/mach-tegra/board-dt.c
    arch/arm/mach-tegra/include/mach/entry-macro.S

    The latest version of the samsung/dt branch resolves
    all sorts of conflicts with the latest upstream, no functional
    changes that are not already there.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Conflicts:
    arch/arm/mach-exynos/common.c

    The common.c file gets changes from rmk/stable-devel (part of
    next/cleanup), rmk/restart, samsung/dt and follow-on branches
    from the samsung tree.

    Pulling it all together here hopefully avoids having to do
    even more conflicting merge changesets in this one file. What
    a mess!

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

07 Jan, 2012

3 commits


05 Jan, 2012

3 commits

  • Conflicts:
    arch/arm/mach-exynos/cpu.c

    The changes to arch/arm/mach-exynos/cpu.c were moved to
    mach-exynos/common.c.

    Russell King
     
  • Remove the now empty arch_reset() from all the mach/system.h includes,
    and remove its callsite. Remove arm_machine_restart() as this function
    no longer does anything useful.

    For samsung platforms, remove the include of mach/system-reset.h and
    plat/system-reset.h from their respective mach/system.h headers as these
    just define their arch_reset functions. As a result, the s3c2410 and
    plat-samsung system-reset.h files are no longer referenced, so remove
    these files entirely.

    Acked-by: Nicolas Pitre
    Acked-by: H Hartley Sweeten
    Acked-by: Jamie Iles
    Acked-by: Tony Lindgren
    Acked-by: Linus Walleij
    Signed-off-by: Russell King

    Russell King
     
  • Hook these platforms restart code into the new restart hook rather
    than using arch_reset().

    Signed-off-by: Russell King

    Russell King
     

30 Dec, 2011

1 commit


28 Dec, 2011

5 commits

  • * tegra/dt:
    arm/tegra: Seaboard: Add GPIO key device tree nodes
    arm/dt: Add ADT7461 to Seaboard
    arm/dt: tegra: Use new compatible value for DVC I2C controller
    arm/tegra: initial device tree for tegra30
    arm/tegra: convert tegra20 to GIC devicetree binding
    arm/dt: tegra: Fix SDHCI nodes to match board files
    arm/dt: tegra: Fix serial nodes to match board files
    arm/dt: tegra: Fix I2C nodes to match board files
    arm/dt: tegra: Remove /chosen node
    arm/dt: tegra: Remove /memreserve/ from device-tree files
    arm/tegra: board-dt: Enable audio-related clocks
    arm/tegra: board-dt: Fix AUXDATA typo
    arm/dt: tegra: add dts file for paz00
    arm/tegra: Add device-tree support for TrimSlice board
    arm/dt: tegra: Clean up I2S and DAS nodes
    USB: ehci-tegra: add probing through device tree
    arm/dt: add basic usb nodes to tegra device trees
    arm/tegra: fix variable formatting in makefile

    Conflicts:
    arch/arm/mach-tegra/Makefile

    Arnd Bergmann
     
  • * tegra/boards:
    arm/tegra: remove __initdata annotation from pinmux tables
    arm/tegra: Use bus notifiers to trigger pinmux setup
    arm/tegra: Refactor board-*-pinmux.c to share code
    arm/tegra: Fix mistake in Trimslice's pinmux
    arm/tegra: Rework Seaboard-vs-Ventana pinmux table
    arm/tegra: Remove useless entries from ventana_pinmux[]
    arm/tegra: PCIe: Remove include of mach/pinmux.h
    arm/tegra: Harmony PCIe: Don't touch pinmux
    arm/tegra: Add AUXDATA for tegra-pinmux and tegra-gpio
    arm/tegra: Split Seaboard GPIO table to allow for Ventana
    ARM: tegra: paz00: Fix board pinmux table.
    ARM: tegra: paz00: add support for wakeup gpio key

    Arnd Bergmann
     
  • * tegra/soc:
    arm/tegra: Compile tegra_dt_init_irq only when CONFIG_OF
    arm/tegra: Make MACH_TEGRA_DT depend on ARCH_TEGRA_2x_SOC
    arm/tegra: Delete tegra_init_clock()
    arm/tegra: Fix section mismatch errors in tegra30 pinmux
    arm/tegra: Fix section mismatch errors in tegra20 pinmux
    arm/tegra: refresh defconfig for tegra30
    arm/tegra: add support for tegra30 based board cardhu
    arm/tegra: implement support for tegra30
    arm/tegra: pinmux tables and definitions for tegra30
    arm/tegra: add new fields to struct tegra_pingroup_desc
    arm/tegra: prepare pinmux code for multiple tegra variants
    arm/tegra: rename tegra20 pinmux files
    arm/tegra: generalize L2 cache initialization
    arm/tegra: use PMC reset
    arm/tegra: rename board-dt.c to board-dt-tegra20.c
    arm/tegra: prepare early init for multiple tegra variants
    arm/tegra: don't export clk_measure_input_freq
    arm/tegra: prepare clock code for multiple tegra variants
    arm/tegra: cleanup tegra20 support
    arm/tegra: clk_get should not be fatal

    Conflicts:
    arch/arm/mach-tegra/board-dt-tegra20.c

    Arnd Bergmann
     
  • Dependencies for tegra/soc branch

    Conflicts:
    arch/arm/mach-tegra/board-dt.c

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • * tegra/cleanup:
    arm/tegra: Remove code that's ifndef CONFIG_ARM_GIC
    arm/tegra: remove unused defines
    arm/tegra: fix variable formatting in makefile

    Conflicts:
    arch/arm/mach-tegra/include/mach/entry-macro.S

    Arnd Bergmann
     

21 Dec, 2011

1 commit

  • Instead of reshuffling what functions in the pinmux paths should be
    __init and thus could keep references to __initdata, let's just remove
    the annotations for now -- the tables are moving to device tree in the
    next version anyway and the whole subsystem is being wired up. We will
    go back and re-annotate where appropriate once things settle down.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren

    Olof Johansson
     

20 Dec, 2011

15 commits

  • This fixes a build break attempting to build a Tegra20-only kernel
    without device tree enabled.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Now that Tegra20 and Tegra30 device tree board files are separate,
    MACH_TEGRA_DT (which enables the Tegra20 device tree board file) should
    depend on Tegra20 support being enabled.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • tegra_init_clock() is written to call tegra2_init_clocks(), which only
    exists if Tegra20 support is enabled. This breaks the build of a
    Tegra30-only kernel.

    tegra_init_clock() isn't actually used any more; tegra20_init_early()
    calls tegra2_init_clocks() directly. So, just delete this function.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • tegra30_pinmux_init() is called from the pinmux's probe() function, and
    hence should be __devinit not __init.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • tegra20_pinmux_init() is called from the pinmux's probe() function, and
    hence should be __devinit not __init.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Currently, the Tegra pinmux is initialized at different times when booting
    with and without device tree:

    Without device tree:

    1) Pinmux and GPIO drivers are registered.
    2) Pinmux is configured.
    3) All other drivers are registered.

    With device tree:

    1) All drivers are registered and probed, including pinmux and GPIO.
    2) Pinmux is configured.

    This change modifies board-pinmux.c to detect pinmux and GPIO driver
    registration using bus notifiers. This allows pinmux configuration to
    happen immediately after the pinmux driver is probed, irrespective of
    whether the pinmux driver is manually registered by board-pinmux.c, or
    if it's instantiated during device tree parsing.

    To support this with device tree, the pinmux init functions must be
    called prior to instantiating devices from device tree, so that the
    notifiers are set up before-hand.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • This moves the implementation of *_pinmux_init() into a single location.
    The board-specific pinmux data is left in each board's own file. This
    will allow future changes that set up the pinmux in a more complex
    fashion to do so without duplicating that code in each board's pinmux
    file.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Pin group PTA does not support function RSVD3. However, the current
    pinmux driver doesn't check this when setting RSVD functions, and ends
    up writing 3 to the HW register. 3 is actually represented by function
    GMI, so update the pinmux table to request that instead in order to
    obtain the same register programming without requesting invalid
    configurations.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Rather than modifying seaboard_pinmux[] using ventana_pinmux[], split
    seaboard_pinmux[] into common_pinmux[] and seaboard_pinmux[], and then
    actually apply common_pinmux[] always, followed by the appopriate one
    of seaboard_pinmux[] or ventana_pinmux[].

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Some of the entries in ventana_pinmux[] are identical to what's already in
    seaboard_pinmux[]. Remove the overrides from the Ventana table.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Nothing in this file needs this header.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • The Harmony pinmux table is already set up to mux the PCIe signals onto
    the appropriate pin groups. Don't manually fiddle with the pinmux in the
    Harmony PCIe setup code.

    Merge note: This will have a merge conflict with Peter De Schrijver's
    "arm/tegra: prepare pinmux code for multiple tegra variants" due to
    context. When merging the two, make sure to also remove the include
    of that his patch added, since it's no longer
    needed after this patch.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • The pinctrl device name is included in the pinctrl map table, and used
    as a parameter to pin_config_*() functions. Hence, it must be the same
    for non-DT and DT kernels. Add AUXDATA to cause this.

    The GPIO device name will be used by the pinmux/GPIO initialization code
    in a later patch, and needs to stay constant.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Seaboard and Ventana share some GPIOs, but others are different. Split the
    GPIO table into common, seaboard-specific, and ventana-specific tables, so
    that only the correct ones are enabled for each board. Add a few missing
    audio-related GPIOs for Ventana.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     
  • Update the device tree to indicate which I2C controller is the DVC
    controller. AUXDATA needs to be updated too, since the compatible
    value changed.

    Signed-off-by: Stephen Warren
    Signed-off-by: Olof Johansson

    Stephen Warren
     

19 Dec, 2011

1 commit

  • sched_clock() is yet another blocker on the road to the single
    image. This patch implements an idea by Russell King:

    http://www.spinics.net/lists/linux-omap/msg49561.html

    Instead of asking the platform to implement both sched_clock()
    itself and the rollover callback, simply register a read()
    function, and let the ARM code care about sched_clock() itself,
    the conversion to ns and the rollover. sched_clock() uses
    this read() function as an indirection to the platform code.
    If the platform doesn't provide a read(), the code falls back
    to the jiffy counter (just like the default sched_clock).

    This allow some simplifications and possibly some footprint gain
    when multiple platforms are compiled in. Among the drawbacks,
    the removal of the *_fixed_sched_clock optimization which could
    negatively impact some platforms (sa1100, tegra, versatile
    and omap).

    Tested on 11MPCore, OMAP4 and Tegra.

    Cc: Imre Kaloz
    Cc: Eric Miao
    Cc: Colin Cross
    Cc: Erik Gilling
    Cc: Olof Johansson
    Cc: Sascha Hauer
    Cc: Alessandro Rubini
    Cc: STEricsson
    Cc: Lennert Buytenhek
    Cc: Ben Dooks
    Tested-by: Jamie Iles
    Tested-by: Tony Lindgren
    Tested-by: Kyungmin Park
    Acked-by: Linus Walleij
    Acked-by: Nicolas Pitre
    Acked-by: Krzysztof Halasa
    Acked-by: Kukjin Kim
    Signed-off-by: Marc Zyngier
    Signed-off-by: Russell King

    Marc Zyngier
     

18 Dec, 2011

2 commits

  • Add support for the tegra30 based cardhu development board. Cardhu is a tablet
    formfactor reference design for tegra30. The patch provides a device tree for
    the board, updates Makefile.boot to build the dtb, includes the platform in
    Kconfig and updates board-dt.c.

    Signed-off-by: Peter De Schrijver
    Acked-by: Stephen Warren
    Acked-by: Colin Cross
    Signed-off-by: Olof Johansson

    Peter De Schrijver
     
  • Add support for tegra30 SoC. This includes a device tree compatible type for
    this SoC ("nvidia,tegra30") and adds L2 cache initialization for this new SoC.
    The clock framework is still missing, which prevents most drivers from working.
    The basic IRQs are the same, so remove the dependency on
    CONFIG_ARCH_TEGRA_2x_SOC.

    Signed-off-by: Peter De Schrijver
    Acked-by: Stephen Warren
    Acked-by: Colin Cross
    Signed-off-by: Olof Johansson

    Peter De Schrijver