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
     

10 Jan, 2012

5 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
     
  • Cleanups for the Samsung platforms

    Various cleanup changes that the device driver changes are built upon.
    Since the samsung cleanups depend on the device tree series, which
    depends on the first set of cleanups for tegra.

    * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: EXYNOS: Use gpio_request_one
    ARM: S5PV210: Use gpio_request_one
    ARM: S3C64XX: Modified according to SPI consolidation work
    ARM: S5PV210: Modified files for SPI consolidation work
    ARM: S5P64X0: Modified files for SPI consolidation work
    ARM: S5PC100: Modified files for SPI consolidation work
    ARM: S3C64XX: Modified files for SPI consolidation work
    ARM: SAMSUNG: Consolidation of SPI platform devices to plat-samsung
    ARM: SAMSUNG: Remove SPI bus clocks from platform data
    ARM: S5PV210: Add SPI clkdev support
    ARM: S5P64X0: Add SPI clkdev support
    ARM: S5PC100: Add SPI clkdev support
    ARM: S3C64XX: Add SPI clkdev support
    spi/s3c64xx: Use bus clocks created using clkdev
    mmc: sdhci-s3c: Use generic clock names for sdhci bus clock options
    ARM: SAMSUNG: Add lookup of sdhci-s3c clocks using generic names
    ARM: SAMSUNG: Remove SDHCI bus clocks from platform data
    ARM: SAMSUNG: Use kmemdup rather than duplicating its implementation
    ARM: EXYNOS: remove exynos4_scu_enable()

    Linus Torvalds
     
  • Device tree conversions for samsung and tegra

    Both platforms had some initial device tree support, but this adds
    much more to actually make it usable.

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (45 commits)
    ARM: dts: Add intial dts file for EXYNOS4210 SoC, SMDKV310 and ORIGEN
    ARM: EXYNOS: Add Exynos4 device tree enabled board file
    rtc: rtc-s3c: Add device tree support
    input: samsung-keypad: Add device tree support
    ARM: S5PV210: Modify platform data for pl330 driver
    ARM: S5PC100: Modify platform data for pl330 driver
    ARM: S5P64x0: Modify platform data for pl330 driver
    ARM: EXYNOS: Add a alias for pdma clocks
    ARM: EXYNOS: Limit usage of pl330 device instance to non-dt build
    ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers
    DMA: PL330: Add device tree support
    ARM: EXYNOS: Modify platform data for pl330 driver
    DMA: PL330: Infer transfer direction from transfer request instead of platform data
    DMA: PL330: move filter function into driver
    serial: samsung: Fix build for non-Exynos4210 devices
    serial: samsung: add device tree support
    serial: samsung: merge probe() function from all SoC specific extensions
    serial: samsung: merge all SoC specific port reset functions
    ARM: SAMSUNG: register uart clocks to clock lookup list
    serial: samsung: remove all uses of get_clksrc and set_clksrc
    ...

    Fix up fairly trivial conflicts in arch/arm/mach-s3c2440/clock.c and
    drivers/tty/serial/Kconfig both due to just adding code close to
    changes.

    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
     
  • Conflicts:
    arch/arm/mach-s3c64xx/Makefile
    arch/arm/mach-s5pc100/Makefile
    arch/arm/mach-s5pv210/Makefile

    Pull in previously resolved conflicts:

    The Makefiles were reorganized in the "rmk/restart" series and modified
    in the "samsung/cleanup series". This also pulls in the other conflict
    resolutions from the restart series against the samsung/dt series.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

09 Jan, 2012

1 commit

  • * 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (76 commits)
    PM / Hibernate: Implement compat_ioctl for /dev/snapshot
    PM / Freezer: fix return value of freezable_schedule_timeout_killable()
    PM / shmobile: Allow the A4R domain to be turned off at run time
    PM / input / touchscreen: Make st1232 use device PM QoS constraints
    PM / QoS: Introduce dev_pm_qos_add_ancestor_request()
    PM / shmobile: Remove the stay_on flag from SH7372's PM domains
    PM / shmobile: Don't include SH7372's INTCS in syscore suspend/resume
    PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode
    PM: Drop generic_subsys_pm_ops
    PM / Sleep: Remove forward-only callbacks from AMBA bus type
    PM / Sleep: Remove forward-only callbacks from platform bus type
    PM: Run the driver callback directly if the subsystem one is not there
    PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers
    PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412.
    PM / Sleep: Merge internal functions in generic_ops.c
    PM / Sleep: Simplify generic system suspend callbacks
    PM / Hibernate: Remove deprecated hibernation snapshot ioctls
    PM / Sleep: Fix freezer failures due to racy usermodehelper_is_disabled()
    ARM: S3C64XX: Implement basic power domain support
    PM / shmobile: Use common always on power domain governor
    ...

    Fix up trivial conflict in fs/xfs/xfs_buf.c due to removal of unused
    XBT_FORCE_SLEEP bit

    Linus Torvalds
     

08 Jan, 2012

1 commit

  • * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (73 commits)
    arm: fix up some samsung merge sysdev conversion problems
    firmware: Fix an oops on reading fw_priv->fw in sysfs loading file
    Drivers:hv: Fix a bug in vmbus_driver_unregister()
    driver core: remove __must_check from device_create_file
    debugfs: add missing #ifdef HAS_IOMEM
    arm: time.h: remove device.h #include
    driver-core: remove sysdev.h usage.
    clockevents: remove sysdev.h
    arm: convert sysdev_class to a regular subsystem
    arm: leds: convert sysdev_class to a regular subsystem
    kobject: remove kset_find_obj_hinted()
    m86k: gpio - convert sysdev_class to a regular subsystem
    mips: txx9_sram - convert sysdev_class to a regular subsystem
    mips: 7segled - convert sysdev_class to a regular subsystem
    sh: dma - convert sysdev_class to a regular subsystem
    sh: intc - convert sysdev_class to a regular subsystem
    power: suspend - convert sysdev_class to a regular subsystem
    power: qe_ic - convert sysdev_class to a regular subsystem
    power: cmm - convert sysdev_class to a regular subsystem
    s390: time - convert sysdev_class to a regular subsystem
    ...

    Fix up conflicts with 'struct sysdev' removal from various platform
    drivers that got changed:
    - arch/arm/mach-exynos/cpu.c
    - arch/arm/mach-exynos/irq-eint.c
    - arch/arm/mach-s3c64xx/common.c
    - arch/arm/mach-s3c64xx/cpu.c
    - arch/arm/mach-s5p64x0/cpu.c
    - arch/arm/mach-s5pv210/common.c
    - arch/arm/plat-samsung/include/plat/cpu.h
    - arch/powerpc/kernel/sysfs.c
    and fix up cpu_is_hotpluggable() as per Greg in include/linux/cpu.h

    Linus Torvalds
     

07 Jan, 2012

2 commits

  • Conflicts:
    arch/arm/mach-exynos/Makefile
    arch/arm/mach-exynos/cpu.c -> common.c
    arch/arm/mach-exynos/include/mach/entry-macro.S
    arch/arm/mach-exynos/init.c -> common.c
    arch/arm/mach-s5p64x0/init.c -> common.c
    arch/arm/mach-s5pv210/init.c -> common.c

    Multiple files were moved into common.c files in the rmk/for-linus
    branch, so this moves over the samsung/dt changes to the new
    files.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file,
    and it fixes the build error in the arch/x86/kernel/microcode_core.c
    file, that the merge did not catch.

    The microcode_core.c patch was provided by Stephen Rothwell
    who was invaluable in the merge issues involved
    with the large sysdev removal process in the driver-core tree.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

05 Jan, 2012

6 commits


26 Dec, 2011

1 commit

  • * pm-domains:
    PM / shmobile: Allow the A4R domain to be turned off at run time
    PM / input / touchscreen: Make st1232 use device PM QoS constraints
    PM / QoS: Introduce dev_pm_qos_add_ancestor_request()
    PM / shmobile: Remove the stay_on flag from SH7372's PM domains
    PM / shmobile: Don't include SH7372's INTCS in syscore suspend/resume
    PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode
    ARM: S3C64XX: Implement basic power domain support
    PM / shmobile: Use common always on power domain governor
    PM / Domains: Provide an always on power domain governor
    PM / Domains: Fix default system suspend/resume operations
    PM / Domains: Make it possible to assign names to generic PM domains
    PM / Domains: fix compilation failure for CONFIG_PM_GENERIC_DOMAINS unset
    PM / Domains: Automatically update overoptimistic latency information
    PM / Domains: Add default power off governor function (v4)
    PM / Domains: Add device stop governor function (v4)
    PM / Domains: Rework system suspend callback routines (v2)
    PM / Domains: Introduce "save/restore state" device callbacks
    PM / Domains: Make it possible to use per-device domain callbacks

    Rafael J. Wysocki
     

24 Dec, 2011

1 commit

  • This patch introduces common.[ch] which are used only in the
    arch/arm/mach-s3c64xx/ directory. The common.c file merges
    the cpu.c, irq.c and irq-eint.c which are used commonly on
    S3C64XX SoCs and the common.h file replaces with plat/s3c6400.h
    and plat/s3c6410.h files.

    Cc: Ben Dooks
    Signed-off-by: Kukjin Kim
    Signed-off-by: Russell King

    Kukjin Kim
     

