24 Jan, 2018

1 commit

  • Adopt the Linux DT bindings. This also fixes an issue
    with the indaddrtrig register on the Cadence QSPI
    device being programmed with the wrong value for the
    socfpga arch.

    Tested on TI K2G platform:
    Tested-by: Vignesh R

    Tested on a socfpga-cyclonev board:
    Tested-by: Simon Goldschmidt

    Signed-off-by: Jason Rush
    Reviewed-by: Jagan Teki
    Acked-by: Simon Goldschmidt
    Acked-by: Marek Vasut

    Jason Rush
     

08 Feb, 2017

1 commit

  • At present devices use a simple integer offset to record the device tree
    node associated with the device. In preparation for supporting a live
    device tree, which uses a node pointer instead, refactor existing code to
    access this field through an inline function.

    Signed-off-by: Simon Glass

    Simon Glass
     

15 Dec, 2016

2 commits


24 Sep, 2016

1 commit


22 Sep, 2016

1 commit

  • Make rx mode flags as generic to spi, earlier mode_rx is
    maintained separately because of some flash specific code.

    Cc: Simon Glass
    Cc: Bin Meng
    Cc: Michal Simek
    Cc: Siva Durga Prasad Paladugu
    Cc: Vignesh R
    Cc: Mugunthan V N
    Signed-off-by: Jagan Teki

    Jagan Teki
     

09 Jul, 2016

1 commit

  • Instead of relying on CONFIG_SPI_FLASH_QUAD to be defined to enable QUAD
    mode, make use of mode_rx field of dm_spi_slave_platdata to determine
    whether to enable or disable QUAD mode. This is necessary to support
    muliple SPI controllers where one of them may not support QUAD mode.

    Signed-off-by: Vignesh R
    Tested-by: Marek Vasut
    Acked-by: Marek Vasut
    Reviewed-by: Jagan Teki

    Vignesh R
     

05 Nov, 2015

3 commits


03 Jul, 2015

1 commit


30 Jan, 2015

1 commit


07 Jan, 2015

1 commit


06 Dec, 2014

1 commit

  • This driver is cloned from the Altera Rockerboard.org U-Boot
    repository. I used this git tag: ACDS14.0.1_REL_GSRD_RC2. With Some
    modification to support the U-Boot driver model (DM).

    As mentioned above, in this new version I ported this driver to the
    new driver model (DM). One big advantage of this move is that now
    multiple SPI drivers can be enabled on one platform. And since the
    SoCFPGA also has the Designware SPI master controller integrated,
    this feature is really needed to support both controllers.

    Because of this, this series needs the DT support for SoCFPGA
    to be applied. For DT based probing in the SPI DM.

    Signed-off-by: Stefan Roese
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Vince Bridgers
    Cc: Marek Vasut
    Cc: Pavel Machek
    Cc: Simon Glass
    Cc: Jagannadha Sutradharudu Teki

    Stefan Roese