22 Apr, 2015

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here's the big char/misc driver patchset for 4.1-rc1.

    Lots of different driver subsystem updates here, nothing major, full
    details are in the shortlog.

    All of this has been in linux-next for a while"

    * tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (133 commits)
    mei: trace: remove unused TRACE_SYSTEM_STRING
    DTS: ARM: OMAP3-N900: Add lis3lv02d support
    Documentation: DT: lis302: update wakeup binding
    lis3lv02d: DT: add wakeup unit 2 and wakeup threshold
    lis3lv02d: DT: use s32 to support negative values
    Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case
    Drivers: hv: hv_balloon: correctly handle val.freeram directory
    coresight-tmc: Adding a status interface to sysfs
    coresight: remove the unnecessary configuration coresight-default-sink
    ...

    Linus Torvalds
     

17 Mar, 2015

1 commit


10 Mar, 2015

1 commit


16 Feb, 2015

1 commit

  • Pull staging drivers patches from Greg KH:
    "Here's the big staging driver tree update for 3.20-rc1.

    Lots of little things in here, adding up to lots of overall cleanups.
    The IIO driver updates are also in here as they cross the staging tree
    boundry a lot. I2O has moved into staging as well, as a plan to drop
    it from the tree eventually as that's a dead subsystem.

    All of this has been in linux-next with no reported issues for a
    while"

    * tag 'staging-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (740 commits)
    staging: lustre: lustre: libcfs: define symbols as static
    staging: rtl8712: Do coding style cleanup
    staging: lustre: make obd_updatemax_lock static
    staging: rtl8188eu: core: switch with redundant cases
    staging: rtl8188eu: odm: conditional setting with no effect
    staging: rtl8188eu: odm: condition with no effect
    staging: ft1000: fix braces warning
    staging: sm7xxfb: fix remaining CamelCase
    staging: sm7xxfb: fix CamelCase
    staging: rtl8723au: multiple condition with no effect - if identical to else
    staging: sm7xxfb: make smtc_scr_info static
    staging/lustre/mdc: Initialize req in mdc_enqueue for !it case
    staging/lustre/clio: Do not allow group locks with gid 0
    staging/lustre/llite: don't add to page cache upon failure
    staging/lustre/llite: Add exception entry check after radix_tree
    staging/lustre/libcfs: protect kkuc_groups from write access
    staging/lustre/fld: refer to MDT0 for fld lookup in some cases
    staging/lustre/llite: Solve a race to access lli_has_smd in read case
    staging/lustre/ptlrpc: hold rq_lock when modify rq_flags
    staging/lustre/lnet: portal spreading rotor should be unsigned
    ...

    Linus Torvalds
     

30 Dec, 2014

1 commit


26 Dec, 2014

1 commit


10 Oct, 2014

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "The interesting things here are:

    - Turn on Config Request Retry Status Software Visibility. This
    caused hangs last time, but we included a fix this time.
    - Rework PCI device configuration to use _HPP/_HPX more aggressively
    - Allow PCI devices to be put into D3cold during system suspend
    - Add arm64 PCI support
    - Add APM X-Gene host bridge driver
    - Add TI Keystone host bridge driver
    - Add Xilinx AXI host bridge driver

    More detailed summary:

    Enumeration
    - Check Vendor ID only for Config Request Retry Status (Rajat Jain)
    - Enable Config Request Retry Status when supported (Rajat Jain)
    - Add generic domain handling (Catalin Marinas)
    - Generate uppercase hex for modalias interface class (Ricardo Ribalda Delgado)

    Resource management
    - Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources() (Yinghai Lu)
    - Increase IBM ipr SAS Crocodile BARs to at least system page size (Douglas Lehr)

    PCI device hotplug
    - Prevent NULL dereference during pciehp probe (Andreas Noever)
    - Move _HPP & _HPX handling into core (Bjorn Helgaas)
    - Apply _HPP to PCIe devices as well as PCI (Bjorn Helgaas)
    - Apply _HPP/_HPX to display devices (Bjorn Helgaas)
    - Preserve SERR & PARITY settings when applying _HPP/_HPX (Bjorn Helgaas)
    - Preserve MPS and MRRS settings when applying _HPP/_HPX (Bjorn Helgaas)
    - Apply _HPP/_HPX to all devices, not just hot-added ones (Bjorn Helgaas)
    - Fix wait time in pciehp timeout message (Yinghai Lu)
    - Add more pciehp Slot Control debug output (Yinghai Lu)
    - Stop disabling pciehp notifications during init (Yinghai Lu)

    MSI
    - Remove arch_msi_check_device() (Alexander Gordeev)
    - Rename pci_msi_check_device() to pci_msi_supported() (Alexander Gordeev)
    - Move D0 check into pci_msi_check_device() (Alexander Gordeev)
    - Remove unused kobject from struct msi_desc (Yijing Wang)
    - Remove "pos" from the struct msi_desc msi_attrib (Yijing Wang)
    - Add "msi_bus" sysfs MSI/MSI-X control for endpoints (Yijing Wang)
    - Use __get_cached_msi_msg() instead of get_cached_msi_msg() (Yijing Wang)
    - Use __read_msi_msg() instead of read_msi_msg() (Yijing Wang)
    - Use __write_msi_msg() instead of write_msi_msg() (Yijing Wang)

    Power management
    - Drop unused runtime PM support code for PCIe ports (Rafael J. Wysocki)
    - Allow PCI devices to be put into D3cold during system suspend (Rafael J. Wysocki)

    AER
    - Add additional AER error strings (Gong Chen)
    - Make standalone includable (Thierry Reding)

    Virtualization
    - Add ACS quirk for Solarflare SFC9120 & SFC9140 (Alex Williamson)
    - Add ACS quirk for Intel 10G NICs (Alex Williamson)
    - Add ACS quirk for AMD A88X southbridge (Marti Raudsepp)
    - Remove unused pci_find_upstream_pcie_bridge(), pci_get_dma_source() (Alex Williamson)
    - Add device flag helpers (Ethan Zhao)
    - Assume all Mellanox devices have broken INTx masking (Gavin Shan)

    Generic host bridge driver
    - Fix ioport_map() for !CONFIG_GENERIC_IOMAP (Liviu Dudau)
    - Add pci_register_io_range() and pci_pio_to_address() (Liviu Dudau)
    - Define PCI_IOBASE as the base of virtual PCI IO space (Liviu Dudau)
    - Fix the conversion of IO ranges into IO resources (Liviu Dudau)
    - Add pci_get_new_domain_nr() and of_get_pci_domain_nr() (Liviu Dudau)
    - Add support for parsing PCI host bridge resources from DT (Liviu Dudau)
    - Add pci_remap_iospace() to map bus I/O resources (Liviu Dudau)
    - Add arm64 architectural support for PCI (Liviu Dudau)

    APM X-Gene
    - Add APM X-Gene PCIe driver (Tanmay Inamdar)
    - Add arm64 DT APM X-Gene PCIe device tree nodes (Tanmay Inamdar)

    Freescale i.MX6
    - Probe in module_init(), not fs_initcall() (Lucas Stach)
    - Delay enabling reference clock for SS until it stabilizes (Tim Harvey)

    Marvell MVEBU
    - Fix uninitialized variable in mvebu_get_tgt_attr() (Thomas Petazzoni)

    NVIDIA Tegra
    - Make sure the PCIe PLL is really reset (Eric Yuen)
    - Add error path tegra_msi_teardown_irq() cleanup (Jisheng Zhang)
    - Fix extended configuration space mapping (Peter Daifuku)
    - Implement resource hierarchy (Thierry Reding)
    - Clear CLKREQ# enable on port disable (Thierry Reding)
    - Add Tegra124 support (Thierry Reding)

    ST Microelectronics SPEAr13xx
    - Pass config resource through reg property (Pratyush Anand)

    Synopsys DesignWare
    - Use NULL instead of false (Fabio Estevam)
    - Parse bus-range property from devicetree (Lucas Stach)
    - Use pci_create_root_bus() instead of pci_scan_root_bus() (Lucas Stach)
    - Remove pci_assign_unassigned_resources() (Lucas Stach)
    - Check private_data validity in single place (Lucas Stach)
    - Setup and clear exactly one MSI at a time (Lucas Stach)
    - Remove open-coded bitmap operations (Lucas Stach)
    - Fix configuration base address when using 'reg' (Minghuan Lian)
    - Fix IO resource end address calculation (Minghuan Lian)
    - Rename get_msi_data() to get_msi_addr() (Minghuan Lian)
    - Add get_msi_data() to pcie_host_ops (Minghuan Lian)
    - Add support for v3.65 hardware (Murali Karicheri)
    - Fold struct pcie_port_info into struct pcie_port (Pratyush Anand)

    TI Keystone
    - Add TI Keystone PCIe driver (Murali Karicheri)
    - Limit MRSS for all downstream devices (Murali Karicheri)
    - Assume controller is already in RC mode (Murali Karicheri)
    - Set device ID based on SoC to support multiple ports (Murali Karicheri)

    Xilinx AXI
    - Add Xilinx AXI PCIe driver (Srikanth Thokala)
    - Fix xilinx_pcie_assign_msi() return value test (Dan Carpenter)

    Miscellaneous
    - Clean up whitespace (Quentin Lambert)
    - Remove assignments from "if" conditions (Quentin Lambert)
    - Move PCI_VENDOR_ID_VMWARE to pci_ids.h (Francesco Ruggeri)
    - x86: Mark DMI tables as initialization data (Mathias Krause)
    - x86: Move __init annotation to the correct place (Mathias Krause)
    - x86: Mark constants of pci_mmcfg_nvidia_mcp55() as __initconst (Mathias Krause)
    - x86: Constify pci_mmcfg_probes[] array (Mathias Krause)
    - x86: Mark PCI BIOS initialization code as such (Mathias Krause)
    - Parenthesize PCI_DEVID and PCI_VPD_LRDT_ID parameters (Megan Kamiya)
    - Remove unnecessary variable in pci_add_dynid() (Tobias Klauser)"

    * tag 'pci-v3.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (109 commits)
    arm64: dts: Add APM X-Gene PCIe device tree nodes
    PCI: Add ACS quirk for AMD A88X southbridge devices
    PCI: xgene: Add APM X-Gene PCIe driver
    PCI: designware: Remove open-coded bitmap operations
    PCI/MSI: Remove unnecessary temporary variable
    PCI/MSI: Use __write_msi_msg() instead of write_msi_msg()
    MSI/powerpc: Use __read_msi_msg() instead of read_msi_msg()
    PCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg()
    PCI/MSI: Add "msi_bus" sysfs MSI/MSI-X control for endpoints
    PCI/MSI: Remove "pos" from the struct msi_desc msi_attrib
    PCI/MSI: Remove unused kobject from struct msi_desc
    PCI/MSI: Rename pci_msi_check_device() to pci_msi_supported()
    PCI/MSI: Move D0 check into pci_msi_check_device()
    PCI/MSI: Remove arch_msi_check_device()
    irqchip: armada-370-xp: Remove arch_msi_check_device()
    PCI/MSI/PPC: Remove arch_msi_check_device()
    arm64: Add architectural support for PCI
    PCI: Add pci_remap_iospace() to map bus I/O resources
    of/pci: Add support for parsing PCI host bridge resources from DT
    of/pci: Add pci_get_new_domain_nr() and of_get_pci_domain_nr()
    ...

    Conflicts:
    arch/arm64/boot/dts/apm-storm.dtsi

    Linus Torvalds
     

