DMA Engine development
 help / color / mirror / Atom feed
* [v2,1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan
@ 2018-07-06  3:55 Guodong Xu
  0 siblings, 0 replies; 3+ messages in thread
From: Guodong Xu @ 2018-07-06  3:55 UTC (permalink / raw)
  To: vkoul, robh+dt, mark.rutland, dan.j.williams, xuwei5,
	catalin.marinas, will.deacon
  Cc: liyu65, suzhuangluan, xuhongtao8, zhongkaihua, xuezhiliang,
	xupeng7, sunliang10, fengbaopeng, dmaengine, devicetree,
	linux-kernel, linux-arm-kernel, Guodong Xu

From: Li Yu <liyu65@hisilicon.com>

Add optional property hisilicon,dma-min-chan for k3dma.

Signed-off-by: Li Yu <liyu65@hisilicon.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt
index 4945aeac4dc4..f34202a80f3c 100644
--- a/Documentation/devicetree/bindings/dma/k3dma.txt
+++ b/Documentation/devicetree/bindings/dma/k3dma.txt
@@ -12,6 +12,11 @@ Required properties:
 		have specific request line
 - clocks: clock required
 
+Optional properties:
+- hisilicon,dma-min-chan: the minimum DMA channel number which is usable
+		Default value is 0, but in some platform it is
+		configured 1, like in hi3660 platform
+
 Example:
 
 Controller:
@@ -21,6 +26,7 @@ Controller:
 			#dma-cells = <1>;
 			dma-channels = <16>;
 			dma-requests = <27>;
+			hisilicon,dma-min-chan = <1>;
 			interrupts = <0 12 4>;
 			clocks = <&pclk>;
 		};

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [v2,1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan
@ 2018-07-09 10:34 Vinod Koul
  0 siblings, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2018-07-09 10:34 UTC (permalink / raw)
  To: Guodong Xu
  Cc: robh+dt, mark.rutland, dan.j.williams, xuwei5, catalin.marinas,
	will.deacon, liyu65, suzhuangluan, xuhongtao8, zhongkaihua,
	xuezhiliang, xupeng7, sunliang10, fengbaopeng, dmaengine,
	devicetree, linux-kernel, linux-arm-kernel

On 06-07-18, 11:55, Guodong Xu wrote:
> From: Li Yu <liyu65@hisilicon.com>
> 
> Add optional property hisilicon,dma-min-chan for k3dma.
> 
> Signed-off-by: Li Yu <liyu65@hisilicon.com>
> Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
> ---
>  Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt
> index 4945aeac4dc4..f34202a80f3c 100644
> --- a/Documentation/devicetree/bindings/dma/k3dma.txt
> +++ b/Documentation/devicetree/bindings/dma/k3dma.txt
> @@ -12,6 +12,11 @@ Required properties:
>  		have specific request line
>  - clocks: clock required
>  
> +Optional properties:
> +- hisilicon,dma-min-chan: the minimum DMA channel number which is usable
> +		Default value is 0, but in some platform it is
> +		configured 1, like in hi3660 platform
> +
>  Example:
>  
>  Controller:
> @@ -21,6 +26,7 @@ Controller:
>  			#dma-cells = <1>;
>  			dma-channels = <16>;
>  			dma-requests = <27>;
> +			hisilicon,dma-min-chan = <1>;

Am still expecting this to be a mask

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [v2,1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan
@ 2018-07-11 16:09 Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2018-07-11 16:09 UTC (permalink / raw)
  To: Vinod, Guodong Xu
  Cc: mark.rutland, dan.j.williams, xuwei5, catalin.marinas,
	will.deacon, liyu65, suzhuangluan, xuhongtao8, zhongkaihua,
	xuezhiliang, xupeng7, sunliang10, fengbaopeng, dmaengine,
	devicetree, linux-kernel, linux-arm-kernel

On Mon, Jul 09, 2018 at 04:04:38PM +0530, Vinod wrote:
> On 06-07-18, 11:55, Guodong Xu wrote:
> > From: Li Yu <liyu65@hisilicon.com>
> > 
> > Add optional property hisilicon,dma-min-chan for k3dma.
> > 
> > Signed-off-by: Li Yu <liyu65@hisilicon.com>
> > Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
> > ---
> >  Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt
> > index 4945aeac4dc4..f34202a80f3c 100644
> > --- a/Documentation/devicetree/bindings/dma/k3dma.txt
> > +++ b/Documentation/devicetree/bindings/dma/k3dma.txt
> > @@ -12,6 +12,11 @@ Required properties:
> >  		have specific request line
> >  - clocks: clock required
> >  
> > +Optional properties:
> > +- hisilicon,dma-min-chan: the minimum DMA channel number which is usable
> > +		Default value is 0, but in some platform it is
> > +		configured 1, like in hi3660 platform
> > +
> >  Example:
> >  
> >  Controller:
> > @@ -21,6 +26,7 @@ Controller:
> >  			#dma-cells = <1>;
> >  			dma-channels = <16>;
> >  			dma-requests = <27>;
> > +			hisilicon,dma-min-chan = <1>;
> 
> Am still expecting this to be a mask

If so calling it 'min' doesn't make sense. And a mask should have 'mask' 
in the name.

Rob
---
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-11 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-11 16:09 [v2,1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2018-07-09 10:34 Vinod Koul
2018-07-06  3:55 Guodong Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox