From patchwork Thu Jan 10 17:34:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 155229 Delivered-To: patches@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2159258jaa; Thu, 10 Jan 2019 09:34:19 -0800 (PST) X-Received: by 2002:a17:902:f20d:: with SMTP id gn13mr10755780plb.11.1547141659046; Thu, 10 Jan 2019 09:34:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547141659; cv=none; d=google.com; s=arc-20160816; b=uwvQF3KhBQC5BJ9Gusa0Fcm584Uft9Mv2+OmnaTdD3UwgKGgXnz9e+xLykff6J2NoR HhQMTZxwuxqUlTeB8RARE/LwoGwCwX1x4hTsCmoDmCflLdf1m0bhtcdN36gWF30B6wEL wVJ3lni2kGDtUV75/aKooocJtZRWyoYpi4RPwuynLKuqU+ZPnyQDKL9jgk8BWcn3Rb3b ZpaYk8YSCLrAgTGesFXQOj7Pf4Ae1Yb9QIfuIEaKjSw0jKGnDOF1J03mZwa6TvgjmUiG /WZyt9W2YHJe4jI2uoqZJyJDEiwp3YAOjsBxlCYfZShMC9PyS2FYSZfTn6d0jLAQsyL7 /ATg== 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=scRXab2BdItzSN7N1dJ/E1JYLmZRr6aPorQ+GwZ0j2A=; b=c87WC0iS+ARzv4otdmYaU0PcFDLOng6ZzJNe8bZqW9nzuI0mEGpWZEocObYW+JCMmc aRrElXo6xSHqS+lhqzeVys/+6aGFa4lB5DBGn3ZtO9logRjSZmT895tqFfw/Hf7DQXe9 ZgNXlLr9uzJLoupYkbNGGjIj0pw5rcI7fmuEq9bhAyR0ipByNkYtwM2IApQPVmnL7Lfw 8nGf736YFJaUeyf8fLgGZA8PeOTQ7hClv6e4hwJApGZAhSfAK6/Qay3HyhCNzcRDbdsu 3aXsTrBHS4mS+/FGeK6XwfIWJNweY81pSvzie9n9QWpXAHIH3uykjNFC0nAaYUSZdjMT LatQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Td7fbzWk; 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 l189sor51296173pgd.51.2019.01.10.09.34.18 for (Google Transport Security); Thu, 10 Jan 2019 09:34:19 -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=Td7fbzWk; 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=scRXab2BdItzSN7N1dJ/E1JYLmZRr6aPorQ+GwZ0j2A=; b=Td7fbzWkPt9bckm0kS6rnBoYHYHCKlvh7QFb6oOn+CCUeIMD/22IHUq8NnzFbeQurk MZxTslUUWDC/6JSxlE8MF0x5AoQbDiXjD8B51boKY3w3AvatDNBwIxZT1dzm0KD4COmg /iMTRtaWvDAc7EhrwQ7ncDznFDiLAtBfNTxlo= 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=scRXab2BdItzSN7N1dJ/E1JYLmZRr6aPorQ+GwZ0j2A=; b=cNG7vWNwmiwJvNsKxlouMggpy7q9GQYo7tNAKJWz4K77JfmHHohlJQNfOPzerHR/As b3gYagRcrtXpDETBHzgN9yBJGBiEpq3yWeZu+z308XiLTdP7QBYrvmjrao+qRGFHDh1p ncIw8cNKUHHqAU86eFT4JXLe7KkSUEW09Ch5AjPyU7fPsnefGIo6n90uVVQizwhY9iOg rsNAq6QsK9eoUmY5AO+IfeoSJY17kADe0IrwLgiufUw7WfK6IrD1z7K4E812RkHWdZrc WVWj2n7xiNJblc4M19STUmCdMw/J9ZdY7DflQvXnrz5GYC0i2r6ymakDg53PgYGW3Zo4 dyMQ== X-Gm-Message-State: AJcUuke7Lxhpds0Cm0evzqbhxOk/dd2mSvLc6Xf4/z3MHkSDoFz/FpTF Ll5zj2duTtz8QPxINx3CIz7DBUut X-Google-Smtp-Source: ALg8bN4pGFoTbckpuD5ANArZkBTvgy0LhUQwq8LqprlEYCoap08zvU2dN6+zVMogZ3wsWiy0xyRPBQ== X-Received: by 2002:a63:5518:: with SMTP id j24mr10037682pgb.208.1547141658464; Thu, 10 Jan 2019 09:34:18 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id k15sm125977409pfb.147.2019.01.10.09.34.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jan 2019 09:34:17 -0800 (PST) From: John Stultz To: lkml Cc: Vinod Koul , Rob Herring , Mark Rutland , Tanglei Han , Zhuangluan Su , Ryan Grachek , Manivannan Sadhasivam , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, John Stultz Subject: [PATCH 2/8 v3] Documentation: bindings: k3dma: Add binding for hisi-dma-avail-chan Date: Thu, 10 Jan 2019 09:34:06 -0800 Message-Id: <1547141652-8660-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> References: <1547141652-8660-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 --- v3: Renamed to hisi-dma-avail-chan --- 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..38825d4 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: +- hisi-dma-avail-chan: Bitmask of available physical channels + Example: Controller: