10 Sep, 2020

1 commit


08 Nov, 2019

1 commit

  • The FSI master registers are common to the hub and AST2600 master (and
    the FSP2, if someone was to upstream a driver for that).

    Add defines to the fsi-master.h header, and introduce headings to
    delineate the existing low level details.

    Acked-by: Andrew Jeffery
    Acked-by: Jeremy Kerr
    Signed-off-by: Joel Stanley
    Link: https://lore.kernel.org/r/20191108051945.7109-8-joel@jms.id.au
    Signed-off-by: Greg Kroah-Hartman

    Joel Stanley
     

31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation this program is
    distributed in the hope that it will be useful but without any
    warranty without even the implied warranty of merchantability or
    fitness for a particular purpose see the gnu general public license
    for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 655 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

27 Jul, 2018

1 commit


12 Jul, 2018

2 commits


15 Mar, 2018

2 commits

  • Once we call fsi_master_unregister, the core will put_device,
    potentially freeing the hub master. This change adds a comment
    explaining the lifetime of an allocated fsi_master.

    We then add a reference from the driver to the hub master, so it stays
    around until we've finished ->remove().

    Signed-off-by: Jeremy Kerr
    Tested-by: Christopher Bostic
    Signed-off-by: Joel Stanley
    Signed-off-by: Greg Kroah-Hartman

    Jeremy Kerr
     
  • We'll want non-core fsi code to trigger a rescan, so introduce a
    non-static fsi_master_rescan() function. Use this for the existing
    unscan/scan behaviour too.

    Signed-off-by: Jeremy Kerr
    Reviewed-by: Joel Stanley
    Reviewed-by: Christopher Bostic
    Signed-off-by: Joel Stanley
    Signed-off-by: Greg Kroah-Hartman

    Jeremy Kerr
     

09 Jun, 2017

2 commits

  • For slaves that are behind a software-clocked master, we want FSI CFAMs
    to run asynchronously to the FSI clock, so set up our slaves to be in
    async mode.

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Christopher Bostic
    Signed-off-by: Greg Kroah-Hartman

    Jeremy Kerr
     
  • Add a `struct fsi_master` to represent a FSI master controller.

    FSI master drivers register one of these structs to provide
    device-specific of the standard operations: read/write/term/break and
    link control.

    Includes changes from Edward A. James & Jeremy Kerr
    .

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Chris Bostic
    Signed-off-by: Joel Stanley
    Signed-off-by: Greg Kroah-Hartman

    Jeremy Kerr