* [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag [not found] <1383732985-18928-1-git-send-email-lee.jones@linaro.org> @ 2013-11-06 10:16 ` Lee Jones [not found] ` <1383732985-18928-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2013-11-13 14:16 ` Vinod Koul 2013-11-06 10:16 ` [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration Lee Jones 1 sibling, 2 replies; 10+ messages in thread From: Lee Jones @ 2013-11-06 10:16 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel Cc: linus.walleij, Lee Jones, devicetree, Vinod Koul This is used for MSP (audio) devices which is about to be fully DT:ed. Cc: devicetree@vger.kernel.org Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- Documentation/devicetree/bindings/dma/ste-dma40.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/ste-dma40.txt b/Documentation/devicetree/bindings/dma/ste-dma40.txt index a8c21c2..1f5729f 100644 --- a/Documentation/devicetree/bindings/dma/ste-dma40.txt +++ b/Documentation/devicetree/bindings/dma/ste-dma40.txt @@ -50,6 +50,9 @@ Each dmas request consists of 4 cells: 0x00000008: Use fixed channel: Use automatic channel selection when unset Use DMA request line number when set + 0x00000010: Set channel as high priority: + Normal priority when unset + High priority when set Example: -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
[parent not found: <1383732985-18928-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>]
* Re: [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag [not found] ` <1383732985-18928-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2013-11-06 11:40 ` Linus Walleij 2013-11-06 12:11 ` Lee Jones 0 siblings, 1 reply; 10+ messages in thread From: Linus Walleij @ 2013-11-06 11:40 UTC (permalink / raw) To: Lee Jones Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vinod Koul On Wed, Nov 6, 2013 at 11:16 AM, Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote: > --- a/Documentation/devicetree/bindings/dma/ste-dma40.txt > +++ b/Documentation/devicetree/bindings/dma/ste-dma40.txt > @@ -50,6 +50,9 @@ Each dmas request consists of 4 cells: > 0x00000008: Use fixed channel: > Use automatic channel selection when unset > Use DMA request line number when set > + 0x00000010: Set channel as high priority: > + Normal priority when unset > + High priority when set We should probably switch these magic numbers to #defines but it's another subject so Acked-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Yours, Linus Walleij -- 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] 10+ messages in thread
* Re: [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag 2013-11-06 11:40 ` Linus Walleij @ 2013-11-06 12:11 ` Lee Jones 0 siblings, 0 replies; 10+ messages in thread From: Lee Jones @ 2013-11-06 12:11 UTC (permalink / raw) To: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vinod Koul On Wed, 06 Nov 2013, Linus Walleij wrote: > On Wed, Nov 6, 2013 at 11:16 AM, Lee Jones <lee.jones@linaro.org> wrote: > > > --- a/Documentation/devicetree/bindings/dma/ste-dma40.txt > > +++ b/Documentation/devicetree/bindings/dma/ste-dma40.txt > > @@ -50,6 +50,9 @@ Each dmas request consists of 4 cells: > > 0x00000008: Use fixed channel: > > Use automatic channel selection when unset > > Use DMA request line number when set > > + 0x00000010: Set channel as high priority: > > + Normal priority when unset > > + High priority when set > > We should probably switch these magic numbers to #defines > but it's another subject so > Acked-by: Linus Walleij <linus.walleij@linaro.org> Happy to do that in a subsequent set. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag 2013-11-06 10:16 ` [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag Lee Jones [not found] ` <1383732985-18928-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> @ 2013-11-13 14:16 ` Vinod Koul 1 sibling, 0 replies; 10+ messages in thread From: Vinod Koul @ 2013-11-13 14:16 UTC (permalink / raw) To: Lee Jones; +Cc: linux-arm-kernel, linux-kernel, linus.walleij, devicetree On Wed, Nov 06, 2013 at 10:16:13AM +0000, Lee Jones wrote: > This is used for MSP (audio) devices which is about to be fully DT:ed. > > Cc: devicetree@vger.kernel.org > Cc: Vinod Koul <vinod.koul@intel.com> > Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Vinod Koul <vinod.koul@intel.com> -- ~Vinod > --- > Documentation/devicetree/bindings/dma/ste-dma40.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/ste-dma40.txt b/Documentation/devicetree/bindings/dma/ste-dma40.txt > index a8c21c2..1f5729f 100644 > --- a/Documentation/devicetree/bindings/dma/ste-dma40.txt > +++ b/Documentation/devicetree/bindings/dma/ste-dma40.txt > @@ -50,6 +50,9 @@ Each dmas request consists of 4 cells: > 0x00000008: Use fixed channel: > Use automatic channel selection when unset > Use DMA request line number when set > + 0x00000010: Set channel as high priority: > + Normal priority when unset > + High priority when set > > Example: > > -- > 1.8.1.2 > -- ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration [not found] <1383732985-18928-1-git-send-email-lee.jones@linaro.org> 2013-11-06 10:16 ` [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag Lee Jones @ 2013-11-06 10:16 ` Lee Jones 2013-11-06 10:46 ` Mark Brown 1 sibling, 1 reply; 10+ messages in thread From: Lee Jones @ 2013-11-06 10:16 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel Cc: linus.walleij, Lee Jones, devicetree, Mark Brown Cc: devicetree@vger.kernel.org Cc: Mark Brown <broonie@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- Documentation/devicetree/bindings/sound/ux500-msp.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ux500-msp.txt b/Documentation/devicetree/bindings/sound/ux500-msp.txt index 99acd9c..33bd000 100644 --- a/Documentation/devicetree/bindings/sound/ux500-msp.txt +++ b/Documentation/devicetree/bindings/sound/ux500-msp.txt @@ -3,6 +3,7 @@ Required properties: - compatible :"stericsson,ux500-msp-i2s" - reg : Physical base address and length of the device's registers. + - id : MSP ID - used during component registration Optional properties: - interrupts : The interrupt output from the device. @@ -28,6 +29,7 @@ Example: reg = <0x80124000 0x1000>; interrupts = <0 62 0x4>; v-ape-supply = <&db8500_vape_reg>; + id = <1>; }; msp3: msp@80125000 { @@ -35,6 +37,7 @@ Example: reg = <0x80125000 0x1000>; interrupts = <0 62 0x4>; v-ape-supply = <&db8500_vape_reg>; + id = <3>; }; codec: ab8500-codec { -- 1.8.1.2 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration 2013-11-06 10:16 ` [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration Lee Jones @ 2013-11-06 10:46 ` Mark Brown 2013-11-06 11:22 ` Lee Jones 2013-11-06 11:55 ` Linus Walleij 0 siblings, 2 replies; 10+ messages in thread From: Mark Brown @ 2013-11-06 10:46 UTC (permalink / raw) To: Lee Jones; +Cc: linux-arm-kernel, linux-kernel, linus.walleij, devicetree [-- Attachment #1: Type: text/plain, Size: 493 bytes --] On Wed, Nov 06, 2013 at 10:16:18AM +0000, Lee Jones wrote: > +++ b/Documentation/devicetree/bindings/sound/ux500-msp.txt > @@ -3,6 +3,7 @@ > Required properties: > - compatible :"stericsson,ux500-msp-i2s" > - reg : Physical base address and length of the device's registers. > + - id : MSP ID - used during component registration I have no idea what this means or how one would pick the number? It looks like something purely internal to the driver... [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration 2013-11-06 10:46 ` Mark Brown @ 2013-11-06 11:22 ` Lee Jones 2013-11-06 11:55 ` Linus Walleij 1 sibling, 0 replies; 10+ messages in thread From: Lee Jones @ 2013-11-06 11:22 UTC (permalink / raw) To: Mark Brown; +Cc: linux-arm-kernel, linux-kernel, linus.walleij, devicetree On Wed, 06 Nov 2013, Mark Brown wrote: > On Wed, Nov 06, 2013 at 10:16:18AM +0000, Lee Jones wrote: > > > +++ b/Documentation/devicetree/bindings/sound/ux500-msp.txt > > @@ -3,6 +3,7 @@ > > Required properties: > > - compatible :"stericsson,ux500-msp-i2s" > > - reg : Physical base address and length of the device's registers. > > + - id : MSP ID - used during component registration > > I have no idea what this means or how one would pick the number? It > looks like something purely internal to the driver... Hmm... yes I guess you're right. I think a match table would be more appropriate. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration 2013-11-06 10:46 ` Mark Brown 2013-11-06 11:22 ` Lee Jones @ 2013-11-06 11:55 ` Linus Walleij 2013-11-06 12:04 ` Mark Brown 2013-11-06 12:07 ` Lee Jones 1 sibling, 2 replies; 10+ messages in thread From: Linus Walleij @ 2013-11-06 11:55 UTC (permalink / raw) To: Mark Brown Cc: Lee Jones, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org On Wed, Nov 6, 2013 at 11:46 AM, Mark Brown <broonie@kernel.org> wrote: > On Wed, Nov 06, 2013 at 10:16:18AM +0000, Lee Jones wrote: >> + - id : MSP ID - used during component registration > > I have no idea what this means or how one would pick the number? It > looks like something purely internal to the driver... Actually it's quite common when we have several HW blocks of the same thing to add something like an id. For example for different GPIO banks. But in this case I guess it may make more sense to flag one MSP for RX and one for TX or something? There are also two more such MSPs for streaming audio to the Bluetooth audio portions. Yours, Linus Walleij ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration 2013-11-06 11:55 ` Linus Walleij @ 2013-11-06 12:04 ` Mark Brown 2013-11-06 12:07 ` Lee Jones 1 sibling, 0 replies; 10+ messages in thread From: Mark Brown @ 2013-11-06 12:04 UTC (permalink / raw) To: Linus Walleij Cc: devicetree@vger.kernel.org, Lee Jones, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org [-- Attachment #1.1: Type: text/plain, Size: 746 bytes --] On Wed, Nov 06, 2013 at 12:55:51PM +0100, Linus Walleij wrote: > On Wed, Nov 6, 2013 at 11:46 AM, Mark Brown <broonie@kernel.org> wrote: > > On Wed, Nov 06, 2013 at 10:16:18AM +0000, Lee Jones wrote: > >> + - id : MSP ID - used during component registration > > I have no idea what this means or how one would pick the number? It > > looks like something purely internal to the driver... > Actually it's quite common when we have several HW blocks of the > same thing to add something like an id. For example for different > GPIO banks. That's common but having the number be in the device tree as a property or referenced by anything like this isn't common - usually it's just in the node name if it appears in the DT at all. [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration 2013-11-06 11:55 ` Linus Walleij 2013-11-06 12:04 ` Mark Brown @ 2013-11-06 12:07 ` Lee Jones 1 sibling, 0 replies; 10+ messages in thread From: Lee Jones @ 2013-11-06 12:07 UTC (permalink / raw) To: Linus Walleij Cc: Mark Brown, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org On Wed, 06 Nov 2013, Linus Walleij wrote: > On Wed, Nov 6, 2013 at 11:46 AM, Mark Brown <broonie@kernel.org> wrote: > > On Wed, Nov 06, 2013 at 10:16:18AM +0000, Lee Jones wrote: > > >> + - id : MSP ID - used during component registration > > > > I have no idea what this means or how one would pick the number? It > > looks like something purely internal to the driver... > > Actually it's quite common when we have several HW blocks of the > same thing to add something like an id. For example for different > GPIO banks. > > But in this case I guess it may make more sense to flag one MSP > for RX and one for TX or something? > > There are also two more such MSPs for streaming audio to the > Bluetooth audio portions. Right, we have 4 of them: MSP0: Tx and Rx MSP1: Tx MSP2: Tx and Rx MSP3: Rx -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-11-13 14:16 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1383732985-18928-1-git-send-email-lee.jones@linaro.org> 2013-11-06 10:16 ` [PATCH 01/13] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag Lee Jones [not found] ` <1383732985-18928-2-git-send-email-lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2013-11-06 11:40 ` Linus Walleij 2013-11-06 12:11 ` Lee Jones 2013-11-13 14:16 ` Vinod Koul 2013-11-06 10:16 ` [PATCH 06/13] ASoC: ux500_pcm: Extend ux500 MSP binding for enumeration Lee Jones 2013-11-06 10:46 ` Mark Brown 2013-11-06 11:22 ` Lee Jones 2013-11-06 11:55 ` Linus Walleij 2013-11-06 12:04 ` Mark Brown 2013-11-06 12:07 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).