From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manivannan Sadhasivam Subject: Re: [PATCH 2/8 v2] Documentation: bindings: k3dma: Add binding for dma-avail-chan Date: Sat, 5 Jan 2019 09:30:30 +0530 Message-ID: <20190105040030.GF2477@Mani-XPS-13-9360> References: <1546635388-13795-1-git-send-email-john.stultz@linaro.org> <1546635388-13795-3-git-send-email-john.stultz@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1546635388-13795-3-git-send-email-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org To: John Stultz Cc: lkml , Vinod Koul , Rob Herring , Mark Rutland , Tanglei Han , Zhuangluan Su , Ryan Grachek , dmaengine@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi John, On Fri, Jan 04, 2019 at 12:56:22PM -0800, John Stultz wrote: > Some dma channels can be reserved for secure mode or other > hardware on the SoC, so provide a binding for a bitmask > listing the available channels for the kernel to use. > > Cc: Vinod Koul > Cc: Rob Herring > Cc: Mark Rutland > Cc: Tanglei Han > Cc: Zhuangluan Su > Cc: Ryan Grachek > Cc: Manivannan Sadhasivam > Cc: dmaengine@vger.kernel.org > Cc: devicetree@vger.kernel.org > Signed-off-by: John Stultz > --- > Documentation/devicetree/bindings/dma/k3dma.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt > index 10a2f15..1c466c1 100644 > --- a/Documentation/devicetree/bindings/dma/k3dma.txt > +++ b/Documentation/devicetree/bindings/dma/k3dma.txt > @@ -14,6 +14,9 @@ Required properties: > have specific request line > - clocks: clock required > > +Optional properties: > +- dma-avail-chan: Bitmask of available physical channels > + This property looks too generic. Since this is specific to HiSi SoCs, this could be "hisi-dma-avail-chan"? Thanks, Mani > Example: > > Controller: > -- > 2.7.4 >