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: 10756443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C76EA6C2 for ; Thu, 10 Jan 2019 17:34:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4FFA26E54 for ; Thu, 10 Jan 2019 17:34:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8BF929A86; Thu, 10 Jan 2019 17:34:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DDC126E54 for ; Thu, 10 Jan 2019 17:34:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730464AbfAJReT (ORCPT ); Thu, 10 Jan 2019 12:34:19 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38896 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730454AbfAJReT (ORCPT ); Thu, 10 Jan 2019 12:34:19 -0500 Received: by mail-pg1-f196.google.com with SMTP id g189so5108063pgc.5 for ; Thu, 10 Jan 2019 09:34:18 -0800 (PST) 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=mCXgIK09WmvDKx7lVxZokIQx8hnKyMtzK3C+Bgdleqsdu8racZH+dzi6giyyWbndZ/ 3hE5Q/mrLgF8UUaA9P7FBYQSaVcseJOPhiFA4nGJHKie7AfSOwcExd3+KtF1F2VdtBdo aGcI6NxwZIU2tIiI2cAgsGxgwDkrhgVQgph3hp/vdqbw8yy4622OVMxmNmzqqwgjK2Yt QXWuJVjaGl+927J53ctJ2Pa+bSwgcW5ggxwKvtAwjYeFPYVxGJeLGL2Aa6T2jgO0zkKq rnF3wDSrW3sgffxwtTI5Pxhg/edArqRbPQZbe4wIVPgka6QRU66dE81sZJ7PM0ZFC+Y6 tBWQ== X-Gm-Message-State: AJcUukffmrJilbSi1MWCfUpJL3k5sehYGME9TapyfM+kJeQitw//4IPK EOnGdiY88NFOCVF0CvMW0PLp6g== 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) 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> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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: