20 Oct, 2015

1 commit


05 Sep, 2015

1 commit


05 Aug, 2015

1 commit


18 Jul, 2015

1 commit


17 Mar, 2015

1 commit


10 Feb, 2015

1 commit

  • As already demonstrated with PCI [1] and the platform bus [2], a
    driver_override property in sysfs can be used to bypass the id
    matching of a device to a AMBA driver. This can be used by VFIO to
    bind to any AMBA device requested by the user.

    [1] http://lists-archives.com/linux-kernel/28030441-pci-introduce-new-device-binding-path-using-pci_dev-driver_override.html
    [2] https://www.redhat.com/archives/libvir-list/2014-April/msg00382.html

    Signed-off-by: Antonios Motakis
    Reviewed-by: Kim Phillips
    Signed-off-by: Russell King

    Antonios Motakis
     

16 Jan, 2015

1 commit


15 Dec, 2014

1 commit

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

    Lots of little things all over the place in different drivers, and a
    new subsystem, "coresight" has been added. Full details are in the
    shortlog"

    * tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (73 commits)
    parport: parport_pc, do not remove parent devices early
    spmi: Remove shutdown/suspend/resume kernel-doc
    carma-fpga-program: drop videobuf dependency
    carma-fpga: drop videobuf dependency
    carma-fpga-program.c: fix compile errors
    i8k: Fix temperature bug handling in i8k_get_temp()
    cxl: Name interrupts in /proc/interrupt
    CXL: Return error to PSL if IRQ demultiplexing fails & print clearer warning
    coresight-replicator: remove .owner field for driver
    coresight: fixed comments in coresight.h
    coresight: fix typo in comment in coresight-priv.h
    coresight: bindings for coresight drivers
    coresight: Adding ABI documentation
    w1: support auto-load of w1_bq27000 module.
    w1: avoid potential u16 overflow
    cn: verify msg->len before making callback
    mei: export fw status registers through sysfs
    mei: read and print all six FW status registers
    mei: txe: add cherrytrail device id
    mei: kill cached host and me csr values
    ...

    Linus Torvalds
     

18 Nov, 2014

1 commit


08 Nov, 2014

1 commit

  • CoreSight components are compliant with the ARM CoreSight
    architecture specification and can be connected in various
    topologies to suit a particular SoC tracing needs. These trace
    components can generally be classified as sources, links and
    sinks. Trace data produced by one or more sources flows through
    the intermediate links connecting the source to the currently
    selected sink.

    The CoreSight framework provides an interface for the CoreSight trace
    drivers to register themselves with. It's intended to build up a
    topological view of the CoreSight components and configure the
    correct serie of components on user input via sysfs.

    For eg., when enabling a source, the framework builds up a path
    consisting of all the components connecting the source to the
    currently selected sink(s) and enables all of them.

    The framework also supports switching between available sinks
    and provides status information to user space applications
    through the debugfs interface.

    Signed-off-by: Pratik Patel
    Signed-off-by: Mathieu Poirier
    Signed-off-by: Greg Kroah-Hartman

    Pratik Patel
     

24 Sep, 2014

1 commit

  • Add support for a extended PL022 which has an extra register for controlling up
    to five chip select signals. This controller is found on the AXM5516 SoC.
    Unfortunately the PrimeCell identification registers are identical to a
    standard ARM PL022. To work around this, the peripheral ID must be overridden
    in the device tree using the "arm,primecell-periphid" property with the value
    0x000b6022.

    Signed-off-by: Anders Berg
    Acked-by: Linus Walleij
    Acked-by: Russell King
    Signed-off-by: Mark Brown

    Anders Berg
     

11 Jun, 2014

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:
    - new Xilixn VDMA driver from Srikanth
    - bunch of updates for edma driver by Thomas, Joel and Peter
    - fixes and updates on dw, ste_dma, freescale, mpc512x, sudmac etc

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (45 commits)
    dmaengine: sh: don't use dynamic static allocation
    dmaengine: sh: fix print specifier warnings
    dmaengine: sh: make shdma_prep_dma_cyclic static
    dmaengine: Kconfig: Update MXS_DMA help text to include MX6Q/MX6DL
    of: dma: Grammar s/requests/request/, s/used required/required/
    dmaengine: shdma: Enable driver compilation with COMPILE_TEST
    dmaengine: rcar-hpbdma: Include linux/err.h
    dmaengine: sudmac: Include linux/err.h
    dmaengine: sudmac: Keep #include sorted alphabetically
    dmaengine: shdmac: Include linux/err.h
    dmaengine: shdmac: Keep #include sorted alphabetically
    dmaengine: s3c24xx-dma: Add cyclic transfer support
    dmaengine: s3c24xx-dma: Process whole SG chain
    dmaengine: imx: correct sdmac->status for cyclic dma tx
    dmaengine: pch: fix compilation for alpha target
    dmaengine: dw: check return code of dma_async_device_register()
    dmaengine: dw: fix regression in dw_probe() function
    dmaengine: dw: enable clock before access
    dma: pch_dma: Fix Kconfig dependencies
    dmaengine: mpc512x: add support for peripheral transfers
    ...

    Linus Torvalds
     

