spi: spi-cadence: add support for chip select high
PATCH 1/1 spi: spi-cadence: add support for chip select high
spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
--- drivers/spi/spi-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-cadence.c +1 -2
@@ -556,7 +556,7 @@ static int cdns_spi_probe(struct platform_device *pdev) master->unprepare_transfer_hardware = cdns_unprepare_transfer_hardware; master->set_cs = cdns_spi_chipselect; master->auto_runtime_pm = true; - master->mode_bits =SPI_CPOL |SPI_CPHA ; + master->mode_bits =SPI_CPOL |SPI_CPHA |SPI_CS_HIGH ;/* Set to default valid value */ master->max_speed_hz =clk_get_rate (xspi->ref_clk) /4 ; --
2.20.1
Mark Brown
maintainerQuoted 3 lines · Shreyas Joshi
spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
This doesn't apply against current code, please check and resend:
HEAD is now at 3ea4eac3e29f SPI SUBSYSTEM: Replace HTTP links with HTTPS ones
Applying: spi: spi-cadence: add support for chip select high
error: corrupt patch at line 18
error: could not build fake ancestor
Patch failed at 0001 spi: spi-cadence: add support for chip select high
PATCH 1/1 spi: spi-cadence: add support for chip select high
In reply to Shreyas JoshiThe spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
--- drivers/spi/spi-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-cadence.c +1 -1
@@ -556,7 +556,7 @@ static int cdns_spi_probe(struct platform_device *pdev) master->unprepare_transfer_hardware = cdns_unprepare_transfer_hardware; master->set_cs = cdns_spi_chipselect; master->auto_runtime_pm = true; - master->mode_bits =SPI_CPOL |SPI_CPHA ; + master->mode_bits =SPI_CPOL |SPI_CPHA |SPI_CS_HIGH ;/* Set to default valid value */ master->max_speed_hz =clk_get_rate (xspi->ref_clk) /4 ;
Signature · 1 line
2.20.1
Were you able to patch my driver successfully?
-----Original Message-----
From: Shreyas Joshi <[email protected]>
Sent: Saturday, 11 July 2020 7:17 AM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; Shreyas Joshi <[email protected]>
Subject: [PATCH] spi: spi-cadence: add support for chip select high
The spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
--- drivers/spi/spi-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-cadence.c +1 -1
@@ -556,7 +556,7 @@ static int cdns_spi_probe(struct platform_device *pdev) master->unprepare_transfer_hardware = cdns_unprepare_transfer_hardware; master->set_cs = cdns_spi_chipselect; master->auto_runtime_pm = true; - master->mode_bits =SPI_CPOL |SPI_CPHA ; + master->mode_bits =SPI_CPOL |SPI_CPHA |SPI_CS_HIGH ;/* Set to default valid value */ master->max_speed_hz =clk_get_rate (xspi->ref_clk) /4 ;
--
2.20.1
Mark Brown
maintainerQuoted 3 lines · Shreyas Joshi
Were you able to patch my driver successfully?
-----Original Message-----
Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical bug fixes) please allow at least a couple of weeks for review. If there have been review comments then people may be waiting for those to be addressed.
Sending content free pings adds to the mail volume (if they are seen at all) which is often the problem and since they can't be reviewed directly if something has gone wrong you'll have to resend the patches anyway, so sending again is generally a better approach though there are some other maintainers who like them - if in doubt look at how patches for the subsystem are normally handled.
PATCH 1/1 spi: spi-cadence: add support for chip select high
In reply to Shreyas JoshiThe spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
--- drivers/spi/spi-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-cadence.c +1 -1
@@ -556,7 +556,7 @@ static int cdns_spi_probe(struct platform_device *pdev) master->unprepare_transfer_hardware = cdns_unprepare_transfer_hardware; master->set_cs = cdns_spi_chipselect; master->auto_runtime_pm = true; - master->mode_bits =SPI_CPOL |SPI_CPHA ; + master->mode_bits =SPI_CPOL |SPI_CPHA |SPI_CS_HIGH ;/* Set to default valid value */ master->max_speed_hz =clk_get_rate (xspi->ref_clk) /4 ;
Signature · 1 line
2.20.1
Mark Brown
maintainerQuoted 3 lines · Shreyas Joshi
The spi cadence driver should support spi-cs-high in mode bits so that the peripherals that needs the chip select to be high active can use it. Add the SPI-CS-HIGH flag in the supported mode bits.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: spi-cadence: add support for chip select high
commit: ce8e60fe4f517b3b2b1deb44cf364a9080521567
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark