Message ID | 20180214144459.29813-1-srinivas.kandagatla@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp688143ljc; Wed, 14 Feb 2018 06:49:43 -0800 (PST) X-Google-Smtp-Source: AH8x225qDR00SePj6KeiBxuemxnPwVqr/ZXA89cINl+QhL2KARibECcg7s+QUn8rkRCmN4v2e+yk X-Received: by 2002:a17:902:6116:: with SMTP id t22-v6mr4717143plj.307.1518619783673; Wed, 14 Feb 2018 06:49:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518619783; cv=none; d=google.com; s=arc-20160816; b=Uf8EuhdNy1T8L1h7HF4+NZNs4OLjLUJBTdOGpR8YewSMLXhFbVsd+69m/SfX2no8R3 kuP4i/SbT+2vCQW9dqMNdTj0Ao1eN7gAk/pootnm0SbHRZIrIy+oW8hYUGSokVox0oIf pz+1wnip+7kKQDpi2rcoJ4D1H6zNDEZHGA+8w4sGH++KpEPkHqeNpmrq0F9g5f2BM23V TmPr5LN4WKUJa5R4qWwk1bb2NOXh86CsW2EHkBWxxOa1pDWN2TC9IMQTahcN2Q18aoUr xEAREhZXufUtnDMkL+ecrkPJ7mbgEeiCep6Zs+0T7FTRTwVnTyE6TO94E0xQhp15dHjn y/Jg== 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=8OZIXFXOSkL4AFy7mC3w9mIFH7qD8/esbt83gzA5TjY=; b=KVc24J0JDNvOJSV+khMOQHgaeKQSSX6XB5LqiSobMLysrqOZYHJoifWedlU62Md/9j 3dtXevwEa0gxhqGhMJGXcBdZH07CuwusIssSaDIa9OtrNUtXDb9S0yFXkVq/imkv5J7I TX0ck8839w9m+p1DaxlsxgeRDyebQXluOhgEkU6Hv7OhtyP0e47wVJb6S+zZ14k13NJX 01aPFx1ZpCI/HmyOP34j6xXTgP7A4v5JKqAbzH9K8xRL8oRSYUCgh7ahJ+geVltwb0/Z 0vt+MER3lKaceY+q5VjZlznMpNCbrdz6+guFu9j/sn0RdPPJZDLHgAI6JMFkVr7A7sfU OHxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILqPNsXG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si2886373plc.309.2018.02.14.06.49.43; Wed, 14 Feb 2018 06:49:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILqPNsXG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031074AbeBNOtk (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Wed, 14 Feb 2018 09:49:40 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53715 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030821AbeBNOrI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Feb 2018 09:47:08 -0500 Received: by mail-wm0-f65.google.com with SMTP id t74so23192747wme.3 for <linux-kernel@vger.kernel.org>; Wed, 14 Feb 2018 06:47:08 -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=8OZIXFXOSkL4AFy7mC3w9mIFH7qD8/esbt83gzA5TjY=; b=ILqPNsXGvXhEGA7JFKIoGriMbNM+Rq85fFl+UWdBMuqHfvpGz0m2TCmZ/M5H7kYn6b 6L4oXJ4FfAbMQ82ev6j/S1bQIVEjn6Zlc9Nx9H6a6COaHV1sRW4JKzCyAvm0bNCOWkMz WxCVF/NE92dC1qVRF5NjU6xJxHpAFHWHtLuws= 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=8OZIXFXOSkL4AFy7mC3w9mIFH7qD8/esbt83gzA5TjY=; b=jCZJ7hD/jBk9eq1Z2v8TIEoVJPZZY7HPHoD7pzVYVl9ZdHIGKijvRHhR/EYZ4cv8pq 1YUwLWacc4ebONeS8+c2G26XNmEqXKhw/CobF0Iv7ok3xB7ZHnCJWGiDVRYH5ZoUm/og qQgqZThxr7eC8zp1yIRK62ZNqJ74grRErxZpA4dStoEA370Y1O7Y7i3zgqajfDxaZtQb oxDegPoPUQtz80zGhNRClImUrCuhjuiEITN1PVSrQ9aaZQ9B9QWdi5m99X1QzH0I2xWP 9gkinTx4617i33kXFl1PRM1be+xtUZPgutRcrcovwghTcANmyLqZ13UpRI16YWuE/JRV mz3g== X-Gm-Message-State: APf1xPBG8otPKuczcIhcNdlKsXam1txSwr60CutgSyLJpXLWn7s9OYPY 3Izn3G4+LkdbQ8ekmDTxKt5J2A== X-Received: by 10.28.53.138 with SMTP id c132mr4116626wma.108.1518619627133; Wed, 14 Feb 2018 06:47:07 -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 u20sm7675965wrg.13.2018.02.14.06.47.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Feb 2018 06:47:06 -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-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, yanhe@quicinc.com, ramkri@qti.qualcomm.com, sdharia@quicinc.com, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v2 0/5] dmaengine: qcom: bam_dma: fixes for remotely controlled bam Date: Wed, 14 Feb 2018 14:44:54 +0000 Message-Id: <20180214144459.29813-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
dmaengine: qcom: bam_dma: fixes for remotely controlled bam
|
expand
|
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 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 v1: - Move dt bindings to separate patch - merge num-channels and num-ees driver changes - fixed few typos. - added runtime pm disable, as suggested by Sagar 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 | 66 +++++++++++++++------- 2 files changed, 51 insertions(+), 19 deletions(-) -- 2.15.1