Skip to content

Commit

Permalink
Merge tag 'spi-fix-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "A couple of fairly minor driver specific fixes here, plus a bunch of
  maintainership and admin updates. Nothing too remarkable"

* tag 'spi-fix-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  mailmap: add entry for Jonas Gorski
  MAINTAINERS: add myself for spi-bcm63xx
  spi: s3c64xx: clear loopback bit after loopback test
  spi: bcm63xx: fix max prepend length
  MAINTAINERS: Add myself as a maintainer for Microchip SPI
  • Loading branch information
torvalds committed Jul 15, 2023
2 parents 393ea78 + 54ccc87 commit 831fe28
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ John Paul Adrian Glaubitz <[email protected]>
John Stultz <[email protected]>
<[email protected]> <[email protected]>
<[email protected]> <[email protected]>
Jonas Gorski <[email protected]> <[email protected]>
Jordan Crouse <[email protected]> <[email protected]>
<[email protected]> <[email protected]>
<[email protected]> <[email protected]>
Expand Down
9 changes: 8 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,13 @@ F: Documentation/devicetree/bindings/spi/brcm,bcm63xx-hsspi.yaml
F: drivers/spi/spi-bcm63xx-hsspi.c
F: drivers/spi/spi-bcmbca-hsspi.c

BROADCOM BCM6348/BCM6358 SPI controller DRIVER
M: Jonas Gorski <[email protected]>
L: [email protected]
S: Odd Fixes
F: Documentation/devicetree/bindings/spi/spi-bcm63xx.txt
F: drivers/spi/spi-bcm63xx.c

BROADCOM ETHERNET PHY DRIVERS
M: Florian Fainelli <[email protected]>
R: Broadcom internal kernel review list <[email protected]>
Expand Down Expand Up @@ -13968,7 +13975,7 @@ T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
F: drivers/soc/microchip/

MICROCHIP SPI DRIVER
M: Tudor Ambarus <[email protected]>
M: Ryan Wanner <[email protected]>
S: Supported
F: drivers/spi/spi-atmel.*

Expand Down
2 changes: 1 addition & 1 deletion drivers/spi/spi-bcm63xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ enum bcm63xx_regs_spi {
SPI_MSG_DATA_SIZE,
};

#define BCM63XX_SPI_MAX_PREPEND 15
#define BCM63XX_SPI_MAX_PREPEND 7

#define BCM63XX_SPI_MAX_CS 8
#define BCM63XX_SPI_BUS_NUM 0
Expand Down
2 changes: 2 additions & 0 deletions drivers/spi/spi-s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ static int s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)

if ((sdd->cur_mode & SPI_LOOP) && sdd->port_conf->has_loopback)
val |= S3C64XX_SPI_MODE_SELF_LOOPBACK;
else
val &= ~S3C64XX_SPI_MODE_SELF_LOOPBACK;

writel(val, regs + S3C64XX_SPI_MODE_CFG);

Expand Down

0 comments on commit 831fe28

Please sign in to comment.