14 Jul, 2017

3 commits

  • Pull RTC updates from Alexandre Belloni:
    "Here is the pull-request for the RTC subsystem for 4.13.

    Subsystem:

    - expose non volatile RAM using nvmem instead of open coding in many
    drivers. Unfortunately, this option has to be enabled by default to
    not break existing users.

    - rtctest can now test for cutoff dates, showing when an RTC will
    start failing to properly save time and date.

    - new RTC registration functions to remove race conditions in drivers

    Newly supported RTCs:

    - Broadcom STB wake-timer

    - Epson RX8130CE

    - Maxim IC DS1308

    - STMicroelectronics STM32H7

    Drivers:

    - ds1307: use regmap, use nvmem, more cleanups

    - ds3232: temperature reading support

    - gemini: renamed to ftrtc010

    - m41t80: use CCF to expose the clock

    - rv8803: use nvmem

    - s3c: many cleanups

    - st-lpc: fix y2106 bug"

    * tag 'rtc-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (51 commits)
    rtc: Remove wrong deprecation comment
    nvmem: include linux/err.h from header
    rtc: st-lpc: make it robust against y2038/2106 bug
    rtc: rtctest: add check for problematic dates
    tools: timer: add rtctest_setdate
    rtc: ds1307: remove ds1307_remove
    rtc: ds1307: use generic nvmem
    rtc: ds1307: switch to rtc_register_device
    rtc: rv8803: remove rv8803_remove
    rtc: rv8803: use generic nvmem support
    rtc: rv8803: switch to rtc_register_device
    rtc: add generic nvmem support
    rtc: at91rm9200: remove race condition
    rtc: introduce new registration method
    rtc: class separate id allocation from registration
    rtc: class separate device allocation from registration
    rtc: stm32: add STM32H7 RTC support
    dt-bindings: rtc: stm32: add support for STM32H7
    rtc: ds1307: add ds1308 variant
    rtc: ds3232: add temperature support
    ...

    Linus Torvalds
     
  • Pull MTD updates from Brian Norris:
    "General updates:
    - Cleanups and additional flash support for "dataflash" driver
    - new driver for mchp23k256 SPI SRAM device
    - improve handling of MTDs without eraseblocks (i.e., MTD_NO_ERASE)
    - refactor and improve "sub-partition" handling with TRX partition
    parser; partitions can now be created as sub-partitions of another
    partition

    SPINOR updates, from Cyrille Pitchen and Marek Vasut:
    - introduce support to the SPI 1-2-2 and 1-4-4 protocols.
    - introduce support to the Double Data Rate (DDR) mode.
    - introduce support to the Octo SPI protocols.
    - add support to new memory parts for Spansion, Macronix and Winbond.
    - add fixes for the Aspeed, STM32 and Cadence QSPI controler drivers.
    - clean up the st_spi_fsm driver.

    NAND updates, from Boris Brezillon:
    - addition of on-die ECC support to Micron driver
    - addition of helpers to help drivers choose most appropriate ECC
    settings
    - deletion of dead-code (cached programming and ->errstat() hook)
    - make sure drivers that do not support the SET/GET FEATURES command
    return ENOTSUPP use a dummy ->set/get_features implementation
    returning -ENOTSUPP (required for Micron on-die ECC)
    - change the semantic of ecc->write_page() for drivers setting the
    NAND_ECC_CUSTOM_PAGE_ACCESS flag
    - support exiting 'GET STATUS' command in default ->cmdfunc()
    implementations
    - change the prototype of ->setup_data_interface()

    A bunch of driver related changes:
    - various cleanup, fixes and improvements of the MTK driver
    - OMAP DT bindings fixes
    - support for ->setup_data_interface() in the fsmc driver
    - support for imx7 in the gpmi driver
    - finalization of the denali driver rework (thanks to Masahiro for
    the work he's done on this driver)
    - fix "bitflips in erased pages" handling in the ifc driver
    - addition of PM ops and dynamic timing configuration to the atmel
    driver"

    * tag 'for-linus-20170713' of git://git.infradead.org/linux-mtd: (118 commits)
    Documentation: ABI: mtd: describe "offset" more precisely
    mtd: Fix check in mtd_unpoint()
    mtd: nand: mtk: release lock on error path
    mtd: st_spi_fsm: remove SPINOR_OP_RDSR2 and use SPINOR_OP_RDCR instead
    mtd: spi-nor: cqspi: remove duplicate const
    mtd: spi-nor: Add support for Spansion S25FL064L
    mtd: spi-nor: Add support for mx66u51235f
    mtd: nand: mtk: add ->setup_data_interface() hook
    mtd: nand: mtk: remove unneeded mtk_ecc_hw_init from mtk_ecc_resume
    mtd: nand: mtk: remove unneeded mtk_nfc_hw_init from mtk_nfc_resume
    mtd: nand: mtk: disable ecc irq when writing page with hwecc
    mtd: nand: mtk: fix incorrect register setting order about ecc irq
    mtd: partitions: fixup some allocate_partition() whitespace
    mtd: parsers: trx: fix pr_err format for printing offset
    MAINTAINERS: Update SPI NOR subsystem git repositories
    mtd: extract TRX parser out of bcm47xxpart into a separated module
    mtd: partitions: add support for partition parsers
    mtd: partitions: add support for subpartitions
    mtd: partitions: rename "master" to the "parent" where appropriate
    mtd: partitions: remove sysfs files when deleting all master's partitions
    ...

    Linus Torvalds
     
  • …ierry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "This release cycle's changes include mostly updates and cleanups to
    existing drivers along with a few cleanups to the core, documentation
    and device tree bindings"

    * tag 'pwm/for-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
    pwm: cros-ec: Fix transposed param settings
    pwm: meson: Improve PWM calculation precision
    dt-bindings: pwm: meson: Add compatible for gxbb ao PWMs
    pwm: meson: Add compatible for the gxbb ao PWMs
    pwm: sun4i: Drop legacy callbacks
    pwm: sun4i: Switch to atomic PWM
    pwm: sun4i: Improve hardware read out
    pwm: hibvt: Constify hibvt_pwm_ops
    pwm: Silently error out on EPROBE_DEFER
    pwm: Standardize document format
    pwm: bfin: Remove unneeded error message
    dt-bindings: pwm: Update STM32 timers clock names
    dt-bindings: pwm: Add R-Car M3-W device tree bindings
    pwm: tegra: Set maximum pwm clock source per SoC tapeout

    Linus Torvalds
     

13 Jul, 2017

2 commits

  • Pull i2c updates from Wolfram Sang:
    "This pull request contains:

    - i2c core reorganization. One source file became too monolithic. It
    is now split up, yet we still have the same named object as the
    final output. This should ease maintenance.

    - new drivers: ZTE ZX2967 family, ASPEED 24XX/25XX

    - designware driver gained slave mode support

    - xgene-slimpro driver gained ACPI support

    - bigger overhaul for pca-platform driver

    - the algo-bit module now supports messages with enforced STOP

    - slightly bigger than usual set of driver updates and improvements

    and with much appreciated quality assurance from Andy Shevchenko"

    * 'i2c/for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (51 commits)
    i2c: Provide a stub for i2c_detect_slave_mode()
    i2c: designware: Let slave adapter support be optional
    i2c: designware: Make HW init functions static
    i2c: designware: fix spelling mistakes
    i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus
    i2c: pca-platform: correctly set algo_data.reset_chip
    i2c: acpi: Do not create i2c-clients for LNXVIDEO ACPI devices
    i2c: designware: enable SLAVE in platform module
    i2c: designware: add SLAVE mode functions
    i2c: zx2967: drop COMPILE_TEST dependency
    i2c: zx2967: always use the same device when printing errors
    i2c: pca-platform: use dev_warn/dev_info instead of printk
    i2c: pca-platform: use device managed allocations
    i2c: pca-platform: add devicetree awareness
    i2c: pca-platform: switch to struct gpio_desc
    dt-bindings: add bindings for i2c-pca-platform
    i2c: cadance: fix ctrl/addr reg write order
    i2c: zx2967: add i2c controller driver for ZTE's zx2967 family
    dt: bindings: add documentation for zx2967 family i2c controller
    i2c: algo-bit: add support for I2C_M_STOP
    ...

    Linus Torvalds
     
  • Pull IOMMU updates from Joerg Roedel:
    "This update comes with:

    - Support for lockless operation in the ARM io-pgtable code.

    This is an important step to solve the scalability problems in the
    common dma-iommu code for ARM

    - Some Errata workarounds for ARM SMMU implemenations

    - Rewrite of the deferred IO/TLB flush code in the AMD IOMMU driver.

    The code suffered from very high flush rates, with the new
    implementation the flush rate is down to ~1% of what it was before

    - Support for amd_iommu=off when booting with kexec.

    The problem here was that the IOMMU driver bailed out early without
    disabling the iommu hardware, if it was enabled in the old kernel

    - The Rockchip IOMMU driver is now available on ARM64

    - Align the return value of the iommu_ops->device_group call-backs to
    not miss error values

    - Preempt-disable optimizations in the Intel VT-d and common IOVA
    code to help Linux-RT

    - Various other small cleanups and fixes"

    * tag 'iommu-updates-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (60 commits)
    iommu/vt-d: Constify intel_dma_ops
    iommu: Warn once when device_group callback returns NULL
    iommu/omap: Return ERR_PTR in device_group call-back
    iommu: Return ERR_PTR() values from device_group call-backs
    iommu/s390: Use iommu_group_get_for_dev() in s390_iommu_add_device()
    iommu/vt-d: Don't disable preemption while accessing deferred_flush()
    iommu/iova: Don't disable preempt around this_cpu_ptr()
    iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126
    iommu/arm-smmu-v3: Enable ACPI based HiSilicon CMD_PREFETCH quirk(erratum 161010701)
    iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74
    ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model
    iommu/arm-smmu-v3, acpi: Add temporary Cavium SMMU-V3 IORT model number definitions
    iommu/io-pgtable-arm: Use dma_wmb() instead of wmb() when publishing table
    iommu/io-pgtable: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST with LPAE
    iommu/arm-smmu-v3: Remove io-pgtable spinlock
    iommu/arm-smmu: Remove io-pgtable spinlock
    iommu/io-pgtable-arm-v7s: Support lockless operation
    iommu/io-pgtable-arm: Support lockless operation
    iommu/io-pgtable: Introduce explicit coherency
    iommu/io-pgtable-arm-v7s: Refactor split_blk_unmap
    ...

    Linus Torvalds
     

12 Jul, 2017

1 commit

  • Pull watchdog updates from Wim Van Sebroeck:

    - Add Renesas RZ/A WDT Watchdog driver

    - STM32 Independent WatchDoG (IWDG) support

    - UniPhier watchdog support

    - Add F71868 support

    - Add support for NCT6793D and NCT6795D

    - dw_wdt: add reset lines support

    - core: add option to avoid early handling of watchdog

    - core: introduce watchdog_worker_should_ping helper

    - Cleanups and improvements for sama5d4, intel-mid_wdt, s3c2410_wdt,
    orion_wdt, gpio_wdt, it87_wdt, meson_wdt, davinci_wdt, bcm47xx_wdt,
    zx2967_wdt, cadence_wdt

    * git://www.linux-watchdog.org/linux-watchdog: (32 commits)
    watchdog: introduce watchdog_worker_should_ping helper
    watchdog: uniphier: add UniPhier watchdog driver
    dt-bindings: watchdog: add description for UniPhier WDT controller
    watchdog: cadence_wdt: make of_device_ids const.
    watchdog: zx2967: constify zx2967_wdt_ops.
    watchdog: bcm47xx_wdt: constify bcm47xx_wdt_hard_ops and bcm47xx_wdt_soft_ops
    watchdog: davinci: Add missing clk_disable_unprepare().
    watchdog: davinci: Handle return value of clk_prepare_enable
    watchdog: meson: Handle return value of clk_prepare_enable
    watchdog: it87: Add support for various Super-IO chips
    watchdog: it87: Use infrastructure to stop watchdog on reboot
    watchdog: it87: Drop support for resetting watchdog though CIR and Game port
    watchdog: it87: Convert to use watchdog core infrastructure
    watchdog: it87: Drop FSF mailing address
    watchdog: dw_wdt: get reset lines from dt
    watchdog: bindings: dw_wdt: add reset lines
    watchdog: w83627hf: Add support for NCT6793D and NCT6795D
    watchdog: core: add option to avoid early handling of watchdog
    watchdog: f71808e_wdt: Add F71868 support
    watchdog: Add STM32 IWDG driver
    ...

    Linus Torvalds
     

10 Jul, 2017

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main pull request for the drm, I think I've got one later
    driver pull for mediatek SoC driver, I'm undecided on if it needs to
    go to you yet.

    Otherwise summary below:

    Core drm:
    - Atomic add driver private objects
    - Deprecate preclose hook in modern drivers
    - MST bandwidth tracking
    - Use kvmalloc in more places
    - Add mode_valid hook for crtc/encoder/bridge
    - Reduce sync_file construction time
    - Documentation updates
    - New DRM synchronisation object support

    New drivers:
    - pl111 - pl111 CLCD display controller

    Panel:
    - Innolux P079ZCA panel driver
    - Add NL12880B20-05, NL192108AC18-02D, P320HVN03 panels
    - panel-samsung-s6e3ha2: Add s6e3hf2 panel support

    i915:
    - SKL+ watermark fixes
    - G4x/G33 reset improvements
    - DP AUX backlight improvements
    - Buffer based GuC/host communication
    - New getparam for (sub)slice infomation
    - Cannonlake and Coffeelake initial patches
    - Execbuf optimisations

    radeon/amdgpu:
    - Lots of Vega10 bug fixes
    - Preliminary raven support
    - KIQ support for compute rings
    - MEC queue management rework
    - DCE6 Audio support
    - SR-IOV improvements
    - Better radeon/amdgpu selection support

    nouveau:
    - HDMI stereoscopic support
    - Display code rework for >= GM20x GPUs

    msm:
    - GEM rework for fine-grained locking
    - Per-process pagetable work
    - HDMI fixes for Snapdragon 820.

    vc4:
    - Remove 256MB CMA limit from vc4
    - Add out-fence support
    - Add support for cygnus
    - Get/set tiling ioctls support
    - Add T-format tiling support for scanout

    zte:
    - add VGA support.

    etnaviv:
    - Thermal throttle support for newer GPUs
    - Restore userspace buffer cache performance
    - dma-buf sync fix

    stm:
    - add stm32f429 display support

    exynos:
    - Rework vblank handling
    - Fixup sw-trigger code

    sun4i:
    - V3s display engine support
    - HDMI support for older SoCs
    - Preliminary work on dual-pipeline SoCs.

    rcar-du:
    - VSP work

    imx-drm:
    - Remove counter load enable from PRE
    - Double read/write reduction flag support

    tegra:
    - Documentation for the host1x and drm driver.
    - Lots of staging ioctl fixes due to grate project work.

    omapdrm:
    - dma-buf fence support
    - TILER rotation fixes"

    * tag 'drm-for-v4.13' of git://people.freedesktop.org/~airlied/linux: (1270 commits)
    drm: Remove unused drm_file parameter to drm_syncobj_replace_fence()
    drm/amd/powerplay: fix bug fail to remove sysfs when rmmod amdgpu.
    amdgpu: Set cik/si_support to 1 by default if radeon isn't built
    drm/amdgpu/gfx9: fix driver reload with KIQ
    drm/amdgpu/gfx8: fix driver reload with KIQ
    drm/amdgpu: Don't call amd_powerplay_destroy() if we don't have powerplay
    drm/ttm: Fix use-after-free in ttm_bo_clean_mm
    drm/amd/amdgpu: move get memory type function from early init to sw init
    drm/amdgpu/cgs: always set reference clock in mode_info
    drm/amdgpu: fix vblank_time when displays are off
    drm/amd/powerplay: power value format change for Vega10
    drm/amdgpu/gfx9: support the amdgpu.disable_cu option
    drm/amd/powerplay: change PPSMC_MSG_GetCurrPkgPwr for Vega10
    drm/amdgpu: Make amdgpu_cs_parser_init static (v2)
    drm/amdgpu/cs: fix a typo in a comment
    drm/amdgpu: Fix the exported always on CU bitmap
    drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be static
    drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup
    drm/amd/powerplay/cz: print message if smc message fails
    drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
    ...

    Linus Torvalds
     

09 Jul, 2017

3 commits

  • Pull PCI updates from Bjorn Helgaas:

    - add sysfs max_link_speed/width, current_link_speed/width (Wong Vee
    Khee)

    - make host bridge IRQ mapping much more generic (Matthew Minter,
    Lorenzo Pieralisi)

    - convert most drivers to pci_scan_root_bus_bridge() (Lorenzo
    Pieralisi)

    - mutex sriov_configure() (Jakub Kicinski)

    - mutex pci_error_handlers callbacks (Christoph Hellwig)

    - split ->reset_notify() into ->reset_prepare()/reset_done()
    (Christoph Hellwig)

    - support multiple PCIe portdrv interrupts for MSI as well as MSI-X
    (Gabriele Paoloni)

    - allocate MSI/MSI-X vector for Downstream Port Containment (Gabriele
    Paoloni)

    - fix MSI IRQ affinity pre/post/min_vecs issue (Michael Hernandez)

    - test INTx masking during enumeration, not at run-time (Piotr Gregor)

    - avoid using device_may_wakeup() for runtime PM (Rafael J. Wysocki)

    - restore the status of PCI devices across hibernation (Chen Yu)

    - keep parent resources that start at 0x0 (Ard Biesheuvel)

    - enable ECRC only if device supports it (Bjorn Helgaas)

    - restore PRI and PASID state after Function-Level Reset (CQ Tang)

    - skip DPC event if device is not present (Keith Busch)

    - check domain when matching SMBIOS info (Sujith Pandel)

    - mark Intel XXV710 NIC INTx masking as broken (Alex Williamson)

    - avoid AMD SB7xx EHCI USB wakeup defect (Kai-Heng Feng)

    - work around long-standing Macbook Pro poweroff issue (Bjorn Helgaas)

    - add Switchtec "running" status flag (Logan Gunthorpe)

    - fix dra7xx incorrect RW1C IRQ register usage (Arvind Yadav)

    - modify xilinx-nwl IRQ chip for legacy interrupts (Bharat Kumar
    Gogada)

    - move VMD SRCU cleanup after bus, child device removal (Jon Derrick)

    - add Faraday clock handling (Linus Walleij)

    - configure Rockchip MPS and reorganize (Shawn Lin)

    - limit Qualcomm TLP size to 2K (hardware issue) (Srinivas Kandagatla)

    - support Tegra MSI 64-bit addressing (Thierry Reding)

    - use Rockchip normal (not privileged) register bank (Shawn Lin)

    - add HiSilicon Kirin SoC PCIe controller driver (Xiaowei Song)

    - add Sigma Designs Tango SMP8759 PCIe controller driver (Marc
    Gonzalez)

    - add MediaTek PCIe host controller support (Ryder Lee)

    - add Qualcomm IPQ4019 support (John Crispin)

    - add HyperV vPCI protocol v1.2 support (Jork Loeser)

    - add i.MX6 regulator support (Quentin Schulz)

    * tag 'pci-v4.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (113 commits)
    PCI: tango: Add Sigma Designs Tango SMP8759 PCIe host bridge support
    PCI: Add DT binding for Sigma Designs Tango PCIe controller
    PCI: rockchip: Use normal register bank for config accessors
    dt-bindings: PCI: Add documentation for MediaTek PCIe
    PCI: Remove __pci_dev_reset() and pci_dev_reset()
    PCI: Split ->reset_notify() method into ->reset_prepare() and ->reset_done()
    PCI: xilinx: Make of_device_ids const
    PCI: xilinx-nwl: Modify IRQ chip for legacy interrupts
    PCI: vmd: Move SRCU cleanup after bus, child device removal
    PCI: vmd: Correct comment: VMD domains start at 0x10000, not 0x1000
    PCI: versatile: Add local struct device pointers
    PCI: tegra: Do not allocate MSI target memory
    PCI: tegra: Support MSI 64-bit addressing
    PCI: rockchip: Use local struct device pointer consistently
    PCI: rockchip: Check for clk_prepare_enable() errors during resume
    MAINTAINERS: Remove Wenrui Li as Rockchip PCIe driver maintainer
    PCI: rockchip: Configure RC's MPS setting
    PCI: rockchip: Reconfigure configuration space header type
    PCI: rockchip: Split out rockchip_pcie_cfg_configuration_accesses()
    PCI: rockchip: Move configuration accesses into rockchip_pcie_cfg_atu()
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:

    - a new driver for STM FingerTip touchscreen

    - a new driver for D-Link DIR-685 touch keys

    - updated list of supported devices in xpad driver

    - other assorted updates and fixes

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (23 commits)
    MAINTAINERS: update input subsystem patterns
    Input: introduce KEY_ASSISTANT
    Input: xpad - sync supported devices with XBCD
    Input: xpad - sync supported devices with 360Controller
    Input: xen-kbdfront - use string constants from PV protocol
    Input: stmfts - mark all PM functions as __maybe_unused
    Input: add support for the STMicroelectronics FingerTip touchscreen
    Input: add D-Link DIR-685 touchkeys driver
    Input: s3c2410_ts - handle return value of clk_prepare_enable
    Input: axp20x-pek - add wakeup support
    Input: synaptics-rmi4 - use %phN to form F34 configuration ID
    Input: synaptics-rmi4 - change a char type to u8
    Input: sparse-keymap - remove sparse_keymap_free()
    Input: tsc2007 - move header file out of I2C realm
    Input: mms114 - move header file out of I2C realm
    Input: mcs - move header file out of I2C realm
    Input: lm8323 - move header file out of I2C realm
    Input: elantech - force relative mode on a certain module
    Input: elan_i2c - add support for fetching chip type on newer hardware
    Input: elan_i2c - check if device is there before really probing
    ...

    Linus Torvalds
     
  • Pull dmaengine updates from Vinod Koul:

    - removal of AVR32 support in dw driver as AVR32 is gone

    - new driver for Broadcom stream buffer accelerator (SBA) RAID driver

    - add support for Faraday Technology FTDMAC020 in amba-pl08x driver

    - IOMMU support in pl330 driver

    - updates to bunch of drivers

    * tag 'dmaengine-4.13-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (36 commits)
    dmaengine: qcom_hidma: correct API violation for submit
    dmaengine: zynqmp_dma: Remove max len check in zynqmp_dma_prep_memcpy
    dmaengine: tegra-apb: Really fix runtime-pm usage
    dmaengine: fsl_raid: make of_device_ids const.
    dmaengine: qcom_hidma: allow ACPI/DT parameters to be overridden
    dmaengine: fsldma: set BWC, DAHTS and SAHTS values correctly
    dmaengine: Kconfig: Simplify the help text for MXS_DMA
    dmaengine: pl330: Delete unused functions
    dmaengine: Replace WARN_TAINT_ONCE() with pr_warn_once()
    dmaengine: Kconfig: Extend the dependency for MXS_DMA
    dmaengine: mxs: Use %zu for printing a size_t variable
    dmaengine: ste_dma40: Cleanup scatterlist layering violations
    dmaengine: imx-dma: cleanup scatterlist layering violations
    dmaengine: use proper name for the R-Car SoC
    dmaengine: imx-sdma: Fix compilation warning.
    dmaengine: imx-sdma: Handle return value of clk_prepare_enable
    dmaengine: pl330: Add IOMMU support to slave tranfers
    dmaengine: DW DMAC: Handle return value of clk_prepare_enable
    dmaengine: pl08x: use GENMASK() to create bitmasks
    dmaengine: pl08x: Add support for Faraday Technology FTDMAC020
    ...

    Linus Torvalds
     

08 Jul, 2017

7 commits

  • From Boris:
    """
    This pull request contains the following core changes:

    * addition of on-ecc support to Micron driver
    * addition of helpers to help drivers choose most appropriate ECC
    settings
    * deletion of dead-code (cached programming and ->errstat() hook)
    * make sure drivers that do not support the SET/GET FEATURES command
    return ENOTSUPP use a dummy ->set/get_features implementation
    returning -ENOTSUPP (required for Micron on-die ECC)
    * change the semantic of ecc->write_page() for drivers setting the
    NAND_ECC_CUSTOM_PAGE_ACCESS flag
    * support exiting 'GET STATUS' command in default ->cmdfunc()
    implementations
    * change the prototype of ->setup_data_interface()

    A bunch of driver related changes:

    * various cleanup, fixes and improvements of the MTK driver
    * OMAP DT bindings fixes
    * support for ->setup_data_interface() in the fsmc driver
    * support for imx7 in the gpmi driver
    * finalization of the denali driver rework (thanks to Masahiro for the
    work he's done on this driver)
    * fix "bitflips in erased pages" handling in the ifc driver
    * addition of PM ops and dynamic timing configuration to the atmel
    driver

    And as usual we also have a few minor cleanup/fixes/improvements
    patches across the subsystem.
    """

    Brian Norris
     
  • Pull MFD updates from Lee Jones:
    "New Drivers:
    - Intel Cherry Trail Whiskey Cove PMIC
    - TI LP87565 PMIC

    New Device Support:
    - Add support for Cannonlake to intel-lpss-pci
    - Add support for Simatic IOT2000 to intel_quark_i2c_gpio

    New Functionality:
    - Add Regulator support (axp20x)

    Fix-ups:
    - Rework IRQ handling (intel_soc_pmic_bxtwc, rtsx_pcr, cros_ec)
    - Remove unused/unwelcome code (ipaq-micro, wm831x-core, da9062-core)
    - Provide deregistration on unbind (rn5t618)
    - Rework DT code/documentation (arizona)
    - Constify things (fsl-imx25-tsadc)
    - MAINTAINERS updates (DA9062/61)
    - Kconfig configuration adaptions (INTEL_SOC_PMIC, MFD_AXP20X_I2C)
    - Switch to DMI matching (intel_quark_i2c_gpio)
    - Provide an appropriate level of error checking (wm831x-{i2c,spi},
    twl4030-irq, tc6393xb)
    - Make use of devm_* (resource handling) calls (intel_soc_pmic_bxtwc,
    stm32-timers, atmel-flexcom, cros_ec, fsl-imx25-tsadc,
    exynos-lpass, palmas, qcom-spmi-pmic, smsc-ece1099,
    motorola-cpcap)"

    [ Skipped the last commit in that series that added eight thousand
    lines of pointless repeated register definitions. - Linus ]

    * tag 'mfd-next-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (38 commits)
    mfd: Add LP87565 PMIC support
    mfd: cros_ec: Free IRQ on exit
    dt-bindings: vendor-prefixes: Add arctic to vendor prefix
    mfd: da9061: Fix to remove BBAT_CONT register from chip model
    mfd: da9061: Fix to remove BBAT_CONT register from chip model
    mfd: axp20x-i2c: Document that this must be builtin on x86
    mfd: Add Cherry Trail Whiskey Cove PMIC driver
    mfd: tc6393xb: Handle return value of clk_prepare_enable
    mfd: intel_quark_i2c_gpio: Add support for SIMATIC IOT2000 platform
    mfd: intel_quark_i2c_gpio: Use dmi_system_id table for retrieving frequency
    mfd: motorola-cpcap: Use devm_of_platform_populate()
    mfd: smsc-ece: Use devm_of_platform_populate()
    mfd: qcom-spmi-pmic: Use devm_of_platform_populate()
    mfd: palmas: Use devm_of_platform_populate()
    mfd: exynos: Use devm_of_platform_populate()
    mfd: fsl-imx25: Use devm_of_platform_populate()
    mfd: cros_ec: Use devm_of_platform_populate()
    mfd: atmel: Use devm_of_platform_populate()
    mfd: stm32-timers: Use devm_of_platform_populate()
    mfd: intel_soc_pmic: Select designware i2c-bus driver
    ...

    Linus Torvalds
     
  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v4.13 series.

    Some administrativa:

    I have a slew of 8250 serial patches and the new IOT2040 serial+GPIO
    driver coming in through this tree, along with a whole bunch of Exar
    8250 fixes. These are ACKed by Greg and also hit drivers/platform/*
    where they are ACKed by Andy Shevchenko.

    Speaking about drivers/platform/* there is also a bunch of ACPI stuff
    coming through that route, again ACKed by Andy.

    The MCP23S08 changes are coming in here as well. You already have the
    commits in your tree, so this is just a result of sharing an immutable
    branch between pin control and GPIO.

    Core:
    - Export add/remove for lookup tables so that modules can export GPIO
    descriptor tables.
    - Handle GPIO sleep states: it is now possible to flag that a GPIO
    line may loose its state during suspend/resume of the system to
    save power. This is used in the Wolfson Micro Arizona driver.
    - ACPI-based GPIO was tightened up a lot around the edges.
    - Use bitmap_fill() to speed up a loop.

    New drivers:
    - Exar XRA1403 SPI-based GPIO.
    - MVEBU driver now supports Armada 7K and 8K.
    - LP87565 PMIC GPIO.
    - Renesas R-CAR R8A7743 (RZ/G1M).
    - The new IOT2040 8250 serial/GPIO also comes in through this
    changeset.

    Substantial driver changes:
    - Seriously fix the Exar 8250 GPIO portions to work.
    - The MCP23S08 was moved out to a pin control driver.
    - Convert MEVEBU to use regmap for register access.
    - Drop Vulcan support from the Broadcom driver.
    - Serious cleanup and improvement of the mockup driver, giving us a
    better test coverage.

    Misc:
    - Lots of janitorial clean up.
    - A bunch of documentation fixes"

    * tag 'gpio-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (70 commits)
    serial: exar: Add support for IOT2040 device
    gpio-exar/8250-exar: Make set of exported GPIOs configurable
    platform: Accept const properties
    serial: exar: Factor out platform hooks
    gpio-exar/8250-exar: Rearrange gpiochip parenthood
    gpio: exar: Fix iomap request
    gpio-exar/8250-exar: Do not even instantiate a GPIO device for Commtech cards
    serial: uapi: Add support for bus termination
    gpio: rcar: Add R8A7743 (RZ/G1M) support
    gpio: gpio-wcove: Fix GPIO control register offset calculation
    gpio: lp87565: Add support for GPIO
    gpio: dwapb: fix missing first irq for edgeboth irq type
    MAINTAINERS: Take maintainership for GPIO ACPI support
    gpio: exar: Fix reading of directions and values
    gpio: exar: Allocate resources on behalf of the platform device
    gpio-exar/8250-exar: Fix passing in of parent PCI device
    gpio: mockup: use devm_kcalloc() where applicable
    gpio: mockup: add myself as author
    gpio: mockup: improve the error message
    gpio: mockup: don't return magic numbers from probe()
    ...

    Linus Torvalds
     
  • Pull clk updates from Stephen Boyd:
    "This time we've got one core change to introduce a bulk clk_get API,
    some new clk drivers and updates for old ones. The diff is pretty
    spread out across a handful of different SoC clk drivers for Broadcom,
    TI, Qualcomm, Renesas, Rockchip, Samsung, and Allwinner, mostly due to
    the introduction of new drivers.

    Core:
    - New clk bulk get APIs
    - Clk divider APIs gained the ability to consider a different parent
    than the current one

    New Drivers:
    - Renesas r8a779{0,1,2,4} CPG/MSSR
    - TI Keystone SCI firmware controlled clks and OMAP4 clkctrl
    - Qualcomm IPQ8074 SoCs
    - Cortina Systems Gemini (SL3516/CS3516)
    - Rockchip rk3128 SoCs
    - Allwinner A83T clk control units
    - Broadcom Stingray SoCs
    - CPU clks for Mediatek MT8173/MT2701/MT7623 SoCs

    Removed Drivers:
    - Old non-DT version of the Realview clk driver

    Updates:
    - Renesas Kconfig/Makefile cleanups
    - Amlogic CEC EE clk support
    - Improved Armada 7K/8K cp110 clk support
    - Rockchip clk id exposing, critical clk markings
    - Samsung converted to clk_hw registration APIs
    - Fixes for Samsung exynos5420 audio clks
    - USB2 clks for Hisilicon hi3798cv200 SoC and video/camera clks for
    hi3660"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (147 commits)
    clk: gemini: Read status before using the value
    clk: scpi: error when clock fails to register
    clk: at91: Add sama5d2 suspend/resume
    gpio: dt-bindings: Add documentation for gpio controllers on Armada 7K/8K
    clk: keystone: TI_SCI_PROTOCOL is needed for clk driver
    clk: samsung: audss: Fix silent hang on Exynos4412 due to disabled EPLL
    clk: uniphier: provide NAND controller clock rate
    clk: hisilicon: add usb2 clocks for hi3798cv200 SoC
    clk: Add Gemini SoC clock controller
    clk: iproc: Remove __init marking on iproc_pll_clk_setup()
    clk: bcm: Add clocks for Stingray SOC
    dt-bindings: clk: Extend binding doc for Stingray SOC
    clk: mediatek: export cpu multiplexer clock for MT8173 SoCs
    clk: mediatek: export cpu multiplexer clock for MT2701/MT7623 SoCs
    clk: mediatek: add missing cpu mux causing Mediatek cpufreq can't work
    clk: renesas: cpg-mssr: Use of_device_get_match_data() helper
    clk: hi6220: add acpu clock
    clk: zx296718: export I2S mux clocks
    clk: imx7d: create clocks behind rawnand clock gate
    clk: hi3660: Set PPLL2 to 2880M
    ...

    Linus Torvalds
     
  • * pci/host-tango:
    PCI: tango: Add Sigma Designs Tango SMP8759 PCIe host bridge support
    PCI: Add DT binding for Sigma Designs Tango PCIe controller

    Conflicts:
    drivers/pci/host/Kconfig
    drivers/pci/host/Makefile

    Bjorn Helgaas
     
  • Pull DeviceTree updates from Rob Herring:

    - vsprintf format specifier %pOF for device_node's. This will enable us
    to stop storing the full node names. Conversion of users will happen
    next cycle.

    - Update documentation to point to DT specification instead of ePAPR.

    - Split out graph and property functions to a separate file.

    - New of-graph functions for ALSA

    - Add vendor prefixes for RISC-V, Linksys, iWave Systems, Roofull,
    Itead, and BananaPi.

    - Improve dtx_diff utility filename printing.

    * tag 'devicetree-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (32 commits)
    of: document /sys/firmware/fdt
    dt-bindings: Add RISC-V vendor prefix
    vsprintf: Add %p extension "%pOF" for device tree
    of: find_node_by_full_name rewrite to compare each level
    of: use kbasename instead of open coding
    dt-bindings: thermal: add file extension to brcm,ns-thermal
    of: update ePAPR references to point to Devicetree Specification
    scripts/dtc: dtx_diff - Show real file names in diff header
    of: detect invalid phandle in overlay
    of: be consistent in form of file mode
    of: make __of_attach_node() static
    of: address.c header comment typo
    of: fdt.c header comment typo
    of: make of_fdt_is_compatible() static
    dt-bindings: display-timing.txt convert non-ascii characters to ascii
    Documentation: remove overlay-notes reference to non-existent file
    dt-bindings: usb: exynos-usb: Add missing required VDD properties
    dt-bindings: Add vendor prefix for Linksys
    MAINTAINERS: add device tree ABI documentation file
    of: Add vendor prefix for iWave Systems Technologies Pvt. Ltd
    ...

    Linus Torvalds
     
  • Pull mailbox updates from Jassi Brar:

    - Minor improvement : avoid requiring unnecessary startup/shutdown
    callback that many drivers seem to not need

    - New controller driver for Qualcomm's APCS IPC

    * 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
    mailbox: Introduce Qualcomm APCS IPC driver
    dt-bindings: mailbox: Introduce Qualcomm APCS global binding
    mailbox: Make startup and shutdown ops optional

    Linus Torvalds
     

07 Jul, 2017

11 commits

  • Pull dma-mapping infrastructure from Christoph Hellwig:
    "This is the first pull request for the new dma-mapping subsystem

    In this new subsystem we'll try to properly maintain all the generic
    code related to dma-mapping, and will further consolidate arch code
    into common helpers.

    This pull request contains:

    - removal of the DMA_ERROR_CODE macro, replacing it with calls to
    ->mapping_error so that the dma_map_ops instances are more self
    contained and can be shared across architectures (me)

    - removal of the ->set_dma_mask method, which duplicates the
    ->dma_capable one in terms of functionality, but requires more
    duplicate code.

    - various updates for the coherent dma pool and related arm code
    (Vladimir)

    - various smaller cleanups (me)"

    * tag 'dma-mapping-4.13' of git://git.infradead.org/users/hch/dma-mapping: (56 commits)
    ARM: dma-mapping: Remove traces of NOMMU code
    ARM: NOMMU: Set ARM_DMA_MEM_BUFFERABLE for M-class cpus
    ARM: NOMMU: Introduce dma operations for noMMU
    drivers: dma-mapping: allow dma_common_mmap() for NOMMU
    drivers: dma-coherent: Introduce default DMA pool
    drivers: dma-coherent: Account dma_pfn_offset when used with device tree
    dma: Take into account dma_pfn_offset
    dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs
    dma-mapping: remove dmam_free_noncoherent
    crypto: qat - avoid an uninitialized variable warning
    au1100fb: remove a bogus dma_free_nonconsistent call
    MAINTAINERS: add entry for dma mapping helpers
    powerpc: merge __dma_set_mask into dma_set_mask
    dma-mapping: remove the set_dma_mask method
    powerpc/cell: use the dma_supported method for ops switching
    powerpc/cell: clean up fixed mapping dma_ops initialization
    tile: remove dma_supported and mapping_error methods
    xen-swiotlb: remove xen_swiotlb_set_dma_mask
    arm: implement ->dma_supported instead of ->set_dma_mask
    mips/loongson64: implement ->dma_supported instead of ->set_dma_mask
    ...

    Linus Torvalds
     
  • Pull hwspinlock updates from Bjorn Andersson:
    "This introduces a driver for the Spreadtrum hardware spinlock device
    and cleans up the Kconfig file"

    * tag 'hwlock-v4.13' of git://github.com/andersson/remoteproc:
    DT: hwspinlock: Add binding documentation for Spreadtrum hwspinlock
    hwspinlock: sprd: Add hardware spinlock driver
    Make HWSPINLOCK a menuconfig to ease disabling

    Linus Torvalds
     
  • Pull remoteproc updates from Bjorn Andersson:
    "This introduces the Keystone 2 DSP driver and refactors the start/stop
    code in recovery. The Davinci DSP driver gets a few fixes and the
    Kconfig gets cleaned up"

    * tag 'rproc-v4.13' of git://github.com/andersson/remoteproc:
    remoteproc/keystone: Fix circular dependencies for ARM configs
    remoteproc: Drop redundant REMOTEPROC dependency from driver Kconfigs
    remoteproc: Drop VIRTUALIZATION dependency from REMOTEPROC
    remoteproc/keystone: Ensure the DSPs are in reset in probe
    remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs
    dt-bindings: remoteproc: Add Keystone DSP remoteproc binding
    remoteproc/davinci: fix unbalanced reset between start and stop ops
    remoteproc/davinci: simplify the reset function
    remoteproc/davinci: Update Kconfig to depend on DMA_CMA
    remoteproc: fix spelling mistake: "Resouce" -> "Resource"
    remoteproc: Modify recovery path to use rproc_{start,stop}()
    remoteproc: Introduce rproc_{start,stop}() functions

    Linus Torvalds
     
  • Pull rpmsg updates from Bjorn Andersson:
    "This introduces the Qualcomm GLINK protocol driver and
    DeviceTree-based modalias support, as well as a number of smaller
    fixes"

    * tag 'rpmsg-v4.13' of git://github.com/andersson/remoteproc:
    rpmsg: Make modalias work for DeviceTree based devices
    rpmsg: Drop VIRTUALIZATION dependency from RPMSG_VIRTIO
    rpmsg: Don't overwrite release op of rpdev
    rpmsg: virtio_rpmsg_bus: cleanup multiple assignment to ops
    rpmsg: virtio_rpmsg_bus: fix nameservice address
    rpmsg: cleanup incorrect function in dev_err message
    rpmsg: virtio_rpmsg_bus: fix announce for devices without endpoint
    rpmsg: Introduce Qualcomm RPM glink driver
    soc: qcom: Add device tree binding for GLINK RPM
    rpmsg: Release rpmsg devices in backends

    Linus Torvalds
     
  • This patch documents support for STM32H7 Real Time Clock.
    It introduces a new compatible and rework clock definitions.
    On STM32H7 we have a 'pclk' clock for register access, in addition to
    the 'rtc_ck' clock.

    Acked-by: Rob Herring
    Signed-off-by: Amelie Delaunay
    Signed-off-by: Alexandre Belloni

    Amelie Delaunay
     
  • The Gemini RTC is actually a standard IP block from Faraday
    Technology called FTRTC010. Rename the bindings, add the
    generic compatible string and add definitions for the two
    available clocks.

    Cc: devicetree@vger.kernel.org
    Cc: Po-Yu Chuang
    Acked-by: Rob Herring
    Signed-off-by: Linus Walleij
    Signed-off-by: Alexandre Belloni

    Linus Walleij
     
  • Pull pin control updates from Linus Walleij:
    "This is the big bulk of pin control changes for the v4.13 series:

    Core:
    - The documentation is moved over to RST.
    - We now have agreed bindings for enabling input and output buffers
    without actually enabling input and/or output on a pin. We are
    chiseling out some details of pin control electronics.

    New drivers:
    - ZTE ZX
    - Renesas RZA1
    - MIPS Ingenic JZ47xx: also switch over existing drivers in the tree
    to use this pin controller and consolidate earlier spread out code.
    - Microschip MCP23S08: this driver is migrated from the GPIO
    subsystem and totally rewritten to use proper pin control. All
    users are switched over.

    New subdrivers:
    - Renesas R8A7743 and R8A7745.
    - Allwinner Sunxi A83T R_PIO.
    - Marvell MVEBU Armada CP110 and AP806.
    - Intel Cannon Lake PCH.
    - Qualcomm IPQ8074.

    Notable improvements:
    - IRQ support on the Marvell MVEBU Armada 37xx.
    - Meson driver supports HDMI CEC, AO, I2S, SPDIF and PWM.
    - Rockchip driver now supports iomux-route switching for RK3228,
    RK3328 and RK3399.
    - Rockchip A10 and A20 are merged into a single driver.
    - STM32 has improved GPIO support.
    - Samsung Exynos drivers are split per ARMv7 and ARMv8.
    - Marvell MVEBU is converted to use regmap for register access.

    Maintenance:
    - Several Renesas SH-PFC refactorings and updates.
    - Serious code size cut for Mediatek MT7623.
    - Misc janitorial and MAINTAINERS fixes"

    * tag 'pinctrl-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (137 commits)
    pinctrl: samsung: Remove bogus irq_[un]mask from resource management
    pinctrl: rza1: make structures rza1_gpiochip_template and rza1_pinmux_ops static
    pinctrl: rza1: Remove unneeded wrong check for wrong variable
    pinctrl: qcom: Add ipq8074 pinctrl driver
    pinctrl: freescale: imx7d: make of_device_ids const.
    pinctrl: DT: extend the pinmux property to support integers array
    pinctrl: generic: Add output-enable property
    pinctrl: armada-37xx: Fix number of pin in sdio_sb
    pinctrl: armada-37xx: Fix uart2 group selection register mask
    pinctrl: bcm2835: Avoid warning from __irq_do_set_handler
    pinctrl: sh-pfc: r8a7795: Add PWM support
    MAINTAINERS: Add Qualcomm pinctrl drivers section
    arm: dts: dt-bindings: Add Renesas RZ/A1 pinctrl header
    dt-bindings: pinctrl: Add RZ/A1 bindings doc
    pinctrl: Renesas RZ/A1 pin and gpio controller
    pinctrl: sh-pfc: r8a7792: Add SCIF1 and SCIF2 pin groups
    pinctrl.txt: move it to the driver-api book
    pinctrl: ingenic: checking for NULL instead of IS_ERR()
    pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20
    pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11
    ...

    Linus Torvalds
     
  • Pull LED updates from Jacek Anaszewski:
    "This time we're removing more than adding:

    Removed drivers:

    leds-versatile:
    - all users of the Versatile LED driver are deleted and replaced
    with the very generic leds-syscon

    leds-sead3:
    - SEAD3 is using the generic leds-syscon & regmap based
    register-bit-led driver

    LED class drivers improvements:

    ledtrig-gpio:
    - use threaded IRQ, which both simplifies the code because we can
    drop the workqueue indirection, and it enables using the trigger
    for GPIOs that work with threaded IRQs themselves
    - refresh LED state after GPIO change since the new GPIO may have
    a different state than the old one

    leds-lp55xx:
    - make various arrays static const

    leds-pca963x:
    - add bindings to invert polarity"

    * tag 'leds_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
    leds: lp55xx: make various arrays static const
    leds: Remove SEAD-3 driver
    leds: trigger: gpio: Use threaded IRQ
    leds: trigger: gpio: Refresh LED state after GPIO change
    leds: Delete obsolete Versatile driver
    leds: pca963x: Add bindings to invert polarity

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:

    - addition of fwnode support at V4L2 core

    - addition of a few more SDR formats

    - new imx driver to support i.MX6 cameras

    - new driver for Qualcon venus codecs

    - new I2C sensor drivers: dw9714, max2175, ov13858, ov5640

    - new CEC driver: stm32-cec

    - some improvements to DVB frontend documentation and a few fixups

    - several driver improvements and fixups

    * tag 'media/v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (361 commits)
    [media] media: entity: Catch unbalanced media_pipeline_stop calls
    [media] media/uapi/v4l: clarify cropcap/crop/selection behavior
    [media] v4l2-ioctl/exynos: fix G/S_SELECTION's type handling
    [media] vimc: sen: Declare vimc_sen_video_ops as static
    [media] vimc: sca: Add scaler
    [media] vimc: deb: Add debayer filter
    [media] vimc: Subdevices as modules
    [media] vimc: cap: Support several image formats
    [media] vimc: sen: Support several image formats
    [media] vimc: common: Add vimc_colorimetry_clamp
    [media] vimc: common: Add vimc_link_validate
    [media] vimc: common: Add vimc_pipeline_s_stream helper
    [media] vimc: common: Add vimc_ent_sd_* helper
    [media] vimc: Move common code from the core
    [media] vimc: sen: Integrate the tpg on the sensor
    [media] media: i2c: ov772x: Force use of SCCB protocol
    [media] dvb uapi docs: enums are passed by value, not reference
    [media] dvb: don't use 'time_t' in event ioctl
    [media] media: venus: enable building with COMPILE_TEST
    [media] af9013: refactor power control
    ...

    Linus Torvalds
     
  • Pull sound updates from Takashi Iwai:
    "This development cycle resulted in a fair amount of changes in both
    core and driver sides. The most significant change in ALSA core is
    about PCM. Also the support of of-graph card and the new DAPM widget
    for DSP are noteworthy changes in ASoC core. And there're lots of
    small changes splat over the tree, as you can see in diffstat.

    Below are a few highlights:

    ALSA core:
    - Removal of set_fs() hackery from PCM core stuff, and the code
    reorganization / optimization thereafter
    - Improved support of PCM ack ops, and a new ABI for improved
    control/status mmap handling
    - Lots of constifications in various codes

    ASoC core:
    - The support of of-graph card, which may work as a better generic
    device for a replacement of simple-card
    - New widget types intended mainly for use with DSPs

    ASoC drivers:
    - New drivers for Allwinner V3s SoCs
    - Ensonic ES8316 codec support
    - More Intel SKL and KBL works
    - More device support for Intel SST Atom (mostly for cheap tablets
    and 2-in-1 devices)
    - Support for Rockchip PDM controllers
    - Support for STM32 I2S and S/PDIF controllers
    - Support for ZTE AUD96P22 codecs

    HD-audio:
    - Support of new Realtek codecs (ALC215/ALC285/ALC289), more quirks
    for HP and Dell machines
    - A few more fixes for i915 component binding"

    * tag 'sound-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (418 commits)
    ALSA: hda - Fix unbalance of i915 module refcount
    ASoC: Intel: Skylake: Remove driver debugfs exit
    ASoC: Intel: Skylake: explicitly add the headers sst-dsp.h
    ALSA: hda/realtek - Remove GPIO_MASK
    ALSA: hda/realtek - Fix typo of pincfg for Dell quirk
    ALSA: pcm: add a documentation for tracepoints
    ALSA: atmel: ac97c: fix error return code in atmel_ac97c_probe()
    ALSA: x86: fix error return code in hdmi_lpe_audio_probe()
    ASoC: Intel: Skylake: Add support to read firmware registers
    ASoC: Intel: Skylake: Add sram address to sst_addr structure
    ASoC: Intel: Skylake: Debugfs facility to dump module config
    ASoC: Intel: Skylake: Add debugfs support
    ASoC: fix semicolon.cocci warnings
    ASoC: rt5645: Add quirk override by module option
    ASoC: rsnd: make arrays path and cmd_case static const
    ASoC: audio-graph-card: add widgets and routing for external amplifier support
    ASoC: audio-graph-card: update bindings for amplifier support
    ASoC: rt5665: calibration should be done before jack detection
    ASoC: rsnd: constify dev_pm_ops structures.
    ASoC: nau8825: change crosstalk-bypass property to bool type
    ...

    Linus Torvalds
     
  • Pull libata updates from Tejun Heo:

    - Christoph added support for TCG OPAL self encrypting disks

    - Minwoo added support for ATA PASS-THROUGH(32)

    - Linus Walleij removed spurious drvdata assignments in some drivers

    - Support for a few new device and other fixes

    * 'for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: (33 commits)
    sd: add support for TCG OPAL self encrypting disks
    libata: fix build warning from unused goto label
    libata: Support for an ATA PASS-THROUGH(32) command.
    ahci: Add Device ID for ASMedia 1061R and 1062R
    sata_via: Enable optional hotplug on VT6420
    ata: ahci_brcm: Avoid writing to read-only registers
    libata: Add the AHCI_HFLAG_NO_WRITE_TO_RO flag
    libata: Add the AHCI_HFLAG_YES_ALPM flag
    ata: ftide010: fix resource printing
    libata: make the function name in comment match the actual function
    ata: sata_rcar: make of_device_ids const.
    ata: pata_octeon_cf: make of_device_ids const.
    libata: Convert bare printks to pr_cont
    libahci: wrong comments in ahci_do_softreset()
    ata: declare ata_port_info structures as const
    ata: Add driver for Faraday Technology FTIDE010
    ata: Add DT bindings for the Gemini SATA bridge
    ata: Add DT bindings for Faraday Technology FTIDE010
    libata: implement SECURITY PROTOCOL IN/OUT
    libata: factor out a ata_identify_page_supported helper
    ...

    Linus Torvalds
     

06 Jul, 2017

8 commits

  • Add compatible string to properly handle the PWMs found in the AO domain
    of the gxbb (and gxl) family.

    Acked-by: Neil Armstrong
    Signed-off-by: Jerome Brunet
    Acked-by: Rob Herring
    Signed-off-by: Thierry Reding

    Jerome Brunet
     
  • The LP87565 chip is a power management IC for Portable Navigation Systems
    and Tablet Computing devices. It contains the following components:

    - Configurable Bucks(Single and multi-phase).
    - Configurable General Purpose Output Signals (GPO).

    The LP87565-Q1 variant device uses two 2-phase outputs configuration,
    Buck0 is master for Buck0/1 output and Buck2 is master for Buck2/3
    output.

    Signed-off-by: Keerthy
    Acked-by: Rob Herring
    Signed-off-by: Lee Jones

    Keerthy
     
  • Acked-by: Rob Herring
    Reviewed-by: Jingoo Han
    Signed-off-by: Olimpiu Dejeu
    Signed-off-by: Lee Jones

    Olimpiu Dejeu
     
  • Link to the generic GPIO specifier bindings now that the second cell of
    the binding has some support in the driver.

    Signed-off-by: Charles Keepax
    Signed-off-by: Lee Jones

    Charles Keepax
     
  • Clock name has been updated during driver/DT binding review:
    https://lkml.org/lkml/2016/12/13/718
    Update DT binding doc to reflect this.

    Fixes: cd9a99c2f8e8 (dt-bindings: pwm: Add STM32 bindings)
    Signed-off-by: Fabrice Gasnier
    Acked-by: Rob Herring
    Signed-off-by: Thierry Reding

    Fabrice GASNIER
     
  • Add device tree bindings for the PWM controller found on R-Car M3-W SoCs.

    Signed-off-by: Ulrich Hecht
    Reviewed-by: Geert Uytterhoeven
    Reviewed-by: Simon Horman
    Acked-by: Rob Herring
    Signed-off-by: Thierry Reding

    Ulrich Hecht
     
  • Pull networking updates from David Miller:
    "Reasonably busy this cycle, but perhaps not as busy as in the 4.12
    merge window:

    1) Several optimizations for UDP processing under high load from
    Paolo Abeni.

    2) Support pacing internally in TCP when using the sch_fq packet
    scheduler for this is not practical. From Eric Dumazet.

    3) Support mutliple filter chains per qdisc, from Jiri Pirko.

    4) Move to 1ms TCP timestamp clock, from Eric Dumazet.

    5) Add batch dequeueing to vhost_net, from Jason Wang.

    6) Flesh out more completely SCTP checksum offload support, from
    Davide Caratti.

    7) More plumbing of extended netlink ACKs, from David Ahern, Pablo
    Neira Ayuso, and Matthias Schiffer.

    8) Add devlink support to nfp driver, from Simon Horman.

    9) Add RTM_F_FIB_MATCH flag to RTM_GETROUTE queries, from Roopa
    Prabhu.

    10) Add stack depth tracking to BPF verifier and use this information
    in the various eBPF JITs. From Alexei Starovoitov.

    11) Support XDP on qed device VFs, from Yuval Mintz.

    12) Introduce BPF PROG ID for better introspection of installed BPF
    programs. From Martin KaFai Lau.

    13) Add bpf_set_hash helper for TC bpf programs, from Daniel Borkmann.

    14) For loads, allow narrower accesses in bpf verifier checking, from
    Yonghong Song.

    15) Support MIPS in the BPF selftests and samples infrastructure, the
    MIPS eBPF JIT will be merged in via the MIPS GIT tree. From David
    Daney.

    16) Support kernel based TLS, from Dave Watson and others.

    17) Remove completely DST garbage collection, from Wei Wang.

    18) Allow installing TCP MD5 rules using prefixes, from Ivan
    Delalande.

    19) Add XDP support to Intel i40e driver, from Björn Töpel

    20) Add support for TC flower offload in nfp driver, from Simon
    Horman, Pieter Jansen van Vuuren, Benjamin LaHaise, Jakub
    Kicinski, and Bert van Leeuwen.

    21) IPSEC offloading support in mlx5, from Ilan Tayari.

    22) Add HW PTP support to macb driver, from Rafal Ozieblo.

    23) Networking refcount_t conversions, From Elena Reshetova.

    24) Add sock_ops support to BPF, from Lawrence Brako. This is useful
    for tuning the TCP sockopt settings of a group of applications,
    currently via CGROUPs"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1899 commits)
    net: phy: dp83867: add workaround for incorrect RX_CTRL pin strap
    dt-bindings: phy: dp83867: provide a workaround for incorrect RX_CTRL pin strap
    cxgb4: Support for get_ts_info ethtool method
    cxgb4: Add PTP Hardware Clock (PHC) support
    cxgb4: time stamping interface for PTP
    nfp: default to chained metadata prepend format
    nfp: remove legacy MAC address lookup
    nfp: improve order of interfaces in breakout mode
    net: macb: remove extraneous return when MACB_EXT_DESC is defined
    bpf: add missing break in for the TCP_BPF_SNDCWND_CLAMP case
    bpf: fix return in load_bpf_file
    mpls: fix rtm policy in mpls_getroute
    net, ax25: convert ax25_cb.refcount from atomic_t to refcount_t
    net, ax25: convert ax25_route.refcount from atomic_t to refcount_t
    net, ax25: convert ax25_uid_assoc.refcount from atomic_t to refcount_t
    net, sctp: convert sctp_ep_common.refcnt from atomic_t to refcount_t
    net, sctp: convert sctp_transport.refcnt from atomic_t to refcount_t
    net, sctp: convert sctp_chunk.refcnt from atomic_t to refcount_t
    net, sctp: convert sctp_datamsg.refcnt from atomic_t to refcount_t
    net, sctp: convert sctp_auth_bytes.refcnt from atomic_t to refcount_t
    ...

    Linus Torvalds
     
  • Pull crypto updates from Herbert Xu:
    "Algorithms:
    - add private key generation to ecdh

    Drivers:
    - add generic gcm(aes) to aesni-intel
    - add SafeXcel EIP197 crypto engine driver
    - add ecb(aes), cfb(aes) and ecb(des3_ede) to cavium
    - add support for CNN55XX adapters in cavium
    - add ctr mode to chcr
    - add support for gcm(aes) to omap"

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (140 commits)
    crypto: testmgr - Reenable sha1/aes in FIPS mode
    crypto: ccp - Release locks before returning
    crypto: cavium/nitrox - dma_mapping_error() returns bool
    crypto: doc - fix typo in docs
    Documentation/bindings: Document the SafeXel cryptographic engine driver
    crypto: caam - fix gfp allocation flags (part II)
    crypto: caam - fix gfp allocation flags (part I)
    crypto: drbg - Fixes panic in wait_for_completion call
    crypto: caam - make of_device_ids const.
    crypto: vmx - remove unnecessary check
    crypto: n2 - make of_device_ids const
    crypto: inside-secure - use the base_end pointer in ring rollback
    crypto: inside-secure - increase the batch size
    crypto: inside-secure - only dequeue when needed
    crypto: inside-secure - get the backlog before dequeueing the request
    crypto: inside-secure - stop requeueing failed requests
    crypto: inside-secure - use one queue per hw ring
    crypto: inside-secure - update the context and request later
    crypto: inside-secure - align the cipher and hash send functions
    crypto: inside-secure - optimize DSE bufferability control
    ...

    Linus Torvalds
     

05 Jul, 2017

4 commits

  • The data manual for DP83867IR/CR, SNLS484E[1], revised march 2017,
    advises that strapping RX_DV/RX_CTRL pin in mode 1 and 2 is not
    supported (see note below Table 5 (4-Level Strap Pins)).

    It further advises that if a board has this pin strapped in mode 1 and
    mode 2, then to ensure proper operation of the PHY, a software workaround
    must be implemented.

    Since it is not possible to detect in software if RX_DV/RX_CTRL pin is
    incorrectly strapped, add a device-tree property for the board to
    advertise this and allow corrective action in software.

    [1] http://www.ti.com/lit/ds/snls484e/snls484e.pdf

    Signed-off-by: Murali Karicheri
    [nsekhar@ti.com: rebase to mainline, split documentation into separate patch]
    Signed-off-by: Sekhar Nori
    Signed-off-by: David S. Miller

    Murali Karicheri
     
  • Pull ARM 64-bit DT updates from Arnd Bergmann:
    "Device-tree updates for arm64 platforms. For the first time I can
    remember, this is actually larger than the corresponding branch for
    32-bit platforms overall, though that has more individual changes.

    A significant portion this time is due to added machine support:

    - Initial support for the Realtek RTD1295 SoC, along with the Zidoo
    X9S set-top-box

    - Initial support for Actions Semi S900 and the Bubblegum-96
    single-board-cёmputer.

    - Rockchips support for the rk3399-Firefly single-board-computer gets
    added, this one stands out for being relatively fast, affordable
    and well₋supported, compared to many boards that only fall into one
    or two of the above categories.

    - Mediatek gains support for the mt6797 mobile-phone SoC platform and
    corresponding evaluation board.

    - Amlogic board support gets added for the NanoPi K2 and S905x
    LibreTech CC single-board computers and the R-Box Pro set-top-box

    - Allwinner board support gets added for the OrangePi Win, Orangepi
    Zero Plus 2, NanoPi NEO2 and Orange Pi Prime single board computers
    and the SoPine system-on-module.

    - Renesas board support for Salvator-XS and H3ULCB automotive
    development systems.

    - Socionext Uniphier board support for LD11-global and LD20-global,
    whatever those may be.

    - Broadcom adds support for the new Stingray communication processor
    in its iProc family, along with two reference boards.

    Other updates include:

    - For the hisicon platform, support for Hi3660-Hikey960 gets extended
    significantly.

    - Lots of smaller updates for Renesas, Amlogic, Rockchip, UniPhier,
    Broadcom, Allwinner, Hisilicon, Qualcomm, Marvell, and NXP"

    * tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (243 commits)
    ARM64: dts: marvell: armada37xx: Fix timer interrupt specifiers
    Revert "arm64: dts: marvell: add dma-mask in crypto nodes for 7k/8k"
    arm64: dts: mediatek: don't include missing file
    ARM64: dts: meson-gxl: Add Libre Technology CC support
    dt-bindings: arm: amlogic: Add Libre Technology CC board
    dt-bindings: add Libre Technology vendor prefix
    arm64: dts: marvell: enable GICP and ICU on Armada 7K/8K
    arm64: dts: zte: Use - instead of @ for DT OPP entries
    arm64: dts: marvell: add gpio support for Armada 7K/8K
    arm64: dts: marvell: add pinctrl support for Armada 7K/8K
    arm64: dts: marvell: use new binding for the system controller on cp110
    arm64: dts: marvell: remove *-clock-output-names on cp110
    arm64: dts: marvell: use new bindings for xor clocks on ap806
    arm64: dts: marvell: mcbin: enable the mdio node
    arm64: dts: Add Actions Semi S900 and Bubblegum-96
    dt-bindings: Add vendor prefix for uCRobotics
    arm64: dts: marvell: add xmdio nodes for 7k/8k
    arm64: dts: marvell: add a comment on the cp110 slave node status
    arm64: dts: marvell: remove cpm crypto nodes from dts files
    arm64: dts: marvell: cp110: enable the crypto engine at the SoC level
    ...

    Linus Torvalds
     
  • Pull ARM SoC driver updates from Arnd Bergmann:
    "New SoC specific drivers:

    - NVIDIA Tegra PM Domain support for newer SoCs (Tegra186 and later)
    based on the "BPMP" firmware

    - Clocksource and system controller drivers for the newly added
    Action Semi platforms (both arm and arm64).

    Reset subsystem, merged through arm-soc by tradition:

    - New drivers for Altera Stratix10, TI Keystone and Cortina Gemini
    SoCs

    - Various subsystem-wide cleanups

    Updates for existing SoC-specific drivers

    - TI GPMC (General Purpose Memory Controller)

    - Mediatek "scpsys" system controller support for MT6797

    - Broadcom "brcmstb_gisb" bus arbitrer

    - ARM SCPI firmware

    - Renesas "SYSC" system controller

    One more driver update was submitted for the Freescale/NXP DPAA data
    path acceleration that has previously been used on PowerPC chips. I
    ended up postponing the merge until some API questions for its unusual
    MMIO access are resolved"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (35 commits)
    clocksource: owl: Add S900 support
    clocksource: Add Owl timer
    soc: renesas: rcar-sysc: Use GENPD_FLAG_ALWAYS_ON
    firmware: tegra: Fix locking bugs in BPMP
    soc/tegra: flowctrl: Fix error handling
    soc/tegra: bpmp: Implement generic PM domains
    soc/tegra: bpmp: Update ABI header
    PM / Domains: Allow overriding the ->xlate() callback
    soc: brcmstb: enable drivers for ARM64 and BMIPS
    soc: renesas: Rework Kconfig and Makefile logic
    reset: Add the TI SCI reset driver
    dt-bindings: reset: Add TI SCI reset binding
    reset: use kref for reference counting
    soc: qcom: smsm: Improve error handling, quiesce probe deferral
    cpufreq: scpi: use new scpi_ops functions to remove duplicate code
    firmware: arm_scpi: add support to populate OPPs and get transition latency
    dt-bindings: reset: Add reset manager offsets for Stratix10
    memory: omap-gpmc: add error message if bank-width property is absent
    memory: omap-gpmc: make dts snippet include semicolon
    reset: Add a Gemini reset controller
    ...

    Linus Torvalds
     
  • Pull ARM device-tree updates from Arnd Bergmann:
    "Device-tree continues to see lots of updates. The majority of patches
    here are smaller changes for new hardware on existing platforms, and
    there are a few larger changes worth pointing out.

    New machines:

    - The new Action Semi S500 platform is added along with initial
    support for the LeMaker Guitar board.

    - STM32 gains support for three new boards: stm32h743-disco,
    stm32f746-disco, and stm32f769-disco, along with new device support
    for the existing stm32f429 boards.

    - Renesas adds two new boards, the tiny GR-Peach based on RZ/A1H with
    10MB on-chip SRAM, and the iWave G20D-Q7 System-on-Module plus
    board.

    - On Marvell "mvebu", we gain support for the Linksys WRT3200ACM
    wireless router.

    - For NXP i.MX, we gain support for the Gateworks Ventana GW5600 and
    the Technexion Pico i.MX7D single-board computers.

    - The BeagleBone Blue is added for OMAP, it's the latest variation of
    the popular Beaglebone Black single-board computer.

    - The Allwinner based Lichee Pi Zero and NanoPi M1 Plus boards are
    added, these are the latest variations of a seemingly endless
    supply of similar single-board computers.

    Other updates:

    - Linus Walleij improves support for the "Faraday" based SoC
    platforms from various SoC makers (Moxart, Aspeed, Gemini)

    - The ARM Mali GPU is now describe on Rockchips SoCs

    - Mediatek MT7623 is extended significantly, making it much more
    useful.

    - Lots of individual updates on Renesas, OMAP, Rockchips, Broadcom,
    Allwinner, Qualcomm, iMX

    - For Amlogic, the clock support is extended a lot on meson8b.

    - We now build the devicetree file for the Raspberry Pi 3 on 32-bit
    ARM, in addition to the existing ARM64 support, to help users
    wanting to run a 32-bit system on it"

    * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (345 commits)
    ARM: dts: socfpga: set the i2c frequency
    ARM: dts: socfpga: Add second ethernet alias to VINING FPGA
    ARM: dts: socfpga: Drop LED node from VINING FPGA
    ARM: dts: socfpga: Remove I2C EEPROMs from VINING FPGA
    ARM: dts: socfpga: Enable QSPI support on VINING FPGA
    ARM: dts: socfpga: Fix the ethernet clock phandle
    ARM: pxa: Use - instead of @ for DT OPP entries
    ARM: dts: owl-s500: Add SPS node
    ARM: dts: owl-s500: Set CPU enable-method
    dt-bindings: arm: cpus: Add S500 enable-method
    ARM: dts: Add Actions Semi S500 and LeMaker Guitar
    dt-bindings: arm: Document Actions Semi S900
    dt-bindings: timer: Document Owl timer
    ARM: dts: imx6q-cm-fx6: add sdio wifi/bt nodes
    dt-bindings: arm: Document Actions Semi S500
    dt-bindings: Add vendor prefix for Actions Semi
    ARM: dts: turris-omnia: Add generic compatible string for I2C EEPROM
    ARM: dts: mvebu: add support for Linksys WRT3200ACM (Rango)
    ARM: dts: armada-385-linksys: fixup button node names
    ARM: dts: armada-385-linksys: group pins in pinctrl
    ...

    Linus Torvalds