15 Oct, 2014

2 commits

  • Pull clock tree updates from Mike Turquette:
    "The clk tree changes for 3.18 are dominated by clock drivers. Mostly
    fixes and enhancements to existing drivers as well as new drivers.
    This tag contains a bit more arch code than I usually take due to some
    OMAP2+ changes. Additionally it contains the restart notifier
    handlers which are merged as a dependency into several trees.

    The PXA changes are the only messy part. Due to having a stable tree
    I had to revert one patch and follow up with one more fix near the tip
    of this tag. Some dead code is introduced but it will soon become
    live code after 3.18-rc1 is released as the rest of the PXA family is
    converted over to the common clock framework.

    Another trend in this tag is that multiple vendors have started to
    push the complexity of changing their CPU frequency into the clock
    driver, whereas this used to be done in CPUfreq drivers.

    Changes to the clk core include a generic gpio-clock type and a
    clk_set_phase() function added to the top-level clk.h api. Due to
    some confusion on the fbdev mailing list the kernel boot parameters
    documentation was updated to further explain the clk_ignore_unused
    parameter, which is often required by users of the simplefb driver.

    Finally some fixes to the locking around the clock debugfs stuff was
    done to prevent deadlocks when interacting with other subsystems."

    * tag 'clk-for-linus-3.18' of git://git.linaro.org/people/mike.turquette/linux: (99 commits)
    clk: pxa clocks build system fix
    Revert "arm: pxa: Transition pxa27x to clk framework"
    clk: samsung: register restart handlers for s3c2412 and s3c2443
    clk: rockchip: add restart handler
    clk: rockchip: rk3288: i2s_frac adds flag to set parent's rate
    doc/kernel-parameters.txt: clarify clk_ignore_unused
    arm: pxa: Transition pxa27x to clk framework
    dts: add devicetree bindings for pxa27x clocks
    clk: add pxa27x clock drivers
    arm: pxa: add clock pll selection bits
    clk: dts: document pxa clock binding
    clk: add pxa clocks infrastructure
    clk: gpio-gate: Ensure gpiod_ APIs are prototyped
    clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe
    clk: ti: LLVMLinux: Move __init outside of type definition
    clk: ti: consider the fact that of_clk_get() might return an error
    clk: ti: dra7-atl-clock: fix a memory leak
    clk: ti: change clock init to use generic of_clk_init
    clk: hix5hd2: add I2C clocks
    clk: hix5hd2: add watchdog0 clocks
    ...

    Linus Torvalds
     
  • Pull MFD updates from Lee Jones:
    "Changes to existing drivers:
    - DT clean-ups in da9055-core, max14577, rn5t618, arizona, hi6421, stmpe, twl4030
    - Export symbols for use in modules in max14577
    - Plenty of static code analysis/Coccinelle fixes throughout the SS
    - Regmap clean-ups in arizona, wm5102, wm5110, da9052, tps65217, rk808
    - Remove unused/duplicate code in da9052, 88pm860x, ti_ssp, lpc_sch, arizona
    - Bug fixes in ti_am335x_tscadc, da9052, ti_am335x_tscadc, rtsx_pcr
    - IRQ fixups in arizona, stmpe, max14577
    - Regulator related changes in axp20x
    - Pass DMA coherency information from parent => child in MFD core
    - Rename DT document files for consistency
    - Add ACPI support to the MFD core
    - Add Andreas Werner to MAINTAINERS for MEN F21BMC

    New drivers/supported devices:
    - New driver for MEN 14F021P00 Board Management Controller
    - New driver for Ricoh RN5T618 PMIC
    - New driver for Rockchip RK808
    - New driver for HiSilicon Hi6421 PMIC
    - New driver for Qualcomm SPMI PMICs
    - Add support for Intel Braswell in lpc_ich
    - Add support for Intel 9 Series PCH in lpc_ich
    - Add support for Intel Quark ILB in lpc_sch"

    [ Delayed to after the poweer/reset pull due to Kconfig problems with
    recursive Kconfig select/depends-on chains. - Linus ]

    * tag 'mfd-for-linus-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (79 commits)
    mfd: cros_ec: wait for completion of commands that return IN_PROGRESS
    i2c: i2c-cros-ec-tunnel: Set retries to 3
    mfd: cros_ec: move locking into cros_ec_cmd_xfer
    mfd: cros_ec: stop calling ->cmd_xfer() directly
    mfd: cros_ec: Delay for 50ms when we see EC_CMD_REBOOT_EC
    MAINTAINERS: Adds Andreas Werner to maintainers list for MEN F21BMC
    mfd: arizona: Correct mask to allow setting micbias external cap
    mfd: Add ACPI support
    Revert "mfd: wm5102: Manually apply register patch"
    mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS
    mfd: dt-bindings: atmel-gpbr: Rename doc file to conform to naming convention
    mfd: dt-bindings: qcom-pm8xxx: Rename doc file to conform to naming convention
    mfd: Inherit coherent_dma_mask from parent device
    mfd: Document DT bindings for Qualcomm SPMI PMICs
    mfd: Add support for Qualcomm SPMI PMICs
    mfd: dt-bindings: pm8xxx: Add new compatible string
    mfd: axp209x: Drop the parent supplies field
    mfd: twl4030-power: Use 'ti,system-power-controller' as alternative way to support system power off
    mfd: dt-bindings: twl4030-power: Use the standard property to mark power control
    mfd: syscon: Add Atmel GPBR DT bindings documention
    ...

    Linus Torvalds
     

