From patchwork Sun Apr 17 21:04:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816138 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAF1CC433EF for ; Sun, 17 Apr 2022 21:04:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235059AbiDQVHb (ORCPT ); Sun, 17 Apr 2022 17:07:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232253AbiDQVHZ (ORCPT ); Sun, 17 Apr 2022 17:07:25 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8951C299; Sun, 17 Apr 2022 14:04:46 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id n33-20020a17090a5aa400b001d28f5ee3f9so951344pji.4; Sun, 17 Apr 2022 14:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H5PLHpOPu/P0/D/ENQErcFm5UdYHzQLJAeVelvf+H+M=; b=n1TRzbeLZAYMlhU0G+JJLiIYuspf83z2OOPf3epr7pi0hRmIu62AGSi6ewyF2XTGMX 5FnINtTnyfHHKjWHWaDko6U05BTcX0O/+VRPYuQDmUTDpZ+lgOGLX/vsOnZe1JxLeEaN W6QT7AsH+M45//5TdSYJWiquMnCQhJem0kw50cOtzUNEJi5c6mfe85Z0tdmSPeL2Nzba p+vMYhSrIiwsDhmEN99fOzIv8579qPSA2aroR9Za8sdYJY2JR2tlXX+JWlZx7d28hIqa 4BF741apyOUJ2zSQc/iBXaqo0s8n3y7ZR+KJop/x79i4xXL8wcjjhFq14FEl1QQcxn3C smxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H5PLHpOPu/P0/D/ENQErcFm5UdYHzQLJAeVelvf+H+M=; b=mxv82SeNEz4Ux3uQpLzj5a0o+bp/5SKdMc477Hqi9aWglYGZULmTRYO9ik/9G7Z3nj nwJp99eZqIPMIhg320CsO4k+32HYoTSgW4fu8jJlXdbiioW149F9kKiY75rcCKPvGvyc MXFEZJNjZpkyaI9Grwt5gCe1Rq7PkCBg71Ae+34oHkyIDDQ8fYZvbBIf9MF1yPO3A3N9 cmguObJfKd/ENSAl+yoK6KzFnPo0a4k/QHv09rrfOvGhAGXPe29qTTY1+1rtwCGg9qC2 8Sm6c8G2J1HGUJ+Q+dVDmU8lZLbRv+aCterflRW/sFZkAsb261IUtEqBlPhblZrsCMO2 WW2w== X-Gm-Message-State: AOAM530NTBROcgsCVK7pULSDpeMJ0DtrXElTAdU5I8M7LM7qzkeeIyMT 2b97+ZkhFmdH4HVIoyEewMNYc27j41A= X-Google-Smtp-Source: ABdhPJw9i20+9CtCx8moPCH918q3/p6xIHAZRiHcHEgP1U8rRGvB1ESNS+kGz0/NaEv1MhwrnG/Okg== X-Received: by 2002:a17:902:e84d:b0:158:cd1b:8168 with SMTP id t13-20020a170902e84d00b00158cd1b8168mr8028035plg.43.1650229485896; Sun, 17 Apr 2022 14:04:45 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:04:45 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 1/6] ARM: dts: qcom: apq8064: User generic node name for DMA Date: Mon, 18 Apr 2022 02:34:31 +0530 Message-Id: <20220417210436.6203-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qcom BAM DT spec expects generic DMA controller node name as "dma-controller" to enable validations. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- v3: Add Krzysztof R-b tag --- v2: No change --- arch/arm/boot/dts/qcom-apq8064.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a1c8ae516d21..b2975be3ae04 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1040,7 +1040,7 @@ sata0: sata@29000000 { }; /* Temporary fixed regulator */ - sdcc1bam:dma@12402000{ + sdcc1bam: dma-controller@12402000{ compatible = "qcom,bam-v1.3.0"; reg = <0x12402000 0x8000>; interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; @@ -1050,7 +1050,7 @@ sdcc1bam:dma@12402000{ qcom,ee = <0>; }; - sdcc3bam:dma@12182000{ + sdcc3bam: dma-controller@12182000{ compatible = "qcom,bam-v1.3.0"; reg = <0x12182000 0x8000>; interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>; @@ -1060,7 +1060,7 @@ sdcc3bam:dma@12182000{ qcom,ee = <0>; }; - sdcc4bam:dma@121c2000{ + sdcc4bam: dma-controller@121c2000{ compatible = "qcom,bam-v1.3.0"; reg = <0x121c2000 0x8000>; interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>; From patchwork Sun Apr 17 21:04:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816136 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38927C433EF for ; Sun, 17 Apr 2022 21:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235050AbiDQVHb (ORCPT ); Sun, 17 Apr 2022 17:07:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235025AbiDQVH0 (ORCPT ); Sun, 17 Apr 2022 17:07:26 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 994F7F4E; Sun, 17 Apr 2022 14:04:49 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id q12so15443083pgj.13; Sun, 17 Apr 2022 14:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I1yUODW8R7vlRlvRAcHZQS32EzjAunE8SKvTkzPUAf0=; b=YY5BA6s1k8bMmQzDlq/TabbGBZtJCMawmGAQuh5gWftU3hjKSHu28slGo7aQC4ACnv 68NMS9JAwrbMED1ESGuVyAX5YzlUa8TAspvmO71ZXLBuWhyPz/Kc3UhlUvDc5jQuBKP9 5mhxbV2i9zCyWzZTUY8F59EADT7OKf5PlEQborP/tZOjBPh23vcvhVRoP2ydBSH9qLEr GkHhCGlZwIVgrVK6+yiqN7anPKrmpLQJpmm3Dzv7JrVQzXeUp3x7zAOPcEbAto19OJUg RTMcE//I75Le/mlRlnHKOB1v2dtJGBd7gnop0BIqhQ3GcyH+0ATHPL2S0wqO2loa+m/u 4iXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I1yUODW8R7vlRlvRAcHZQS32EzjAunE8SKvTkzPUAf0=; b=eoeBi33j4f2u0ZI44S1jn5hB884XABTKrCRRsN6NPsnAdLrRzhGxoxwDBGvk4X+KG0 M3cXOGvlRG47eXtM69LmAvBTB2zrXk60pMXHwsCJtD4QqMs+2f30ZROtAh+/r+N28S0e LubHmSvWAGN95rutdxVtS5xhpKSPHv4oUOf+PScPsaSV2fv+AZrERXLtFn/uBYC2lGt9 um+8F3yIhzAefaLv+hH6ssA2BfmlgoQ617kwrinZh3QQ4bsfHAdb9lqJ5YjoP47fDXPL LVRSuIvO6b1EGSgjp6bJ71xU8vIdCBBmR05S4QKtI5uqBTuLDHM+BH2jMlCRZnZvd9mV 0sOg== X-Gm-Message-State: AOAM531gZG8O/HntsfJ++6bXDZzj9Cz4VG9n7L1z1BQlNPmo0eL4ROLJ idyyNPnTZKL3Di/2fAXMbA8= X-Google-Smtp-Source: ABdhPJyP71P63kYUS+cEqAov1rHNiy+XgX1dzWJWGr95YM1/QdU5oO9OznbwYc+fuHAJYXUlFyP/8Q== X-Received: by 2002:a05:6a00:1d19:b0:50a:3e40:d89f with SMTP id a25-20020a056a001d1900b0050a3e40d89fmr8855793pfx.61.1650229489088; Sun, 17 Apr 2022 14:04:49 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:04:48 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 2/6] ARM: dts: qcom: mdm9615: User generic node name for DMA Date: Mon, 18 Apr 2022 02:34:32 +0530 Message-Id: <20220417210436.6203-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qcom BAM DT spec expects generic DMA controller node name as "dma-controller" to enable validations. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- v3: Add Krzysztof R-b tag --- v2: No change --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index 4d4f37cebf21..8f0752ce1c7b 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -330,7 +330,7 @@ pmicgpio: gpio@150 { }; }; - sdcc1bam: dma@12182000{ + sdcc1bam: dma-controller@12182000{ compatible = "qcom,bam-v1.3.0"; reg = <0x12182000 0x8000>; interrupts = ; @@ -340,7 +340,7 @@ sdcc1bam: dma@12182000{ qcom,ee = <0>; }; - sdcc2bam: dma@12142000{ + sdcc2bam: dma-controller@12142000{ compatible = "qcom,bam-v1.3.0"; reg = <0x12142000 0x8000>; interrupts = ; From patchwork Sun Apr 17 21:04:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17CF7C433F5 for ; Sun, 17 Apr 2022 21:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235035AbiDQVHa (ORCPT ); Sun, 17 Apr 2022 17:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235038AbiDQVH3 (ORCPT ); Sun, 17 Apr 2022 17:07:29 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40DA21A9; Sun, 17 Apr 2022 14:04:52 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id q12so15443222pgj.13; Sun, 17 Apr 2022 14:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+AwEQfitiTvfcOtvfzcgPuKP2jkfk8P1mRbhBkGL9Es=; b=RskpvdxGD/lUC2qzJH3SWyRdYXCw6kUM9ZFhDrHFrhwxFROxmQzr+h5hKW85cVXwE6 bYd2Jt7h3W03sveVWjEduL29aWn076N+FVW+R6T6nhUA5B8+OtJosYhgBkDGvIJdG5Sv GGGHD0o+gVHJOUoXWzosCoZ+1Y5Sdy1Hg7fF9gz2pwnIejCWp7GvFnONMoDqF0UJ5kmh qhmOwHblbnqiUusZpKd5JJleeae2JWekYHPG04dxZ+JeeII2+Jt5EXXgIxlchTzEVKzq FCXIjM1JWBiJ2skFDs3ifrxlkWD53qZ0AAKa3cc3EkUUFbvKn1SGlqNF1IrhbGqALCaG ejVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+AwEQfitiTvfcOtvfzcgPuKP2jkfk8P1mRbhBkGL9Es=; b=MO4GIR5mKJguQ66ub44Vc/YdV/QWf7d1C1IkjkzQ2ZRaiSDPXTijLpsDUdLcEpHLCI CdwcitHhse58H+6F2YkQGeLBI3WyaqyGqRBS8YBZP+NeMHDjHgBbfO2MMmGFA6G2u+LS q9jBX0lYIV4RXY07QyAPvpT9ePAP8q5c7VsvybUNMzAzBBJ4J9ZVpIgeDEIFVi9ObJwr jIGk4kHjR0gWMfCXpFCBztueh31hK8+sOURti6V62wKAf0vSqjjoz5CCxO5ObVSvObSP Z/cfjQdL0420Y5iaHk/gg02uzFOqnCmjgaN7khL4XtmsXljrUH+lo0be78B18WmxgmLR 2IaQ== X-Gm-Message-State: AOAM531DFISMo+DsaUuymGNHkxPQp2FmmIDgmtgITVL9w208AMDqEd1Z i0ZefS2qF8PS/sr3LXdIebg= X-Google-Smtp-Source: ABdhPJxE8ow3mtYpWhM7SnhvI5FVUz0eZ3lUVLt2j+h9QAoesvIuJ8s68joQgK0MiFu/iKH6Ylg8Xg== X-Received: by 2002:a63:e709:0:b0:3a9:f988:c595 with SMTP id b9-20020a63e709000000b003a9f988c595mr1625231pgi.435.1650229492245; Sun, 17 Apr 2022 14:04:52 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:04:52 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 3/6] arm64: dts: qcom: msm8996: User generic node name for DMA Date: Mon, 18 Apr 2022 02:34:33 +0530 Message-Id: <20220417210436.6203-4-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qcom BAM DT spec expects generic DMA controller node name as "dma-controller" to enable validations. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- v3: Add Krzysztof R-b tag --- v2: No change --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index b9a48cfd760f..c4cfab92a44e 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -707,7 +707,7 @@ tsens1: thermal-sensor@4ad000 { #thermal-sensor-cells = <1>; }; - cryptobam: dma@644000 { + cryptobam: dma-controller@644000 { compatible = "qcom,bam-v1.7.0"; reg = <0x00644000 0x24000>; interrupts = ; From patchwork Sun Apr 17 21:04:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 198A3C433F5 for ; Sun, 17 Apr 2022 21:05:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235047AbiDQVHg (ORCPT ); Sun, 17 Apr 2022 17:07:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235066AbiDQVHd (ORCPT ); Sun, 17 Apr 2022 17:07:33 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45E2A642C; Sun, 17 Apr 2022 14:04:56 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id s14so10940304plk.8; Sun, 17 Apr 2022 14:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iGAdiw65qzqJ1cwqgdfIhJjHOn5lTAvFaMzNi9jxQWE=; b=c8dOI8WZJI1QLe5gFptxUeWsSmdsmivIJD/SE9bO9ZPneMvwtDq3D9fFQ1jXsBP+Yq TMePEcA1BIbsUq1eYGOz+cGy5Ll6tZl8Py/r5yHLpFAF1Y+ExkYZttmErjX7ZKVTugPi Y3dXElnrE5ySHWAyh7h6JItUdjmSGrXYQUVIhEY5F6OjAsCwZCAFop+sFqKKnk6pN0FS /5iN1wG6oab/XzyipMQk2P9tw8fr8Q5Hlf2gXlh2+WuF28ULv0xIAddL1zEknx29vjwV PNABkoMnZCTyihzmtzPBJyRgQVZt+ArN2w7VHV1KSHP9o5g8qlYURcmL7BCWAiEVXPod Uz+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iGAdiw65qzqJ1cwqgdfIhJjHOn5lTAvFaMzNi9jxQWE=; b=qjQxCwsZZ4ALwg2wKFpzdBZWDCa+VBjdSWnKkTwBR94ZyJ+4avmetxt5COQCcFZ9gZ tPOXD19D7dYDSjtOD6SdJJTM6/cSqp4jmjOTohfRkhUBqGf7X6X3h1X1orV2nJmZO78M rQnqWA6ncdjhHepSHS3VLOxOe9aTiX/DT+6GUXiy6G7BL1yCvc2ys85eTFl5uoT6GA63 bshMVDu36JGoahOTfLUipp4PWkolUuX0OkzG0WoUq+b0gKjouUmMenyyLtE+pPiSOV0I yG6cDhM3Wq2kPQqvwx2W/0JI81bUk1IxpPYa34eOzvdPQqe/lXg01H11n4WYSp6pPsTr NZQQ== X-Gm-Message-State: AOAM533RHG42fNhUetKI44GP28UjAL7vnzvttDPK5tGiE5wUSjC/NZDa YKMxdmf/Yl3A0rgFuUn6DotbvU3X/f8= X-Google-Smtp-Source: ABdhPJzqgBmDvALDXkuv5N/lzNy4J2h+stmzs5Oj13GX/Nkezo4QkuhFe8m1MCWdikOHnjkqpFuMmw== X-Received: by 2002:a17:902:bf09:b0:153:99a6:55b8 with SMTP id bi9-20020a170902bf0900b0015399a655b8mr8080887plb.142.1650229495689; Sun, 17 Apr 2022 14:04:55 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:04:55 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 4/6] ARM: dts: qcom: ipq4019: User generic node name for DMA Date: Mon, 18 Apr 2022 02:34:34 +0530 Message-Id: <20220417210436.6203-5-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qcom BAM DT spec expects generic DMA controller node name as "dma-controller" to enable validations. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- v3: Add Krzysztof R-b tag --- v2: - Add more variants of ip4019-ap/dk-{01/04/07} for dma node rename --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 4 ++-- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 2 +- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 2 +- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 4 ++-- arch/arm/boot/dts/qcom-ipq4019.dtsi | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi index 0c10d9e096db..03bb9e1768c4 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi @@ -64,7 +64,7 @@ pinconf_cs { }; }; - blsp_dma: dma@7884000 { + blsp_dma: dma-controller@7884000 { status = "okay"; }; @@ -89,7 +89,7 @@ serial@78af000 { status = "okay"; }; - cryptobam: dma@8e04000 { + cryptobam: dma-controller@8e04000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts index a7b1201dd614..79b0c6318e52 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts @@ -8,7 +8,7 @@ / { compatible = "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019"; soc { - dma@7984000 { + dma-controller@7984000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi index 7a337dc08741..2a43367692fd 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi @@ -79,7 +79,7 @@ serial@78b0000 { status = "okay"; }; - dma@7884000 { + dma-controller@7884000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi index 94872518b5a2..0107f552f520 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi @@ -52,7 +52,7 @@ serial@78af000 { status = "okay"; }; - dma@7884000 { + dma-controller@7884000 { status = "okay"; }; @@ -62,7 +62,7 @@ i2c@78b7000 { /* BLSP1 QUP2 */ status = "okay"; }; - dma@7984000 { + dma-controller@7984000 { status = "okay"; }; diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index a9d0566a3190..258510eb30fc 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -233,7 +233,7 @@ sdhci: sdhci@7824900 { status = "disabled"; }; - blsp_dma: dma@7884000 { + blsp_dma: dma-controller@7884000 { compatible = "qcom,bam-v1.7.0"; reg = <0x07884000 0x23000>; interrupts = ; @@ -300,7 +300,7 @@ blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */ status = "disabled"; }; - cryptobam: dma@8e04000 { + cryptobam: dma-controller@8e04000 { compatible = "qcom,bam-v1.7.0"; reg = <0x08e04000 0x20000>; interrupts = ; @@ -471,7 +471,7 @@ pcie0: pci@40000000 { status = "disabled"; }; - qpic_bam: dma@7984000 { + qpic_bam: dma-controller@7984000 { compatible = "qcom,bam-v1.7.0"; reg = <0x7984000 0x1a000>; interrupts = ; From patchwork Sun Apr 17 21:04:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816140 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD864C433EF for ; Sun, 17 Apr 2022 21:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235110AbiDQVHr (ORCPT ); Sun, 17 Apr 2022 17:07:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235030AbiDQVHg (ORCPT ); Sun, 17 Apr 2022 17:07:36 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6920421A9; Sun, 17 Apr 2022 14:04:59 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id q19so15480013pgm.6; Sun, 17 Apr 2022 14:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Q5jlF+guEA4R11q6WYIvaSFVMwN+QiHnqDtm7tCAsoM=; b=CfDkfZ2VKuvb4epu2/7nn7W4mz86EHtxLnpmaNZ0nP8R7QcaDCMrnABz+xT4lEN2Dh QQ6dwf0RQwCYsjhD25TGTJp29byThyskv0MSmZVsmoB9DkdBfDDp2BZU8ooE2PxuvX0T XlP7qJxXWfIj1yLgtA/qckTjTWBuBzggPOc2h/JmHuH+dcKFEhXFHyYGw6Pi5cr6V7eD 4KEznjEjsxv+Z1ZIIb2ID9SbJurMsqLcjjaFCxMPta8sGd6a+N9DCyGBr88MhaIJptCn Sin3cUvWdt//ENIlpOr86qy+1sxebK9sRc8AYDf9H1iRduX+h/Q/o6ya0Pn8guiEpzI1 Uexg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q5jlF+guEA4R11q6WYIvaSFVMwN+QiHnqDtm7tCAsoM=; b=YVbj2YAIsKs8kQYAcZEMjd7zBFXPnF8Hha/3keanxq0medhyOn0mPzXbbbqPmA1Ngd IyboC6g6BxI0YODa7S8hd+AJwq3072/hiOQqoqYalQJN8YQIPlBxLNOiISxz9Ofaw5ME FatdSYE0fPnWNHq3nZf/9YFL0DJB74DoLNkS3VU2cg9G1rZmmw9012aEoZMN3JNyDLvc Mumd88Yq3xDjxJ4GCmzmmxCHfe6JxHbFX72QAukwbKPZnnbN3uzlCGW852vs4LeCCo3y ZGfz/1pvyRfk+su0EtAKEtZd7VEtS89lQmf9y1KkUx+ZE8qU1hkHvfRieXJQ5ISXg59m R0HQ== X-Gm-Message-State: AOAM5309fwEiaTe6gdtiyZrju740LK4RvRlA/OTntRh+BQSUtlOGoD1V K4QhUMDVccGiCab32xx9V3o= X-Google-Smtp-Source: ABdhPJwPo3iVsNY1nZ6CU0wWMU3vlIupS0Y09BFFRPK8n+GdNLCiiwZ8ZnOZr6LgfFnwNhrYCjkRwQ== X-Received: by 2002:a05:6a00:c8f:b0:50a:77a3:e7b with SMTP id a15-20020a056a000c8f00b0050a77a30e7bmr1080986pfv.41.1650229498893; Sun, 17 Apr 2022 14:04:58 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:04:58 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org Subject: [PATCH v3 5/6] ARM: dts: qcom: ipq8064: User generic node name for DMA Date: Mon, 18 Apr 2022 02:34:35 +0530 Message-Id: <20220417210436.6203-6-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Qcom BAM DT spec expects generic DMA controller node name as "dma-controller" to enable validations. Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski --- v3: Add Krzysztof R-b tag --- v2: No change --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi index 8cb04aa8ed2f..7e68d4b1527f 100644 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -1155,7 +1155,7 @@ vsdcc_fixed: vsdcc-regulator { regulator-always-on; }; - sdcc1bam: dma@12402000 { + sdcc1bam: dma-controller@12402000 { compatible = "qcom,bam-v1.3.0"; reg = <0x12402000 0x8000>; interrupts = ; @@ -1165,7 +1165,7 @@ sdcc1bam: dma@12402000 { qcom,ee = <0>; }; - sdcc3bam: dma@12182000 { + sdcc3bam: dma-controller@12182000 { compatible = "qcom,bam-v1.3.0"; reg = <0x12182000 0x8000>; interrupts = ; From patchwork Sun Apr 17 21:04:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12816141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FC03C433FE for ; Sun, 17 Apr 2022 21:05:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235153AbiDQVHw (ORCPT ); Sun, 17 Apr 2022 17:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235109AbiDQVHr (ORCPT ); Sun, 17 Apr 2022 17:07:47 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A857653; Sun, 17 Apr 2022 14:05:03 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id r66so15484990pgr.3; Sun, 17 Apr 2022 14:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x9kWFTq3CIJUv8wX3+465yt0Y7IgXQrtQnbzACvQaUs=; b=piQvr9H55AJ8vqV3cy0mQZGrxYbX/nKAAmY9n7ED0n4vNlxwANQWY7MUlYj5jt1pPY 9Q+z2feA+UIk+9xe1jq3azikObb2ZyAxPTbiaMfMGDe/Cu8iJwjlJEJRUMo9EUOC4ynH 4TLgsMWGgPVY8tH+9q7PbwYh5qCckkQFTkCYP5s9BFQD6KZ/L4WCUCHZpYzTs5lB3a8Q /lR1OQLf4nDlEWf2hBHk6qLU8jFUNxcEkvYIDGnF+V0u22ZdWIVwwPM0rwJEw2ssSKhb ZDeWNNna1ksqqEcs9P/CFanEijk74ucMF6Ql0qXOv/SM6RHNO+cD76tTNNAFVAFx+bRP wpcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=x9kWFTq3CIJUv8wX3+465yt0Y7IgXQrtQnbzACvQaUs=; b=FpzDMTEoeaedtu07qD3LqJPuLNKyCUTOf06p3+Apoo05qE57dgpNQTwrnjI4HLxIkX EYz6eB0YDTvIOXsqJ3c2foYosleka7kYmzWIeuq07XwAw7NBlE5ZBce/zA5jKQBwBMVh TzQ7hzVCjbwf5kvvJJ6eQk3A4uzG6vf7iUk+LCJkGiRxo8LCuSz0PSWhQ6HR5Ns6/r0t T1JxlyycI7LWNuCwiz20V3StkakSoiL+8lwnBiWeBpcTWdeZ2PnVC2dfms5yH9ZB6Tda PPfuRMx77CSHqIomB0a3xOlyjqwg7Q/zDf2/ENAsxu60uhDHUcLy5lTkeuYz1MS/YHzh 3q2g== X-Gm-Message-State: AOAM532OFkaEiWDTj4qzBWpZ8g89Mi1+WnYsbhz5qTYGLoIMNLuZofH8 VRkz99+j8sD06J/1Mx2e9TM09S/IDII= X-Google-Smtp-Source: ABdhPJz4dzxf/w7ytI/n40YuIx3v5mKi7RAAzSU1wMhOaYOGSw2vzVpK7kHpp0OpBdUzQx487gKSBw== X-Received: by 2002:a63:4613:0:b0:39c:ef73:1080 with SMTP id t19-20020a634613000000b0039cef731080mr7468320pga.446.1650229502495; Sun, 17 Apr 2022 14:05:02 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id 137-20020a63078f000000b0039d9c13cd39sm10547711pgh.67.2022.04.17.14.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 14:05:02 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Vinod Koul Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v3 6/6] dt-bindings: dma: Convert Qualcomm BAM DMA binding to json format Date: Mon, 18 Apr 2022 02:34:36 +0530 Message-Id: <20220417210436.6203-7-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> References: <20220417210436.6203-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Convert Qualcomm BAM DMA controller binding to DT schema format using json schema. Signed-off-by: Kuldeep Singh --- v3: - Address Krzysztof Comments - qcom,ee as required property - Use boolean type instead of flag - Add min/max to qcom,ee - skip clocks, as it's users are not fixed --- v2: - Use dma-cells - Set additionalProperties to false --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 97 +++++++++++++++++++ .../devicetree/bindings/dma/qcom_bam_dma.txt | 52 ---------- 2 files changed, 97 insertions(+), 52 deletions(-) create mode 100644 Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml delete mode 100644 Documentation/devicetree/bindings/dma/qcom_bam_dma.txt diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml new file mode 100644 index 000000000000..02393ec2eedd --- /dev/null +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies Inc BAM DMA controller + +maintainers: + - Andy Gross + - Bjorn Andersson + +allOf: + - $ref: "dma-controller.yaml#" + +properties: + compatible: + enum: + - qcom,bam-v1.3.0 + - qcom,bam-v1.4.0 + - qcom,bam-v1.7.0 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: bam_clk + + "#dma-cells": + const: 1 + + interrupts: + maxItems: 1 + + iommus: + minItems: 1 + maxItems: 4 + + num-channels: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Indicates supported number of DMA channels in a remotely controlled bam. + + qcom,controlled-remotely: + type: boolean + description: + Indicates that the bam is controlled by remote proccessor i.e. execution + environment. + + qcom,ee: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 7 + description: + Indicates the active Execution Environment identifier (0-7) used in the + secure world. + + qcom,num-ees: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Indicates supported number of Execution Environments in a remotely + controlled bam. + + qcom,powered-remotely: + type: boolean + description: + Indicates that the bam is powered up by a remote processor but must be + initialized by the local processor. + + reg: + maxItems: 1 + +required: + - compatible + - "#dma-cells" + - interrupts + - qcom,ee + - reg + +additionalProperties: false + +examples: + - | + #include + #include + + dma-controller@f9944000 { + compatible = "qcom,bam-v1.4.0"; + reg = <0xf9944000 0x15000>; + interrupts = ; + clocks = <&gcc GCC_BLSP2_AHB_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + }; +... diff --git a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt b/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt deleted file mode 100644 index 6e9a5497b3f2..000000000000 --- a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt +++ /dev/null @@ -1,52 +0,0 @@ -QCOM BAM DMA controller - -Required properties: -- compatible: must be one of the following: - * "qcom,bam-v1.4.0" for MSM8974, APQ8074 and APQ8084 - * "qcom,bam-v1.3.0" for APQ8064, IPQ8064 and MSM8960 - * "qcom,bam-v1.7.0" for MSM8916 -- reg: Address range for DMA registers -- interrupts: Should contain the one interrupt shared by all channels -- #dma-cells: must be <1>, the cell in the dmas property of the client device - represents the channel number -- clocks: required clock -- clock-names: must contain "bam_clk" entry -- qcom,ee : indicates the active Execution Environment identifier (0-7) used in - the secure world. -- qcom,controlled-remotely : optional, indicates that the bam is controlled by - remote proccessor i.e. execution environment. -- qcom,powered-remotely : optional, indicates that the bam is powered up by - a remote processor but must be initialized by the local processor. -- num-channels : optional, indicates supported number of DMA channels in a - remotely controlled bam. -- qcom,num-ees : optional, indicates supported number of Execution Environments - in a remotely controlled bam. - -Example: - - uart-bam: dma@f9984000 = { - compatible = "qcom,bam-v1.4.0"; - reg = <0xf9984000 0x15000>; - interrupts = <0 94 0>; - clocks = <&gcc GCC_BAM_DMA_AHB_CLK>; - clock-names = "bam_clk"; - #dma-cells = <1>; - qcom,ee = <0>; - }; - -DMA clients must use the format described in the dma.txt file, using a two cell -specifier for each channel. - -Example: - serial@f991e000 { - compatible = "qcom,msm-uart"; - reg = <0xf991e000 0x1000> - <0xf9944000 0x19000>; - interrupts = <0 108 0>; - clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, - <&gcc GCC_BLSP1_AHB_CLK>; - clock-names = "core", "iface"; - - dmas = <&uart-bam 0>, <&uart-bam 1>; - dma-names = "rx", "tx"; - };