23 Apr, 2015

2 commits

  • Pull ARM SoC platform updates from Olof Johansson:
    "Our SoC branch usually contains expanded support for new SoCs and
    other core platform code. In this case, that includes:

    - support for the new Annapurna Labs "Alpine" platform

    - a rework greatly simplifying adding new platform support to the
    MCPM subsystem (Multi-cluster power management)

    - cpuidle and PM improvements for Exynos3250

    - misc updates for Renesas, OMAP, Meson, i.MX. Some of these could
    have gone in other branches but ended up here for various reasons"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (53 commits)
    ARM: alpine: add support for generic pci
    ARM: Exynos: migrate DCSCB to the new MCPM backend abstraction
    ARM: vexpress: migrate DCSCB to the new MCPM backend abstraction
    ARM: vexpress: DCSCB: tighten CPU validity assertion
    ARM: vexpress: migrate TC2 to the new MCPM backend abstraction
    ARM: MCPM: move the algorithmic complexity to the core code
    ARM: EXYNOS: allow cpuidle driver usage on Exynos3250 SoC
    ARM: EXYNOS: add AFTR mode support for Exynos3250
    ARM: EXYNOS: add code for setting/clearing boot flag
    ARM: EXYNOS: fix CPU1 hotplug on Exynos3250
    ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore
    ARM: cygnus: fix const declaration bcm_cygnus_dt_compat
    ARM: DRA7: hwmod: Fix the hwmod class for GPTimer4
    ARM: DRA7: hwmod: Add data for GPTimers 13 through 16
    ARM: EXYNOS: Remove left over 'extra_save'
    ARM: EXYNOS: Constify exynos_pm_data array
    ARM: EXYNOS: use static in suspend.c
    ARM: EXYNOS: Use platform device name as power domain name
    ARM: EXYNOS: add support for async-bridge clocks for pm_domains
    ARM: omap-device: add missed callback for suspend-to-disk
    ...

    Linus Torvalds
     
  • Pull ARM SoC fixes from Olof Johansson:
    "Here's the usual "low-priority fixes that didn't make it into the last
    few -rcs, with a twist: We had a fixes pull request that I didn't send
    in time to get into 4.0, so we'll send some of them to Greg for
    -stable as well.

    Contents here is as usual not all that controversial:

    - a handful of randconfig fixes from Arnd, in particular for older
    Samsung platforms

    - Exynos fixes, !SMP building, DTS updates for MMC and lid switch

    - Kbuild fix to create output subdirectory for DTB files

    - misc minor fixes for OMAP"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
    ARM: at91/dt: sama5d3 xplained: add phy address for macb1
    kbuild: Create directory for target DTB
    ARM: mvebu: Disable CPU Idle on Armada 38x
    ARM: DRA7: Enable Cortex A15 errata 798181
    ARM: dts: am57xx-beagle-x15: Add thermal map to include fan and tmp102
    ARM: dts: DRA7: Add bandgap and related thermal nodes
    bus: ocp2scp: SYNC2 value should be changed to 0x6
    ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP
    ARM: OMAP2+: remove superfluous NULL pointer check
    ARM: EXYNOS: Fix build breakage cpuidle on !SMP
    ARM: dts: fix lid and power pin-functions for exynos5250-spring
    ARM: dts: fix mmc node updates for exynos5250-spring
    ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688
    MAINTAINERS: add OMAP defconfigs under OMAP SUPPORT
    ARM: OMAP1: PM: fix some build warnings on 1510-only Kconfigs
    ARM: cns3xxx: don't export static symbol
    ARM: S3C24XX: avoid a Kconfig warning
    ARM: S3C24XX: fix header file inclusions
    ARM: S3C24XX: fix building without PM_SLEEP
    ARM: S3C24XX: use SAMSUNG_WAKEMASK for s3c2416
    ...

    Linus Torvalds
     

27 Mar, 2015

1 commit


24 Mar, 2015

1 commit

  • The cpu_do_idle() function is always used by the cpuidle drivers.

    That led to have each driver including cpuidle.h and proc-fns.h, they are
    always paired. That makes a lot of duplicate headers inclusion. Instead of
    including both in each .c file, move the proc-fns.h header inclusion in the
    cpuidle.h header file directly, so we can save some line of code.

    Signed-off-by: Daniel Lezcano
    Acked-by: Kevin Hilman
    Acked-by: Lorenzo Pieralisi
    Tested-by: Lorenzo Pieralisi

    Daniel Lezcano
     

27 Feb, 2015

3 commits

  • smdk6410_b_pwr_5v_data is marked as __initdata, but referenced
    from a structure that is not:

    WARNING: arch/arm/mach-s3c64xx/built-in.o(.data+0x4c5c): Section mismatch in reference from the variable smdk6410_b_pwr_5v_data to the (unknown reference) .init.data:(unknown)

    This removes the annotation to avoid an invalid pointer access
    when the regulator driver accesses this variable.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Kukjin Kim

    Arnd Bergmann
     
  • arch/arm/mach-s3c64xx/built-in.o: In function `s3c_pm_restore_core':
    :(.text+0x5d0): undefined reference to `s3c_pm_do_restore_core'
    :(.text+0x5d4): undefined reference to `s3c_pm_do_restore'
    arch/arm/mach-s3c64xx/built-in.o: In function `s3c_pm_save_core':
    :(.text+0x60c): undefined reference to `s3c_pm_do_save'
    arch/arm/mach-s3c64xx/built-in.o: In function `s3c64xx_irq_pm_resume':
    :(.text+0x670): undefined reference to `s3c_pm_do_restore'
    arch/arm/mach-s3c64xx/built-in.o: In function `s3c64xx_irq_pm_suspend':
    :(.text+0x6d8): undefined reference to `s3c_pm_do_save'
    arch/arm/mach-s3c64xx/built-in.o: In function `s3c_cpu_resume':
    :(.text+0x71c): undefined reference to `cpu_resume'

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Kukjin Kim

    Arnd Bergmann
     
  • The SMDK6410_WM1190_EV1 and SMDK6410_WM1192_EV1 add-on
    cards select MFD_WM*_I2C, but they ignore the fact that I2C
    may be compiled as a loadable module.

    This patch adds a dependency on I2C, which means we avoid
    the build errors, but can end up in a case where the options
    are hidden from the user when I2C is turned off.

    Signed-off-by: Arnd Bergmann
    Cc: Kukjin Kim
    Cc: Tomasz Figa
    Cc: Ben Dooks
    Signed-off-by: Kukjin Kim

    Arnd Bergmann
     

24 Jan, 2015

1 commit

  • Everything uses dmaengine now, so there is no reason to
    keep this around any longer. Thanks to everyone who was involved
    in moving the users over to use the dmaengine APIs.

    Signed-off-by: Arnd Bergmann
    Reviewed-by: Heiko Stuebner
    Acked-by: Vinod Koul
    Signed-off-by: Kukjin Kim

    Arnd Bergmann
     

13 Nov, 2014

1 commit

  • The only place where the time is invalid is when the ACPI_CSTATE_FFH entry
    method is not set. Otherwise for all the drivers, the time can be correctly
    measured.

    Instead of duplicating the CPUIDLE_FLAG_TIME_VALID flag in all the drivers
    for all the states, just invert the logic by replacing it by the flag
    CPUIDLE_FLAG_TIME_INVALID, hence we can set this flag only for the acpi idle
    driver, remove the former flag from all the drivers and invert the logic with
    this flag in the different governor.

    Signed-off-by: Daniel Lezcano
    Signed-off-by: Rafael J. Wysocki

    Daniel Lezcano
     

14 Oct, 2014

1 commit

  • Pull kbuild changes from Michal Marek:
    - fix for handling dependencies of *-objs targets by Masahiro Yamada
    - lots of cleanups in the kbuild machinery, also by Masahiro
    - fixes for the kconfig build to use an UTF-8 capable ncurses library
    if possible and to build on not-so-standard installs
    - some more minor fixes

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kbuild: Do not reference *-n variables in the Makefile
    kbuild: simplify build, clean, modbuiltin shorthands
    kbuild: arm: Do not define "comma" twice
    kbuild: remove obj-n and lib-n handling
    kbuild: remove unnecessary variable initializaions
    kbuild: remove unnecessary "obj- := dummy.o" trick
    kbuild: handle C=... and M=... after entering into build directory
    kbuild: use $(Q) for sub-make target
    kbuild: fake the "Entering directory ..." message more simply
    kconfig/lxdialog: get ncurses CFLAGS with pkg-config
    kconfig: nconfig: fix multi-byte UTF handling
    kconfig: lxdialog: fix spelling
    kbuild: Make scripts executable
    kbuild: remove redundant clean-files from scripts/kconfig/Makefile
    kbuild: refactor script/kconfig/Makefile
    kbuild: handle the dependency of multi-objs hostprogs appropriately
    kbuild: handle multi-objs dependency appropriately

    Linus Torvalds
     

02 Oct, 2014

1 commit

  • Clearing obj-y, obj-m, obj-n, obj- in each Makefile is
    a useless habit.

    They are non-exported variables; therefore they are always empty
    whenever descending into each subdirectory.
    (Moreorver, obj-y and obj-m are also set to empty at the beginning
    of scripts/Makefile.build)

    Signed-off-by: Masahiro Yamada
    Acked-by: Nicolas Ferre
    Acked-by: Peter Foley
    Acked-by: Linus Walleij
    Signed-off-by: Michal Marek

    Masahiro Yamada
     

09 Sep, 2014

1 commit


19 Jul, 2014

1 commit

  • Since S5PV210 now has a complete clock driver using Common Clock
    Framework, there is no reason to keep the old code. Remove it together
    with the whole legacy Samsung-specific clock framework which no longer
    has any users.

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

    Tomasz Figa
     

17 Jun, 2014

1 commit

  • The only remaining driver using the samsung dmadev code is the broken
    samsung-ac97 sound driver. However, as found by Russell's autobuilder,
    the elaborate dependency chains around it cause problems with
    circular dependencies.

    This is an attempt to simplify those dependencies by making the
    SAMSUNG_DMADEV option user-selectable. I also try to keep the
    default settings for all related options unchanged, so we don't
    introduce any regressions against earlier testing on linux-next.

    In particular, all s3c64xx and s5p* platforms keep selecting the
    pl330 and pl08x drivers they require, but the select statement
    is now moved towards the main platform option, and it remains
    optional by unselecting CONFIG_DMADEVICES.

    Signed-off-by: Arnd Bergmann
    Cc: Kukjin Kim

    Arnd Bergmann
     

06 Apr, 2014

2 commits

  • Pull ARM SoC late cleanups from Arnd Bergmann:
    "These could not be part of the first cleanup branch, because they
    either came too late in the cycle, or they have dependencies on other
    branches. Important changes are:

    - The integrator platform is almost multiplatform capable after some
    reorganization (Linus Walleij)
    - Minor cleanups on Zynq (Michal Simek)
    - Lots of changes for Exynos and other Samsung platforms, including
    further preparations for multiplatform support and the clocks
    bindings are rearranged"

    * tag 'tags/cleanup2-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
    devicetree: fix newly added exynos sata bindings
    ARM: EXYNOS: Fix compilation error in cpuidle.c
    ARM: S5P64X0: Explicitly include linux/serial_s3c.h in mach/pm-core.h
    ARM: EXYNOS: Remove hardware.h file
    ARM: SAMSUNG: Remove hardware.h inclusion
    ARM: S3C24XX: Remove invalid code from hardware.h
    dt-bindings: clock: Move exynos-audss-clk.h to dt-bindings/clock
    ARM: dts: Keep some essential LDOs enabled for arndale-octa board
    ARM: dts: Disable MDMA1 node for arndale-octa board
    ARM: S3C64XX: Fix build for implicit serial_s3c.h inclusion
    serial: s3c: Fix build of header without serial_core.h preinclusion
    ARM: EXYNOS: Allow wake-up using GIC interrupts
    ARM: EXYNOS: Stop using legacy Samsung PM code
    ARM: EXYNOS: Remove PM initcalls and useless indirection
    ARM: EXYNOS: Fix abuse of CONFIG_PM
    ARM: SAMSUNG: Move s3c_pm_check_* prototypes to plat/pm-common.h
    ARM: SAMSUNG: Move common save/restore helpers to separate file
    ARM: SAMSUNG: Move Samsung PM debug code into separate file
    ARM: SAMSUNG: Consolidate PM debug functions
    ARM: SAMSUNG: Use debug_ll_addr() to get UART base address
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups from Arnd Bergmann:
    "These cleanup patches are mainly move stuff around and should all be
    harmless. They are mainly split out so that other branches can be
    based on top to avoid conflicts.

    Notable changes are:

    - We finally remove all mach/timex.h, after CLOCK_TICK_RATE is no
    longer used (Uwe Kleine-König)
    - The Qualcomm MSM platform is split out into legacy mach-msm and
    new-style mach-qcom, to allow easier maintainance of the new
    hardware support without regressions (Kumar Gala)
    - A rework of some of the Kconfig logic to simplify multiplatform
    support (Rob Herring)
    - Samsung Exynos gets closer to supporting multiplatform (Sachin
    Kamat and others)
    - mach-bcm3528 gets merged into mach-bcm (Stephen Warren)
    - at91 gains some common clock framework support (Alexandre Belloni,
    Jean-Jacques Hiblot and other French people)"

    * tag 'cleanup-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (89 commits)
    ARM: hisi: select HAVE_ARM_SCU only for SMP
    ARM: efm32: allow uncompress debug output
    ARM: prima2: build reset code standalone
    ARM: at91: add PWM clock
    ARM: at91: move sam9261 SoC to common clk
    ARM: at91: prepare common clk transition for sam9261 SoC
    ARM: at91: updated the at91_dt_defconfig with support for the ADS7846
    ARM: at91: dt: sam9261: Device Tree support for the at91sam9261ek
    ARM: at91: dt: defconfig: Added the sam9261 to the list of DT-enabled SOCs
    ARM: at91: dt: Add at91sam9261 dt SoC support
    ARM: at91: switch sam9rl to common clock framework
    ARM: at91/dt: define main clk frequency of at91sam9rlek
    ARM: at91/dt: define at91sam9rl clocks
    ARM: at91: prepare common clk transition for sam9rl SoCs
    ARM: at91: prepare sam9 dt boards transition to common clk
    ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek
    ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs
    ARM: at91: Add at91sam9rl DT SoC support
    ARM: at91: prepare at91sam9rl DT transition
    ARM: at91/defconfig: refresh at91sam9260_9g20_defconfig
    ...

    Linus Torvalds
     

22 Mar, 2014

3 commits

  • This is the first batch of a much longer series of bug fixes
    found during randconfig testing. This part are all the simple
    patches that are applicable for the arm-soc tree, while most
    other fixes will likely go through other maintainers.

    * randconfig-fixes: (50 commits)
    ARM: tegra: make debug_ll code build for ARMv6
    ARM: sunxi: fix build for THUMB2_KERNEL
    ARM: exynos: add missing include of linux/module.h
    ARM: exynos: fix l2x0 saved regs handling
    ARM: samsung: select CRC32 for SAMSUNG_PM_CHECK
    ARM: samsung: select ATAGS where necessary
    ARM: samsung: fix SAMSUNG_PM_DEBUG Kconfig logic
    ARM: samsung: allow serial driver to be disabled
    ARM: s5pv210: enable IDE support in MACH_TORBRECK
    ARM: s5p64x0: fix building with only one soc type
    ARM: s3c64xx: select power domains only when used
    ARM: s3c64xx: MACH_SMDK6400 needs HSMMC1
    ARM: s3c24xx: osiris dvs needs tps65010
    ARM: s3c24xx: fix gta02 build error
    ARM: s3c24xx: MINI2440 needs I2C for EEPROM_AT24
    ARM: integrator: only select pl01x if TTY is enabled
    ARM: realview: fix sparsemem build
    ARM: footbridge: make screen_info setup conditional
    ARM: footbridge: fix build with PCI disabled
    ARM: footbridge: don't build floppy code for addin mode
    ...

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • If CONFIG_SERIAL_SAMSUNG is disabled, we run into build errors
    with some samsung platforms. This adds a couple of #ifdef
    statements to hopefully deal with this more gracefully.

    Signed-off-by: Arnd Bergmann
    Acked-by: Kukjin Kim
    Cc: Tomasz Figa
    Cc: Ben Dooks

    Arnd Bergmann
     
  • This board uses both MMC controllers, so we need to enable
    the Kconfig option to define the platform data.

    Signed-off-by: Arnd Bergmann
    Acked-by: Kukjin Kim
    Cc: Tomasz Figa
    Cc: Ben Dooks

    Arnd Bergmann
     

21 Mar, 2014

2 commits


11 Mar, 2014

1 commit


10 Mar, 2014

1 commit

  • …ene/linux-samsung into next/cleanup

    Samsung cleanup for v3.15 from Kukjin Kim:
    - Use generic uncompress.h for exynos and
    remove exynos <mach/uncompress.h> accordingly
    (other uncompress.h files will be removed)
    - move <plat/rtc-core.h> into s3c24xx <mach/rtc-core.h>
    - remove unused header files
    - cleanup exynos related non-DT stuffs
    - use inclusion <linux/serial_s3c.h> instead of
    <plat/regs-serial.h>
    - remove unneeded Kconfig entries:
    S3C24XX_GPIO_EXTRA64 and S3C24XX_GPIO_EXTRA128
    - remove unneeded function s3c24xx_init_cpu()
    - remove obsolete s3c24xx <mach/tick.h>

    * tag 'samsung-cleanup' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    ARM: EXYNOS: Remove uncompress.h
    ARM: debug: Use generic uncompress.h for exynos
    ARM: S3C24XX: Move rtc-core.h from plat to mach
    ARM: EXYNOS: Remove unused header file from pm_domains.c
    ARM: SAMSUNG: Remove Exynos specific code from devs, s5p-pm-irq and pm-gpio.c
    ARM: SAMSUNG: Delete unused plat/regs-serial.h header file
    ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file
    ARM: SAMSUNG: Remove platform dependency from samsung.S
    ARM: S3C24XX: get rid of unneeded selects
    ARM: SAMSUNG: remove unneeded s3c24xx_init_cpu()
    ARM: SAMSUNG: remove obsolete tick.h

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

19 Feb, 2014

1 commit

  • This cleanup series gets rid of for platforms not using
    ARCH_MULTIPLATFORM. (For multi-platform code it's already unused since
    387798b (ARM: initial multiplatform support).)

    To make this work some code out of arch/arm needed to be adapted. The
    respective changes got acks by their maintainers to be taken via armsoc
    (with Andrew Morton substituting for Alessandro Zummo as rtc maintainer).

    Compared to the previous pull request there was another patch added that
    fixes a (non-critical) regression on ixp4xx. Olof Johansson asked to not
    squash this fix into the original commit to save him from the need to
    reverify the series.

    * tag 'dropmachtimexh-v2' of git://git.pengutronix.de/git/ukl/linux:
    ARM: ixp4xx: fix timer latch calculation
    ARM: drop for !ARCH_MULTIPLATFORM, too
    ARM: rpc: stop using
    ARM: ixp4xx: stop using
    input: ixp4xx-beeper: don't use symbols from
    ARM: at91: don't use
    ARM: ep93xx: stop using mach/timex.h
    ARM: mmp: stop using mach/timex.h
    ARM: netx: stop using mach/timex.h
    ARM: sa1100: stop using mach/timex.h
    clocksource: sirf/marco+prima2: drop usage of CLOCK_TICK_RATE
    rtc: pxa: drop unused #define TIMER_FREQ
    rtc: at91sam9: include explicitly
    ARM/serial: at91: switch atmel serial to use gpiolib

    Signed-off-by: Olof Johansson

    Olof Johansson
     

16 Feb, 2014

1 commit

  • Despite the name mach-crag6410-module.c, the code is built for
    MACH_WLF_CRAGG_6410 -- which is bool, and hence this code is
    either present or absent. It will never be modular, so using
    module_init as an alias for __initcall can be somewhat
    misleading.

    Fix this up now, so that we can relocate module_init from
    init.h into module.h in the future. If we don't do this, we'd
    have to add module.h to obviously non-modular code, and that
    would be a worse thing.

    Note that direct use of __initcall is discouraged, vs. one
    of the priority categorized subgroups. As __initcall gets
    mapped onto device_initcall, our use of device_initcall
    directly in this change means that the runtime impact is
    zero -- it will remain at level 6 in initcall ordering.

    Cc: Ben Dooks
    Cc: Russell King
    Cc: patches@opensource.wolfsonmicro.com
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Kukjin Kim

    Paul Gortmaker
     

14 Feb, 2014

2 commits


24 Jan, 2014

2 commits

  • Pull ARM SoC cleanups from Olof Johansson:
    "This is the branch where we usually queue up cleanup efforts, moving
    drivers out of the architecture directory, header file restructuring,
    etc. Sometimes they tangle with new development so it's hard to keep
    it strictly to cleanups.

    Some of the things included in this branch are:

    * Atmel SAMA5 conversion to common clock
    * Reset framework conversion for tegra platforms
    - Some of this depends on tegra clock driver reworks that are shared
    with Mike Turquette's clk tree.
    * Tegra DMA refactoring, which are shared branches with the DMA tree.
    * Removal of some header files on exynos to prepare for
    multiplatform"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits)
    ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h
    ARM: mvebu: remove prototypes of non-existing functions from common.h
    ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
    serial: sh-sci: Rework baud rate calculation
    serial: sh-sci: Compute overrun_bit without using baud rate algo
    serial: sh-sci: Remove unused GPIO request code
    serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
    serial: sh-sci: Support resources passed through platform resources
    serial: sh-sci: Don't check IRQ in verify port operation
    serial: sh-sci: Set the UPF_FIXED_PORT flag
    serial: sh-sci: Remove duplicate interrupt check in verify port op
    serial: sh-sci: Simplify baud rate calculation algorithms
    serial: sh-sci: Remove baud rate calculation algorithm 5
    serial: sh-sci: Sort headers alphabetically
    ARM: EXYNOS: Kill exynos_pm_late_initcall()
    ARM: EXYNOS: Consolidate selection of PM_GENERIC_DOMAINS for Exynos4
    ARM: at91: switch Calao QIL-A9260 board to DT
    clk: at91: fix pmc_clk_ids data type attriubte
    PM / devfreq: use inclusion instead of
    ARM: EXYNOS: remove for exynos
    ...

    Linus Torvalds
     
  • Pull ARM SoC non-critical fixes from Olof Johansson:
    "As usual, we have a batch of fixes that weren't considered significant
    enough to warrant going into the later -rcs for previous release, so
    they are queued up on this branch.

    A handful of these are for various DT fixups for Samsung platforms,
    and a handful of other minor things.

    There are also a couple of stable-marked patches for mvebu -- they
    came in quite late and we decided to keep them deferred until the
    first -stable release to get more coverage instead of squeezing them
    into 3.13"

    * tag 'fixes-nc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (32 commits)
    ARM: at91: smc: bug fix in sam9_smc_cs_read()
    i2c: mv64xxx: Document the newly introduced Armada XP A0 compatible
    i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs
    ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board
    ARM: mvebu: Add support to get the ID and the revision of a SoC
    ARM: dts: msm: Fix gpio interrupt and reg length
    irqchip: sirf: set IRQ_LEVEL status_flags
    ARM: OMAP2+: gpmc: Move legacy GPMC width setting
    ARM: OMAP2+: gpmc: Introduce gpmc_set_legacy()
    ARM: OMAP2+: gpmc: Move initialization outside the gpmc_t condition
    ARM: OMAP2+: board-generic: update SoC compatibility strings
    Documentation: dt: OMAP: explicitly state SoC compatible strings
    ARM: OMAP2+: enable AM33xx SOC EVM audio
    ARM: OMAP2+: Select USB PHY for AM335x SoC
    ARM: bcm2835: Fix grammar in help message
    ARM: msm: trout: fix uninit var warning
    ARM: dts: Use MSHC controller for eMMC memory for exynos4412-trats2
    ARM: dts: Fix definition of MSHC device tree nodes for exynos4x12
    ARM: dts: add clock provider for mshc node for Exynos4412 SOC
    clk: samsung: exynos4: Fix definition of div_mmc_pre4 divider
    ...

    Linus Torvalds
     

22 Jan, 2014

2 commits

  • Pull sound updates from Takashi Iwai:
    "It was holiday season, so no wonder that there are little changes in
    framework level, although diffstat shows quite many changes spreaded
    over sound/* directories. Most of changes are cleanups, code
    refactoring and fixes.

    Some highlights:
    - Removal of OSS sleep_on usages by Arnd
    - Simplified memalloc helper codes, drop obsoleted features; now it's
    built into PCM driver instead of an individual module
    - Warn if PCM buffer preallocation fails, which will show page
    allocation issues more clearly
    - Compress offload API updates for sample rates by Vinod
    - PCM glitch workaround on ctxfi emu20k1 by Sarah
    - Drop cs46xx DSP blobs, using firmware loader now
    - USB-audio quitks for Plantronics Gamecom 780, Creative VF0420, and
    Focusrite Saffire 6

    HD-audio specifics:
    - Standardize Kconfigs of HD-audio codec drivers; now "make
    localmodconfig" recognizes configs properly (finally!)
    - Parallel PM implementation by Mengdong
    - BayleyBay/ValleyView2 board fixups
    - Broadwell audio support
    - Runtime PM improvement (PantherPoint, etc)
    - Quirks: Dell subwooer, Gigabyte mobo jack detection oddity, Dell
    AiO click noise fixes, Dell headset mic fixes, etc
    - Automatic bind with HDMI codec parser without generic parser
    - More AD codec fixes (since 3.12 regression) including the automatic
    stereo mix support
    - Common Thinkpad ACPI helper for Realtek and Conexant codecs

    ASoC specifics:
    - Update to the generic DMA code to support deferred probe and
    managed resources
    - New drivers for BCM2835 (used in Raspberry Pi), Tegra with MAX98090
    and Analog Devices AXI I2S and S/PDIF controller IPs
    - Device tree support for the simple card, max98090 and cs42l52
    - Conversion of the Samsung drivers to native dmaengine, making them
    multiplatform compatible and hopefully helping keep them more
    modern and up to date.
    - More regmap conversions, including a very welcome one for twl6040
    from Peter Ujfalusi
    - A big overhaul of the DaVinci drivers also from Peter Ujfalusi
    - Lots of DMA updates from Lars-Peter
    - Improvements to the constraints handling code from Lars-Peter
    - A very helpful conversion of the TWL4030 driver to regmap from Peter
    - A new driver for the Freescale ESAI controller from Nicolin Chen
    - Conversion of some of the drivers to use params_width()
    - Extensions to DPCM for use with compressed audio from Liam"

    * tag 'sound-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (396 commits)
    ASoC: dapm: Fix double prefix addition
    ASoC: compress: Add suport for DPCM into compressed audio
    ASoC: DPCM: make some DPCM API calls non static for compressed usage
    ASoC: core: Fix possible NULL pointer dereference of pcm->config
    ALSA: hda - add headset mic detect quirks for some Dell machines
    ASoC: tlv320aic32x4: Fix regmap range_min
    ASoC: core: Return -ENOTSUPP from set_sysclk() if no operation provided
    ASoC: dapm: Change prototype of soc_widget_read
    ASoC: samsung: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag
    ASoC: axi-{spdif,i2s}: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag
    ASoC: generic-dmaengine-pcm: Check DMA residue granularity
    ASoC: generic-dmaengine-pcm: Check NO_RESIDUE flag at runtime
    dma: pl330: Set residue_granularity
    dma: Indicate residue granularity in dma_slave_caps
    ASoC: simple-card: fix one bug to writing to the platform data
    ASoC: pcm: Use snd_pcm_rate_mask_intersect() helper
    ALSA: Add helper function for intersecting two rate masks
    ASoC: s6000: Don't mix SNDRV_PCM_RATE_CONTINUOUS with specific rates
    ASoC: fsl: Don't mix SNDRV_PCM_RATE_CONTINUOUS with specific rates
    ASoC: pcm: Properly initialize hw->rate_max
    ...

    Linus Torvalds
     
  • Pull GPIO tree bulk changes from Linus Walleij:
    "A big set this merge window, as we have much going on in this
    subsystem. The changes to other subsystems (notably a slew of ARM
    machines as I am doing away with their custom APIs) have all been
    ACKed to the extent possible.

    Major changes this time:

    - Some core improvements and cleanups to the new GPIO descriptor API.
    This seems to be working now so we can start the exodus to this
    API, moving gradually away from the global GPIO numberspace.

    - Incremental improvements to the ACPI GPIO core, and move the few
    GPIO ACPI clients we have to the GPIO descriptor API right *now*
    before we go any further. We actually managed to contain this
    *before* we started to litter the kernel with yet another hackish
    global numberspace for the ACPI GPIOs, which is a big win.

    - The RFkill GPIO driver and all platforms using it have been
    migrated to use the GPIO descriptors rather than fixed number
    assignments. Tegra machine has been migrated as part of this.

    - New drivers for MOXA ART, Xtensa GPIO32 and SMSC SCH311x. Those
    should be really good examples of how I expect a nice GPIO driver
    to look these days.

    - Do away with custom GPIO implementations on a major part of the ARM
    machines: ks8695, lpc32xx, mv78xx0. Make a first step towards the
    same in the horribly convoluted Samsung S3C include forest. We
    expect to continue to clean this up as we move forward.

    - Flag GPIO lines used for IRQ on adnp, bcm-kona, em, intel-mid and
    lynxpoint.

    This makes the GPIOlib core aware that a certain GPIO line is used
    for IRQs and can then enforce some semantics such as disallowing a
    GPIO line marked as in use for IRQ to be switched to output mode.

    - Drop all use of irq_set_chip_and_handler_name(). The name provided
    in these cases were just unhelpful tags like "mux" or "demux".

    - Extend the MCP23s08 driver to handle interrupts.

    - Minor incremental improvements for rcar, lynxpoint, em 74x164 and
    msm drivers.

    - Some non-urgent bug fixes here and there, duplicate #includes and
    that usual kind of cleanups"

    Fix up broken Kconfig file manually to make this all compile.

    * tag 'gpio-v3.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (71 commits)
    gpio: mcp23s08: fix casting caused build warning
    gpio: mcp23s08: depend on OF_GPIO
    gpio: mcp23s08: Add irq functionality for i2c chips
    ARM: S5P[v210|c100|64x0]: Fix build error
    gpio: pxa: clamp gpio get value to [0,1]
    ARM: s3c24xx: explicit dependency on
    ARM: S3C[24|64]xx: move includes back under scope
    Documentation / ACPI: update to GPIO descriptor API
    gpio / ACPI: get rid of acpi_gpio.h
    gpio / ACPI: register to ACPI events automatically
    mmc: sdhci-acpi: convert to use GPIO descriptor API
    ARM: s3c24xx: fix build error
    gpio: f7188x: set can_sleep attribute
    gpio: samsung: Update documentation
    gpio: samsung: Remove hardware.h inclusion
    gpio: xtensa: depend on HAVE_XTENSA_GPIO32
    gpio: clps711x: Enable driver compilation with COMPILE_TEST
    gpio: clps711x: Use of_match_ptr()
    net: rfkill: gpio: convert to descriptor-based GPIO interface
    leds: s3c24xx: Fix build failure
    ...

    Linus Torvalds
     

15 Jan, 2014

1 commit

  • …cm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical

    From Tony Lindgren:
    Some non-urgent fixes to enable am335x features, update documentation,
    and to remove unnecessary double initialization for the GPMC code.

    * tag 'omap-for-v3.14/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (238 commits)
    ARM: OMAP2+: gpmc: Move legacy GPMC width setting
    ARM: OMAP2+: gpmc: Introduce gpmc_set_legacy()
    ARM: OMAP2+: gpmc: Move initialization outside the gpmc_t condition
    ARM: OMAP2+: board-generic: update SoC compatibility strings
    Documentation: dt: OMAP: explicitly state SoC compatible strings
    ARM: OMAP2+: enable AM33xx SOC EVM audio
    ARM: OMAP2+: Select USB PHY for AM335x SoC
    +Linux 3.13-rc5

    Kevin Hilman
     

14 Jan, 2014

1 commit

  • When refactoring and breaking out the includes for the
    machine-specific GPIO configuration, two files were created
    in , but as
    that namespace shall be used for defining data exchanged
    between machines and drivers, using it for these broad macros
    and config settings is wrong.

    Move the headers back into the machine-local
    file and think about the next step.

    Reported-by: Arnd Bergmann
    Cc: Tomasz Figa
    Cc: Sylwester Nawrocki
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Cc: linux-samsung-soc@vger.kernel.org
    Acked-by: Mark Brown
    Acked-by: Arnd Bergmann
    Acked-by: Heiko Stuebner
    Signed-off-by: Linus Walleij

    Linus Walleij
     

02 Jan, 2014

1 commit

  • …opic/adav80x', 'asoc/topic/adsp', 'asoc/topic/ak4641', 'asoc/topic/ak4642', 'asoc/topic/arizona', 'asoc/topic/atmel', 'asoc/topic/au1x', 'asoc/topic/axi', 'asoc/topic/bcm2835', 'asoc/topic/blackfin', 'asoc/topic/cs4271', 'asoc/topic/cs42l52', 'asoc/topic/da7210', 'asoc/topic/davinci', 'asoc/topic/ep93xx', 'asoc/topic/fsl', 'asoc/topic/fsl-mxs', 'asoc/topic/generic', 'asoc/topic/hdmi', 'asoc/topic/jack', 'asoc/topic/jz4740', 'asoc/topic/max98090', 'asoc/topic/mxs', 'asoc/topic/omap', 'asoc/topic/pxa', 'asoc/topic/rcar', 'asoc/topic/s6000', 'asoc/topic/sai', 'asoc/topic/samsung', 'asoc/topic/sgtl5000', 'asoc/topic/spear', 'asoc/topic/ssm2518', 'asoc/topic/ssm2602', 'asoc/topic/tegra', 'asoc/topic/tlv320aic3x', 'asoc/topic/twl6040', 'asoc/topic/txx9', 'asoc/topic/uda1380', 'asoc/topic/width', 'asoc/topic/wm8510', 'asoc/topic/wm8523', 'asoc/topic/wm8580', 'asoc/topic/wm8711', 'asoc/topic/wm8728', 'asoc/topic/wm8731', 'asoc/topic/wm8741', 'asoc/topic/wm8750', 'asoc/topic/wm8753', 'asoc/topic/wm8776', 'asoc/topic/wm8804', 'asoc/topic/wm8900', 'asoc/topic/wm8901', 'asoc/topic/wm8940', 'asoc/topic/wm8962', 'asoc/topic/wm8974', 'asoc/topic/wm8985', 'asoc/topic/wm8988', 'asoc/topic/wm8990', 'asoc/topic/wm8991', 'asoc/topic/wm8994', 'asoc/topic/wm8995', 'asoc/topic/wm9081' and 'asoc/topic/x86' into asoc-next

    Mark Brown
     

21 Dec, 2013

2 commits

  • This isolates the custom S3C64xx GPIO definition table to
    as this is
    used in a few different places in the kernel, removing the
    need to depend on the implicit inclusion of
    from and thus getting rid of a few nasty
    cross-dependencies.

    Also delete the CONFIG_SAMSUNG_GPIO_EXTRA stuff. Instead
    roof the number of GPIOs for this platform:
    First sum up all the GPIO banks from A to Q: 187 GPIOs.
    Add the 16 "board GPIOs" and the roof for SAMSUNG_GPIO_EXTRA,
    128, so in total maximum 187+16+128 = 331 GPIOs, so let's
    take the same roof as for S3C24XX: 512. This way we can do
    away with the GPIO calculation macros for GPIO_BOARD_START,
    BOARD_NR_GPIOS and the definition of ARCH_NR_GPIOS.

    Cc: Mark Brown
    [on Mini6410 board]
    Tested-by: Tomasz Figa
    [for changes in mach-s3c64xx]
    Acked-by: Tomasz Figa
    Tested-by: Mark Brown
    Acked-by: Kukjin Kim
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • While isn't used for multi-platform builds since long it
    still is for "normal" builds. As the previous patches fix all sites to
    not make use of this per-platform file, it can go now for good also for
    platforms that are not (yet) converted to multi-platform.

    While at it there are no users of CLOCK_TICK_RATE any more, so also drop
    the dummy #define.

    Signed-off-by: Uwe Kleine-König

    Uwe Kleine-König
     

19 Dec, 2013

1 commit

  • According to board schematics, for HSMMC1 a GPIO line is used to detect
    card presence, while currently it is being configured for internal card
    detect line, which is multiplexed with card detect line of HSMMC0 and
    thus breaking it.

    This patch adds proper sdhci platform data setting card detect type to
    external GPIO and fixing operation of HSMMC0.

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

    Tomasz Figa
     

14 Dec, 2013

1 commit

  • Commit

    4178bac ARM: call of_clk_init from default time_init handler

    added implicit call to of_clk_init() from default time_init callback,
    but it did not change platforms calling it from other callbacks, despite
    of not having custom time_init callbacks. This caused double clock
    initialization on such platforms, leading to boot failures. An example
    of such platform is mach-s3c64xx.

    This patch fixes boot failure on s3c64xx by dropping custom init_irq
    callback, which had a call to of_clk_init() and moving system reset
    initialization to init_machine callback. This allows us to have
    clocks initialized properly without a need to have custom init_time or
    init_irq callbacks.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Olof Johansson

    Tomasz Figa
     

12 Dec, 2013

1 commit


24 Nov, 2013

1 commit