24 Sep, 2014

3 commits


05 Sep, 2014

1 commit

  • Provide device-managed implementations of the request_resource() and
    release_resource() functions. Upon failure to request a resource, the new
    devm_request_resource() function will output an error message for
    consistent error reporting.

    Signed-off-by: Thierry Reding
    Signed-off-by: Bjorn Helgaas
    Acked-by: Tejun Heo

    Thierry Reding
     

12 Jul, 2014

1 commit


10 Jul, 2014

1 commit

  • Commit 64c862a83... added new alloc variants to the devres managed
    API. These should be included in the list of managed API found in
    devres.txt.

    Signed-off-by: Daniel Thompson
    Cc: Randy Dunlap
    Cc: Grant Likely
    Cc: Rob Herring
    Cc: Joe Perches
    Acked-by: Tejun Heo
    Signed-off-by: Greg Kroah-Hartman

    Daniel Thompson
     

20 Jun, 2014

1 commit

  • devm_request_and_ioremap() was obsoleted by the commit 7509657
    ("lib: devres: Introduce devm_ioremap_resource()") and has been
    deprecated for a long time. So, let's remove this function.
    In addition, all usages of devm_request_and_ioremap() are also
    removed.

    Signed-off-by: Jingoo Han
    Signed-off-by: Greg Kroah-Hartman

    Jingoo Han
     

13 Jun, 2014

1 commit

  • Pull networking updates from David Miller:

    1) Seccomp BPF filters can now be JIT'd, from Alexei Starovoitov.

    2) Multiqueue support in xen-netback and xen-netfront, from Andrew J
    Benniston.

    3) Allow tweaking of aggregation settings in cdc_ncm driver, from Bjørn
    Mork.

    4) BPF now has a "random" opcode, from Chema Gonzalez.

    5) Add more BPF documentation and improve test framework, from Daniel
    Borkmann.

    6) Support TCP fastopen over ipv6, from Daniel Lee.

    7) Add software TSO helper functions and use them to support software
    TSO in mvneta and mv643xx_eth drivers. From Ezequiel Garcia.

    8) Support software TSO in fec driver too, from Nimrod Andy.

    9) Add Broadcom SYSTEMPORT driver, from Florian Fainelli.

    10) Handle broadcasts more gracefully over macvlan when there are large
    numbers of interfaces configured, from Herbert Xu.

    11) Allow more control over fwmark used for non-socket based responses,
    from Lorenzo Colitti.

    12) Do TCP congestion window limiting based upon measurements, from Neal
    Cardwell.

    13) Support busy polling in SCTP, from Neal Horman.

    14) Allow RSS key to be configured via ethtool, from Venkata Duvvuru.

    15) Bridge promisc mode handling improvements from Vlad Yasevich.

    16) Don't use inetpeer entries to implement ID generation any more, it
    performs poorly, from Eric Dumazet.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1522 commits)
    rtnetlink: fix userspace API breakage for iproute2 < v3.9.0
    tcp: fixing TLP's FIN recovery
    net: fec: Add software TSO support
    net: fec: Add Scatter/gather support
    net: fec: Increase buffer descriptor entry number
    net: fec: Factorize feature setting
    net: fec: Enable IP header hardware checksum
    net: fec: Factorize the .xmit transmit function
    bridge: fix compile error when compiling without IPv6 support
    bridge: fix smatch warning / potential null pointer dereference
    via-rhine: fix full-duplex with autoneg disable
    bnx2x: Enlarge the dorq threshold for VFs
    bnx2x: Check for UNDI in uncommon branch
    bnx2x: Fix 1G-baseT link
    bnx2x: Fix link for KR with swapped polarity lane
    sctp: Fix sk_ack_backlog wrap-around problem
    net/core: Add VF link state control policy
    net/fsl: xgmac_mdio is dependent on OF_MDIO
    net/fsl: Make xgmac_mdio read error message useful
    net_sched: drr: warn when qdisc is not work conserving
    ...

    Linus Torvalds
     