23 Dec, 2011

8 commits


22 Dec, 2011

2 commits

  • The sysdev.h file should not be needed by any in-kernel code, so remove
    the .h file from these random files that seem to still want to include
    it.

    The sysdev code will be going away soon, so this include needs to be
    removed no matter what.

    Cc: Jiandong Zheng
    Cc: Scott Branden
    Cc: Russell King
    Cc: Kukjin Kim
    Cc: David Brown
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Cc: Ben Dooks
    Cc: Wan ZongShun
    Cc: Haavard Skinnemoen
    Cc: Hans-Christian Egtvedt
    Cc: Guan Xuetao
    Cc: "Venkatesh Pallipadi
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Grant Likely
    Cc: Richard Purdie
    Cc: Matthew Garrett
    Signed-off-by: Kay Sievers

    Kay Sievers
     
  • After all sysdev classes are ported to regular driver core entities, the
    sysdev implementation will be entirely removed from the kernel.

    Cc: Kukjin Kim
    Cc: Russell King
    Cc: Ben Dooks
    Cc: Vinod Koul
    Cc: Boojin Kim
    Cc: Linus Walleij
    Cc: Lucas De Marchi
    Cc: Heiko Stuebner
    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

17 Dec, 2011

2 commits

  • * samsung/board:
    ARM: S3C64XX: Hook up VDDINT on Cragganmore
    ARM: S3C2440: Add new LCD (W35i) support for Mini2440 board
    ARM: S3C64XX: Power gate unused domains
    ARM: S3C64XX: Hook up Littlemill audio card on Cragganmore
    ARM: S3C64XX: Hook up platform data for Kilchomin module on Cragganmore
    ARM: S3C64XX: Run Tobermory interrupts in the default mode
    ARM: S3C64XX: Improve logging of unknown Cragganmore module types
    ARM: S3C64XX: Configure WM1250 EV1 GPIOs on Cragganmore
    ARM: S3C64XX: Use software initiated powerdown for Cragganmore
    ARM: S3C64XX: Raise the frequency of the second I2C bus on Cragganmore
    ARM: S3C64XX: Correct reservation of GPIOs for CPU module on Cragganmore
    ARM: SAMSUNG: Fix GPIO space reservation for S3C64xx platforms
    ARM: S3C64XX: Update for conversion to SAMSUNG_GPIO_EXTRA

    Conflicts:
    arch/arm/mach-s3c64xx/mach-crag6410.c

    Olof Johansson
     
  • Olof Johansson
     

10 Dec, 2011

1 commit

  • The S3C64xx SoCs contain a set of gateable power domains which can be
    enabled and disabled at runtime in order to save power. Use the generic
    power domain code to implement support for these in software, enabling
    runtime control of most domains:

    - ETM (not supported in mainline).
    - Domain G: 3D acceleration (no mainline support).
    - Domain V: MFC (no mainline support).
    - Domain I: JPEG and camera interface (no mainline support).
    - Domain P: 2D acceleration, TV encoder and scaler (no mainline support)
    - Domain S: Security (no mainline support).
    - Domain F: LCD (driver already uses runtime PM), post processing and
    rotation (no mainline support).

    The IROM domain is marked as always enabled as we should arrange for it
    to be enabled when we suspend which will need a bit more work.

    Due to all the conditional device registration that the platform does
    wrap s3c_pm_init() with s3c64xx_pm_init() which actually puts the device
    into the power domain after the machines have registered, looking for
    platform data to tell if the device was registered. Since currently only
    Cragganmore actually sets up PM that is the only machine updated.

    Signed-off-by: Mark Brown
    Acked-by: Kukjin Kim
    Signed-off-by: Rafael J. Wysocki

    Mark Brown
     

08 Dec, 2011

1 commit


06 Dec, 2011

2 commits


03 Dec, 2011

1 commit

  • The S3C64xx CPUs have power gating support with a series of software
    controllable power domains in the SoC. To take full advantage of these
    we should implement runtime PM support but since several of the IP blocks
    have no in tree drivers (and at this point aren't likely to acquire such
    drivers) we can get some benefit from the hardware much more easily if
    we just turn those blocks off unconditionally. This will cut down on the
    leakage these domains generate without interfering with active usage.

    Do this for:
    - Domain G: 3D acceleration
    - Domain V: MFC
    - Domain I: JPEG and camera interface
    - Domain P: 2D acceleration, TV encoder and scaler

    This is easy to reverse if any of these devices do acquire drivers in the
    future or as part of out of tree patches for them.

    Signed-off-by: Mark Brown
    Signed-off-by: Kukjin Kim

    Mark Brown
     

02 Dec, 2011

5 commits