04 Jul, 2013

1 commit

  • …/linusw/linux-pinctrl

    Pull pin control changes from Linus Walleij:

    - A large slew of improvements of the Genric pin configuration support,
    and deployment in four different platforms: Rockchip, Super-H PFC,
    ABx500 and TZ1090. Support BIAS_BUS_HOLD, get device tree parsing
    and debugfs support into shape.

    - We also have device tree support with generic naming conventions for
    the generic pin configuration.

    - Delete the unused and confusing direct pinconf API. Now state
    transitions is *the* way to control pins and multiplexing.

    - New drivers for Rockchip, TZ1090, and TZ1090 PDC.

    - Two pin control states related to power management are now handled in
    the device core: "sleep" and "idle", removing a lot of boilerplate
    code in drivers. We do not yet know if this is the final word for
    pin PM, but it already make things a lot easier to handle.

    - Handle sparse GPIO ranges passing a list of disparate pins, and
    utilize these in the new BayTrail (x86 Atom SoC) driver.

    - Make the sunxi (AllWinner) driver handle external interrupts.

    - Make it possible for pinctrl-single to handle the case where several
    pins are managed by a single register, and augment it to handle sleep
    modes.

    - Cleanups and improvements for the abx500 drivers.

    - Move Sirf pin control drivers to their own directory, support
    save/restore of context and add support for the SiRFatlas6 SoC.

    - PMU muxing for the Dove pinctrl driver.

    - Finalization and support for VF610 in the i.MX6 pinctrl driver.

    - Smoothen out various Exynos rough edges.

    - Generic cleanups of various kinds.

    * tag 'pinctrl-for-v3.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (82 commits)
    pinctrl: vt8500: wmt: remove redundant dev_err call in wmt_pinctrl_probe()
    pinctrl: remove bindings for pinconf options needing more thought
    pinctrl: remove slew-rate parameter from tz1090
    pinctrl: set unit for debounce time pinconfig to usec
    pinctrl: more clarifications for generic pull configs
    pinctrl: rip out the direct pinconf API
    pinctrl-tz1090-pdc: add TZ1090 PDC pinctrl driver
    pinctrl-tz1090: add TZ1090 pinctrl driver
    pinctrl: samsung: Staticize drvdata_list
    pinctrl: rockchip: Add missing irq_gc_unlock() call before return error
    pinctrl: abx500: rework error path
    pinctrl: abx500: suppress hardcoded value
    pinctrl: abx500: factorize code
    pinctrl: abx500: fix abx500_gpio_get()
    pinctrl: abx500: fix abx500_pin_config_set()
    pinctrl: abx500: Add device tree support
    sh-pfc: Guard DT parsing with #ifdef CONFIG_OF
    pinctrl: add Intel BayTrail GPIO/pinctrl support
    pinctrl: fix pinconf_ops::pin_config_dbg_parse_modify kerneldoc
    pinctrl: Staticize local symbols
    ...

    Conflicts:
    drivers/net/ethernet/ti/davinci_mdio.c
    drivers/pinctrl/Makefile

    Linus Torvalds
     

03 Jul, 2013

1 commit

  • Pull ARM SoC driver specific changes from Arnd Bergmann:
    "These changes are all driver specific and cross over between arm-soc
    contents and some other subsystem, in these cases cpufreq, crypto,
    dma, pinctrl, mailbox and usb, and the subsystem owners agreed to have
    these changes merged through arm-soc.

    As we proceed to untangle the dependencies between platform code and
    driver code, the amount of changes in this category is fortunately
    shrinking, for 3.11 we have 16 branches here and 101 non-merge
    changesets, the majority of which are for the stedma40 dma engine
    driver used in the ux500 platform. Cleaning up that code touches
    multiple subsystems, but gets rid of the dependency in the end.

    The mailbox code moved out from mach-omap2 to drivers/mailbox is an
    intermediate step and is still omap specific at the moment. Patches
    exist to generalize the subsystem and add other drivers with the same
    API, but those did not make it for 3.11."

    * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (101 commits)
    crypto: ux500: use dmaengine_submit API
    crypto: ux500: use dmaengine_prep_slave_sg API
    crypto: ux500: use dmaengine_device_control API
    crypto: ux500/crypt: add missing __iomem qualifiers
    crypto: ux500/hash: add missing static qualifiers
    crypto: ux500/hash: use readl on iomem addresses
    dmaengine: ste_dma40: Declare memcpy config as static
    ARM: ux500: Remove mop500_snowball_ethernet_clock_enable()
    ARM: ux500: Correct the EN_3v3 regulator's on/off GPIO
    ARM: ux500: Provide a AB8500 GPIO Device Tree node
    gpio: rcar: fix gpio_rcar_of_table
    gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
    gpio-rcar: Reference core gpio documentation in the DT bindings
    clk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2
    ARM: dts: Update Samsung I2S documentation
    ARM: dts: add clock provider information for i2s controllers in Exynos5250
    ARM: dts: add Exynos audio subsystem clock controller node
    clk: samsung: register audio subsystem clocks using common clock framework
    ARM: dts: use #include for all device trees for Samsung
    pinctrl: s3c24xx: use correct header for chained_irq functions
    ...

    Linus Torvalds
     

