04 Oct, 2012

1 commit

  • Pull devicetree updates from Rob Herring:
    - Import of latest upstream device tree compiler (dtc)
    - New function of_get_child_by_name
    - Support for #size-cells of 0 and #addr-cells of >2
    - Couple of DT binding documentation updates

    Fix up trivial conflicts due to of_get_child_by_name() having been added
    next to the new of_get_next_available_child().

    * tag 'dt-for-3.7' of git://sources.calxeda.com/kernel/linux:
    MAINTAINERS: add scripts/dtc under Devicetree maintainers
    dtc: import latest upstream dtc
    dt: Document general interrupt controller bindings
    dt/s3c64xx/spi: Use of_get_child_by_name to get a named child
    dt: introduce of_get_child_by_name to get child node by name
    of: i2c: add support for wakeup-source property
    of/address: Handle #address-cells > 2 specially
    DT: export of_irq_to_resource_table()
    devicetree: serial: Add documentation for imx serial
    devicetree: pwm: mxs-pwm.txt: Fix reg field annotation
    of: Allow busses with #size-cells=0

    Linus Torvalds
     

03 Oct, 2012

8 commits

  • Pull CMA and DMA-mapping updates from Marek Szyprowski:
    "This time the pull request is rather small, because the further
    redesign patches were not ready on time.

    This pull request consists of the patches which extend ARM DMA-mapping
    subsystem with support for CPU coherent (ACP) DMA busses. The first
    client of the new version is HighBank SATA driver. The second part of
    the pull request includes various cleanup for both CMA common code and
    ARM DMA-mapping subsystem."

    Fix up trivial add-add conflict due to the "dma-coherent" DT property
    being added next to the "calxeda,port-phys" property for the Calxeda
    AHCI controller.

    * 'for-v3.7' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping:
    ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page
    ARM: highbank: add coherent DMA setup
    ARM: kill off arch_is_coherent
    ARM: add coherent iommu dma ops
    ARM: add coherent dma ops
    ARM: dma-mapping: Refrain noisy console message
    ARM: dma-mapping: Small logical clean up
    drivers: dma-contiguous: refactor dma_alloc_from_contiguous()

    Linus Torvalds
     
  • Pull power management updates from Rafael J Wysocki:

    - Improved system suspend/resume and runtime PM handling for the SH
    TMU, CMT and MTU2 clock event devices (also used by ARM/shmobile).

    - Generic PM domains framework extensions related to cpuidle support
    and domain objects lookup using names.

    - ARM/shmobile power management updates including improved support for
    the SH7372's A4S power domain containing the CPU core.

    - cpufreq changes related to AMD CPUs support from Matthew Garrett,
    Andre Przywara and Borislav Petkov.

    - cpu0 cpufreq driver from Shawn Guo.

    - cpufreq governor fixes related to the relaxing of limit from Michal
    Pecio.

    - OMAP cpufreq updates from Axel Lin and Richard Zhao.

    - cpuidle ladder governor fixes related to the disabling of states from
    Carsten Emde and me.

    - Runtime PM core updates related to the interactions with the system
    suspend core from Alan Stern and Kevin Hilman.

    - Wakeup sources modification allowing more helper functions to be
    called from interrupt context from John Stultz and additional
    diagnostic code from Todd Poynor.

    - System suspend error code path fix from Feng Hong.

    Fixed up conflicts in cpufreq/powernow-k8 that stemmed from the
    workqueue fixes conflicting fairly badly with the removal of support for
    hardware P-state chips. The changes were independent but somewhat
    intertwined.

    * tag 'pm-for-3.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (76 commits)
    Revert "PM QoS: Use spinlock in the per-device PM QoS constraints code"
    PM / Runtime: let rpm_resume() succeed if RPM_ACTIVE, even when disabled, v2
    cpuidle: rename function name "__cpuidle_register_driver", v2
    cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name
    cpuidle: remove some empty lines
    PM: Prevent runtime suspend during system resume
    PM QoS: Use spinlock in the per-device PM QoS constraints code
    PM / Sleep: use resume event when call dpm_resume_early
    cpuidle / ACPI : move cpuidle_device field out of the acpi_processor_power structure
    ACPI / processor: remove pointless variable initialization
    ACPI / processor: remove unused function parameter
    cpufreq: OMAP: remove loops_per_jiffy recalculate for smp
    sections: fix section conflicts in drivers/cpufreq
    cpufreq: conservative: update frequency when limits are relaxed
    cpufreq / ondemand: update frequency when limits are relaxed
    properly __init-annotate pm_sysrq_init()
    cpufreq: Add a generic cpufreq-cpu0 driver
    PM / OPP: Initialize OPP table from device tree
    ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp
    cpufreq: Remove support for hardware P-state chips from powernow-k8
    ...

    Linus Torvalds
     
  • Pull libata changes from Jeff Garzik:
    "Minor libata updates, nothing notable.

    1) Apply -- and then revert -- the FUA feature. Caused disk
    corruption in linux-next, proving it cannot be turned on by
    default.

    Net effect to upstream tree: zero

    2) New AHCI platform driver sata_highbank

    3) Improve SCSI MODE SENSE handling; support MODE SELECT

    4) AHCI: support aggressive device sleep (power mgmt)

    5) sata_fsl: minor fix

    6) pata_arasan: clk support"

    * tag 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    sata_mv: Fix warnings when no PCI
    [libata] Makefile: Fix build error in sata_highbank
    [libata] export ata_dev_set_feature()
    libata-core: use ATA_LBA in ata_build_rw_tf()
    ata/ahci_platform: Add clock framework support
    pata_arasan: add Device Tree probing capability
    pata_arasan: Add clk_{un}prepare() support
    ata: add platform driver for Calxeda AHCI controller
    sata_fsl: add workaround for data length mismatch on freescale V2 controller
    ahci: implement aggressive SATA device sleep support
    ata: define enum constants for IDENTIFY DEVICE
    Revert "libata: enable SATA disk fua detection on default"
    [libata] scsi: implement MODE SELECT command
    [libata] scsi: support MODE SENSE request for changeable and default parameters
    [libata] scsi: Remove unlikely() from FUA check
    libata: enable SATA disk fua detection on default

    Linus Torvalds
     
  • Pull spi updates from Mark Brown:
    "No framework work here, only a bunch of driver updates of varying
    sizes:

    - Factoring out of the core hardware support from the MXS MMC driver
    by Marek Vasut to allow the hardware to also be used for SPI.
    - Lots of error handling cleanups from Guenter Roeck
    - Removal of the existing Tegra driver which is quite comprehensively
    broken as detailed in the changelog for the removal.
    - DT suppport for the PL022 and GPIO drivers.
    - pinctrl support for OMAP and PL022."

    Pulling from Mark Brown as Grant Likely is still busy moving.

    * tag 'spi-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc: (53 commits)
    spi: remove completely broken Tegra driver
    spi/imx: set the inactive state of the clock according to the clock polarity
    spi/pl022: get/put resources on suspend/resume
    spi/pl022: use more managed resources
    spi/pl022: Devicetree support w/o platform data
    spi/s3c64xx: Don't free controller_data on non-dt platforms
    spi: omap2-mcspi: add pinctrl support
    spi/pl022: adopt pinctrl support
    spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function
    spi/gpio: Fix stub for spi_gpio_probe_dt()
    spi/mxs: Make the SPI block clock speed configurable via DT
    spi: spi-sh-hspi: drop frees of devm_ alloc'd data
    spi/pl022: Fix chipselects pointer computation
    spi: spi-tle62x0: Use module_spi_driver macro
    mxs/spi: Rework the mxs_ssp_timeout to be more readable
    mxs/spi: Decrement the DMA/PIO border
    mxs/spi: Increment the transfer length only if transfer succeeded
    mxs/spi: Fix issues when doing long continuous transfer
    spi: spi-gpio: Add DT bindings
    spi: spi-gpio: store chipselect information in private structure
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:
    "A few drivers were updated with device tree bindings and others got a
    few small cleanups and fixes."

    Fix trivial conflict in drivers/input/keyboard/omap-keypad.c due to
    changes clashing with a whitespace cleanup.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (28 commits)
    Input: wacom - mark Intuos5 pad as in-prox when touching buttons
    Input: synaptics - adjust threshold for treating position values as negative
    Input: hgpk - use %*ph to dump small buffer
    Input: gpio_keys_polled - fix dt pdata->nbuttons
    Input: Add KD[GS]KBDIACRUC ioctls to the compatible list
    Input: omap-keypad - fixed formatting
    Input: tegra - move platform data header
    Input: wacom - add support for EMR on Cintiq 24HD touch
    Input: s3c2410_ts - make s3c_ts_pmops const
    Input: samsung-keypad - use of_get_child_count() helper
    Input: samsung-keypad - use of_match_ptr()
    Input: uinput - fix formatting
    Input: uinput - specify exact bit sizes on userspace APIs
    Input: uinput - mark failed submission requests as free
    Input: uinput - fix race that can block nonblocking read
    Input: uinput - return -EINVAL when read buffer size is too small
    Input: uinput - take event lock when fetching events from buffer
    Input: get rid of MATCH_BIT() macro
    Input: rotary-encoder - add DT bindings
    Input: rotary-encoder - constify platform data pointers
    ...

    Linus Torvalds
     
  • Pull pinctrl changes from Linus Walleij:
    "Some of this stuff is hitting arch/arm/* and have been ACKed by the
    ARM SoC folks, or it's device tree bindings pertaining to the specific
    driver.

    These are the bulk pinctrl changes for kernel v3.7:
    - Add subdrivers for the DB8540 and NHK8815 Nomadik-type ASICs,
    provide platform config for the Nomadik.
    - Add a driver for the i.MX35.
    - Add a driver for the BCM2835, an advanced GPIO expander.
    - Various fixes and clean-ups and minor improvements for the core,
    Nomadik, pinctr-single, sirf drivers.
    - Some platform config for the ux500."

    * tag 'pinctrl-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (27 commits)
    pinctrl: add bcm2835 driver
    pinctrl: clarify idle vs sleep states
    pinctrl/nomadik: use irq_find_mapping()
    pinctrl: sirf: add lost chained_irq_enter and exit in sirfsoc_gpio_handle_irq
    pinctrl: sirf: initialize the irq_chip pointer of pinctrl_gpio_range
    pinctrl: sirf: fix spinlock deadlock in sirfsoc_gpio_set_input
    pinctrl: sirf: add missing pins to pinctrl list
    pinctrl: sirf: fix a typo in sirfsoc_gpio_probe
    pinctrl: pinctrl-single: add debugfs pin h/w state info
    ARM: ux500: 8500: update I2C sleep states pinctrl
    pinctrl: Fix potential memory leak in pinctrl_register_one_pin()
    ARM: ux500: tidy up pin sleep modes
    ARM: ux500: fix spi2 pin group
    pinctrl: imx: remove duplicated const
    pinctrl: document semantics vs GPIO
    ARM: ux500: 8500: use hsit_a_2 group for HSI
    pinctrl: use kasprintf() in pinmux_request_gpio()
    pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux
    pinctrl/nomadik : add MC1_a_2 pin MC1 function group list
    pinctrl: pinctrl-single: Make sure we do not change bits outside of mask
    ...

    Linus Torvalds
     
  • Pull GPIO changes from Linus Walleij:
    "So this is the LW GPIO patch stack for v3.7:
    - refactoring from Thierry Redding at Arnd Bergmann's request to use
    the seq_file iterator interface in gpiolib.
    - A new driver for Avionic Design's N-bit GPIO expander.
    - Two instances of mutexes replaced by spinlocks from Axel Lin to
    code that is supposed to be fastpath compliant.
    - IRQ demuxer and gpio_to_irq() support for pcf857x by Kuninori
    Morimoto.
    - Dynamic GPIO numbers, device tree support, daisy chaining and some
    other fixes for the 74x164 driver by Maxime Ripard.
    - IRQ domain and device tree support for the tc3589x driver by Lee
    Jones.
    - Some conversion to use managed resources devm_* code.
    - Some instances of clk_prepare() or clk_prepare_enable() added to
    support the new, stricter common clock framework.
    - Some for_each_set_bit() simplifications.
    - Then a lot of fixes as we fixed up all of the above tripping over
    our own shoelaces and that kind of thing."

    * tag 'gpio-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (34 commits)
    gpio: pcf857x: select IRQ_DOMAIN
    gpio: Document device_node's det_debounce
    gpio-lpc32xx: Add GPI_28
    gpio: adnp: dt: Reference generic interrupt binding
    gpio: Add Avionic Design N-bit GPIO expander support
    gpio: pxa: using for_each_set_bit to simplify the code
    gpio_msm: using for_each_set_bit to simplify the code
    gpio: Enable the tc3298x GPIO expander driver for Device Tree
    gpio: Provide the tc3589x GPIO expander driver with an IRQ domain
    ARM: shmobile: kzm9g: use gpio-keys instead of gpio-keys-polled
    gpio: pcf857x: fixup smatch WARNING
    gpio: 74x164: Add support for the daisy-chaining
    gpio: 74x164: dts: Add documentation for the dt binding
    dt: Fix incorrect reference in gpio-led documentation
    gpio: 74x164: Add device tree support
    gpio: 74x164: Use dynamic gpio number assignment if no pdata is present
    gpio: 74x164: Use devm_kzalloc
    gpio: 74x164: Use module_spi_driver boiler plate function
    gpio: sx150x: Use irq_data_get_irq_chip_data() at appropriate places
    gpio: em: Use irq_data_get_irq_chip_data() at appropriate places
    ...

    Linus Torvalds
     
  • Pull networking changes from David Miller:

    1) GRE now works over ipv6, from Dmitry Kozlov.

    2) Make SCTP more network namespace aware, from Eric Biederman.

    3) TEAM driver now works with non-ethernet devices, from Jiri Pirko.

    4) Make openvswitch network namespace aware, from Pravin B Shelar.

    5) IPV6 NAT implementation, from Patrick McHardy.

    6) Server side support for TCP Fast Open, from Jerry Chu and others.

    7) Packet BPF filter supports MOD and XOR, from Eric Dumazet and Daniel
    Borkmann.

    8) Increate the loopback default MTU to 64K, from Eric Dumazet.

    9) Use a per-task rather than per-socket page fragment allocator for
    outgoing networking traffic. This benefits processes that have very
    many mostly idle sockets, which is quite common.

    From Eric Dumazet.

    10) Use up to 32K for page fragment allocations, with fallbacks to
    smaller sizes when higher order page allocations fail. Benefits are
    a) less segments for driver to process b) less calls to page
    allocator c) less waste of space.

    From Eric Dumazet.

    11) Allow GRO to be used on GRE tunnels, from Eric Dumazet.

    12) VXLAN device driver, one way to handle VLAN issues such as the
    limitation of 4096 VLAN IDs yet still have some level of isolation.
    From Stephen Hemminger.

    13) As usual there is a large boatload of driver changes, with the scale
    perhaps tilted towards the wireless side this time around.

    Fix up various fairly trivial conflicts, mostly caused by the user
    namespace changes.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1012 commits)
    hyperv: Add buffer for extended info after the RNDIS response message.
    hyperv: Report actual status in receive completion packet
    hyperv: Remove extra allocated space for recv_pkt_list elements
    hyperv: Fix page buffer handling in rndis_filter_send_request()
    hyperv: Fix the missing return value in rndis_filter_set_packet_filter()
    hyperv: Fix the max_xfer_size in RNDIS initialization
    vxlan: put UDP socket in correct namespace
    vxlan: Depend on CONFIG_INET
    sfc: Fix the reported priorities of different filter types
    sfc: Remove EFX_FILTER_FLAG_RX_OVERRIDE_IP
    sfc: Fix loopback self-test with separate_tx_channels=1
    sfc: Fix MCDI structure field lookup
    sfc: Add parentheses around use of bitfield macro arguments
    sfc: Fix null function pointer in efx_sriov_channel_type
    vxlan: virtual extensible lan
    igmp: export symbol ip_mc_leave_group
    netlink: add attributes to fdb interface
    tg3: unconditionally select HWMON support when tg3 is enabled.
    Revert "net: ti cpsw ethernet: allow reading phy interface mode from DT"
    gre: fix sparse warning
    ...

    Linus Torvalds
     

02 Oct, 2012

11 commits

  • Some highbank DMA masters can support coherent (ACP) or non-coherent DMA.
    This sets up dma_map_ops for masters which are configured for coherent DMA.

    Signed-off-by: Rob Herring
    Signed-off-by: Marek Szyprowski

    Rob Herring
     
  • Pull ARM soc driver specific changes from Olof Johansson:
    - A long-coming conversion of various platforms to a common LED
    infrastructure
    - AT91 is moved over to use the newer MCI driver for MMC
    - Pincontrol conversions for samsung platforms
    - DT bindings for gscaler on samsung
    - i2c driver fixes for tegra, acked by i2c maintainer

    Fix up conflicts as per Olof.

    * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
    drivers: bus: omap_l3: use resources instead of hardcoded irqs
    pinctrl: exynos: Fix wakeup IRQ domain registration check
    pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
    pinctrl: exynos: Correct the detection of wakeup-eint node
    pinctrl: exynos: Mark exynos_irq_demux_eint as inline
    pinctrl: exynos: Handle only unmasked wakeup interrupts
    pinctrl: exynos: Fix typos in gpio/wkup _irq_mask
    pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa
    drivers: bus: Move the OMAP interconnect driver to drivers/bus/
    i2c: tegra: dynamically control fast clk
    i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20
    ARM: tegra: clock: remove unused clock entry for i2c
    ARM: tegra: clock: add connection name in i2c clock entry
    i2c: tegra: pass proper name for getting clock
    ARM: tegra: clock: add i2c fast clock entry in clock table
    ARM: EXYNOS: Adds G-Scaler device from Device Tree
    ARM: EXYNOS: Add clock support for G-Scaler
    ARM: EXYNOS: Enable pinctrl driver support for EXYNOS4 device tree enabled platform
    ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC
    ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used
    ...

    Linus Torvalds
     
  • Pull ARM soc device tree updates from Olof Johansson:
    "Device tree conversion and enablement branch. Mostly a bunch of new
    bindings and setup for various platforms, but the Via/Winchip VT8500
    platform is also converted over from being 100% legacy to now use
    device tree for probing. More of that will come for 3.8."

    Trivial conflicts due to removal of vt8500 files, and one documentation
    file that was added with slightly different contents both here and in
    the USb tree.

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (212 commits)
    arm: vt8500: Fixup for missing gpio.h
    ARM: LPC32xx: LED fix in PHY3250 DTS file
    ARM: dt: mmp-dma: add binding file
    arm: vt8500: Update arch-vt8500 to devicetree support.
    arm: vt8500: gpio: Devicetree support for arch-vt8500
    arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
    arm: vt8500: clk: Add Common Clock Framework support
    video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb
    serial: vt8500: Add devicetree support for vt8500-serial
    rtc: vt8500: Add devicetree support for vt8500-rtc
    arm: vt8500: Add device tree files for VIA/Wondermedia SoC's
    ARM: tegra: Add Avionic Design Tamonten Evaluation Carrier support
    ARM: tegra: Add Avionic Design Medcom-Wide support
    ARM: tegra: Add Avionic Design Plutux support
    ARM: tegra: Add Avionic Design Tamonten support
    ARM: tegra: dts: Add pwm label
    ARM: ux500: Fix SSP register address format
    ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT
    ARM: ux500: Remove redundant #gpio-cell properties from Snowball DT
    ARM: ux500: Add all encompassing sound node to the HREF Device Tree
    ...

    Linus Torvalds
     
  • Pull ARM soc-specific updates from Olof Johansson:
    "Most notable here is probably the addition of basic support for the
    BCM2835, an SoC used in some of the Roku 2 players as well as the
    much-hyped Raspberry Pi, cleaned up and contributed by Stephen Warren.
    It's still early days on mainline support, with just the basics
    working. But it has to start somewhere!

    Beyond that there's some conversions of clock infrastructure on tegra
    to common clock, misc updates for several other platforms, and OMAP
    now has its own bus (under drivers/bus) to manage its devices through.

    This branch adds two new directories outside of arch/arm:
    drivers/irqchip for new irq controllers, and drivers/bus for the above
    OMAP bus. It's expected that some of the other platforms will migrate
    parts of their platforms to those directories over time as well."

    Fix up trivial conflicts with the clk infrastructure changes.

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (62 commits)
    ARM: shmobile: add new __iomem annotation for new code
    ARM: LPC32xx: Support GPI 28
    ARM: LPC32xx: Platform update for devicetree completion of spi-pl022
    ARM: LPC32xx: Board cleanup
    irqchip: fill in empty Kconfig
    ARM: SAMSUNG: Add check for NULL in clock interface
    ARM: EXYNOS: Put PCM, Slimbus, Spdif clocks to off state
    ARM: EXYNOS: Add bus clock for FIMD
    ARM: SAMSUNG: Fix HDMI related warnings
    ARM: S3C24XX: Add .get_rate callback for "camif-upll" clock
    ARM: EXYNOS: Fix incorrect help text
    ARM: EXYNOS: Turn off clocks for NAND, OneNAND and TSI controllers
    ARM: OMAP: AM33xx hwmod: fixup SPI after platform_data move
    MAINTAINERS: add an entry for the BCM2835 ARM sub-architecture
    ARM: bcm2835: instantiate console UART
    ARM: bcm2835: add stub clock driver
    ARM: bcm2835: add system timer
    ARM: bcm2835: add interrupt controller driver
    ARM: add infra-structure for BCM2835 and Raspberry Pi
    ARM: tegra20: add CPU hotplug support
    ...

    Linus Torvalds
     
  • Pull ARM soc general cleanups from Olof Johansson:
    "This is a large branch that contains a handful of different cleanups:

    - Fixing up the I/O space remapping on PCI on ARM. This is a series
    from Rob Herring that restructures how all pci devices allocate I/O
    space, and it's part of the work to allow multiplatform kernels.
    - A number of cleanup series for OMAP, moving and removing some
    headers, sparse irq rework and in general preparation for
    multiplatform.
    - Final removal of all non-DT boards for Tegra, it is now
    device-tree-only!
    - Removal of a stale platform, nxp4008. It's an old mobile chipset
    that is no longer in use, and was very likely never really used
    with a mainline kernel. We have not been able to find anyone
    interested in keeping it around in the kernel.
    - Removal of the legacy dmaengine driver on tegra

    + A handful of other things that I haven't described above."

    Fix up some conflicts with the staging tree (and because nxp4008 was
    removed)

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (184 commits)
    ARM: OMAP2+: serial: Change MAX_HSUART_PORTS to 6
    ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus
    ARM: mmp: using for_each_set_bit to simplify the code
    ARM: tegra: harmony: fix ldo7 regulator-name
    ARM: OMAP2+: Make omap4-keypad.h local
    ARM: OMAP2+: Make l4_3xxx.h local
    ARM: OMAP2+: Make l4_2xxx.h local
    ARM: OMAP2+: Make l3_3xxx.h local
    ARM: OMAP2+: Make l3_2xxx.h local
    ARM: OMAP1: Move irda.h from plat to mach
    ARM: OMAP2+: Make hdq1w.h local
    ARM: OMAP2+: Make gpmc-smsc911x.h local
    ARM: OMAP2+: Make gpmc-smc91x.h local
    ARM: OMAP1: Move flash.h from plat to mach
    ARM: OMAP2+: Make debug-devices.h local
    ARM: OMAP1: Move board-voiceblue.h from plat to mach
    ARM: OMAP1: Move board-sx1.h from plat to mach
    ARM: OMAP2+: Make omap-wakeupgen.h local
    ARM: OMAP2+: Make omap-secure.h local
    ARM: OMAP2+: Make ctrl_module_wkup_44xx.h local
    ...

    Linus Torvalds
     
  • This reverts commit d7559982701ac500662b2e8e150ff34f7faf0281.

    It wasn't meant to be applied, commit
    342b7b741d76bc8aadeff844634348bb2a343d19 ("net: ti cpsw ethernet: set
    IFCTL_A bit in MACCONTROL") was redone in such a way to make this
    commit unnecessary.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Allow users to specify the phy interface of the CPSW slaves. The new
    node parameter is called "phy_if_mode" and is optional. The original
    behaviour of the driver is preserved when not given.

    Signed-off-by: Daniel Mack
    Cc: Mugunthan V N
    Cc: Vaibhav Hiremath
    Cc: David S. Miller
    Signed-off-by: David S. Miller

    Daniel Mack
     
  • Pull USB changes from Greg Kroah-Hartman:
    "Here is the big USB pull request for 3.7-rc1

    There are lots of gadget driver changes (including copying a bunch of
    files into the drivers/staging/ccg/ directory so that the other gadget
    drivers can be fixed up properly without breaking that driver), and we
    remove the old obsolete ub.c driver from the tree.

    There are also the usual XHCI set of updates, and other various driver
    changes and updates. We also are trying hard to remove the old dbg()
    macro, but the final bits of that removal will be coming in through
    the networking tree before we can delete it for good.

    All of these patches have been in the linux-next tree.

    Signed-off-by: Greg Kroah-Hartman "

    Fix up several annoying - but fairly mindless - conflicts due to the
    termios structure having moved into the tty device, and often clashing
    with dbg -> dev_dbg conversion.

    * tag 'usb-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (339 commits)
    USB: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc
    USB: uas: fix gcc warning
    USB: uas: fix locking
    USB: Fix race condition when removing host controllers
    USB: uas: add locking
    USB: uas: fix abort
    USB: uas: remove aborted field, replace with status bit.
    USB: uas: fix task management
    USB: uas: keep track of command urbs
    xhci: Intel Panther Point BEI quirk.
    powerpc/usb: remove checking PHY_CLK_VALID for UTMI PHY
    USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support
    Revert "usb : Add sysfs files to control port power."
    USB: serial: remove vizzini driver
    usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems
    Increase XHCI suspend timeout to 16ms
    USB: ohci-at91: fix null pointer in ohci_hcd_at91_overcurrent_irq
    USB: sierra_ms: don't keep unused variable
    fsl/usb: Add support for USB controller version 2.4
    USB: qcaux: add Pantech vendor class match
    ...

    Linus Torvalds
     
  • Pull TTY changes from Greg Kroah-Hartman:
    "As we skipped the merge window for 3.6-rc1 for the tty tree,
    everything is now settled down and working properly, so we are ready
    for 3.7-rc1. Here's the patchset, it's big, but the large changes are
    removing a firmware file and adding a staging tty driver (it depended
    on the tty core changes, so it's going through this tree instead of
    the staging tree.)

    All of these patches have been in the linux-next tree for a while.

    Signed-off-by: Greg Kroah-Hartman "

    Fix up more-or-less trivial conflicts in
    - drivers/char/pcmcia/synclink_cs.c:
    tty NULL dereference fix vs tty_port_cts_enabled() helper function
    - drivers/staging/{Kconfig,Makefile}:
    add-add conflict (dgrp driver added close to other staging drivers)
    - drivers/staging/ipack/devices/ipoctal.c:
    "split ipoctal_channel from iopctal" vs "TTY: use tty_port_register_device"

    * tag 'tty-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (235 commits)
    tty/serial: Add kgdb_nmi driver
    tty/serial/amba-pl011: Quiesce interrupts in poll_get_char
    tty/serial/amba-pl011: Implement poll_init callback
    tty/serial/core: Introduce poll_init callback
    kdb: Turn KGDB_KDB=n stubs into static inlines
    kdb: Implement disable_nmi command
    kernel/debug: Mask KGDB NMI upon entry
    serial: pl011: handle corruption at high clock speeds
    serial: sccnxp: Make 'default' choice in switch last
    serial: sccnxp: Remove mask termios caps for SW flow control
    serial: sccnxp: Report actual baudrate back to core
    serial: samsung: Add poll_get_char & poll_put_char
    Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate
    Powerpc 8xx CPM_UART maxidl should not depend on fifo size
    Powerpc 8xx CPM_UART too many interrupts
    Powerpc 8xx CPM_UART desynchronisation
    serial: set correct baud_base for EXSYS EX-41092 Dual 16950
    serial: omap: fix the reciever line error case
    8250: blacklist Winbond CIR port
    8250_pnp: do pnp probe before legacy probe
    ...

    Linus Torvalds
     
  • Pull staging tree update from Greg Kroah-Hartman:
    "Here is the big staging tree update for the 3.7-rc1 merge window.

    There are a few patches in here that are outside of the staging area,
    namely HID and IIO patches, but all of them have been acked by the
    relevant subsystem maintainers. The IIO stuff is still coming in
    through this tree as it hasn't entirely moved out of the staging tree,
    but is almost there.

    Other than that, there wa a ton of work on the comedi drivers to make
    them more readable and the correct style. Doing that removed a lot of
    code, but we added a new driver to the staging tree, so we didn't end
    up with a net reduction this time around:

    662 files changed, 51649 insertions(+), 26582 deletions(-)

    All of these patches have been in the linux-next tree already.

    Signed-off-by: Greg Kroah-Hartman "

    * tag 'staging-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1094 commits)
    staging: comedi: jr3_pci: fix iomem dereference
    staging: comedi: drivers: use comedi_fc.h cmdtest helpers
    Staging: winbond: usb_free_urb(NULL) is safe
    Staging: winbond: checkpatch cleanup
    Staging: winbond: Removed undesired spaces, lines and tabs
    Staging: winbond: Typo corrections in comments
    Staging: winbond: Changed c99 comments to c89 comments
    staging: r8712u: Do not queue cloned skb
    staging: comedi: ni_mio_common: always lock in ni_ai_poll()
    staging: comedi: s626: add FIXME comment
    staging: comedi: s626: don't dereference insn->data
    staging: comedi: s526: fix if() check in s526_gpct_winsn()
    staging: comedi: s626: cleanup comments in s626_initialize()
    staging: comedi: s626: remove clear of kzalloc'ed data
    staging: comedi: s626: remove 'WDInterval' from private data
    staging: comedi: s626: remove 'ChargeEnabled' from private data
    staging: comedi: s626: remove 'IsBoardRevA' comment
    staging: comedi: s626: #if 0 out the "SAA7146 BUG WORKAROUND"
    staging: comedi: s626: remove 'allocatedBuf' from private data
    staging: comedi: s626: add final attach message
    ...

    Linus Torvalds
     
  • Pull char/misc driver merge from Greg Kroah-Hartman:
    "Here is the "big" char/misc driver tree update for the 3.7-rc1 merge
    window.

    Nothing major, just a number of driver updates and fixes, all of which
    have been in the linux-next releases for a while now either in my
    tree, or in Andrew's (the lis3l driver changes came from his tree last
    week).

    Signed-off-by: Greg Kroah-Hartman "

    * tag 'char-misc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (52 commits)
    drivers/misc/lis3lv02d/lis3lv02d_i2c.c: add lis3lv02d device tree init
    drivers/misc/lis3lv02d/lis3lv02d_spi.c: add lis3lv02d device tree init
    drivers/misc/lis3lv02d: remove lis3lv02d driver DT init
    drivers/misc/lis3lv02d/lis3lv02d_spi.c: add DT matching table passthru code
    drivers/misc/lis3lv02d: add generic DT matching code
    lis3lv02d: fix some comments specific to lis331dlh driver
    MISC: hpilo, remove pci_disable_device
    pcmcia: synclink_cs: fix potential tty NULL dereference
    drivers/char/mmtimer.c: Remove useless kfree
    drivers/char: removes unnecessary semicolon
    char/misc: remove CONFIG_EXPERIMENTAL dependencies
    mei: don't print buffer as a string
    mei: struct mei_message_data doesn't have to be packed
    mei: add error messages for open count errors
    misc: use module_spi_driver
    tifm: use module_pci_driver
    misc/at25, dt: Improve at25 SPI eeprom device tree bindings.
    mei: add lynx point pci device ids
    mei: fix max number of open handles
    mei: rename struct pci_dev *mei_device to mei_pdev
    ...

    Linus Torvalds
     

01 Oct, 2012

2 commits

  • In order to use a device as interrupt controller, it needs to be marked
    with the DT interrupt-controller property. This commit adds rudimentary
    documentation about the required standard properties and describes the
    most commonly used interrupt specifiers.

    Cc: Linus Walleij
    Cc: Grant Likely
    Acked-by: Stephen Warren
    Cc: devicetree-discuss@lists.ozlabs.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Thierry Reding
    Signed-off-by: Rob Herring

    Thierry Reding
     
  • The BCM2835 GPIO module is a combined GPIO controller, (GPIO) interrupt
    controller, and pinmux/control device.

    Original driver by Simon Arlott.
    Rewrite including GPIO chip device by Chris Boot.

    Upstreaming changes by Stephen Warren:
    * Wrote DT binding documentation.
    * Changed brcm,function to an integer to more directly match the
    datasheet, and to match brcm,pins being an integer.
    * Implemented pull-up/down pin config.
    * Removed read-only DT property and related code. The restriction this
    implemented are driven by the board, not the GPIO HW block, so don't
    really make sense of a HW block binding, were in general incomplete
    (since they could only know about the few pins hard-coded into the
    Raspberry Pi B board design and not the uncommitted GPIOS), and are
    better represented simply by not writing incorrect data into pin
    configuration nodes.
    * Don't set GPIO_IN function select in gpio_request_enable() to avoid
    glitches; defer this to gpio_set_direction(). Consequently, removed
    empty bcm2835_pmx_gpio_request_enable().
    * Simplified enabled_irq_map[]; make it explicitly 1 entry per bank.
    * Lifted use of enabled_irq_map[] outside the per-interrupt loop in
    IRQ handler, thus fixing an issue where the code was indexing into
    enabled_irq_map[] by intra-bank GPIO ID, not global GPIO ID.
    * Removed locking in IRQ handler, since all other code uses
    spin_lock_irqsave() and so guarantees it doesn't run concurrently
    with the handler.
    * Moved duplicated BUILD_BUG_ON()s into probe(). Also check size of
    bcm2835_gpio_pins[].
    * Remove range-checking from bcm2835_pctl_get_groups_count() since we've
    decided to trust the pinctrl core.
    * Made bcm2835_pmx_gpio_disable_free() call bcm2835_pinctrl_fsel_set()
    directly for simplicity.
    * Fixed body of dt_free_map() to match latest dt_node_to_map().
    * Removed GPIO ownership check from bcm2835_pmx_enable() since the pinctrl
    core owns doing this.
    * Made irq_chip and pinctrl_gpio_range .name == MODULE_NAME so it's more
    descriptive.
    * Simplified remove(); removed call to non-existent
    pinctrl_remove_gpio_range(), remove early return on error.
    * Don't force gpiochip's base to 0. Set gpio_range.base to gpiochip's
    base GPIO number.
    * Error-handling cleanups in probe().
    * Switched to module_platform_driver() rather than open-coding.
    * Made pin, group, and function names lower-case.
    * s/broadcom/brcm/ in DT property names.
    * s/2708/2835/.
    * Fixed a couple minor checkpatch warnings, and other minor cleanup.

    Signed-off-by: Simon Arlott
    Signed-off-by: Chris Boot
    Signed-off-by: Stephen Warren
    Signed-off-by: Linus Walleij

    Simon Arlott
     

30 Sep, 2012

1 commit


28 Sep, 2012

2 commits


27 Sep, 2012

2 commits

  • Add lis3lv02d device tree initialization code/API to take pdata from
    device node. Also adds device tree init matching table support to
    lis3lv02d_i2c driver. If the driver data is passed from device tree, then
    this driver picks up platform data from device node through common/generic
    lis3lv02d.c driver.

    [akpm@linux-foundation.org: fix CONFIG_OF=n build]
    Signed-off-by: AnilKumar Ch
    Cc: Eric Piel
    Reviewed-by: Arnd Bergmann
    Cc: Mark Brown
    Cc: Tony Lindgren
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    AnilKumar Ch
     
  • Adds logic to parse lis3 properties from a device tree node and store them
    in a freshly allocated lis3lv02d_platform_data.

    Note that the actual match tables are left out here. This part should
    happen in the drivers that bind to the individual busses (SPI/I2C/PCI).

    Also adds some DT bindinds documentation.

    Signed-off-by: Daniel Mack
    Cc: Rob Herring
    Cc: "AnilKumar, Chimata"
    Reviewed-by: Éric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Daniel Mack
     

25 Sep, 2012

6 commits

  • Commit "regulator: deprecate regulator-compatible DT property" deprecated
    the use of the regulator-compatible DT property. Update the DT example in
    the TPS6586x binding documentation to reflect this.

    Signed-off-by: Stephen Warren
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • Commit "regulator: deprecate regulator-compatible DT property" deprecated
    the use of the regulator-compatible DT property. Update the DT example in
    the TPS65217 binding documentation to reflect this.

    Signed-off-by: Stephen Warren
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • When the bindings for the TPS6586x regulator were being proposed, I
    asserted that DT node naming rules for bus child nodes should also be
    applied to nodes inside the TPS6586x regulator node itself. In other
    words, that each node providing regulator init data should be named
    after the type of object it represented ("regulator") and hence that
    some other property was required to indicate which regulator the node
    described ("regulator-compatible"). In turn this led to multiple nodes
    having the same name, thus requiring node names to use a unit address
    to make them unique, thus requiring reg properties within the nodes and

    However, subsequent discussion indicates that the rules I was asserting
    only applies to standardized bus nodes, and within a device's own node,
    the binding can basically do anything sane that it wants.

    Hence, this change deprecates the register-compatible property, and
    instead uses node names to replace this functionality. This greatly
    simplifies the device tree content, making them smaller and more legible.

    The code is changed such that old device trees continue to work.

    Signed-off-by: Stephen Warren
    Signed-off-by: Mark Brown

    Stephen Warren
     
  • Linux 3.6-rc6

    Conflicts (overlap between moving code that accesses registers around
    and factoring the register access out into a SSP layer):
    drivers/mmc/host/mxs-mmc.c

    Mark Brown
     
  • Linux 3.6-rc6

    Conflicts:
    drivers/spi/spi-omap2-mcspi.c

    Mark Brown
     
  • Even with devicetree support, we needed platform data to provide some data,
    leading to mixed device tree and platform data. This patch makes it possible to
    provide all that information via device tree. Now, the data must be provided
    via platform data _or_ device tree completely.

    Only in case of DMA where a callback specification is necessary (dma_filter()),
    platform data is the only option.

    Signed-off-by: Roland Stigge
    Acked-by: Arnd Bergmann
    Acked-by: Linus Walleij
    Signed-off-by: Mark Brown

    Roland Stigge
     

24 Sep, 2012

1 commit

  • From Tony Prisk:

    Update arch-vt8500 and drivers to device tree and
    remove existing non-dt code.

    * tag 'vt8500-for-next' of git://git.code.sf.net/p/linuxwmt/code:
    arm: vt8500: Update arch-vt8500 to devicetree support.
    arm: vt8500: gpio: Devicetree support for arch-vt8500
    arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
    arm: vt8500: clk: Add Common Clock Framework support
    video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb
    serial: vt8500: Add devicetree support for vt8500-serial
    rtc: vt8500: Add devicetree support for vt8500-rtc
    arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

    Resolved add/change conflict in drivers/clk/Makefile.

    Signed-off-by: Olof Johansson

    Olof Johansson
     

23 Sep, 2012

1 commit

  • * 'for-arm-soc-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500:
    ARM: ux500: Fix SSP register address format
    ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT
    ARM: ux500: Remove redundant #gpio-cell properties from Snowball DT
    ARM: ux500: Add all encompassing sound node to the HREF Device Tree
    ARM: ux500: Add nodes for the MSP into the HREF Device Tree
    ARM: ux500: Add all known I2C sub-device nodes to the HREF DT
    ARM: ux500: Stop registering I2C sub-devices for HREF when DT is enabled
    ARM: ux500: Stop registering Audio devices for HREF when DT is enabled
    ARM: ux500: Add all encompassing sound node to the Snowball Device Tree
    ARM: ux500: Add nodes for the MSP into Device Tree
    ARM: ux500: Rename MSP board file to something more meaningful
    ARM: ux500: Remove platform registration of MSP devices
    ARM: ux500: Stop registering the MOP500 Audio driver from platform code
    ARM: ux500: Pass MSP DMA platform data though AUXDATA
    ARM: ux500: Fork MSP platform registration for step-by-step DT enablement
    ARM: ux500: Add AB8500 CODEC node to DB8500 Device Tree
    ARM: ux500: Clean-up MSP platform code
    ARM: ux500: Pass SDI DMA information though AUX_DATA to MMCI
    ARM: ux500: Add UART support to the HREF Device Tree
    ARM: ux500: Add skeleton Device Tree for the HREF reference board
    ...
    + sync to v3.6-rc6

    Olof Johansson
     

22 Sep, 2012

2 commits


21 Sep, 2012

3 commits

  • Signed-off-by: Zhangfei Gao
    Acked-by: Arnd Bergmann
    Signed-off-by: Haojian Zhuang

    Zhangfei Gao
     
  • Bindings for gpio, interrupt controller, power management controller,
    timer, realtime clock, serial uart, ehci and uhci controllers and
    framebuffer controllers used on the arch-vt8500 platform.

    Framebuffer binding also specifies a 'display' node which is required
    for determining the lcd panel data.

    Signed-off-by: Tony Prisk

    Tony Prisk
     
  • …/linux-rpi into next/soc

    ARM: add basic BCM2835 SoC and Raspberry Pi board support

    The BCM2835 is an ARM SoC from Broadcom. This patch adds very basic
    support for this SoC; enough to boot the system into an initrd with
    UART console, interrupt controller, timers, and a stub clock driver.

    Also provided is a similarly basic device tree for the Raspberry Pi
    Model B board.

    This series was written by Simon Arlott, Chris Boot, and Dom Cobley
    downstream, with reference to a Broadcom tree, and modified for upstream
    and submitted by Stephen Warren.

    * tag 'rpi-for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi:
    MAINTAINERS: add an entry for the BCM2835 ARM sub-architecture
    ARM: bcm2835: instantiate console UART
    ARM: bcm2835: add stub clock driver
    ARM: bcm2835: add system timer
    ARM: bcm2835: add interrupt controller driver
    ARM: add infra-structure for BCM2835 and Raspberry Pi

    Olof Johansson