* [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar, robh+dt, mark.rutland, ray.jui, scott.branden, f.fainelli, jon.mason, linux, rob.rice Cc: bcm-kernel-feedback-list, devicetree, linux-arm-kernel, linux-kernel, steven.lin1 Adds support for Broadcom Northstar+ to mailbox (PDC) driver. Patch 1/3: Driver code and Kconfig changes Patch 2/3: Device tree changes Patch 3/3: DT bindings documentation changes v2 addresses Jon Mason's suggestion about making the bindings doc change a separate patch. Steve Lin (3): mailbox: bcm-pdc: Add Northstar Plus support to PDC driver ARM: dts: NSP: Add mailbox (PDC) to NSP dt-bindings: mailbox: Update doc with NSP PDC/mailbox support .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++- arch/arm/boot/dts/bcm-nsp.dtsi | 9 ++++ drivers/mailbox/Kconfig | 9 ++-- drivers/mailbox/bcm-pdc-mailbox.c | 61 ++++++++++++++++------ 4 files changed, 63 insertions(+), 22 deletions(-) -- 2.1.0 ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: linux-arm-kernel Adds support for Broadcom Northstar+ to mailbox (PDC) driver. Patch 1/3: Driver code and Kconfig changes Patch 2/3: Device tree changes Patch 3/3: DT bindings documentation changes v2 addresses Jon Mason's suggestion about making the bindings doc change a separate patch. Steve Lin (3): mailbox: bcm-pdc: Add Northstar Plus support to PDC driver ARM: dts: NSP: Add mailbox (PDC) to NSP dt-bindings: mailbox: Update doc with NSP PDC/mailbox support .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++- arch/arm/boot/dts/bcm-nsp.dtsi | 9 ++++ drivers/mailbox/Kconfig | 9 ++-- drivers/mailbox/bcm-pdc-mailbox.c | 61 ++++++++++++++++------ 4 files changed, 63 insertions(+), 22 deletions(-) -- 2.1.0 ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 1/3] mailbox: bcm-pdc: Add Northstar Plus support to PDC driver @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar, robh+dt, mark.rutland, ray.jui, scott.branden, f.fainelli, jon.mason, linux, rob.rice Cc: bcm-kernel-feedback-list, devicetree, linux-arm-kernel, linux-kernel, steven.lin1 Adds support for Northstar Plus (NS+) products to the PDC mailbox driver. The PDC driver was originally written to support the PDC ring manager in the Northstar2 (64-bit) device. The NS+ (32 bit device) uses an almost identical ring manager, though with a different name. We just need to check for the type of hardware in use, in order to write the appropriate interrupt configuration register. Also updated DMA width to be correct for both NS+ and NS2. Tested on NS+ and NS2. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- drivers/mailbox/Kconfig | 9 +++--- drivers/mailbox/bcm-pdc-mailbox.c | 61 +++++++++++++++++++++++++++++---------- 2 files changed, 50 insertions(+), 20 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index ceff415..91eafb5 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -144,12 +144,11 @@ config XGENE_SLIMPRO_MBOX want to use the APM X-Gene SLIMpro IPCM support. config BCM_PDC_MBOX - tristate "Broadcom PDC Mailbox" - depends on ARM64 || COMPILE_TEST + tristate "Broadcom FlexSparx DMA Mailbox" + depends on ARCH_BCM_IPROC || COMPILE_TEST depends on HAS_DMA - default ARCH_BCM_IPROC help - Mailbox implementation for the Broadcom PDC ring manager, + Mailbox implementation for the Broadcom FlexSparx DMA ring manager, which provides access to various offload engines on Broadcom - SoCs. Say Y here if you want to use the Broadcom PDC. + SoCs, including FA2/FA+ on Northstar Plus and PDC on Northstar 2. endif diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c index 2aeb034..4fe7be0 100644 --- a/drivers/mailbox/bcm-pdc-mailbox.c +++ b/drivers/mailbox/bcm-pdc-mailbox.c @@ -18,7 +18,8 @@ * Broadcom PDC Mailbox Driver * The PDC provides a ring based programming interface to one or more hardware * offload engines. For example, the PDC driver works with both SPU-M and SPU2 - * cryptographic offload hardware. In some chips the PDC is referred to as MDE. + * cryptographic offload hardware. In some chips the PDC is referred to as MDE, + * and in others the FA2/FA+ hardware is used with this PDC driver. * * The PDC driver registers with the Linux mailbox framework as a mailbox * controller, once for each PDC instance. Ring 0 for each PDC is registered as @@ -108,6 +109,7 @@ #define PDC_INTMASK_OFFSET 0x24 #define PDC_INTSTATUS_OFFSET 0x20 #define PDC_RCVLAZY0_OFFSET (0x30 + 4 * PDC_RINGSET) +#define FA_RCVLAZY0_OFFSET 0x100 /* * For SPU2, configure MDE_CKSUM_CONTROL to write 17 bytes of metadata @@ -162,6 +164,11 @@ /* Maximum size buffer the DMA engine can handle */ #define PDC_DMA_BUF_MAX 16384 +enum pdc_hw { + FA_HW, /* FA2/FA+ hardware (i.e. Northstar Plus) */ + PDC_HW /* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */ +}; + struct pdc_dma_map { void *ctx; /* opaque context associated with frame */ }; @@ -211,13 +218,13 @@ struct pdc_regs { u32 gptimer; /* 0x028 */ u32 PAD; - u32 intrcvlazy_0; /* 0x030 */ - u32 intrcvlazy_1; /* 0x034 */ - u32 intrcvlazy_2; /* 0x038 */ - u32 intrcvlazy_3; /* 0x03c */ + u32 intrcvlazy_0; /* 0x030 (Only in PDC, not FA2) */ + u32 intrcvlazy_1; /* 0x034 (Only in PDC, not FA2) */ + u32 intrcvlazy_2; /* 0x038 (Only in PDC, not FA2) */ + u32 intrcvlazy_3; /* 0x03c (Only in PDC, not FA2) */ u32 PAD[48]; - u32 removed_intrecvlazy; /* 0x100 */ + u32 fa_intrecvlazy; /* 0x100 (Only in FA2, not PDC) */ u32 flowctlthresh; /* 0x104 */ u32 wrrthresh; /* 0x108 */ u32 gmac_idle_cnt_thresh; /* 0x10c */ @@ -243,7 +250,7 @@ struct pdc_regs { u32 serdes_status1; /* 0x1b0 */ u32 PAD[11]; /* 0x1b4-1dc */ u32 clk_ctl_st; /* 0x1e0 */ - u32 hw_war; /* 0x1e4 */ + u32 hw_war; /* 0x1e4 (Only in PDC, not FA2) */ u32 pwrctl; /* 0x1e8 */ u32 PAD[5]; @@ -410,6 +417,9 @@ struct pdc_state { u32 txnobuf; /* unable to create tx descriptor */ u32 rxnobuf; /* unable to create rx descriptor */ u32 rx_oflow; /* count of rx overflows */ + + /* hardware type - FA2 or PDC/MDE */ + enum pdc_hw hw_type; }; /* Global variables */ @@ -1396,7 +1406,13 @@ static int pdc_interrupts_init(struct pdc_state *pdcs) /* interrupt configuration */ iowrite32(PDC_INTMASK, pdcs->pdc_reg_vbase + PDC_INTMASK_OFFSET); - iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + PDC_RCVLAZY0_OFFSET); + + if (pdcs->hw_type == FA_HW) + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + FA_RCVLAZY0_OFFSET); + else + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + PDC_RCVLAZY0_OFFSET); /* read irq from device tree */ pdcs->pdc_irq = irq_of_parse_and_map(dn, 0); @@ -1465,6 +1481,17 @@ static int pdc_mb_init(struct pdc_state *pdcs) return 0; } +/* Device tree API */ +static const int pdc_hw = PDC_HW; +static const int fa_hw = FA_HW; + +static const struct of_device_id pdc_mbox_of_match[] = { + {.compatible = "brcm,iproc-pdc-mbox", .data = &pdc_hw}, + {.compatible = "brcm,iproc-fa2-mbox", .data = &fa_hw}, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); + /** * pdc_dt_read() - Read application-specific data from device tree. * @pdev: Platform device @@ -1481,6 +1508,8 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) { struct device *dev = &pdev->dev; struct device_node *dn = pdev->dev.of_node; + const struct of_device_id *match; + const int *hw_type; int err; err = of_property_read_u32(dn, "brcm,rx-status-len", @@ -1492,6 +1521,14 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) pdcs->use_bcm_hdr = of_property_read_bool(dn, "brcm,use-bcm-hdr"); + pdcs->hw_type = PDC_HW; + + match = of_match_device(of_match_ptr(pdc_mbox_of_match), dev); + if (match != NULL) { + hw_type = match->data; + pdcs->hw_type = *hw_type; + } + return 0; } @@ -1525,7 +1562,7 @@ static int pdc_probe(struct platform_device *pdev) pdcs->pdc_idx = pdcg.num_spu; pdcg.num_spu++; - err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32)); + err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(39)); if (err) { dev_warn(dev, "PDC device cannot perform DMA. Error %d.", err); goto cleanup; @@ -1611,12 +1648,6 @@ static int pdc_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id pdc_mbox_of_match[] = { - {.compatible = "brcm,iproc-pdc-mbox"}, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); - static struct platform_driver pdc_mbox_driver = { .probe = pdc_probe, .remove = pdc_remove, -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 1/3] mailbox: bcm-pdc: Add Northstar Plus support to PDC driver @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: linux-arm-kernel Adds support for Northstar Plus (NS+) products to the PDC mailbox driver. The PDC driver was originally written to support the PDC ring manager in the Northstar2 (64-bit) device. The NS+ (32 bit device) uses an almost identical ring manager, though with a different name. We just need to check for the type of hardware in use, in order to write the appropriate interrupt configuration register. Also updated DMA width to be correct for both NS+ and NS2. Tested on NS+ and NS2. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- drivers/mailbox/Kconfig | 9 +++--- drivers/mailbox/bcm-pdc-mailbox.c | 61 +++++++++++++++++++++++++++++---------- 2 files changed, 50 insertions(+), 20 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index ceff415..91eafb5 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -144,12 +144,11 @@ config XGENE_SLIMPRO_MBOX want to use the APM X-Gene SLIMpro IPCM support. config BCM_PDC_MBOX - tristate "Broadcom PDC Mailbox" - depends on ARM64 || COMPILE_TEST + tristate "Broadcom FlexSparx DMA Mailbox" + depends on ARCH_BCM_IPROC || COMPILE_TEST depends on HAS_DMA - default ARCH_BCM_IPROC help - Mailbox implementation for the Broadcom PDC ring manager, + Mailbox implementation for the Broadcom FlexSparx DMA ring manager, which provides access to various offload engines on Broadcom - SoCs. Say Y here if you want to use the Broadcom PDC. + SoCs, including FA2/FA+ on Northstar Plus and PDC on Northstar 2. endif diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c index 2aeb034..4fe7be0 100644 --- a/drivers/mailbox/bcm-pdc-mailbox.c +++ b/drivers/mailbox/bcm-pdc-mailbox.c @@ -18,7 +18,8 @@ * Broadcom PDC Mailbox Driver * The PDC provides a ring based programming interface to one or more hardware * offload engines. For example, the PDC driver works with both SPU-M and SPU2 - * cryptographic offload hardware. In some chips the PDC is referred to as MDE. + * cryptographic offload hardware. In some chips the PDC is referred to as MDE, + * and in others the FA2/FA+ hardware is used with this PDC driver. * * The PDC driver registers with the Linux mailbox framework as a mailbox * controller, once for each PDC instance. Ring 0 for each PDC is registered as @@ -108,6 +109,7 @@ #define PDC_INTMASK_OFFSET 0x24 #define PDC_INTSTATUS_OFFSET 0x20 #define PDC_RCVLAZY0_OFFSET (0x30 + 4 * PDC_RINGSET) +#define FA_RCVLAZY0_OFFSET 0x100 /* * For SPU2, configure MDE_CKSUM_CONTROL to write 17 bytes of metadata @@ -162,6 +164,11 @@ /* Maximum size buffer the DMA engine can handle */ #define PDC_DMA_BUF_MAX 16384 +enum pdc_hw { + FA_HW, /* FA2/FA+ hardware (i.e. Northstar Plus) */ + PDC_HW /* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */ +}; + struct pdc_dma_map { void *ctx; /* opaque context associated with frame */ }; @@ -211,13 +218,13 @@ struct pdc_regs { u32 gptimer; /* 0x028 */ u32 PAD; - u32 intrcvlazy_0; /* 0x030 */ - u32 intrcvlazy_1; /* 0x034 */ - u32 intrcvlazy_2; /* 0x038 */ - u32 intrcvlazy_3; /* 0x03c */ + u32 intrcvlazy_0; /* 0x030 (Only in PDC, not FA2) */ + u32 intrcvlazy_1; /* 0x034 (Only in PDC, not FA2) */ + u32 intrcvlazy_2; /* 0x038 (Only in PDC, not FA2) */ + u32 intrcvlazy_3; /* 0x03c (Only in PDC, not FA2) */ u32 PAD[48]; - u32 removed_intrecvlazy; /* 0x100 */ + u32 fa_intrecvlazy; /* 0x100 (Only in FA2, not PDC) */ u32 flowctlthresh; /* 0x104 */ u32 wrrthresh; /* 0x108 */ u32 gmac_idle_cnt_thresh; /* 0x10c */ @@ -243,7 +250,7 @@ struct pdc_regs { u32 serdes_status1; /* 0x1b0 */ u32 PAD[11]; /* 0x1b4-1dc */ u32 clk_ctl_st; /* 0x1e0 */ - u32 hw_war; /* 0x1e4 */ + u32 hw_war; /* 0x1e4 (Only in PDC, not FA2) */ u32 pwrctl; /* 0x1e8 */ u32 PAD[5]; @@ -410,6 +417,9 @@ struct pdc_state { u32 txnobuf; /* unable to create tx descriptor */ u32 rxnobuf; /* unable to create rx descriptor */ u32 rx_oflow; /* count of rx overflows */ + + /* hardware type - FA2 or PDC/MDE */ + enum pdc_hw hw_type; }; /* Global variables */ @@ -1396,7 +1406,13 @@ static int pdc_interrupts_init(struct pdc_state *pdcs) /* interrupt configuration */ iowrite32(PDC_INTMASK, pdcs->pdc_reg_vbase + PDC_INTMASK_OFFSET); - iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + PDC_RCVLAZY0_OFFSET); + + if (pdcs->hw_type == FA_HW) + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + FA_RCVLAZY0_OFFSET); + else + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + PDC_RCVLAZY0_OFFSET); /* read irq from device tree */ pdcs->pdc_irq = irq_of_parse_and_map(dn, 0); @@ -1465,6 +1481,17 @@ static int pdc_mb_init(struct pdc_state *pdcs) return 0; } +/* Device tree API */ +static const int pdc_hw = PDC_HW; +static const int fa_hw = FA_HW; + +static const struct of_device_id pdc_mbox_of_match[] = { + {.compatible = "brcm,iproc-pdc-mbox", .data = &pdc_hw}, + {.compatible = "brcm,iproc-fa2-mbox", .data = &fa_hw}, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); + /** * pdc_dt_read() - Read application-specific data from device tree. * @pdev: Platform device @@ -1481,6 +1508,8 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) { struct device *dev = &pdev->dev; struct device_node *dn = pdev->dev.of_node; + const struct of_device_id *match; + const int *hw_type; int err; err = of_property_read_u32(dn, "brcm,rx-status-len", @@ -1492,6 +1521,14 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) pdcs->use_bcm_hdr = of_property_read_bool(dn, "brcm,use-bcm-hdr"); + pdcs->hw_type = PDC_HW; + + match = of_match_device(of_match_ptr(pdc_mbox_of_match), dev); + if (match != NULL) { + hw_type = match->data; + pdcs->hw_type = *hw_type; + } + return 0; } @@ -1525,7 +1562,7 @@ static int pdc_probe(struct platform_device *pdev) pdcs->pdc_idx = pdcg.num_spu; pdcg.num_spu++; - err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32)); + err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(39)); if (err) { dev_warn(dev, "PDC device cannot perform DMA. Error %d.", err); goto cleanup; @@ -1611,12 +1648,6 @@ static int pdc_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id pdc_mbox_of_match[] = { - {.compatible = "brcm,iproc-pdc-mbox"}, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); - static struct platform_driver pdc_mbox_driver = { .probe = pdc_probe, .remove = pdc_remove, -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 1/3] mailbox: bcm-pdc: Add Northstar Plus support to PDC driver @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, ray.jui-dY08KVG/lbpWk0Htik3J/w, scott.branden-dY08KVG/lbpWk0Htik3J/w, f.fainelli-Re5JQEeQqe8AvxtiuMwx3w, jon.mason-dY08KVG/lbpWk0Htik3J/w, linux-I+IVW8TIWO2tmTQ+vhA3Yw, rob.rice-dY08KVG/lbpWk0Htik3J/w Cc: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA, steven.lin1-dY08KVG/lbpWk0Htik3J/w Adds support for Northstar Plus (NS+) products to the PDC mailbox driver. The PDC driver was originally written to support the PDC ring manager in the Northstar2 (64-bit) device. The NS+ (32 bit device) uses an almost identical ring manager, though with a different name. We just need to check for the type of hardware in use, in order to write the appropriate interrupt configuration register. Also updated DMA width to be correct for both NS+ and NS2. Tested on NS+ and NS2. Signed-off-by: Steve Lin <steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> --- drivers/mailbox/Kconfig | 9 +++--- drivers/mailbox/bcm-pdc-mailbox.c | 61 +++++++++++++++++++++++++++++---------- 2 files changed, 50 insertions(+), 20 deletions(-) diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index ceff415..91eafb5 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -144,12 +144,11 @@ config XGENE_SLIMPRO_MBOX want to use the APM X-Gene SLIMpro IPCM support. config BCM_PDC_MBOX - tristate "Broadcom PDC Mailbox" - depends on ARM64 || COMPILE_TEST + tristate "Broadcom FlexSparx DMA Mailbox" + depends on ARCH_BCM_IPROC || COMPILE_TEST depends on HAS_DMA - default ARCH_BCM_IPROC help - Mailbox implementation for the Broadcom PDC ring manager, + Mailbox implementation for the Broadcom FlexSparx DMA ring manager, which provides access to various offload engines on Broadcom - SoCs. Say Y here if you want to use the Broadcom PDC. + SoCs, including FA2/FA+ on Northstar Plus and PDC on Northstar 2. endif diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c index 2aeb034..4fe7be0 100644 --- a/drivers/mailbox/bcm-pdc-mailbox.c +++ b/drivers/mailbox/bcm-pdc-mailbox.c @@ -18,7 +18,8 @@ * Broadcom PDC Mailbox Driver * The PDC provides a ring based programming interface to one or more hardware * offload engines. For example, the PDC driver works with both SPU-M and SPU2 - * cryptographic offload hardware. In some chips the PDC is referred to as MDE. + * cryptographic offload hardware. In some chips the PDC is referred to as MDE, + * and in others the FA2/FA+ hardware is used with this PDC driver. * * The PDC driver registers with the Linux mailbox framework as a mailbox * controller, once for each PDC instance. Ring 0 for each PDC is registered as @@ -108,6 +109,7 @@ #define PDC_INTMASK_OFFSET 0x24 #define PDC_INTSTATUS_OFFSET 0x20 #define PDC_RCVLAZY0_OFFSET (0x30 + 4 * PDC_RINGSET) +#define FA_RCVLAZY0_OFFSET 0x100 /* * For SPU2, configure MDE_CKSUM_CONTROL to write 17 bytes of metadata @@ -162,6 +164,11 @@ /* Maximum size buffer the DMA engine can handle */ #define PDC_DMA_BUF_MAX 16384 +enum pdc_hw { + FA_HW, /* FA2/FA+ hardware (i.e. Northstar Plus) */ + PDC_HW /* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */ +}; + struct pdc_dma_map { void *ctx; /* opaque context associated with frame */ }; @@ -211,13 +218,13 @@ struct pdc_regs { u32 gptimer; /* 0x028 */ u32 PAD; - u32 intrcvlazy_0; /* 0x030 */ - u32 intrcvlazy_1; /* 0x034 */ - u32 intrcvlazy_2; /* 0x038 */ - u32 intrcvlazy_3; /* 0x03c */ + u32 intrcvlazy_0; /* 0x030 (Only in PDC, not FA2) */ + u32 intrcvlazy_1; /* 0x034 (Only in PDC, not FA2) */ + u32 intrcvlazy_2; /* 0x038 (Only in PDC, not FA2) */ + u32 intrcvlazy_3; /* 0x03c (Only in PDC, not FA2) */ u32 PAD[48]; - u32 removed_intrecvlazy; /* 0x100 */ + u32 fa_intrecvlazy; /* 0x100 (Only in FA2, not PDC) */ u32 flowctlthresh; /* 0x104 */ u32 wrrthresh; /* 0x108 */ u32 gmac_idle_cnt_thresh; /* 0x10c */ @@ -243,7 +250,7 @@ struct pdc_regs { u32 serdes_status1; /* 0x1b0 */ u32 PAD[11]; /* 0x1b4-1dc */ u32 clk_ctl_st; /* 0x1e0 */ - u32 hw_war; /* 0x1e4 */ + u32 hw_war; /* 0x1e4 (Only in PDC, not FA2) */ u32 pwrctl; /* 0x1e8 */ u32 PAD[5]; @@ -410,6 +417,9 @@ struct pdc_state { u32 txnobuf; /* unable to create tx descriptor */ u32 rxnobuf; /* unable to create rx descriptor */ u32 rx_oflow; /* count of rx overflows */ + + /* hardware type - FA2 or PDC/MDE */ + enum pdc_hw hw_type; }; /* Global variables */ @@ -1396,7 +1406,13 @@ static int pdc_interrupts_init(struct pdc_state *pdcs) /* interrupt configuration */ iowrite32(PDC_INTMASK, pdcs->pdc_reg_vbase + PDC_INTMASK_OFFSET); - iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + PDC_RCVLAZY0_OFFSET); + + if (pdcs->hw_type == FA_HW) + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + FA_RCVLAZY0_OFFSET); + else + iowrite32(PDC_LAZY_INT, pdcs->pdc_reg_vbase + + PDC_RCVLAZY0_OFFSET); /* read irq from device tree */ pdcs->pdc_irq = irq_of_parse_and_map(dn, 0); @@ -1465,6 +1481,17 @@ static int pdc_mb_init(struct pdc_state *pdcs) return 0; } +/* Device tree API */ +static const int pdc_hw = PDC_HW; +static const int fa_hw = FA_HW; + +static const struct of_device_id pdc_mbox_of_match[] = { + {.compatible = "brcm,iproc-pdc-mbox", .data = &pdc_hw}, + {.compatible = "brcm,iproc-fa2-mbox", .data = &fa_hw}, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); + /** * pdc_dt_read() - Read application-specific data from device tree. * @pdev: Platform device @@ -1481,6 +1508,8 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) { struct device *dev = &pdev->dev; struct device_node *dn = pdev->dev.of_node; + const struct of_device_id *match; + const int *hw_type; int err; err = of_property_read_u32(dn, "brcm,rx-status-len", @@ -1492,6 +1521,14 @@ static int pdc_dt_read(struct platform_device *pdev, struct pdc_state *pdcs) pdcs->use_bcm_hdr = of_property_read_bool(dn, "brcm,use-bcm-hdr"); + pdcs->hw_type = PDC_HW; + + match = of_match_device(of_match_ptr(pdc_mbox_of_match), dev); + if (match != NULL) { + hw_type = match->data; + pdcs->hw_type = *hw_type; + } + return 0; } @@ -1525,7 +1562,7 @@ static int pdc_probe(struct platform_device *pdev) pdcs->pdc_idx = pdcg.num_spu; pdcg.num_spu++; - err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32)); + err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(39)); if (err) { dev_warn(dev, "PDC device cannot perform DMA. Error %d.", err); goto cleanup; @@ -1611,12 +1648,6 @@ static int pdc_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id pdc_mbox_of_match[] = { - {.compatible = "brcm,iproc-pdc-mbox"}, - { /* sentinel */ } -}; -MODULE_DEVICE_TABLE(of, pdc_mbox_of_match); - static struct platform_driver pdc_mbox_driver = { .probe = pdc_probe, .remove = pdc_remove, -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 2/3] ARM: dts: NSP: Add mailbox (PDC) to NSP 2017-02-23 14:49 ` Steve Lin @ 2017-02-23 14:49 ` Steve Lin -1 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar, robh+dt, mark.rutland, ray.jui, scott.branden, f.fainelli, jon.mason, linux, rob.rice Cc: bcm-kernel-feedback-list, devicetree, linux-arm-kernel, linux-kernel, steven.lin1 Adds mailbox / PDC to NSP device tree. Needs new compatibility string to differentiate from NS2 version. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 15f07f9..8b56d74 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -227,6 +227,15 @@ status = "disabled"; }; + mailbox: mailbox@25000 { + compatible = "brcm,iproc-fa2-mbox"; + reg = <0x25000 0x445>; + interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; + #mbox-cells = <1>; + brcm,rx-status-len = <32>; + brcm,use-bcm-hdr; + }; + nand: nand@26000 { compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; reg = <0x026000 0x600>, -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 2/3] ARM: dts: NSP: Add mailbox (PDC) to NSP @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: linux-arm-kernel Adds mailbox / PDC to NSP device tree. Needs new compatibility string to differentiate from NS2 version. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- arch/arm/boot/dts/bcm-nsp.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi index 15f07f9..8b56d74 100644 --- a/arch/arm/boot/dts/bcm-nsp.dtsi +++ b/arch/arm/boot/dts/bcm-nsp.dtsi @@ -227,6 +227,15 @@ status = "disabled"; }; + mailbox: mailbox at 25000 { + compatible = "brcm,iproc-fa2-mbox"; + reg = <0x25000 0x445>; + interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; + #mbox-cells = <1>; + brcm,rx-status-len = <32>; + brcm,use-bcm-hdr; + }; + nand: nand at 26000 { compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; reg = <0x026000 0x600>, -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar, robh+dt, mark.rutland, ray.jui, scott.branden, f.fainelli, jon.mason, linux, rob.rice Cc: bcm-kernel-feedback-list, devicetree, linux-arm-kernel, linux-kernel, steven.lin1 Update the DT bindings documentation to reflect the new NSP version of PDC driver compatibility string. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt index 411ccf4..0f3ee81 100644 --- a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt +++ b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt @@ -1,9 +1,11 @@ The PDC driver manages data transfer to and from various offload engines on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is -one device tree entry per block. +one device tree entry per block. On some chips, the PDC functionality is +handled by the FA2 (Northstar Plus). Required properties: -- compatible : Should be "brcm,iproc-pdc-mbox". +- compatible : Should be "brcm,iproc-pdc-mbox" or "brcm,iproc-fa2-mbox" for + FA2/Northstar Plus. - reg: Should contain PDC registers location and length. - interrupts: Should contain the IRQ line for the PDC. - #mbox-cells: 1 -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: linux-arm-kernel Update the DT bindings documentation to reflect the new NSP version of PDC driver compatibility string. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> --- Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt index 411ccf4..0f3ee81 100644 --- a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt +++ b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt @@ -1,9 +1,11 @@ The PDC driver manages data transfer to and from various offload engines on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is -one device tree entry per block. +one device tree entry per block. On some chips, the PDC functionality is +handled by the FA2 (Northstar Plus). Required properties: -- compatible : Should be "brcm,iproc-pdc-mbox". +- compatible : Should be "brcm,iproc-pdc-mbox" or "brcm,iproc-fa2-mbox" for + FA2/Northstar Plus. - reg: Should contain PDC registers location and length. - interrupts: Should contain the IRQ line for the PDC. - #mbox-cells: 1 -- 2.1.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support @ 2017-02-23 14:49 ` Steve Lin 0 siblings, 0 replies; 17+ messages in thread From: Steve Lin @ 2017-02-23 14:49 UTC (permalink / raw) To: jassisinghbrar-Re5JQEeQqe8AvxtiuMwx3w, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, ray.jui-dY08KVG/lbpWk0Htik3J/w, scott.branden-dY08KVG/lbpWk0Htik3J/w, f.fainelli-Re5JQEeQqe8AvxtiuMwx3w, jon.mason-dY08KVG/lbpWk0Htik3J/w, linux-I+IVW8TIWO2tmTQ+vhA3Yw, rob.rice-dY08KVG/lbpWk0Htik3J/w Cc: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA, steven.lin1-dY08KVG/lbpWk0Htik3J/w Update the DT bindings documentation to reflect the new NSP version of PDC driver compatibility string. Signed-off-by: Steve Lin <steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> --- Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt index 411ccf4..0f3ee81 100644 --- a/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt +++ b/Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt @@ -1,9 +1,11 @@ The PDC driver manages data transfer to and from various offload engines on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is -one device tree entry per block. +one device tree entry per block. On some chips, the PDC functionality is +handled by the FA2 (Northstar Plus). Required properties: -- compatible : Should be "brcm,iproc-pdc-mbox". +- compatible : Should be "brcm,iproc-pdc-mbox" or "brcm,iproc-fa2-mbox" for + FA2/Northstar Plus. - reg: Should contain PDC registers location and length. - interrupts: Should contain the IRQ line for the PDC. - #mbox-cells: 1 -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support 2017-02-23 14:49 ` Steve Lin (?) @ 2017-02-27 23:56 ` Rob Herring -1 siblings, 0 replies; 17+ messages in thread From: Rob Herring @ 2017-02-27 23:56 UTC (permalink / raw) To: Steve Lin Cc: jassisinghbrar, mark.rutland, ray.jui, scott.branden, f.fainelli, jon.mason, linux, rob.rice, bcm-kernel-feedback-list, devicetree, linux-arm-kernel, linux-kernel On Thu, Feb 23, 2017 at 09:49:52AM -0500, Steve Lin wrote: > Update the DT bindings documentation to reflect the new NSP version > of PDC driver compatibility string. > > Signed-off-by: Steve Lin <steven.lin1@broadcom.com> > --- > Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support @ 2017-02-27 23:56 ` Rob Herring 0 siblings, 0 replies; 17+ messages in thread From: Rob Herring @ 2017-02-27 23:56 UTC (permalink / raw) To: linux-arm-kernel On Thu, Feb 23, 2017 at 09:49:52AM -0500, Steve Lin wrote: > Update the DT bindings documentation to reflect the new NSP version > of PDC driver compatibility string. > > Signed-off-by: Steve Lin <steven.lin1@broadcom.com> > --- > Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support @ 2017-02-27 23:56 ` Rob Herring 0 siblings, 0 replies; 17+ messages in thread From: Rob Herring @ 2017-02-27 23:56 UTC (permalink / raw) To: Steve Lin Cc: mark.rutland, devicetree, f.fainelli, linux-kernel, scott.branden, rob.rice, jassisinghbrar, linux, jon.mason, ray.jui, bcm-kernel-feedback-list, linux-arm-kernel On Thu, Feb 23, 2017 at 09:49:52AM -0500, Steve Lin wrote: > Update the DT bindings documentation to reflect the new NSP version > of PDC driver compatibility string. > > Signed-off-by: Steve Lin <steven.lin1@broadcom.com> > --- > Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver 2017-02-23 14:49 ` Steve Lin (?) @ 2017-02-23 17:54 ` Jon Mason -1 siblings, 0 replies; 17+ messages in thread From: Jon Mason @ 2017-02-23 17:54 UTC (permalink / raw) To: Steve Lin Cc: Jassi Brar, Rob Herring, Mark Rutland, Ray Jui, Scott Branden, Florian Fainelli, Russell King, Rob Rice, BCM Kernel Feedback, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, linux-arm-kernel, open list On Thu, Feb 23, 2017 at 6:49 AM, Steve Lin <steven.lin1@broadcom.com> wrote: > Adds support for Broadcom Northstar+ to mailbox (PDC) driver. > > Patch 1/3: Driver code and Kconfig changes > Patch 2/3: Device tree changes > Patch 3/3: DT bindings documentation changes > > v2 addresses Jon Mason's suggestion about making the bindings doc change > a separate patch. FWIW, looks good to me. Feel free to add my Acked-by: Jon Mason <jon.mason@broadcom.com> to the relevant pieces > Steve Lin (3): > mailbox: bcm-pdc: Add Northstar Plus support to PDC driver > ARM: dts: NSP: Add mailbox (PDC) to NSP > dt-bindings: mailbox: Update doc with NSP PDC/mailbox support > > .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++- > arch/arm/boot/dts/bcm-nsp.dtsi | 9 ++++ > drivers/mailbox/Kconfig | 9 ++-- > drivers/mailbox/bcm-pdc-mailbox.c | 61 ++++++++++++++++------ > 4 files changed, 63 insertions(+), 22 deletions(-) > > -- > 2.1.0 > ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver @ 2017-02-23 17:54 ` Jon Mason 0 siblings, 0 replies; 17+ messages in thread From: Jon Mason @ 2017-02-23 17:54 UTC (permalink / raw) To: linux-arm-kernel On Thu, Feb 23, 2017 at 6:49 AM, Steve Lin <steven.lin1@broadcom.com> wrote: > Adds support for Broadcom Northstar+ to mailbox (PDC) driver. > > Patch 1/3: Driver code and Kconfig changes > Patch 2/3: Device tree changes > Patch 3/3: DT bindings documentation changes > > v2 addresses Jon Mason's suggestion about making the bindings doc change > a separate patch. FWIW, looks good to me. Feel free to add my Acked-by: Jon Mason <jon.mason@broadcom.com> to the relevant pieces > Steve Lin (3): > mailbox: bcm-pdc: Add Northstar Plus support to PDC driver > ARM: dts: NSP: Add mailbox (PDC) to NSP > dt-bindings: mailbox: Update doc with NSP PDC/mailbox support > > .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++- > arch/arm/boot/dts/bcm-nsp.dtsi | 9 ++++ > drivers/mailbox/Kconfig | 9 ++-- > drivers/mailbox/bcm-pdc-mailbox.c | 61 ++++++++++++++++------ > 4 files changed, 63 insertions(+), 22 deletions(-) > > -- > 2.1.0 > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver @ 2017-02-23 17:54 ` Jon Mason 0 siblings, 0 replies; 17+ messages in thread From: Jon Mason @ 2017-02-23 17:54 UTC (permalink / raw) To: Steve Lin Cc: Mark Rutland, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, Florian Fainelli, Scott Branden, Rob Rice, Jassi Brar, Russell King, open list, Rob Herring, Ray Jui, BCM Kernel Feedback, linux-arm-kernel On Thu, Feb 23, 2017 at 6:49 AM, Steve Lin <steven.lin1@broadcom.com> wrote: > Adds support for Broadcom Northstar+ to mailbox (PDC) driver. > > Patch 1/3: Driver code and Kconfig changes > Patch 2/3: Device tree changes > Patch 3/3: DT bindings documentation changes > > v2 addresses Jon Mason's suggestion about making the bindings doc change > a separate patch. FWIW, looks good to me. Feel free to add my Acked-by: Jon Mason <jon.mason@broadcom.com> to the relevant pieces > Steve Lin (3): > mailbox: bcm-pdc: Add Northstar Plus support to PDC driver > ARM: dts: NSP: Add mailbox (PDC) to NSP > dt-bindings: mailbox: Update doc with NSP PDC/mailbox support > > .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 ++- > arch/arm/boot/dts/bcm-nsp.dtsi | 9 ++++ > drivers/mailbox/Kconfig | 9 ++-- > drivers/mailbox/bcm-pdc-mailbox.c | 61 ++++++++++++++++------ > 4 files changed, 63 insertions(+), 22 deletions(-) > > -- > 2.1.0 > ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <1487861392-23039-3-git-send-email-steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH v2 2/3] ARM: dts: NSP: Add mailbox (PDC) to NSP [not found] ` <1487861392-23039-3-git-send-email-steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> @ 2017-03-17 22:46 ` Florian Fainelli 0 siblings, 0 replies; 17+ messages in thread From: Florian Fainelli @ 2017-03-17 22:46 UTC (permalink / raw) To: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w, Steve Lin, jassisinghbrar-Re5JQEeQqe8AvxtiuMwx3w Cc: devicetree-u79uwXL29TY76Z2rM5mHXA On Thu, 23 Feb 2017 09:49:51 -0500, Steve Lin <steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> wrote: > Adds mailbox / PDC to NSP device tree. Needs new compatibility string > to differentiate from NS2 version. > > Signed-off-by: Steve Lin <steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> > --- Applied, thanks! -- Florian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2017-03-17 22:46 UTC | newest] Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-02-23 14:49 [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-23 14:49 ` [PATCH v2 1/3] mailbox: bcm-pdc: Add Northstar Plus support to PDC driver Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-23 14:49 ` [PATCH v2 2/3] ARM: dts: NSP: Add mailbox (PDC) to NSP Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-23 14:49 ` [PATCH v2 3/3] dt-bindings: mailbox: Update doc with NSP PDC/mailbox support Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-23 14:49 ` Steve Lin 2017-02-27 23:56 ` Rob Herring 2017-02-27 23:56 ` Rob Herring 2017-02-27 23:56 ` Rob Herring 2017-02-23 17:54 ` [PATCH v2 0/3] Add Northstar Plus support to PDC mailbox driver Jon Mason 2017-02-23 17:54 ` Jon Mason 2017-02-23 17:54 ` Jon Mason [not found] ` <1487861392-23039-3-git-send-email-steven.lin1-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> 2017-03-17 22:46 ` [PATCH v2 2/3] ARM: dts: NSP: Add mailbox (PDC) to NSP Florian Fainelli
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.