21 Jun, 2013

2 commits

  • …usson/linux-omap-dt into next/dt

    From Benoit Cousson:

    omap devicetree changes for v3.11 merge window

    - Add mandatory DT support for missing IPs, like USB host,
    bandgap, LED, NAND, LAN, CPSW, PWM for OMAP and AMXX devices.
    - Introduce new AM43x silicon.

    * 'for_3.11/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt: (52 commits)
    ARM: dts: omap5-uevm: Provide USB Host PHY clock frequency
    ARM: dts: omap4-panda: Fix DVI EDID reads
    ARM: dts: omap4-panda: Add USB Host support
    ARM: dts: AM43x EPOS EVM support
    ARM: dts: OMAP5: Add bandgap DT entry
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone
    ARM: dts: omap3-overo: Add default trigger for TWL4030 LED
    ARM: dts: omap3-tobi: Correct polarity for GPIO LED
    ARM: dts: omap3-tobi: Add SMSC911X node
    ARM: dts: OMAP3: Include IRQ header
    ARM: dts: Protect pinctrl headers against multiple inclusions
    ARM: AM33XX: clock data: Enable clkout2 as part of init
    ARM: AM33XX: clock: Add debugSS clock nodes
    ARM: dts: OMAP5: Add Palmas MFD node and regulator nodes
    ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk
    ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm
    ARM: dts: AM33XX: Add PWMSS device tree nodes
    ARM: dts: OMAP4460: Add bandgap entry for OMAP4460 devices
    ...

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Acked-by: Tony Lindgren <tony@atomide.com>

    Arnd Bergmann
     
  • …ene/linux-samsung into next/drivers

    From Kukjin Kim:

    based on exynos-dt-2 and s3c24xx-dt-2
    - use #include for all Samsung DT
    - add clk for exynos audio subsystem (audss) and i2s
    - support audss and i2s for exynos5250

    * tag 'common-clk-audio' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
    clk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2
    ARM: dts: Update Samsung I2S documentation
    ARM: dts: add clock provider information for i2s controllers in Exynos5250
    ARM: dts: add Exynos audio subsystem clock controller node
    clk: samsung: register audio subsystem clocks using common clock framework
    ARM: dts: use #include for all device trees for Samsung

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

    Arnd Bergmann
     

20 Jun, 2013

1 commit


19 Jun, 2013

4 commits


17 Jun, 2013

2 commits

  • Add clock support for Vybrid VF610. It uses dtc macro support to
    define all clock IDs in vf610-clock.h to keep clock IDs coherence
    between kernel and DT.

    Signed-off-by: Jingchang Lu
    Signed-off-by: Shawn Guo

    Jingchang Lu
     
  • Add clock support for i.MX6 SoloLite. It uses the dtc marco support to
    define all clock IDs in imx6sl-clock.h, which will be included by both
    clock driver and device tree sources, so that the data will stay sync
    all the time between kernel and DT.

    Signed-off-by: Shawn Guo

    Shawn Guo
     

16 Jun, 2013

1 commit

  • This driver adds support the Cortex-A9 based SoCs from Rockchip,
    so at least the RK2928, RK3066 (a and b) and RK3188.
    Earlier Rockchip SoCs seem to use similar mechanics for gpio
    handling so should be supportable with relative small changes.
    Pull handling on the rk3188 is currently a stub, due to it being
    a bit different to the earlier SoCs.

    Pinmuxing as well as gpio (and interrupt-) handling tested on
    a rk3066a based machine.

    Signed-off-by: Heiko Stuebner
    Signed-off-by: Linus Walleij

    Heiko Stübner
     

15 Jun, 2013

3 commits

  • From Nicolas Ferre:
    Again some nice DT updates for AT91:
    - DMA binding update with one patch shared with slave-dma tree
    - more SPI DT activation
    - enable the USB gadget HS for DT platforms

    * tag 'at91-dt' of git://github.com/at91linux/linux-at91:
    ARM: at91: sam9m10g45ek add udc DT support
    ARM: at91: sam9g45 add udc DT support
    ARM: at91: sam9x5ek add udc DT support
    ARM: at91: sam9x5 add udc DT support
    ARM: at91: dt: at91sam9x5: add SPI DMA client infos
    ARM: at91: dt: switch DMA DT bindings to pre-processor
    ARM: at91: dt: add header to define at_hdmac configuration

    Olof Johansson
     
  • …warren/linux-tegra into next/dt

    From Stephen Warren:
    ARM: tegra: device tree updates

    This branch contains all device tree updates for Tegra boards.

    The changes are:

    * Converted all DT files to use the C pre-processor, to support the use
    of named constants. This included use of defines for GPIO, IRQ, and
    clock constants.
    * Enabling new features such as:
    - SPI on Dalmore.
    - Audio on Dalmore and Beaver.
    - gpio-leds on Beaver.
    - Power-supply/batter linkage on Dalmore.
    * A minor fix to the RAM size node on Beaver.

    It is based on previous pull request tegra-for-3.11-deps-for-usb
    followed by a merge of tegra-for-3.11-deps-for-clk.

    * tag 'tegra-for-3.11-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra: (21 commits)
    ARM: tegra: enable audio on Beaver
    ARM: tegra: enable audio on Dalmore
    ARM: tegra: add power-supplies link between battery and charger
    ARM: tegra: add audio-related nodes to Tegra114 DT
    ARM: tegra114: convert device tree files to use CLK defines
    ARM: tegra30: convert device tree files to use CLK defines
    ARM: tegra20: convert device tree files to use CLK defines
    ARM: tegra: Add charger subnode to tps65090 node
    ARM: tegra: convert device tree files to use IRQ defines
    ARM: tegra: convert device tree files to use GPIO defines
    ARM: tegra: create a DT header defining GPIO IDs
    ARM: tegra: use #include for all device trees
    ARM: tegra: Add gpio-leds to Tegra30 Beaver
    ARM: tegra: fix memory size on Beaver
    ARM: tegra: enable spi4 on Dalmore
    ARM: tegra114: create a DT header defining CLK IDs
    ARM: tegra30: create a DT header defining CLK IDs
    ARM: tegra20: create a DT header defining CLK IDs
    ARM: tegra: update device trees for USB binding rework
    ARM: tegra: modify ULPI reset GPIO properties
    ...

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

    Olof Johansson
     
  • DMA-cell content is a concatenation of several values. In order to keep this
    stuff human readable, macros are introduced.

    The values for the FIFO configuration are not the same as the ones used in the
    configuration register in order to keep backward compatibility. Most devices
    use the half FIFO configuration but USART ones have to use the ASAP
    configuration. This parameter was not initially planed to be into the at91 dma
    dt binding. The third cell will be used to store this parameter, it will
    become a concatenation of the FIFO configuration and of the peripheral ID. In
    order to keep backward compatibility i.e. FIFO configuration is equal to 0, we
    have to perform a translation since the value to put in the register to set
    half FIFO is 1.

    Acked-by: Arnd Bergmann
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Ludovic Desroches
    Signed-off-by: Nicolas Ferre

    Ludovic Desroches
     

29 May, 2013

4 commits

  • All Tegra GPIOs are named after the GPIO bank and GPIO number within
    the bank. Define a macro to calculate the GPIO ID based on those
    parameters. Make the macro available via all Tegra .dtsip files.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • Create a header file to define the clock IDs used by the Tegra114 clock
    binding. Remove the list of definitions from the binding documentation,
    and refer the reader to the header file.

    This will allow the same header to be used by both device tree files,
    and drivers implementing this binding, which guarantees that the two
    stay in sync. This also makes device trees more readable by using names
    instead of magic numbers.

    Signed-off-by: Hiroshi Doyu
    [swarren, add header to clock/ instead of clk/ to match binding location]
    Signed-off-by: Stephen Warren

    Hiroshi Doyu
     
  • Create a header file to define the clock IDs used by the Tegra30 clock
    binding. Remove the list of definitions from the binding documentation,
    and refer the reader to the header file.

    This will allow the same header to be used by both device tree files,
    and drivers implementing this binding, which guarantees that the two
    stay in sync. This also makes device trees more readable by using names
    instead of magic numbers.

    Signed-off-by: Hiroshi Doyu
    [swarren, add header to clock/ instead of clk/ to match binding location]
    Signed-off-by: Stephen Warren

    Hiroshi Doyu
     
  • Create a header file to define the clock IDs used by the Tegra20 clock
    binding. Remove the list of definitions from the binding documentation,
    and refer the reader to the header file.

    This will allow the same header to be used by both device tree files,
    and drivers implementing this binding, which guarantees that the two
    stay in sync. This also makes device trees more readable by using names
    instead of magic numbers.

    Signed-off-by: Hiroshi Doyu
    [swarren, add header to clock/ instead of clk/ to match binding location]
    Signed-off-by: Stephen Warren

    Hiroshi Doyu
     

17 May, 2013

1 commit


06 Apr, 2013

3 commits