From patchwork Fri Jan 4 20:56:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 154794 Delivered-To: patches@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1020873ljp; Fri, 4 Jan 2019 12:56:36 -0800 (PST) X-Received: by 2002:a62:5c1:: with SMTP id 184mr53303846pff.165.1546635396476; Fri, 04 Jan 2019 12:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546635396; cv=none; d=google.com; s=arc-20160816; b=BrvAB24MHb4PbVKuayxTLiFQbdF02kS4tRWuHTqV3asc010ZiUNrkHclS8NWaA28U5 A+pUEDJqWBzgNw+RXR/YBpfVqIQGYxzwKzyGOIkJiFTKPk3E2Ah+lpZsPpNBX2dRL0Bi Sgu8WF/4eoJrDvWsj4e5S1CjAki14bBDiN0lX3FkMPmqTLSbnFM/dHTN3u+pdel7QK8c Pj9o9tIVCq14RDQ7J7qbsbEQLyaWzdhd4t7b49FGqFByPnAFLKGs8M57lYj67JZlUW7i VP7Xeko2PsEcZIPwM3oKBh1gbI2dNjUGyn6ofP1egnOyK2NBTSR7oZRFjkldGAB+K0p+ kwFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m/40e80Ep6rjyjDwykxJoS1RLKo9nvsjp+tokbpPYFM=; b=SpagDsGlK8wZ/40nLMUgYRprjiITH8bFpSWD85/iF7JZaaF23H/TuuEnrBYTVwpm1W dIJ4qd8liZCG20eCBJ53sTf2yR+35S4kR8n0PXx8pA4ULkR98DJ84Hsd6uaZOv1i6c5o LVt2Yam188Umo+kf5PKVi/uwr/Qmzo7BUP5P7Zyib5nzu+zSa+cVdYJ3nIGCCwfTIYMc TFsxjQJdKJCoHVlaytFg7rkJuFS1fwM9vuBCJ8YM7cDBN+6dM4fOn/2aQclwpa9LCidF Txvmul2g5KFOcZ0WpVdopgQ7W16tkdKDNieAG68+h7/aVdHomorLaS3vISUx5L99nB3a hcEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LBXRpivB; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id v13sor28028928plo.4.2019.01.04.12.56.36 for (Google Transport Security); Fri, 04 Jan 2019 12:56:36 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LBXRpivB; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m/40e80Ep6rjyjDwykxJoS1RLKo9nvsjp+tokbpPYFM=; b=LBXRpivBXTJ8hv9TT23AvS5t0vZyW8WHfzVz7FAGNablhcZ3jYNskvWO7NP4e897WF K94qSyLpJASrD74iWKAtlj2YgbRyNuHw98Y0CtaClyQZQUuiHX/Ofc5A3Sre6qhb4s6D 0LW2AVd3Fm+rt34p3mJ0P4Yd4gRgL/qKFn5sc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=m/40e80Ep6rjyjDwykxJoS1RLKo9nvsjp+tokbpPYFM=; b=dtS8+6wUS50UrgybrZAX8SXl6t/FPY1W6DxD2VeRrZJCGhZ4Di+Jzv6UxlijjWZ4mf Wo411AxWXFxJ1dg37cl1x62rXsNfBCxqtCAqeCGlkpl0qFqMUODmamQYx5DyBbb2vV2G c5keu8KRHoRnIpIK9+Sw3wFDhGr6e3C9g0P+hbRb0xqf8QwnR3T5SI+j0850snhhMzS0 sKpBdQx58zC4yV3pOp5zasdl3HrV0hhO/KzFowDycTmdLjJHx8aQWHNrvBvMOWqOLDV6 ev7/EyCDgeFVwwovhmt5E3+wSgDncBlM6SrBNaIuq2THSneeDHP5wmiB1xO03lwDncJ8 T8zQ== X-Gm-Message-State: AJcUukfsmW6ihQ763SQfwtn/teuqcHetFo2YEIb76thAjrG3Zd7i9T2Q NtBcl3YUcLhxMkDJ9bVSk6uau80c X-Google-Smtp-Source: ALg8bN4FYH1Q5Q6VXHoi1tVBi7Wp4B3bTxmqGV2ooA93z8nbHiJzYxQyUIdPXrWu4QO7cusbDgs3zw== X-Received: by 2002:a17:902:96a:: with SMTP id 97mr50784814plm.45.1546635395922; Fri, 04 Jan 2019 12:56:35 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id l3sm98058334pga.92.2019.01.04.12.56.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Jan 2019 12:56:34 -0800 (PST) From: John Stultz To: lkml Cc: John Stultz , Vinod Koul , Rob Herring , Mark Rutland , Tanglei Han , Zhuangluan Su , Ryan Grachek , Manivannan Sadhasivam , dmaengine@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/8 v2] Documentation: bindings: k3dma: Add binding for dma-avail-chan Date: Fri, 4 Jan 2019 12:56:22 -0800 Message-Id: <1546635388-13795-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546635388-13795-1-git-send-email-john.stultz@linaro.org> References: <1546635388-13795-1-git-send-email-john.stultz@linaro.org> 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(+) -- 2.7.4 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 + Example: Controller: