From patchwork Sat Apr 9 18:41:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808012 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 C14E8C433EF for ; Sat, 9 Apr 2022 18:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243061AbiDISnh (ORCPT ); Sat, 9 Apr 2022 14:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243067AbiDISnh (ORCPT ); Sat, 9 Apr 2022 14:43:37 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D50B1C8D9C; Sat, 9 Apr 2022 11:41:29 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id n9so10670592plc.4; Sat, 09 Apr 2022 11:41:29 -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=ddTuY51+NiyyyGu6kYjILoiFlTrP+EFOSDUDkBgM0uA=; b=Bw6O05KWIPpoOvgPLrBwYut1P8eKytQOweHxRYOnrXAVoH201OocsZOHz5S8KcgHae 2EKq37AtUqK7R7rARt1bAoMSMKqUzZXQmAgDA/NYFMPtEEJ149Jbqd3qONhEfWY5rNR6 DmWUXgATsMS0wxCr5CMHvTfEK+k+CPY15SeaCY7ybDqacjQr3rq7/r7iH+BveuZ7CXNG vBNHJwLpSpwrtr3YIjvoCi5c/qK4L6IBZGPLWEGZeZnir6UUrjqkAd7gv6fj85BnRIzf l01xhJdBlEO8PAi/KjW7SihqOzqME465eDLLNhE/WHJptE9ihfsq47wKi+myw4NoK4W4 thKQ== 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=ddTuY51+NiyyyGu6kYjILoiFlTrP+EFOSDUDkBgM0uA=; b=4EFItigIMWzWEoDWfVaseF2jcXpcjh6nEBeKrLBVsf1Tj4PyNXmtyJ3FH+cVykubdN uRh+Ho1B3igCRMX2JstK2X1tJdlsvbEbPI2WKiqmoG8dnfA/uiRuDqmXQoOtVG9r8HxC v9hpaB4rkZHCB4gOFl6ZFyNe6r9aqewYBahwnjv6XTXb2MB9v5mmkc++Mfk3hHdO80ZO 3HRjtmzEltKSNXAJrYrY4kxKK+k9XgeskxsrBU9DFi7r4F5amPBdD/ZKujTKCgQ2Fdh0 3DaUsyVMgTibq9c3z+aoqbAFIVxCjqlUcXhw/HuAjv4SgNNOXTvkBvlNsiG+2jMH/4dE lzag== X-Gm-Message-State: AOAM530gf/McP3mf+0M+6YjgkRdwXNbPrtpcwPIAASqsWKCGD58Ppu0m p6L/uhUJmSW/fWW6lGS/h7U= X-Google-Smtp-Source: ABdhPJwzJurB/UUTXpYOJnd1TWVhD+nqxxZOlakfm+O2uCafxX4AvTnR5L0k43d3ZGwB1K4tvfRkSg== X-Received: by 2002:a17:90b:3a92:b0:1c6:64a5:a403 with SMTP id om18-20020a17090b3a9200b001c664a5a403mr27883344pjb.89.1649529688853; Sat, 09 Apr 2022 11:41:28 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:28 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kuldeep Singh , linux-arm-msm@vger.kernel.org Subject: [PATCH 1/6] ARM: dts: qcom: apq8064: User generic node name for DMA Date: Sun, 10 Apr 2022 00:11:10 +0530 Message-Id: <20220409184115.15612-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- 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 Sat Apr 9 18:41:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808013 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 904F0C433F5 for ; Sat, 9 Apr 2022 18:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243076AbiDISnn (ORCPT ); Sat, 9 Apr 2022 14:43:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243078AbiDISnk (ORCPT ); Sat, 9 Apr 2022 14:43:40 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 828531D7887; Sat, 9 Apr 2022 11:41:32 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id 125so10599918pgc.11; Sat, 09 Apr 2022 11:41:32 -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=A5Rv+dmEkw/2qllLfPwnoJL+bLGrLkW6dy1dyuOIpRM=; b=H9+MzW0mKY3xj41NdLLTEQ/q6evrrtdciLWM7d/A2Z589XCCWO6E9HtENhjLFrKHcz L9/26SZp7Y+wm7FioFNzgXBdt9f+08indGkuLIM4OOebjTfY3UawhLzJcZnJQLTGvxDe K9JU4YwCL5Wk5x3ShPCtqfB2KjDCnZqEneS9so/mb6/qPajxRt3NGuWUd/EHgvfCkruP F9HfEoPZcea2/gtxIKK321qINAVv2Kff99y0xuNioyuI9ncpUhHJrE1fHlxDsK0Xqo5R 7dUOQ33WwsY3oXh39I3OghmhhRYTMWunvwDGQ+n1WIAQftrGv4PX1LtjaAuY9jZvyJLd b/rw== 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=A5Rv+dmEkw/2qllLfPwnoJL+bLGrLkW6dy1dyuOIpRM=; b=djT/NWDIkY2XWms65LyqTmG3jv0VmZtKIo9zPAyQ6tSND3T/6RJTz37S/yRRYVwS5s LnvkOjzep02JuDXO1ArxELETfSon7s+NrFXHeC9Y1mxdEvLAgqwnyU7z827c5U/bd7xg Ae4DblQO8WP7cZyZIetCKc4LZ4jLfndqSv9KmcOlZZ99p3J9m8+fafu/ZTrXblm/GiAc +n/ECHujBbZoGztTPT6qaM8czOmWci+m0AJOzIrUXcVkpkiLGlM58iFgK6I8o/vdLr+T J4037YywQh9fVthmqPbXWQlRdNy+fw/dLXX/NWqkN50C8N3TjEisTvjmdAy1ySzfNpso Ca9w== X-Gm-Message-State: AOAM531DzXNAadHfoCBTh6Qer8YR+suUWo2y785S/27naJAX7BoGvtCO HA8UZVCfPoB4f95iuGnYk9Q= X-Google-Smtp-Source: ABdhPJxDXxDG52tEEIdO0TJllV3NIGMV/FgXYy1k5aUJybBSwgFC7iBIKdzkzPoSbl6OkwSyNUQ1Tg== X-Received: by 2002:a05:6a00:1589:b0:4fb:e7c:7c53 with SMTP id u9-20020a056a00158900b004fb0e7c7c53mr24879164pfk.78.1649529692021; Sat, 09 Apr 2022 11:41:32 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:31 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kuldeep Singh , linux-arm-msm@vger.kernel.org Subject: [PATCH 2/6] ARM: dts: qcom: mdm9615: User generic node name for DMA Date: Sun, 10 Apr 2022 00:11:11 +0530 Message-Id: <20220409184115.15612-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- 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 Sat Apr 9 18:41:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808014 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 94FCBC433EF for ; Sat, 9 Apr 2022 18:41:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243082AbiDISnq (ORCPT ); Sat, 9 Apr 2022 14:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243089AbiDISno (ORCPT ); Sat, 9 Apr 2022 14:43:44 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C29131D08F0; Sat, 9 Apr 2022 11:41:35 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id a42so4642189pfx.7; Sat, 09 Apr 2022 11:41:35 -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=shhc4vVqv9l2wKwY0kN4Lkjnnu+qZsCnM2eNImBcqfg=; b=iZSijiySwMfAE7hJT5S4G0ImnvCP9t9jYMk17mCskyw2xogkmpGQPHoCcyJ26NZVgL BJBdJ2eMkPcR8HIScndhDdSDxWNxTeuI2i0UrPC92L93P5VKWH7waREbhBVjOk323kGu 2mIXECyNTQbQztazHepnJFZti3/NN3+PFzYFZKJLUbUYkC4EsFZUwMbxhSPJnBWl/18N jxBT+wpxY3O62HyIm5M1aKZEOedrVsUtKofbrR9puiKr4vFrAludyaituvTDD68AuVLc iRkEETsI57wCjRUAz6mIWpKWPfvM4lZiye9YAkHOW1BaVv77DK7zXvb1aLNiS7pk7yTj CKpA== 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=shhc4vVqv9l2wKwY0kN4Lkjnnu+qZsCnM2eNImBcqfg=; b=XGk3hfps+G3oCeSxd2PIL6sSak0yw+0PMvxpRjMPpoLzPbj4dInSW5xq9mP4yfY7Vt dfQ7Nday+FD6jkuBFkEvfVCtcWPBB3Afg4qZtUyu1WRngZxd3uNpLdsR7GSi+oGVsgJJ MfRfSQgNuSLk/Z69+dQyQb05bt2ts81DOkdhbNz40MZoHZtjL1yQMp5nYGUwb++gBpf9 LFMngP9vhG0YyWgrY9qp0yg4AmTSz2btpP8DjEWtBeidUUfwNtz2sZLiyDymf+2FKpjq 703hzrzL9tdU0TnVDwQtLMSSwW0Ufsh4Ct1ip4YmqVNk2gaDsxyVY68kZbjYwmZDVN4c QOrw== X-Gm-Message-State: AOAM5338KrO8HBFTATRwo1fwKEkEaAv0ec7X5+ClbCOmkQIB//PLq6P5 tIoPiUi7jEq6zjEUCKKtdwA= X-Google-Smtp-Source: ABdhPJzxNKJtx7p/3OSvp583CZNP7EpTTJnlPbZ1GUvDN8gUSjIUcP2kF5IYG/dDYbc4Crmdr5X8wA== X-Received: by 2002:a65:41cc:0:b0:380:6f53:a550 with SMTP id b12-20020a6541cc000000b003806f53a550mr20100322pgq.471.1649529695298; Sat, 09 Apr 2022 11:41:35 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:34 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kuldeep Singh , linux-arm-msm@vger.kernel.org Subject: [PATCH 3/6] arm64: dts: qcom: msm8996: User generic node name for DMA Date: Sun, 10 Apr 2022 00:11:12 +0530 Message-Id: <20220409184115.15612-4-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- 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 f0f81c23c16f..bbe677b9e5bf 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 Sat Apr 9 18:41:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808015 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 AAACBC433FE for ; Sat, 9 Apr 2022 18:41:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243036AbiDISnw (ORCPT ); Sat, 9 Apr 2022 14:43:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243083AbiDISnr (ORCPT ); Sat, 9 Apr 2022 14:43:47 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B1791E5328; Sat, 9 Apr 2022 11:41:39 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id r66so10638810pgr.3; Sat, 09 Apr 2022 11:41:39 -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=1bMmIQPCL5e+l7dlDIOHx2g7GlKBqwKdndE18CxyLT8=; b=oPV8cZ3dugqJvTm8GE56LvsPeG4IQKT9RYFmjrseVt09UuNHn9aZm2YquLiNnthFVw 2mVspMctMvN3koP4ievop0wNjDFiuR56EAcPJ1ThjWyqetZkQjV4xEJ4iyTxRxU9+llN cGPQeSqUJtj/7twFIWJVc/7N/8YTcN3GprrSolGmJDsgzptiBYXS3Ut81AC8PHKdBTT2 X8EEfU+JPY9zMKySN6JoIABaHJCSY9h6B+ErixPUUGj5kaM3xAfEN+9LNT/zMh08VaAb GzsaX0tTmDXxa4DSYa/yj68hzouSAzv50BFq6n8Ze6I+Dymeqpaze03x/YZVdghxENEr BL4g== 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=1bMmIQPCL5e+l7dlDIOHx2g7GlKBqwKdndE18CxyLT8=; b=gt1SL9FstEIjcRbedub5DCBP+6uJZabvg5fCyE8SHH9bOVnh+6hWmjfunWgUWOoUDB Th2SWf57UBxEi9h1ElBBt1eCLw0WRMqvkp21eRsoyhQdFE07EHsR8c0xeBRDVamln3pT BgGBQrCXrjF7WiXUi2mWE/zMijoAkr5pb+RoT+NQX6jDNt0LYU2i210QtqLTrEQ7da6Y PCPcEugzQLRVOlfqHzBfyL1iRxvpMJgJKxCduwcc3IufcgwMbMFOvabwrMF4WB75iYaK 1Ngq1kCHgDSVZHhO93zvSFyLlxiYF6vW4bC3ANwEfyN+41zDCqXE9Ln7weJHwqfNFy0g SoYQ== X-Gm-Message-State: AOAM533xgB1860YNt2Zmjp/dxgwXwrGFQjrFgNROIbQkk1/tSnT+PosA WnMYLdD3TRI5rfiZMNfrkJI= X-Google-Smtp-Source: ABdhPJzBBqG49i2yOD6q8h9v3tCvR/5GwxbtzG5jxlMHyxosfNSNYpJkPnqEYK45cTy4tsRM5IDCUw== X-Received: by 2002:a63:5710:0:b0:399:365e:5dde with SMTP id l16-20020a635710000000b00399365e5ddemr21082538pgb.192.1649529698639; Sat, 09 Apr 2022 11:41:38 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:38 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kuldeep Singh , linux-arm-msm@vger.kernel.org Subject: [PATCH 4/6] ARM: dts: qcom: ipq4019: User generic node name for DMA Date: Sun, 10 Apr 2022 00:11:13 +0530 Message-Id: <20220409184115.15612-5-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 4 ++-- arch/arm/boot/dts/qcom-ipq4019.dtsi | 6 +++--- 2 files changed, 5 insertions(+), 5 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.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 Sat Apr 9 18:41:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808016 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 4B4B2C433FE for ; Sat, 9 Apr 2022 18:41:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243117AbiDISoA (ORCPT ); Sat, 9 Apr 2022 14:44:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243104AbiDISnw (ORCPT ); Sat, 9 Apr 2022 14:43:52 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1BC31E744D; Sat, 9 Apr 2022 11:41:42 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id t13so10624677pgn.8; Sat, 09 Apr 2022 11:41:42 -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=SZZys+byt8A8z4Y5BS456ZsNSjyY4dy9Zz5TFnhyRgg=; b=fhdvJPFjOVAOLdzjaf3o7eVafsrP+0eWrqVRjFa3U2zZpuM+5rw9e14TlVBgZRaHkh ZZnGZRvyTkTntgFpSRulnkaTRuoQ8nX9UuEjv4yZKE68ljz8Tr1p57bGkgQGSwOArqqL PL5vR1hklf3qNASerIZDoca4DU4uWwzyVH8t4Pz6IpGwn5L3PDZWgrnWLSGdrgqHTvry l+wAwNA2jhAQItX/oM2Ok/UofK0r4ia7DlkSszjF52mZ/hOGdh2EvfTo+9nNMCSBAIiI AamauRDBxPUB3nQCKx8GGBB1rBzNSC3ULbRF2mW7e2DBD2/l5L7+mBaK8jqSkJE1Sh+j X8Ow== 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=SZZys+byt8A8z4Y5BS456ZsNSjyY4dy9Zz5TFnhyRgg=; b=cmFw/qSbqdd0hIZDh5I/FOlstZ2GdP/olY4yrukm6slfNZYk4SukPEalpLduQE0qsg FvThpW/bHU4l9CvVgzivtpB7ss5LDCqWZUbVVpLl0D6fSA5lUBeLMfA9Ci2vz7+Gn1pP y+tp33GVYMqnbNekI5RT9dHyryncYEhOGShJWECwb9OO/L/LI9jZf5Ev/4fmzyxSejVj djKhBMblExEjcEhS5RkWQbBN0t+zM+VD5ybry7VBEHd1zwgmznsUIrn7I71cKGlq0ny8 LAuACbs2z3Byd5I4tiZuoP/QcZmZLQvbTxmrNvHC37swd/BgUweb8Mo9xOQn0Sz8uOIs txsQ== X-Gm-Message-State: AOAM533fcI3AJzKX38qo1WpUJK8SiH+cjBbX3qooDmMN7rMo1delkXo7 Alqn20HaE8iGDJvEl8Y331k= X-Google-Smtp-Source: ABdhPJykXPnD9f02jC2nUs6ZWGp5XlngJ6YeP6Wibjf0759YjNh0L5Sy7KMPfkHhUr4VoGnG0+N1mQ== X-Received: by 2002:a63:2f03:0:b0:398:b2fc:250c with SMTP id v3-20020a632f03000000b00398b2fc250cmr20119361pgv.75.1649529701943; Sat, 09 Apr 2022 11:41:41 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:41 -0700 (PDT) From: Kuldeep Singh To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kuldeep Singh , linux-arm-msm@vger.kernel.org Subject: [PATCH 5/6] ARM: dts: qcom: ipq8064: User generic node name for DMA Date: Sun, 10 Apr 2022 00:11:14 +0530 Message-Id: <20220409184115.15612-6-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- 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 996f4458d9fc..8366310ca5e3 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 Sat Apr 9 18:41:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12808017 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 C53AFC4332F for ; Sat, 9 Apr 2022 18:41:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243127AbiDISoF (ORCPT ); Sat, 9 Apr 2022 14:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243116AbiDISoA (ORCPT ); Sat, 9 Apr 2022 14:44:00 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 143981EA282; Sat, 9 Apr 2022 11:41:47 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id bx5so11495401pjb.3; Sat, 09 Apr 2022 11:41:47 -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=nr/u+ZwKEd/3qo8bgunaAebE8NIooSpd7ML7VX6zww8=; b=ORpVOFSr646Ql7vJ1+XFDYPaH7B//S/QTQFt2peAcDjG8NTWuujcwc1XQh/ZJyHCKz EUJRYfrNFf6tHJmfDfjZL3jv/5U49PsmpvVMe5nrtETSRks4zvmTV/95yk2ULrSWCmkd K7nd/Fs46vk6zjdJ100C3ebD++EdHwGhcryCGEG4BB1TNSjv9owxDPBYrKkoqKZ3mBVZ +9td/QosqwkFE/TiPULqnyhgD413YYaae9eqgaK3a3KoPqeyk3xJUP7HGC/WgEMeORHp 42YGws9DymTA2NJfNFHbp62fqPy/8ASoeEvllCoZAYmKxJPbk5MMaa+MAmwVGEhQL+LJ iCGw== 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=nr/u+ZwKEd/3qo8bgunaAebE8NIooSpd7ML7VX6zww8=; b=aEPjvV5S62/OBCB5pdNrZr1fQjjlHUD0clLuruA6kn5MycJMkw6Hq4rRPOst6CAjAO OpBkIuQqrUy5Hp2zjoD5QcAHfM6m9TMyAhYAfZWTSeZcXNCE6UDRrTC71DOUNWSOu0Th AjRdAixXccQ8nT15LPwwNbekSPAEXZBWSFm3OyT/Aqpt4OLjFaAs0v0BGfZ4L2OVwK3i ivOmNbJSW7DHocWRoK21gIGdkmwbPGdO2AzFUW9Xf2lqqnkkpSc79Oby8yFMC+0fVTgi SzJOb9yKo8u8pqx82YolJbODkfOfV90Lu0Ju2YDSjEZDOPbRrU79p5wKM+qv+CsBaNo1 oKjw== X-Gm-Message-State: AOAM531QFAn5pksilvkcthP+X5TQNHw+3oQflxXOjmvQgk7B7LHRoPpV 78OYntHSz9bJ8aAl/HZPRnVeTEDMvqk= X-Google-Smtp-Source: ABdhPJzja9LrsRzXqXNp8RFic/Yugyg703WRs0+shieU7z82s7cnwbYCZ+zAH6Ag6ZFgtTHNmgz4vQ== X-Received: by 2002:a17:90b:1b4d:b0:1c6:bd9e:a63d with SMTP id nv13-20020a17090b1b4d00b001c6bd9ea63dmr28264713pjb.56.1649529706232; Sat, 09 Apr 2022 11:41:46 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id g3-20020a63ad03000000b003821d0f0ef4sm25813933pgf.71.2022.04.09.11.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 11:41:45 -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, Kuldeep Singh , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org Subject: [PATCH 6/6] dt-bindings: dma: Convert Qualcomm BAM DMA binding to json format Date: Sun, 10 Apr 2022 00:11:15 +0530 Message-Id: <20220409184115.15612-7-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220409184115.15612-1-singh.kuldeep87k@gmail.com> References: <20220409184115.15612-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 --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 90 +++++++++++++++++++ .../devicetree/bindings/dma/qcom_bam_dma.txt | 52 ----------- 2 files changed, 90 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..606c19f83db3 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -0,0 +1,90 @@ +# 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 + + 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: + $ref: /schemas/types.yaml#/definitions/flag + description: + Indicates that the bam is controlled by remote proccessor i.e. execution + environment. + + qcom,ee: + $ref: /schemas/types.yaml#/definitions/uint32 + 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: + $ref: /schemas/types.yaml#/definitions/flag + 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 + - interrupts + - reg + +unevaluatedProperties: 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"; - };