07 Jan, 2017

1 commit

  • My intention was to release this code under GPL v2 license. For some
    reason my initial commit 0fc6a323e191 ("spi: bcm53xx: driver for SPI
    controller on Broadcom bcma SoC") totally missed licensing info.
    MODULE_LICENSE was later added by Axel specifying "GNU Public License
    v2 or later".

    This patch clarifies situation by adding a proper header (with Copyright
    line) and adjusting MODULE_LICENSE. It should be acked by every driver
    contributor.

    Signed-off-by: Rafał Miłecki
    Acked-by: Nicholas Mc Guire
    Reviewed-by: Jingoo Han
    Acked-by: Jingoo Han
    Acked-by: Joe Perches
    Acked-by: Axel Lin
    Acked-by: Vaishali Thakkar
    Signed-off-by: Mark Brown

    Rafał Miłecki
     

01 Jan, 2017

1 commit

  • Setting of_node of master's dev seems to be a common way of letting it
    work nicely with DT. This allows specifying device there instead of
    hardcoding one in the driver code.

    This was successfully tested with commit 1b47b98acce2 ("ARM: BCM5301X:
    Add DT entry for SPI controller and NOR flash")

    Signed-off-by: Rafał Miłecki
    Signed-off-by: Mark Brown

    Rafał Miłecki
     

18 Apr, 2016

1 commit


17 Sep, 2015

1 commit

  • Remove use of spi_unregister_master in remove function as
    devm_spi_register_master in probe function automatically
    handles it. To be compatible with the change, use direct
    return instead of goto and remove unnedded label out.

    Also, remove bcm53xxspi_bcma_remove as it is now redundant.

    Signed-off-by: Vaishali Thakkar
    Signed-off-by: Mark Brown

    Vaishali Thakkar
     

12 Apr, 2015

1 commit


12 Feb, 2015

1 commit


11 Feb, 2015

1 commit


26 Sep, 2014

1 commit


29 Aug, 2014

1 commit


20 Aug, 2014

1 commit

  • Broadcom 53xx ARM SoCs use bcma bus that contains various cores (AKA
    devices). If board has a serial flash, it's connected over SPI and the
    bcma bus includes a SPI controller. Example log from such a board:
    bus0: Found chip with id 53010, rev 0x00 and package 0x02
    (...)
    bus0: Core 18 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)

    This patch adds a bcma driver for SPI core, it registers SPI master
    controller and "bcm53xxspiflash" SPI device.

    Signed-off-by: Rafał Miłecki
    Signed-off-by: Mark Brown

    Rafał Miłecki