spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi
Subsystems (2)
PATCH 1/1 spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi
This patch adds board support and related params to enable the use of this driver from Coldfire mcf5441x CPU family.
--- drivers/spi/Kconfig | 2 +- drivers/spi/spi-fsl-dspi.c | 66 +++++++++++++++++++++++++++------------- include/linux/spi/spi-fsl-dspi.h | 31 +++++++++++++++++++ 3 files changed, 77 insertions(+), 22 deletions(-) create mode 100644 include/linux/spi/spi-fsl-dspi.h
drivers/spi/Kconfig +1 -1
@@ -379,7 +379,7 @@ config SPI_FSL_DSPI tristate "Freescale DSPI controller" select REGMAP_MMIO depends on HAS_DMA - depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST + depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST help This enables support for the Freescale DSPI controller in master mode. VF610 platform uses the controller.
drivers/spi/spi-fsl-dspi.c +45 -21
105 lines not on this page · raw message
include/linux/spi/spi-fsl-dspi.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Freescale DSPI controller driver +* +* Copyright (c) 2017 Angelo Dureghello <[email protected]> +* +* 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. +*/ + +#ifndef SPI_FSL_DSPI_HEADER_H +#define SPI_FSL_DSPI_HEADER_H + +/** +* struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver +* @bus_num: board specific identifier for this DSPI driver. +* @cs_num: number of chip selects supported by this DSPI driver. +*/ +struct fsl_dspi_platform_data { +u32 cs_num; +u32 bus_num; +u32 sck_cs_delay; +u32 cs_sck_delay; +}; + +#endif /* SPI_FSL_DSPI_HEADER_H */
Signature · 6 lines
2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Applied "spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi" to the spi tree
The patch
spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi
has been applied to the spi tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
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
Quoted 1 line
From
ec7ed7708e009e046d1e16ed53ba4d6048748d07Mon Sep 17 00:00:00 2001
From: Angelo Dureghello <[email protected]>
Date: Sat, 28 Oct 2017 00:23:01 +0200
Subject: [PATCH] spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi
--- drivers/spi/Kconfig | 2 +- drivers/spi/spi-fsl-dspi.c | 66 +++++++++++++++++++++++++++------------- include/linux/spi/spi-fsl-dspi.h | 31 +++++++++++++++++++ 3 files changed, 77 insertions(+), 22 deletions(-) create mode 100644 include/linux/spi/spi-fsl-dspi.h
drivers/spi/Kconfig +1 -1
@@ -379,7 +379,7 @@ config SPI_FSL_DSPI tristate "Freescale DSPI controller" select REGMAP_MMIO depends on HAS_DMA - depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST + depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || M5441x || COMPILE_TEST help This enables support for the Freescale DSPI controller in master mode. VF610 platform uses the controller.
drivers/spi/spi-fsl-dspi.c +45 -21
105 lines not on this page · raw message
include/linux/spi/spi-fsl-dspi.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Freescale DSPI controller driver +* +* Copyright (c) 2017 Angelo Dureghello <[email protected]> +* +* 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. +*/ + +#ifndef SPI_FSL_DSPI_HEADER_H +#define SPI_FSL_DSPI_HEADER_H + +/** +* struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver +* @bus_num: board specific identifier for this DSPI driver. +* @cs_num: number of chip selects supported by this DSPI driver. +*/ +struct fsl_dspi_platform_data { +u32 cs_num; +u32 bus_num; +u32 sck_cs_delay; +u32 cs_sck_delay; +}; + +#endif /* SPI_FSL_DSPI_HEADER_H */
Signature · 6 lines
2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html