21 Jun, 2020

1 commit

  • Every hwspinlock driver is expected to depend on the
    hwspinlock core, so it's possible to simplify the
    Kconfig, factoring out the HWSPINLOCK dependency.

    Reviewed-by: Baolin Wang
    Signed-off-by: Ezequiel Garcia
    Link: https://lore.kernel.org/r/20200414220943.6203-1-ezequiel@collabora.com
    Signed-off-by: Bjorn Andersson

    Ezequiel Garcia
     

26 Mar, 2020

1 commit


30 Jun, 2019

1 commit

  • A HwSpinlock IP is also present on the newer TI K3 AM65x and J721E
    family of SoCs within the Main NavSS sub-module. Reuse the existing
    OMAP Hwspinlock driver to extend the support for this IP on K3 AM65x
    SoCs as well. The IP has slightly different bit-fields in the
    SYSCONFIG and SYSSTATUS registers.

    Signed-off-by: Suman Anna
    Signed-off-by: Bjorn Andersson

    Suman Anna
     

06 Dec, 2018

1 commit


25 May, 2018

1 commit


07 Nov, 2017

1 commit


18 May, 2017

2 commits


12 Jun, 2015

1 commit

  • Add hwspinlock support for the CSR atlas7 SoC.

    The Hardware Spinlock device on atlas7 provides hardware assistance
    for synchronization between the multiple processors in the system
    (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP).

    Reviewed-by: Suman Anna
    Reviewed-by: Bjorn Andersson
    Signed-off-by: Wei Chen
    Signed-off-by: Barry Song
    Signed-off-by: Ohad Ben-Cohen

    Wei Chen
     

02 May, 2015

1 commit


29 Jul, 2014

1 commit

  • HwSpinlocks are supported on TI's AM33xx, AM43xx and DRA7xx SoC
    device families as well. The IPs are identical to that of
    OMAP4/OMAP5, except for the number of locks.

    Add a depends on to the above family of SoCs to enable the
    build support for OMAP hwspinlock driver for any of the above
    SoC configs.

    Signed-off-by: Suman Anna
    [small commit log changes]
    Signed-off-by: Ohad Ben-Cohen

    Suman Anna
     

05 Apr, 2013

1 commit


22 Sep, 2011

2 commits

  • Add hwspinlock driver for U8500's Hsem hardware.

    At this point only HSem's protocol 1 is used (i.e. no interrupts).

    Signed-off-by: Mathieu Poirier
    Acked-by: Linus Walleij
    [ohad@wizery.com: adopt recent hwspin_lock_{un}register API changes]
    [ohad@wizery.com: set the owner member of the driver]
    [ohad@wizery.com: mark ->remove() function as __devexit]
    [ohad@wizery.com: write commit log]
    [ohad@wizery.com: small cleanups]
    Signed-off-by: Ohad Ben-Cohen

    Mathieu J. Poirier
     
  • Simplify hwspinlock's Kconfig by making the global CONFIG_HWSPINLOCK
    entry invisible; users will just select it when needed.

    This also prepares the ground for adding hwspinlock support for other
    platforms (the 'depends on ARCH_OMAP4' was rather hideous, and while
    we're at it, a dedicated menu is added).

    Signed-off-by: Ohad Ben-Cohen

    Ohad Ben-Cohen
     

19 Mar, 2011

1 commit


18 Feb, 2011

2 commits

  • Add hwspinlock support for the OMAP4 Hardware Spinlock device.

    The Hardware Spinlock device on OMAP4 provides hardware assistance
    for synchronization between the multiple processors in the system
    (dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP).

    [ohad@wizery.com: adapt to hwspinlock framework, tidy up]
    Signed-off-by: Simon Que
    Signed-off-by: Hari Kanigeri
    Signed-off-by: Krishnamoorthy, Balaji T
    Signed-off-by: Ohad Ben-Cohen
    Cc: Benoit Cousson
    Cc: Kevin Hilman
    Cc: Grant Likely
    Cc: Arnd Bergmann
    Cc: Paul Walmsley
    Cc: Russell King
    Signed-off-by: Tony Lindgren

    Simon Que
     
  • Add a platform-independent hwspinlock framework.

    Hardware spinlock devices are needed, e.g., in order to access data
    that is shared between remote processors, that otherwise have no
    alternative mechanism to accomplish synchronization and mutual exclusion
    operations.

    Signed-off-by: Ohad Ben-Cohen
    Cc: Hari Kanigeri
    Cc: Benoit Cousson
    Cc: Kevin Hilman
    Cc: Grant Likely
    Cc: Paul Walmsley
    Cc: Russell King
    Acked-by: Arnd Bergmann
    Signed-off-by: Tony Lindgren

    Ohad Ben-Cohen