11 Oct, 2014

1 commit

  • Pull sound updates from Takashi Iwai:
    "This time it's a relatively calm update batch, but the amount isn't
    too small in the end. Here we go over some highlights:

    ALSA core:
    - One major change is the support of nonatomic PCM operations. This
    allows the trigger and other callbacks to call schedule(), which
    would be useful for mailbox type communications. Already some
    drivers (Digigram ones) have been converted to use together with
    threaded irqs as an example.
    - Improvement / fixes of DSD PCM format support

    HD-audio:
    - Large volume of rewrites are found in Realtek codec driver for
    converting Dell and HP quirks to generic forms.
    - Inverted dmic code cleanup from David.
    - Realtek COEF access has been optimized.
    - Now HD-audio jack infrastructure allows multiple callbacks, which
    fixes / simplifies the jack-dependent power controls on STAC/IDT
    and VIA codecs.
    - Many additional device-specific fixups as usual
    - A few deadcode cleanups, CA0132 code cleanup, etc.

    ASoC:
    - More componentization work from Lars-Peter, this time mainly
    cleaning up the suspend and bias level transition callbacks.
    - Real system support for the Intel drivers and a bunch of fixes and
    enhancements for the associated CODEC drivers, this is going to
    need a lot quirks over time due to the lack of any firmware
    description of the boards.
    - Jack detect support for simple card from Dylan Reid.
    - A bunch of small fixes and enhancements for the Freescale drivers.
    - New drivers for Analog Devices SSM4567, Cirrus Logic CS35L32,
    Everest Semiconductor ES8328 and Freescale cards using the ASRC in
    newer i.MX processors.
    - A few simple-card fixes, mostly cleanups but also a fix for
    interaction between GPIO 0 and simple-card.

    Misc:
    - Virtuoso / Oxygen updates by Clemens
    - USB-audio: Yamaha MOTIF XF MIDI port name fixes
    - Conversion of kernel messages to standard dev_*() in ctxfi driver"

    * tag 'sound-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (251 commits)
    ASoC: mc13783: Ensure we only try to dereference valid of_nodes
    ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_txctrl
    ALSA: hda - Add dock port support to Thinkpad L440 (71aa:501e)
    ALSA: Allow pass NULL dev for snd_pci_quirk_lookup()
    ASoC: imx-es8328: Fix of_node_put() call with uninitialized object
    ASoC: soc-pcm: fix sig_bits determination in soc_pcm_apply_msb()
    ASoC: simple-card: Initialize headphone and mic GPIO numbers
    ASoC: imx-es8328: Fix missing return code in imx_es8328_probe()
    ALSA: hda - Add dock support for Thinkpad T440 (17aa:2212)
    ALSA: usb: caiaq: check for cdev->n_streams > 1
    ASoC: 88pm860x-codec: Fix possibly missing string termination
    ASoC: core: fix use after free in snd_soc_remove_platform()
    ASoC: soc-dapm: fix use after free
    ALSA: hda - Make the inv dmic handling for Realtek use generic parser
    ALSA: hda - Add Inverted Internal mic for Samsung Ativ book 9 (NP900X3G)
    ALSA: hda - Add inverted internal mic for Asus Aspire 4830T
    ASoC: Intel: byt-rt5640: fix coccinelle warnings
    ASoC: fsl_esai doc: Add "fsl,vf610-esai" as compatible string
    ASoC: da732x: Remove unnecessary KERN_ERR in pr_err()
    ASoC: simple-card: Fix detect gpio documentation.
    ...

    Linus Torvalds
     

09 Oct, 2014

2 commits

  • Pull ARM SoC DT updates from Arnd Bergmann:
    "As usual, this is the largest branch, though this time a little under
    half of the total changes with 307 individual non-merge changesets.

    The largest changes are the addition of new machines, in particular
    the Tegra based Chromebook, the Renesas r8a7794 SoC, and DT support
    for the old i.MX1 platform.

    Other changes include
    - at91: various sam9 and sama5 updates
    - exynos: much extended Peach Pi/Pit (Chromebook 2) support
    - keystone: new peripherals
    - meson: added DT for meson6 SoC
    - mvebu: new device support for Armada 370/375
    - qcom: improved support for IPQ8064 and MSM8x60
    - rockchip: much improved support for rk3288
    - shmobile: lots of updates all over the place
    - sunxi: dts license change
    - sunxi: more a23 device support
    - vexpress: CLCD DT description"

    * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (308 commits)
    ARM: DTS: meson: update DTSI to add watchdog node
    ARM: dts: keystone-k2l: fix mdio io start address
    ARM: dts: keystone-k2e: fix mdio io start address
    ARM: dts: keystone-k2e: update usb1 node for dma properties
    ARM: dts: keystone: fix io range for usb_phy0
    Revert "Merge tag 'hix5hd2-dt-for-3.18' of git://github.com/hisilicon/linux-hisi into next/dt"
    Revert "ARM: dts: hix5hd2: add wdg node"
    ARM: dts: add rk3288 i2s controller
    ARM: vexpress: Add CLCD Device Tree properties
    ARM: bcm2835: add I2S pinctrl to device tree
    ARM: meson: documentation: add bindings documentation
    ARM: meson: dts: add basic Meson/Meson6/Meson6-atv1200 DTSI/DTS
    ARM: dts: mt6589: Change compatible string for GIC
    ARM: dts: mediatek: Add compatible property for aquaris5
    ARM: dts: mt6589-aquaris5: Add boot argument earlyprintk
    ARM: dts: mt6589: Fix typo in GIC unit address
    ARM: dts: Build dtb for Mediatek board
    ARM: dts: keystone: fix bindings for pcie and usb clock nodes
    ARM: dts: keystone: k2l: Fix chip selects for SPI devices
    ARM: dts: keystone: add dsp gpio controllers nodes
    ...

    Linus Torvalds
     
  • Pull ARM SoC platform changes from Arnd Bergmann:
    "New and updated SoC support. Among the things new for this release
    are:

    - at91: Added support for the new SAMA5D4 SoC, following the earlier
    SAMA5D3
    - bcm: Added support for BCM63XX family of DSL SoCs
    - hisi: Added support for HiP04 server-class SoC
    - meson: Initial support for the Amlogic Meson6 (aka 8726MX) platform
    - shmobile: added support for new r8a7794 (R-Car E2) automotive SoC

    Noteworthy changes to existing SoC support are:

    - imx: convert i.MX1 to device tree
    - omap: lots of power management work
    - omap: base support to enable moving to standard UART driver
    - shmobile: lots of progress for multiplatform support, still
    ongoing"

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (171 commits)
    ARM: hisi: depend on ARCH_MULTI_V7
    CNS3xxx: Fix debug UART.
    ARM: at91: fix nommu build regression
    ARM: meson: add basic support for MesonX SoCs
    ARM: meson: debug: add debug UART for earlyprintk support
    irq: Export handle_fasteoi_irq
    ARM: mediatek: Add earlyprintk support for mt6589
    ARM: hisi: Fix platmcpm compilation when ARMv6 is selected
    ARM: debug: fix alphanumerical order on debug uarts
    ARM: at91: document Atmel SMART compatibles
    ARM: at91: add sama5d4 support to sama5_defconfig
    ARM: at91: dt: add device tree file for SAMA5D4ek board
    ARM: at91: dt: add device tree file for SAMA5D4 SoC
    ARM: at91: SAMA5D4 SoC detection code and low level routines
    ARM: at91: introduce basic SAMA5D4 support
    clk: at91: add a driver for the h32mx clock
    ARM: pxa3xx: provide specific platform_devices for all ssp ports
    ARM: pxa: ssp: provide platform_device_id for PXA3xx
    ARM: OMAP4+: Remove static iotable mappings for SRAM
    ARM: OMAP4+: Move SRAM data to DT
    ...

    Linus Torvalds
     

08 Oct, 2014

1 commit

  • Pull input updates from Dmitry Torokhov:
    "A few new haptic/button drivers, a rudimentary support for laptops
    using FocalTech touchpads; xpad driver will bind to more devices, and
    a few other driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: soc_button_array - convert to platform bus
    Input: palmas-pwrbutton - fix typo in the license string
    Input: palmas-pwrbutton - use IRQF_ONESHOT
    Input: psmouse - add support for detecting FocalTech PS/2 touchpads
    Input: psmouse - add psmouse_matches_pnp_id helper function
    Input: joystick - use ktime for measuring timing
    Input: add haptic driver on max77693
    Input: introduce palmas-pwrbutton
    Input: add support for the DRV2667 haptic driver
    Input: xpad - sync device IDs with xboxdrv
    Input: xpad - add VID/PID for Razer Sabertooth
    Input: cros_ec_keyb - optimize ghosting algorithm
    Input: drv260x - fix binding document
    Input: drv260x - add check for ERM mode and LRA Libraries
    Input: drv260x - remove unused defines
    Input: drv260x - add TI drv260x haptics driver

    Linus Torvalds
     

01 Oct, 2014

2 commits

  • Mike Turquette
     
  • Add a the common code used by all PXA variants.

    This is the first step in the transition from architecture defined
    clocks (in arch/arm/mach-pxa) towards clock framework. The goal is to
    have the same features (and not all the features) of the existing
    clocks, and enable the transition of PXA to device-tree.

    All PXA rely on a "CKEN" type clock, which :
    - has a gate (bit in CKEN register)
    - is generated from a PLL, generally divided
    - has an alternate low power clock

    Each variant will specialize the CKEN clock :
    - pxa25x have no low power clock
    - pxa27x in low power use always the 13 MHz ring oscillator
    - pxa3xx in low power have specific dividers for each clock

    The device-tree provides a list of CLK_* (ex: CLK_USB or CLK_I2C) to get
    a handle on the clock. While pxa-clock.h will describe all the clocks of
    all the variants, each variant will only use a subset of it.

    Signed-off-by: Robert Jarzmik
    Signed-off-by: Mike Turquette

    Robert Jarzmik
     

30 Sep, 2014

1 commit

  • …t/tfiga/samsung-clk into clk-next

    Samsung clock patches for v3.18

    1) non-critical fixes (without the need to push to stable)

    fa0111be4ff3 clk: samsung: exynos4: remove duplicate div_core2 divider clock instantiation
    b511593d7165 clk: samsung: exynos4: fix g3d clocks
    c14254300131 clk: samsung: exynos4: add missing smmu_g2d clock and update comments
    22842d244af3 clk: samsung: exynos5260: fix typo in clock name
    e82ba578ccde clk: samsung: exynos3250: fix width field of mout_mmc0/1
    59037b92f440 clk: samsung: exynos3250: fix width and shift of div_spi0_isp clock
    5ce37f266650 clk: samsung: exynos3250: fix mout_cam_blk parent list

    2) Clock driver extensions

    07ccf02ba5c3 dt-bindings: clk: samsung: Document the DMC domain of Exynos3250 CMU
    d0e73eaf1925 ARM: dts: exynos3250: Add CMU node for DMC domain clocks
    e3c3f19bc618 clk: samsung: exynos3250: Register DMC clk provider
    4676f0aab9dc clk: samsung: exynos4: add support for MOUT_HDMI and MOUT_MIXER clocks

    Mike Turquette
     

29 Sep, 2014

1 commit


28 Sep, 2014

5 commits


27 Sep, 2014

3 commits


26 Sep, 2014

4 commits


25 Sep, 2014