03 Jun, 2014

1 commit

  • Pull MMC update from Ulf Hansson:
    "These patches are mainly updates for the mmci driver and have been
    tested in linux-next.

    Some ARM SoC related patches are also included and those have been
    acked from the corresponding maintainers to go through my mmc tree.

    Updates for mmci driver:
    - Put the device into low power state at system suspend.
    - Convert to the common mmc DT parser.
    - Add missing DT bindings needed for ux500.

    Updates for ARM ux500|u300:
    - Convert to the common mmc DT bindings.
    - Remove redundant board file for mmci platform data"

    * tag 'mmc-v3.16-1' of git://git.linaro.org/people/ulf.hansson/mmc: (22 commits)
    mmc: mmci: Enforce DMA configuration through DT
    mmc: mmci: Enforce max frequency configuration through DT
    mmc: mmci: Enforce mmc capabilities through DT
    mmc: mmci: Enforce DT for signal direction and feedback clock
    ARM: ux500: Remove redundant board file for mmci platform data
    ARM: ux500: Add a vmmc regulator through DT for the poped eMMC for href
    ARM: ux500: Add the mmc capabilities flags to DT
    mmc: mmci: Enable MMC_CAP_CMD23
    mmc: mmci: Mark the DT bindings for highspeed mode as deprecated
    ARM: u300: Convert to the common mmc DT bindings for highspeed mode
    ARM: nomadik: Convert to the common mmc DT bindings for highspeed mode
    ARM: ux500: Convert to the common mmc DT bindings for highspeed mode
    ARM: ux500: Add mmci signal directions and feeback clock in DT for href
    mmc: mmci: Use the common mmc DT parser
    mmc: mmci: Add DT bindings for feedback clock pin
    mmc: mmci: Add DT bindings for signal direction
    mmc: mmci: Update DT documentation
    mmc: mmci: Convert to devm functions
    mmc: mmci: Convert to the mmc gpio API
    mmc: mmci: Put the device into low power state at system suspend
    ...

    Linus Torvalds
     

02 Jun, 2014

1 commit


26 May, 2014

1 commit

  • This patch adds Qualcomm amba vendor Id to the list. This ID is used in mmci driver. The ID selected in same lines like 0x41 is "A" for ARM, 0x51 is "Q" for Qualcomm.

    As there are no physical register on Qcom SOC for amba vendor id, this is a fake ID assigned based on "Q" prefix from Qualcomm.

    Signed-off-by: Srinivas Kandagatla
    Acked-by: Linus Walleij
    Signed-off-by: Russell King

    srinik
     

20 May, 2014

1 commit


12 May, 2014

2 commits


30 Apr, 2014

1 commit

  • This is the driver for the AXI Video Direct Memory Access (AXI
    VDMA) core, which is a soft Xilinx IP core that provides high-
    bandwidth direct memory access between memory and AXI4-Stream
    type video target peripherals. The core provides efficient two
    dimensional DMA operations with independent asynchronous read
    and write channel operation.

    This module works on Zynq (ARM Based SoC) and Microblaze platforms.

    Signed-off-by: Srikanth Thokala
    Acked-by: Jassi Brar
    Reviewed-by: Levente Kurusa
    Signed-off-by: Vinod Koul

    Srikanth Thokala
     

02 Jan, 2014

1 commit

  • Commit da660b4a3b15 ("arm: Move sp810.h to include/linux/amba/")
    moved the file to the current location but forgot to remove the pointer
    to its previous location. Clean it up. While at it also change the header
    file protection macros appropriately.

    Signed-off-by: Sachin Kamat
    Cc: Viresh Kumar
    Cc: Catalin Marinas
    Acked-by: Viresh Kumar
    Signed-off-by: Jiri Kosina

    Sachin Kamat
     

16 Nov, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual earth-shaking, news-breaking, rocket science pile from
    trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
    doc: add missing files to timers/00-INDEX
    timekeeping: Fix some trivial typos in comments
    mm: Fix some trivial typos in comments
    irq: Fix some trivial typos in comments
    NUMA: fix typos in Kconfig help text
    mm: update 00-INDEX
    doc: Documentation/DMA-attributes.txt fix typo
    DRM: comment: `halve' -> `half'
    Docs: Kconfig: `devlopers' -> `developers'
    doc: typo on word accounting in kprobes.c in mutliple architectures
    treewide: fix "usefull" typo
    treewide: fix "distingush" typo
    mm/Kconfig: Grammar s/an/a/
    kexec: Typo s/the/then/
    Documentation/kvm: Update cpuid documentation for steal time and pv eoi
    treewide: Fix common typo in "identify"
    __page_to_pfn: Fix typo in comment
    Correct some typos for word frequency
    clk: fixed-factor: Fix a trivial typo
    ...

    Linus Torvalds
     

14 Nov, 2013

1 commit

  • Pull ARM updates from Russell King:
    "Included in this series are:

    1. BE8 (modern big endian) changes for ARM from Ben Dooks
    2. big.Little support from Nicolas Pitre and Dave Martin
    3. support for LPAE systems with all system memory above 4GB
    4. Perf updates from Will Deacon
    5. Additional prefetching and other performance improvements from Will.
    6. Neon-optimised AES implementation fro Ard.
    7. A number of smaller fixes scattered around the place.

    There is a rather horrid merge conflict in tools/perf - I was never
    notified of the conflict because it originally occurred between Will's
    tree and other stuff. Consequently I have a resolution which Will
    forwarded me, which I'll forward on immediately after sending this
    mail.

    The other notable thing is I'm expecting some build breakage in the
    crypto stuff on ARM only with Ard's AES patches. These were merged
    into a stable git branch which others had already pulled, so there's
    little I can do about this. The problem is caused because these
    patches have a dependency on some code in the crypto git tree - I
    tried requesting a branch I can pull to resolve these, and all I got
    each time from the crypto people was "we'll revert our patches then"
    which would only make things worse since I still don't have the
    dependent patches. I've no idea what's going on there or how to
    resolve that, and since I can't split these patches from the rest of
    this pull request, I'm rather stuck with pushing this as-is or
    reverting Ard's patches.

    Since it should "come out in the wash" I've left them in - the only
    build problems they seem to cause at the moment are with randconfigs,
    and since it's a new feature anyway. However, if by -rc1 the
    dependencies aren't in, I think it'd be best to revert Ard's patches"

    I resolved the perf conflict roughly as per the patch sent by Russell,
    but there may be some differences. Any errors are likely mine. Let's
    see how the crypto issues work out..

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (110 commits)
    ARM: 7868/1: arm/arm64: remove atomic_clear_mask() in "include/asm/atomic.h"
    ARM: 7867/1: include: asm: use 'int' instead of 'unsigned long' for 'oldval' in atomic_cmpxchg().
    ARM: 7866/1: include: asm: use 'long long' instead of 'u64' within atomic.h
    ARM: 7871/1: amba: Extend number of IRQS
    ARM: 7887/1: Don't smp_cross_call() on UP devices in arch_irq_work_raise()
    ARM: 7872/1: Support arch_irq_work_raise() via self IPIs
    ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode
    ARM: 7878/1: nommu: Implement dummy early_paging_init()
    ARM: 7876/1: clear Thumb-2 IT state on exception handling
    ARM: 7874/2: bL_switcher: Remove cpu_hotplug_driver_{lock,unlock}()
    ARM: footbridge: fix build warnings for netwinder
    ARM: 7873/1: vfp: clear vfp_current_hw_state for dying cpu
    ARM: fix misplaced arch_virt_to_idmap()
    ARM: 7848/1: mcpm: Implement cpu_kill() to synchronise on powerdown
    ARM: 7847/1: mcpm: Factor out logical-to-physical CPU translation
    ARM: 7869/1: remove unused XSCALE_PMU Kconfig param
    ARM: 7864/1: Handle 64-bit memory in case of 32-bit phys_addr_t
    ARM: 7863/1: Let arm_add_memory() always use 64-bit arguments
    ARM: 7862/1: pcpu: replace __get_cpu_var_uses
    ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code
    ...

    Linus Torvalds
     

09 Nov, 2013

1 commit


31 Oct, 2013

1 commit


14 Oct, 2013

1 commit


02 Sep, 2013

1 commit

  • PL080S is a modified version of PL080 that can be found on Samsung SoCs,
    such as S3C6400 and S3C6410.

    It has different offset of CONFIG register, separate CONTROL1 register
    that holds transfer size and larger maximum transfer size.

    Signed-off-by: Tomasz Figa
    Acked-by: Linus Walleij
    Signed-off-by: Vinod Koul

    Tomasz Figa
     

05 Jul, 2013

1 commit

  • As pointed out by Arnd Bergmann there is a get_signal macro definied in
    linux/signal.h which can conflict with the platform data callback
    function of the same name leading to confusing errors from the compiler
    (especially if signal.h manages to get pulled into the driver itself due
    to header dependencies). Avoid such errors by renaming get_signal and
    put_signal in the platform data to get_xfer_signal and put_xfer_signal.

    Signed-off-by: Mark Brown
    Acked-by: Arnd Bergmann
    Signed-off-by: Vinod Koul

    Mark Brown
     

30 Mar, 2013

1 commit

  • In DMA support, The received data is not pushed to tty until the DMA buffer
    is filled. But some megabyte rate chips such as BT expect fast response and
    data should be pushed immediately. In order to fix this issue, We suggest
    the use of the timer for polling DMA buffer.
    In our test, no data loss occurred at high-baudrate as compared with interrupt-
    driven (We tested with 3Mbps).
    We changes:

    - We add timer for polling. If we set poll_timer to 10, every 10ms,
    timer handler checks the residue in the dma buffer and transfer data
    to the tty. Also, last_residue is updated for the next polling.

    - poll_timeout is used to prevent the timer's system cost.
    If poll_timeout is set to 3000 and no data is received in 3 seconds,
    we inactivate poll timer and driver falls back to interrupt-driven.
    When data is received again in FIFO and UART irq is occurred, we switch
    back to DMA mode and start polling.

    - We use consistent DMA mappings to avoid from the frequent cache operation
    of the timer function for default.

    - pl011_dma_rx_chars is modified. the pending size is recalculated because
    data can be taken by polling.

    - the polling time is adjusted if dma rx poll is enabled but no rate is
    specified. Ideal polling interval to push 1 character at every interval
    is the reciprocal of 'baud rate / 10 line bits per character / 1000 ms
    per sec'. But It is very aggressive to system. Experimentally,
    '10000000 / baud' is suitable to receive dozens of characters. the poll rate
    can be specified statically by dma_rx_poll_rate of the platform data as well.

    Changes compared to v1:
    - Use of consistent DMA mappings.
    - Added dma_rx_poll_rate in platform data to specify the polling interval.
    - Added dma_rx_poll_timeout in platform data to specify the polling timeout.

    Changes compared to v2:
    - Use of consistent DMA mappings for default.
    - Added dma_rx_poll_enable in platform data to adjust the polling time
    according to the baud rate.
    - remove unnecessary lock from the polling function.

    Signed-off-by: Chanho Min
    Signed-off-by: Greg Kroah-Hartman

    Chanho Min
     

27 Feb, 2013

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:
    "This is fairly big pull by my standards as I had missed last merge
    window. So we have the support for device tree for slave-dmaengine,
    large updates to dw_dmac driver from Andy for reusing on different
    architectures. Along with this we have fixes on bunch of the drivers"

    Fix up trivial conflicts, usually due to #include line movement next to
    each other.

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (111 commits)
    Revert "ARM: SPEAr13xx: Pass DW DMAC platform data from DT"
    ARM: dts: pl330: Add #dma-cells for generic dma binding support
    DMA: PL330: Register the DMA controller with the generic DMA helpers
    DMA: PL330: Add xlate function
    DMA: PL330: Add new pl330 filter for DT case.
    dma: tegra20-apb-dma: remove unnecessary assignment
    edma: do not waste memory for dma_mask
    dma: coh901318: set residue only if dma is in progress
    dma: coh901318: avoid unbalanced locking
    dmaengine.h: remove redundant else keyword
    dma: of-dma: protect list write operation by spin_lock
    dmaengine: ste_dma40: do not remove descriptors for cyclic transfers
    dma: of-dma.c: fix memory leakage
    dw_dmac: apply default dma_mask if needed
    dmaengine: ioat - fix spare sparse complain
    dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c
    ioatdma: fix race between updating ioat->head and IOAT_COMPLETION_PENDING
    dw_dmac: add support for Lynxpoint DMA controllers
    dw_dmac: return proper residue value
    dw_dmac: fill individual length of descriptor
    ...

    Linus Torvalds
     