03 Jun, 2014

1 commit

  • …egkh/staging into next

    Pull staging driver updates from Greg KH:
    "Here is the big staging driver pull request for 3.16-rc1.

    Lots of stuff here, tons of cleanup patches, a few new drivers, and
    some removed as well, but I think we are still adding a few thousand
    more lines than we remove, due to the new drivers being bigger than
    the ones deleted.

    One notible bit of work did stand out, Jes Sorensen has gone on a
    tear, fixing up a wireless driver to be "more sane" than it originally
    was from the vendor, with over 500 patches merged here. Good stuff,
    and a number of users laptops are better off for it.

    All of this has been in linux-next for a while"

    * tag 'staging-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1703 commits)
    staging: skein: fix sparse warning for static declarations
    staging/mt29f_spinand: coding style fixes
    staging: silicom: fix sparse warning for static variable
    staging: lustre: Fix coding style
    staging: android: binder.c: Use more appropriate functions for euid retrieval
    staging: lustre: fix integer as NULL pointer warnings
    Revert "staging: dgap: remove unneeded kfree() in dgap_tty_register_ports()"
    Staging: rtl8192u: r8192U_wx.c Fixed a misplaced brace
    staging: ion: shrink highmem pages on kswapd
    staging: ion: use compound pages on high order pages for system heap
    staging: ion: remove struct ion_page_pool_item
    staging: ion: simplify ion_page_pool_total()
    staging: ion: tidy up a bit
    staging: rtl8723au: Remove redundant casting in usb_ops_linux.c
    staging: rtl8723au: Remove redundant casting in rtl8723a_hal_init.c
    staging: rtl8723au: Remove redundant casting in rtw_xmit.c
    staging: rtl8723au: Remove redundant casting in rtw_wlan_util.c
    staging: rtl8723au: Remove redundant casting in rtw_sta_mgt.c
    staging: rtl8723au: Remove redundant casting in rtw_recv.c
    staging: rtl8723au: Remove redundant casting in rtw_mlme.c
    ...

    Linus Torvalds
     

24 May, 2014

1 commit


09 May, 2014

1 commit

  • Introduce gpiod_get_optional() and gpiod_get_index_optional() helpers
    that make it easier for drivers to handle optional GPIOs.

    Currently in order to handle optional GPIOs, a driver needs to special
    case error handling for -ENOENT, such as this:

    gpio = gpiod_get(dev, "foo");
    if (IS_ERR(gpio)) {
    if (PTR_ERR(gpio) != -ENOENT)
    return PTR_ERR(gpio);

    gpio = NULL;
    }

    if (gpio) {
    /* set up GPIO */
    }

    With these new helpers the above is reduced to:

    gpio = gpiod_get_optional(dev, "foo");
    if (IS_ERR(gpio))
    return PTR_ERR(gpio);

    if (gpio) {
    /* set up GPIO */
    }

    While at it, device-managed variants of these functions are also
    provided.

    Signed-off-by: Thierry Reding
    Reviewed-by: Alexandre Courbot
    Signed-off-by: Linus Walleij

    Thierry Reding
     

03 May, 2014

2 commits


30 Apr, 2014

1 commit


23 Jan, 2014

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual rocket science stuff from trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    neighbour.h: fix comment
    sched: Fix warning on make htmldocs caused by wait.h
    slab: struct kmem_cache is protected by slab_mutex
    doc: Fix typo in USB Gadget Documentation
    of/Kconfig: Spelling s/one/once/
    mkregtable: Fix sscanf handling
    lp5523, lp8501: comment improvements
    thermal: rcar: comment spelling
    treewide: fix comments and printk msgs
    IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
    Documentation: update /proc/uptime field description
    Documentation: Fix size parameter for snprintf
    arm: fix comment header and macro name
    asm-generic: uaccess: Spelling s/a ny/any/
    mtd: onenand: fix comment header
    doc: driver-model/platform.txt: fix a typo
    drivers: fix typo in DEVTMPFS_MOUNT Kconfig help text
    doc: Fix typo (acces_process_vm -> access_process_vm)
    treewide: Fix typos in printk
    drivers/gpu/drm/qxl/Kconfig: reformat the help text
    ...

    Linus Torvalds
     

21 Jan, 2014

1 commit

  • Pull staging driver tree changes from Greg KH:
    "Here's the big drivers/staging/ update for 3.14-rc1

    Lots and lots of cleanups, IIO driver updates are also mixed in here
    due to the subsystem still crossing staging and drivers/iio/, and the
    dwc2 driver is moved out of staging. There's a new driver (rts5208),
    which ends up making us adding more lines than removing, but overall
    there was lots of work toward moving code out of here, which was good

    All of this has been in linux-next with no reported issues"

    * tag 'staging-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1084 commits)
    lustre: delete linux/lustre_debug.h
    staging: lustre: remove some unused debug macros
    usb: dwc2: move device tree bindings doc to correct place
    staging: vt6656: sparse fixes: iwctl_giwgenie use memcpy.
    staging: vt6656: sparse fixes: iwctl_siwgenie use memcpy.
    staging: vt6656: sparse fixes ethtool_ioctl Use struct ifreq *
    staging: vt6656: sparse fixes: dpc.c missing dpc.h
    staging: lustre: libcfs_debug: small whitespace cleanups
    staging: lustre: libcfs_debug.h: remove extra blank lines
    staging: lustre: libcfs_debug.h: Align backslashes in macros
    staging: lustre: libcfs_debug.h: align define values
    staging: tidspbridge: adjust error return code (bugfix)
    Staging: rts5139: rts51x_card: fixed style issues
    staging: wlags49_h2: Fix "do not use C99 //" in wl_cs.h, wl_enc.h wl_main.h and wl_wext.h
    Staging: rtl8188eu: Fixed "foo * bar" related coding style issues
    Staging: rtl8188eu: Fixed required spaces after ',' and around '=' and '=='
    staging: vt6655: Fix memory leak in wpa_ioctl()
    imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT
    staging: drm/imx: don't drop crtc offsets when doing pageflip
    staging: drm/imx: handle framebuffer offsets correctly
    ...

    Linus Torvalds
     

20 Dec, 2013

1 commit


19 Dec, 2013

1 commit


11 Dec, 2013

1 commit

  • After realizing that we tend to tell developers the same thing over
    and over, let's attempt to document some commin design patterns
    used in the device drivers. The idea is that this can be extended
    so I just start out with two well-known design patterns.

    Cc: Rob Landley
    Cc: Mark Brown
    Cc: Arnd Bergmann
    Cc: Grant Likely
    Signed-off-by: Linus Walleij
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

26 Nov, 2013

1 commit

  • …/iio into staging-next

    Jonathan writes:

    First set of new features, drivers and cleanups for IIO in the 3.14 cycle.
    This mostly consists of patches that didn't quite make the last cycle. Lots
    of interesting things under review currently.

    Core:
    - Add devm_iio_device_register/unregister. I took some convincing on whether
    there would be many devices that really were simple enough to need no
    explicit actions on removal. Turns out there are some.
    - Move some stray docs to above the relevant implemenation.
    - Drop a redundant repeated check on the fact the trigger has actually changed
    when there is a userspace attempt change it.

    Drivers:
    New drivers
    - Freescale MPL3115A2 Pressure / temperature sensor

    New functionality
    - hid_sensors: add sensitivity support.

    DT bindings
    - tsl2563
    - hmc5843

    Cleanups
    - Drop unused scan_type from viperboard adc driver.
    - devm_iio_device_register used in viperboard, ad5421, ad5755, adis16130,
    adxrs450, vcnl4000, adis16220, ad7816, lpc32xx, adt7316, adis16060, isl29018
    and ad2s1200. Note that this was proposed in a number of other drivers
    and this revealed a number of missorderings in remove functions. Also for
    now I have blocked this on any device that any hardware suspend suport on
    the basis that we probably want to power down devices if they have no driver
    support loaded.

    Greg Kroah-Hartman
     

25 Nov, 2013

1 commit


12 Nov, 2013

1 commit

  • Pull spi updates from Mark Brown:
    "As well as the usual driver updates and cleanups there's a few
    improvements to the core here:

    - The start of some improvements to factor out more of the SPI
    message loop into the core. Right now this is just simplifying the
    code a bit but hopefully next time around we'll also have managed
    to roll out some noticable performance improvements which drivers
    can take advantage of.
    - Support for loading modules for ACPI enumerated SPI devices.
    - Managed registration for SPI controllers.
    - Helper for another common I/O pattern"

    * tag 'spi-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (116 commits)
    spi/hspi: add device tree support
    spi: atmel: fix return value check in atmel_spi_probe()
    spi: spi-imx: only enable the clocks when we start to transfer a message
    spi/s3c64xx: Fix doubled clock disable on suspend
    spi/s3c64xx: Do not ignore return value of spi_master_resume/suspend
    spi: spi-mxs: Use u32 instead of uint32_t
    spi: spi-mxs: Don't set clock for each xfer
    spi: spi-mxs: Clean up setup_transfer function
    spi: spi-mxs: Remove check of spi mode bits
    spi: spi-mxs: Fix race in setup method
    spi: spi-mxs: Remove bogus setting of ssp clk rate field
    spi: spi-mxs: Remove full duplex check, spi core already does it
    spi: spi-mxs: Fix chip select control bits in DMA mode
    spi: spi-mxs: Fix extra CS pulses and read mode in multi-transfer messages
    spi: spi-mxs: Change flag arguments in txrx functions to bit flags
    spi: spi-mxs: Always clear INGORE_CRC, to keep CS asserted
    spi: spi-mxs: Remove mxs_spi_enable and mxs_spi_disable
    spi: spi-mxs: Always set LOCK_CS
    spi/s3c64xx: Add missing pm_runtime_put on setup fail
    spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()
    ...

    Linus Torvalds
     

17 Sep, 2013

2 commits


11 Sep, 2013

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:
    "This pull brings:
    - Andy's DW driver updates
    - Guennadi's sh driver updates
    - Pl08x driver fixes from Tomasz & Alban
    - Improvements to mmp_pdma by Daniel
    - TI EDMA fixes by Joel
    - New drivers:
    - Hisilicon k3dma driver
    - Renesas rcar dma driver
    - New API for publishing slave driver capablities
    - Various fixes across the subsystem by Andy, Jingoo, Sachin etc..."

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (94 commits)
    dma: edma: Remove limits on number of slots
    dma: edma: Leave linked to Null slot instead of DUMMY slot
    dma: edma: Find missed events and issue them
    ARM: edma: Add function to manually trigger an EDMA channel
    dma: edma: Write out and handle MAX_NR_SG at a given time
    dma: edma: Setup parameters to DMA MAX_NR_SG at a time
    dmaengine: pl330: use dma_set_max_seg_size to set the sg limit
    dmaengine: dma_slave_caps: remove sg entries
    dma: replace devm_request_and_ioremap by devm_ioremap_resource
    dma: ste_dma40: Fix potential null pointer dereference
    dma: ste_dma40: Remove duplicate const
    dma: imx-dma: Remove redundant NULL check
    dma: dmagengine: fix function names in comments
    dma: add driver for R-Car HPB-DMAC
    dma: k3dma: use devm_ioremap_resource() instead of devm_request_and_ioremap()
    dma: imx-sdma: Staticize sdma_driver_data structures
    pch_dma: Add MODULE_DEVICE_TABLE
    dmaengine: PL08x: Add cyclic transfer support
    dmaengine: PL08x: Fix reading the byte count in cctl
    dmaengine: PL08x: Add support for different maximum transfer size
    ...

    Linus Torvalds
     

25 Aug, 2013

1 commit


18 Aug, 2013

1 commit


04 Aug, 2013

1 commit


23 Jan, 2013

1 commit

  • The devm_request_and_ioremap() function is very useful and helps avoid a
    whole lot of boilerplate. However, one issue that keeps popping up is
    its lack of a specific error code to determine which of the steps that
    it performs failed. Furthermore, while the function gives an example and
    suggests what error code to return on failure, a wide variety of error
    codes are used throughout the tree.

    In an attempt to fix these problems, this patch adds a new function that
    drivers can transition to. The devm_ioremap_resource() returns a pointer
    to the remapped I/O memory on success or an ERR_PTR() encoded error code
    on failure. Callers can check for failure using IS_ERR() and determine
    its cause by extracting the error code using PTR_ERR().

    devm_request_and_ioremap() is implemented as a wrapper around the new
    API and return NULL on failure as before. This ensures that backwards
    compatibility is maintained until all users have been converted to the
    new API, at which point the old devm_request_and_ioremap() function
    should be removed.

    A semantic patch is included which can be used to convert from the old
    devm_request_and_ioremap() API to the new devm_ioremap_resource() API.
    Some non-trivial cases may require manual intervention, though.

    Signed-off-by: Thierry Reding
    Cc: Arnd Bergmann
    Acked-by: Dmitry Torokhov
    Signed-off-by: Greg Kroah-Hartman

    Thierry Reding
     

18 Jan, 2013

1 commit


10 Sep, 2012

1 commit


22 May, 2012

1 commit

  • Pull pin control subsystem changes from Linus Walleij:

    - Generic Device Tree bindings and hooks for drivers so we can move
    over modern drivers to using this.

    - Device Tree bindings for Tegra SoCs.

    - Funneling some devicetree helper code for the drivers/of subsystem.

    - New pin control drivers for:
    * Freescale MXS
    * Freescale i.MX51
    * Freescale i.MX53
    All of these use Device Tree bindings.

    - Dummy pinctrl handles for stepwise migration to pinctrl, akin to
    dummy regulators.
    - Minor non-urgent fixes and improvments.

    Fix up trivial conflicts in Documentation/driver-model/devres.txt and
    drivers/pinctrl/core.c,

    * tag 'pinctrl-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (46 commits)
    pinctrl: pinctrl-imx: add imx51 pinctrl driver
    pinctrl: pinctrl-imx: add imx53 pinctrl driver
    pinctrl: pinctrl-pxa3xx: remove empty pinmux disable function
    pinctrl: pinctrl-mxs: remove empty pinmux disable function
    pinctrl: pinctrl-imx: remove empty pinmux disable function
    pinctrl: make pinmux disable function optional
    pinctrl: a minor error checking improvement for pinconf
    pinctrl: mxs: skip gpio nodes for group creation
    pinctrl: mxs: create group for pin config node
    pinctrl: (cosmetic) fix two entries in DocBook comments
    pinctrl: add more info to error msgs in pin_request
    pinctrl: add pinctrl-mxs support
    pinctrl: pinctrl-imx: add imx6q pinctrl driver
    pinctrl: pinctrl-imx: add imx pinctrl core driver
    dt: add of_get_child_count helper function
    pinctrl: support gpio request deferred probing
    pinctrl: add pinctrl_provide_dummies interface for platforms to use
    pinctrl: enhance reporting of errors when loading from DT
    pinctrl: add kerneldoc for pinctrl_ops device tree functions
    pinctrl: propagate map validation errors
    ...

    Linus Torvalds
     

20 Apr, 2012

1 commit