2 commits

  • Merge "ARM: imx: device tree changes for 3.18" from Shawn Guo:

    The i.MX device tree changes for 3.18:
    - Device tree support for i.MX ADS and Armadeus APF9328 boards
    - Enable thermal sensor support for i.MX6SL
    - Add LCD support for i.MX6SL EVK board
    - Fix display duplicate name for a bunch of board dts files
    - Configure imx6qdl-sabresd board pins locally to remove the dependency
    on bootloader
    - A set of imx28-tx28 board dts updates from Lothar
    - Add pci config space as platform resource
    - Enable devices RTC, I2C and HDMI for nitrogen6x board
    - Split HummingBoard DT to support s/dl and d/q
    - mSATA and IR input support for HummingBoard
    - Add SSI baud clock for i.MX6 device trees
    - Add USB support for vf610-colibri and vf610-twr boards
    - A set of cleanup and updates on Gateworks boards

    * tag 'imx-dt-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (86 commits)
    ARM: dts: imx6: make gpt per clock can be from OSC
    ARM: dts: imx: ventana: add canbus support for GW52xx
    ARM: dts: imx: ventana: cleanup pinctrl groups
    ARM: dts: imx: ventana: configure padconf for all pins
    ARM: dts: imx: ventana: use gpio constants
    ARM: dts: imx: ventana: remove unused aliases
    ARM: dts: imx: ventana: remove unsupported dt nodes
    ARM: dts: imx28-tx28: add alias for CAN XCVR regulator
    ARM: dts: imx28-tx28: add spi-gpio as alternative for spi-mxs
    ARM: dts: imx28-tx28: use GPIO flags
    ARM: dts: imx28-tx28: remove spidev labels and add third instance of spidev
    ARM: dts: imx6sl: add baud clock and clock-names for ssi
    ARM: dts: imx6qdl: add baud clock and clock-names for ssi
    ARM: dts: imx6qdl-sabresd: Configure the pins locally
    ARM: dts: imx28-m28evk: Fix display duplicate name warning
    ARM: dts: imx28-tx28: Fix display duplicate name warning
    ARM: dts: imx28-m28cu: Fix display duplicate name warning
    ARM: dts: imx28-cfa100: Fix display duplicate name warning
    ARM: dts: imx28-apf28dev: Fix display duplicate name warning
    ARM: dts: imx28-apx4devkit: Fix display duplicate name warning
    ...

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • …uo/linux into next/soc

    Merge "ARM: imx: SoC updates for 3.18" from Shawn Guo:

    The i.MX SoC updates for 3.18:
    - Add initial devicetree support for i.MX1
    - Support GPT per clock source from OSC for i.MX6
    - A couple of parent selection corrections for i.MX6SL clock driver
    - Support more chip revision for i.MX6
    - Convert pr_warning to pr_warn
    - Add exclusive gate clock support
    - Add BYPASS support for i.MX6 PLL clocks
    - Update i.MX6 clock tree for audio use case
    - A couple of VF610 clock driver updates

    * tag 'imx-soc-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (30 commits)
    ARM: imx_v6_v7_defconfig updates
    ARM: imx_v4_v5_defconfig: Select CONFIG_IMX_WEIM
    arm: mach-imx: Convert pr_warning to pr_warn
    ARM: imx: source gpt per clk from OSC for system timer
    ARM: imx: add gpt_3m clk for i.mx6qdl
    ARM: imx: fix register offset of pll7_usb_host gate clock
    ARM: clk-imx6sl: refine clock tree for SSI
    ARM: imx: remove ENABLE and BYPASS bits from clk-pllv3 driver
    ARM: imx6sx: add BYPASS support for PLL clocks
    ARM: imx6sl: add BYPASS support for PLL clocks
    ARM: imx6q: add BYPASS support for PLL clocks
    ARM: imx: add an exclusive gate clock type
    ARM: clk-imx6q: refine clock tree for SSI
    ARM: clk-imx6q: refine clock tree for ASRC
    ARM: clk-imx6sl: correct the pxp and epdc axi clock selections
    ARM: clk-imx6q: refine clock tree for ESAI
    ARM: clk-imx6sl: Select appropriate parents for LCDIF clocks
    ARM: clk-imx6sl: Remove csi_lcdif_sels[]
    ARM: imx: clk-vf610: Add USBPHY clocks
    ARM: imx: add cpufreq support for i.mx6sx
    ...

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

    Olof Johansson
     

22 Sep, 2014

3 commits


18 Sep, 2014

1 commit


16 Sep, 2014

8 commits


10 Sep, 2014

2 commits


09 Sep, 2014

1 commit


05 Sep, 2014

1 commit

  • The SAMA5 and SAM9x5 series both have drive strength
    options for the PIOs. This patch adds the ability to set
    one of three hardware options for drive strengths of low,
    medium or high for the each pin. The actual current output
    of the chip based on the setting is defined in the datasheets
    and varies per pins separate from banks and with supply
    voltage.

    This patch adds three new dt-bindings that allow setting the
    strength when configuring pins. By default, no change will
    be made to the drive strength of a pin from its reset value.
    Due to the difference between the register addresses of the
    SAMA5 and SAM9x5 series, a new sama5d3-pinctrl id was added.

    Signed-off-by: Marek Roszko
    Acked-by: Nicolas Ferre
    Signed-off-by: Linus Walleij

    Marek Roszko