soc: Keystone SOC Navigator drivers for 3.18
Hi Arm-soc folks,
Please pull below Keystone SOC drivers. They have been on the list for review for last few merge windows. I got handful of comments on DTS bindings which has been already addressed. This should ungate me to get network support for Keystone which is missing in mainline.
The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:
Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/drivers-soc-ti
for you to fetch changes up to e9e7494bdcc7926237823253707691d0f3787be2:
MAINTAINERS: Add Keystone Multicore Navigator drivers entry (2014-09-04 16:40:16 -0400)
----------------------------------------------------------------
Keystone SOC Navigator drivers for 3.18
The Keystone Multi-core Navigator contains QMSS and packet DMA subsystems which interwork together to form the Navigator cloud used by various subsystems like NetCP, SRIO, SideBand Crypto engines etc.
----------------------------------------------------------------
Sandeep Nair (3):
firmware: add Keystone QMSS PDSP accumulator firmware blob
Documentation: dt: soc: add Keystone Navigator QMSS bindings
soc: ti: add Keystone Navigator QMSS driver
Santosh Shilimkar (3):
Documentation: dt: soc: add Keystone Navigator DMA bindings
soc: ti: add Keystone Navigator DMA support
MAINTAINERS: Add Keystone Multicore Navigator drivers entry
.../bindings/soc/ti/keystone-navigator-dma.txt | 111 ++ .../bindings/soc/ti/keystone-navigator-qmss.txt | 232 +++ MAINTAINERS | 9 + drivers/Kconfig | 2 + drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/ti/Kconfig | 31 + drivers/soc/ti/Makefile | 5 + drivers/soc/ti/knav_dma.c | 815 +++++++++ drivers/soc/ti/knav_qmss.h | 386 +++++ drivers/soc/ti/knav_qmss_acc.c | 591 +++++++ drivers/soc/ti/knav_qmss_queue.c | 1816 ++++++++++++++++++++ firmware/Makefile | 1 + .../keystone/qmss_pdsp_acc48_k2_le_1_0_0_8.fw.ihex | 110 ++ include/linux/soc/ti/knav_dma.h | 175 ++ include/linux/soc/ti/knav_qmss.h | 90 + 16 files changed, 4376 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/ti/keystone-navigator-dma.txt create mode 100644 Documentation/devicetree/bindings/soc/ti/keystone-navigator-qmss.txt create mode 100644 drivers/soc/ti/Kconfig create mode 100644 drivers/soc/ti/Makefile create mode 100644 drivers/soc/ti/knav_dma.c create mode 100644 drivers/soc/ti/knav_qmss.h create mode 100644 drivers/soc/ti/knav_qmss_acc.c create mode 100644 drivers/soc/ti/knav_qmss_queue.c create mode 100644 firmware/keystone/qmss_pdsp_acc48_k2_le_1_0_0_8.fw.ihex create mode 100644 include/linux/soc/ti/knav_dma.h create mode 100644 include/linux/soc/ti/knav_qmss.h
Quoted 33 lines · Santosh Shilimkar
Hi Arm-soc folks,
Please pull below Keystone SOC drivers. They have been on the list for review for last few merge windows. I got handful of comments on DTS bindings which has been already addressed. This should ungate me to get network support for Keystone which is missing in mainline.
The following changes since commit
7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.gittags/drivers-soc-tifor you to fetch changes up to
e9e7494bdcc7926237823253707691d0f3787be2:
MAINTAINERS: Add Keystone Multicore Navigator drivers entry (2014-09-04 16:40:16 -0400)----------------------------------------------------------------
Keystone SOC Navigator drivers for 3.18The Keystone Multi-core Navigator contains QMSS and packet DMA subsystems which interwork together to form the Navigator cloud used by various subsystems like NetCP, SRIO, SideBand Crypto engines etc.
----------------------------------------------------------------
Sandeep Nair (3):
firmware: add Keystone QMSS PDSP accumulator firmware blob
Documentation: dt: soc: add Keystone Navigator QMSS bindings
soc: ti: add Keystone Navigator QMSS driver
Quoted 4 lines
Santosh Shilimkar (3):
Documentation: dt: soc: add Keystone Navigator DMA bindings
soc: ti: add Keystone Navigator DMA support
MAINTAINERS: Add Keystone Multicore Navigator drivers entry
Hi Santosh,
I was going through the queue of merges to do and it seems like Arnd missed this one.
Before I merge it though -- it looks like the firmware should be added to the linux-firmware repository instead? We try to avoid adding new firmware files in the kernel tree these days and get them from there instead...
Can you respin with that fixed, or should I cherry-pick the contents from this branch instead (all but that patch)?
-Olof
Quoted 39 lines · Olof Johansson
Quoted 33 lines · Santosh Shilimkar
Hi Arm-soc folks,
Please pull below Keystone SOC drivers. They have been on the list for review for last few merge windows. I got handful of comments on DTS bindings which has been already addressed. This should ungate me to get network support for Keystone which is missing in mainline.
The following changes since commit
7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.gittags/drivers-soc-tifor you to fetch changes up to
e9e7494bdcc7926237823253707691d0f3787be2:
MAINTAINERS: Add Keystone Multicore Navigator drivers entry (2014-09-04 16:40:16 -0400)----------------------------------------------------------------
Keystone SOC Navigator drivers for 3.18The Keystone Multi-core Navigator contains QMSS and packet DMA subsystems which interwork together to form the Navigator cloud used by various subsystems like NetCP, SRIO, SideBand Crypto engines etc.
----------------------------------------------------------------
Sandeep Nair (3):
firmware: add Keystone QMSS PDSP accumulator firmware blob
Documentation: dt: soc: add Keystone Navigator QMSS bindings
soc: ti: add Keystone Navigator QMSS driverQuoted 4 lines
Santosh Shilimkar (3):
Documentation: dt: soc: add Keystone Navigator DMA bindings
soc: ti: add Keystone Navigator DMA support
MAINTAINERS: Add Keystone Multicore Navigator drivers entry
Quoted 9 lines
Hi Santosh,
I was going through the queue of merges to do and it seems like Arnd missed this one.
Before I merge it though -- it looks like the firmware should be added to the linux-firmware repository instead? We try to avoid adding new firmware files in the kernel tree these days and get them from there instead...
Right. Typically firmware files in kernel are not encoraged. This is infrastructure driver so the firmware is needed for it to work. I will try to get that patch via linux-firmware tree.
Quoted 3 lines
Can you respin with that fixed, or should I cherry-pick the contents from this branch instead (all but that patch)?
Just refreshed the branch and updated the new tag.
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git
tags/drivers-soc-ti-v2
Can you please pull that one ?
Thanks !!
regards,
Santosh
Quoted 56 lines · Santosh Shilimkar
Quoted 39 lines · Olof Johansson
Quoted 33 lines · Santosh Shilimkar
Hi Arm-soc folks,
Please pull below Keystone SOC drivers. They have been on the list for review for last few merge windows. I got handful of comments on DTS bindings which has been already addressed. This should ungate me to get network support for Keystone which is missing in mainline.
The following changes since commit
7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.gittags/drivers-soc-tifor you to fetch changes up to
e9e7494bdcc7926237823253707691d0f3787be2:
MAINTAINERS: Add Keystone Multicore Navigator drivers entry (2014-09-04 16:40:16 -0400)----------------------------------------------------------------
Keystone SOC Navigator drivers for 3.18The Keystone Multi-core Navigator contains QMSS and packet DMA subsystems which interwork together to form the Navigator cloud used by various subsystems like NetCP, SRIO, SideBand Crypto engines etc.
----------------------------------------------------------------
Sandeep Nair (3):
firmware: add Keystone QMSS PDSP accumulator firmware blob
Documentation: dt: soc: add Keystone Navigator QMSS bindings
soc: ti: add Keystone Navigator QMSS driverQuoted 4 lines
Santosh Shilimkar (3):
Documentation: dt: soc: add Keystone Navigator DMA bindings
soc: ti: add Keystone Navigator DMA support
MAINTAINERS: Add Keystone Multicore Navigator drivers entryQuoted 9 lines
Hi Santosh,
I was going through the queue of merges to do and it seems like Arnd missed this one.
Before I merge it though -- it looks like the firmware should be added to the linux-firmware repository instead? We try to avoid adding new firmware files in the kernel tree these days and get them from there instead...
Right. Typically firmware files in kernel are not encoraged. This is infrastructure driver so the firmware is needed for it to work. I will try to get that patch via linux-firmware tree.
Quoted 3 lines
Can you respin with that fixed, or should I cherry-pick the contents from this branch instead (all but that patch)?
Quoted 6 lines
Just refreshed the branch and updated the new tag.
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git
tags/drivers-soc-ti-v2Can you please pull that one ?
Done, merged.
-Olof
PATCH 1/1 drivers/soc: ti: fix build break with modules
In reply to Santosh ShilimkarFixes below build break by not switching to stubs when the driver is a module:
drivers/soc/ti/knav_dma.c:418:7: error: redefinition of 'knav_dma_open_channel'
void *knav_dma_open_channel(struct device *dev, const char *name,
^
In file included from drivers/soc/ti/knav_dma.c:26:0:
include/linux/soc/ti/knav_dma.h:165:21: note: previous definition of 'knav_dma_open_channel' was here
static inline void *knav_dma_open_channel(struct device *dev, const char *name,
^--- include/linux/soc/ti/knav_dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/soc/ti/knav_dma.h +1 -1
@@ -157,7 +157,7 @@ struct knav_dma_desc {u32 pad[4 ]; }____cacheline_aligned ; -#ifdef CONFIG_KEYSTONE_NAVIGATOR_DMA +#if IS_ENABLED (CONFIG_KEYSTONE_NAVIGATOR_DMA )void *knav_dma_open_channel (struct device *dev,const char *name,struct knav_dma_cfg *config);void knav_dma_close_channel (void *channel);
Signature · 1 line
1.7.10.4
PATCH 1/1 drivers/soc: ti: fix build break with modules
Quoted 22 lines · Olof Johansson
Fixes below build break by not switching to stubs when the driver is a module:
drivers/soc/ti/knav_dma.c:418:7: error: redefinition of 'knav_dma_open_channel'
void *knav_dma_open_channel(struct device *dev, const char *name,^ In file included from drivers/soc/ti/knav_dma.c:26:0: include/linux/soc/ti/knav_dma.h:165:21: note: previous definition of 'knav_dma_open_channel' was here static inline void *knav_dma_open_channel(struct device *dev, const char *name, ^Cc Santosh Shilimkar <[email protected]>Signed-off-by Olof Johansson <[email protected]>--- include/linux/soc/ti/knav_dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/soc/ti/knav_dma.h +0
-0
include/linux/soc/ti/knav_dma.h struct knav_dma_desc { · line 163
Quoted 8 lines
include/linux/soc/ti/knav_dma.h +1
-1@@ -157,7 +157,7 @@ struct knav_dma_desc {u32 pad[4 ]; }____cacheline_aligned ; -#ifdef CONFIG_KEYSTONE_NAVIGATOR_DMA +#if IS_ENABLED (CONFIG_KEYSTONE_NAVIGATOR_DMA )void *knav_dma_open_channel (struct device *dev,const char *name,struct knav_dma_cfg *config);void knav_dma_close_channel (void *channel);
Thanks Olof for fixing it up.
Regards,
Santosh