From patchwork Thu Feb 15 12:25:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 128411 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1690748ljc; Thu, 15 Feb 2018 04:27:22 -0800 (PST) X-Google-Smtp-Source: AH8x226IaCohI+vfdacIVRZcFvAOqOHMNCHRBVL8NfSjIk21W6Yr+1wd4Bku0ID6ZRoXQQkBF3fi X-Received: by 2002:a17:902:22f:: with SMTP id 44-v6mr2377733plc.418.1518697642636; Thu, 15 Feb 2018 04:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518697642; cv=none; d=google.com; s=arc-20160816; b=INyjeDQ/GnHSTLh0JVdqGFFffYnu+/1lP3vDgMluG9/V/4pXqHRRY8rRSfGqFo35Ns CF6BAeGvXaufwmYT2Tnu3s1bMlcrVgUUZ19eN4+TANw2eRrK3k69126sWIYe+FUXc8gY BAPyfdLP1VOQLTXtGtHhGJYExkhKBP/UO+0nHjEv26Vcl5eHuwQ0LC1iTXVo2fj6oYgR UU7MrYRCisb3l5gK7b7hiIc9EkvahdBqbNrEPcPtNYyiwsL6HV9q5ndDB9rZRGJ5afxW 3gOoNCQvX9TilMtFBNL2WkOuFE4lJ/2fk7LZIPNC8efAB1mbyWU8BOJZlaXP6Gv16rkx kzLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=vXmRhmToPblS4VqQXvIAWP1MepAgwDt+Wx5NGr9gmNM=; b=S1UtJTTS1W3EOPsysXtaVrdNuPTiYsOn1lTv/BhGevEzTnfMj8MRWAl2lGnX8q9L0F 8xPxwRJAdQGzNoQKuyS6VUeK4yqZhW+1o31viZxd+5JnGz/rESrGISndTLsqGt8NzFDF 7Ib36XqXnZhNMuJRFbX53y0b0PGPIeK0uuYTen+VDX5YEAcoiCw/GTVMuqImegeKgl4T VJEWCaypTC7xq1O9lKW6eiE9jvEriPYTbdOixDxG6mpxnYz7D3SnRMAKp6o13SM9ZUuK LNC8m5QuiOU2QZRP/VFKZC8ylLZG8zxmMeCS81G7mxjKY+Hkp+uiyYTO40c+AWLQ7rb+ S2WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=I6O4yJpT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3-v6si5105816plc.552.2018.02.15.04.27.22; Thu, 15 Feb 2018 04:27:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=I6O4yJpT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031195AbeBOM1U (ORCPT + 10 others); Thu, 15 Feb 2018 07:27:20 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54496 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031225AbeBOM1R (ORCPT ); Thu, 15 Feb 2018 07:27:17 -0500 Received: by mail-wm0-f65.google.com with SMTP id z81so470803wmb.4 for ; Thu, 15 Feb 2018 04:27:16 -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; bh=RMQj7GC/EWKP+za26bZq9Zxr+rnkoXmTh7oHBu3pws4=; b=I6O4yJpTIaVPMp57pYkh8CZo4WaDggll0vndavxYKw7aTdc6R7r6cjc4Xl7Y9Z8Dqw N2gLHyHXdPAAtuHfawCePnSlFMxppFYl1RfuMpeXmWehKSgaRhymwb/1zuaAMs6/0WBC rYKjyClGCgkGJejkj8rub6FWC/yu6tLMfJgTU= 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; bh=RMQj7GC/EWKP+za26bZq9Zxr+rnkoXmTh7oHBu3pws4=; b=F2CL4/hx2U83RhHgmrarIKAihfeyYOgNacfklbe1iNn0xZ+y23DHuKcGA4wqFg9W0F xHKvp1ee0S6R72nhVyIp0B8DSWlq9B+hATj2pSofCzC57DoQ/xYe5vsyeHGooqg9v7Cj VUy/yR0Dj/77RPMZUomMjYu9AZmX5tonpuu3eZ5JmMfuLCr16EXwhjkLi/og9hdOIsXe BAwoj7gUYS7qCRmYVBSy+a+QfQxMedcPe5/31tuhWRLR+NRtOS0/hZhhAPDqFKL0BuqV FKp2ELI9mjT98Ekj7ISIM2GvhArd7lkBTg73PuXz75fQW3icnA/5Br8/YGERWGBIx7Tv HPfQ== X-Gm-Message-State: APf1xPDHqW7FpMGdMwja162MpCuehsswKeIAKd/pNwLdIOf9y2IAPu4b mE9HNpUEEEnRtry3izQYzkbTvQ== X-Received: by 10.28.5.10 with SMTP id 10mr1933876wmf.126.1518697635737; Thu, 15 Feb 2018 04:27:15 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id s9sm15632778wra.4.2018.02.15.04.27.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 04:27:14 -0800 (PST) From: srinivas.kandagatla@linaro.org To: vinod.koul@intel.com, andy.gross@linaro.org, dmaengine@vger.kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, david.brown@linaro.org, dan.j.williams@intel.com, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, yanhe@quicinc.com, ramkri@qti.qualcomm.com, sdharia@quicinc.com, Srinivas Kandagatla Subject: [PATCH v3 0/5] dmaengine: qcom: bam_dma: fixes for remotely controlled bam Date: Thu, 15 Feb 2018 12:25:06 +0000 Message-Id: <20180215122511.13517-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla Hi Andy, I did hit few issues while trying out SLIMBus BAM on DB820c, this BAM instance is remotely controlled and powered up after ADSP is booted using QMI commands. Firstly some of the master registers are written even when the BAM is remotely controlled, and secondly reading registers when bam is not ready yet. These 4 patches address these issues, there are few more issues like doing PM in simillar usecase, these will be addressed soon. Thanks, Srini Changes since v2: return clk error in default case, suggested by Bjorn Srinivas Kandagatla (5): dmaengine: qcom: bam_dma: make bam clk optional dt-bindings: dmaengine: bam_dma: add remote controlled bindings dmaengine: qcom: bam_dma: get num-channels and num-ees from dt dmaengine: qcom: bam_dma: do not write to global regs in remote mode dmaengine: qcom: bam_dma: disable runtime pm on remote controlled .../devicetree/bindings/dma/qcom_bam_dma.txt | 4 ++ drivers/dma/qcom/bam_dma.c | 59 +++++++++++++++++----- 2 files changed, 49 insertions(+), 14 deletions(-) -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html