30 Jan, 2013

1 commit

  • Since it is now used by code under drivers/clk/ it makes sense for this
    file to be in a more generic location. This is required for building
    vexpress support on arm64.

    Signed-off-by: Catalin Marinas
    Acked-by: Viresh Kumar
    Acked-by: Pawel Moll
    Cc: Shiraz Hashim
    Cc: Russell King
    Signed-off-by: Pawel Moll

    Catalin Marinas
     

13 Jan, 2013

1 commit


03 Dec, 2012

1 commit


03 Oct, 2012

1 commit

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

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

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

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

    Linus Torvalds
     

11 Sep, 2012

1 commit

  • Since commit 4fd0690bb0c3955983560bb2767ee82e2b197f9b
    "serial: pl011: implement workaround for CTS clear event issue"
    the PL011 UART is no longer at risk to hang up, so get rid
    of the callback altogether.

    Cc: Rajanikanth H.V
    Signed-off-by: Linus Walleij
    Acked-by: Lee Jones
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

23 Aug, 2012

1 commit

  • This patch adds the ability for the driver to control the chip select directly.
    This enables independence from cs_control callbacks. Configurable via
    platform_data, to be extended as DT in the following patch.

    Based on the initial patch by Alexandre Pereira da Silva

    Signed-off-by: Roland Stigge
    Acked-by: Alexandre Pereira da Silva
    Reviewed-by: Linus Walleij
    Signed-off-by: Mark Brown

    Roland Stigge
     

02 Aug, 2012

1 commit

  • Pull ARM DMA engine updates from Russell King:
    "This looks scary at first glance, but what it is is:
    - a rework of the sa11x0 DMA engine driver merged during the previous
    cycle, to extract a common set of helper functions for DMA engine
    implementations.
    - conversion of amba-pl08x.c to use these helper functions.
    - addition of OMAP DMA engine driver (using these helper functions),
    and conversion of some of the OMAP DMA users to use DMA engine.

    Nothing in the helper functions is ARM specific, so I hope that other
    implementations can consolidate some of their code by making use of
    these helpers.

    This has been sitting in linux-next most of the merge cycle, and has
    been tested by several OMAP folk. I've tested it on sa11x0 platforms,
    and given it my best shot on my broken platforms which have the
    amba-pl08x controller.

    The last point is the addition to feature-removal-schedule.txt, which
    will have a merge conflict. Between myself and TI, we're planning to
    remove the old TI DMA implementation next year."

    Fix up trivial add/add conflicts in Documentation/feature-removal-schedule.txt
    and drivers/dma/{Kconfig,Makefile}

    * 'dmaengine' of git://git.linaro.org/people/rmk/linux-arm: (53 commits)
    ARM: 7481/1: OMAP2+: omap2plus_defconfig: enable OMAP DMA engine
    ARM: 7464/1: mmc: omap_hsmmc: ensure probe returns error if DMA channel request fails
    Add feature removal of old OMAP private DMA implementation
    mtd: omap2: remove private DMA API implementation
    mtd: omap2: add DMA engine support
    spi: omap2-mcspi: remove private DMA API implementation
    spi: omap2-mcspi: add DMA engine support
    ARM: omap: remove mmc platform data dma_mask and initialization
    mmc: omap: remove private DMA API implementation
    mmc: omap: add DMA engine support
    mmc: omap_hsmmc: remove private DMA API implementation
    mmc: omap_hsmmc: add DMA engine support
    dmaengine: omap: add support for cyclic DMA
    dmaengine: omap: add support for setting fi
    dmaengine: omap: add support for returning residue in tx_state method
    dmaengine: add OMAP DMA engine driver
    dmaengine: sa11x0-dma: add cyclic DMA support
    dmaengine: sa11x0-dma: fix DMA residue support
    dmaengine: PL08x: ensure all descriptors are freed when channel is released
    dmaengine: PL08x: get rid of write only pool_ctr and free_txd locking
    ...

    Linus Torvalds
     

02 Jul, 2012

1 commit


01 Jul, 2012

3 commits