Received: by 10.223.176.5 with SMTP id f5csp3073489wra; Mon, 29 Jan 2018 08:23:24 -0800 (PST) X-Google-Smtp-Source: AH8x2246xRCJUSwgG6Tegh8RCK5qzF32E61ZkH/Zuz3gjnxvqSzvbq/Pd7KWenw6IQEqt5fLN0ce X-Received: by 10.98.163.131 with SMTP id q3mr26761692pfl.87.1517243004432; Mon, 29 Jan 2018 08:23:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517243004; cv=none; d=google.com; s=arc-20160816; b=nyad1sUzv1MW/ovcfYh/o9D+INsIJXyU/3BEY8kHyZE92xVYiemxTjApWE2T4uYdIc otH1x/l5+Y0BFugagXQ2WjKhDnrWvUb0Ab2e7ETZnDANm5Jdk4QwcxZ7Wslx1lGSnv5S R+B2bWfbQAZT6xx4V/07Fi37b0+Z+7T2FgrG1ntXL6dLZv98MM9ILxWlP73oC+IkKn/f 2q5uNlaujU/JYNKcEEMmj5xdmbaFiq+ICA3PdaYfj9tmZo3AZAfWRnhWZ32tci3FHEfo y6g0QyQXG3HCrVK3XLnkanGGOiXuJRAd9qjoTSYAoJ193MqRwDTPYWKuaygPiRDzCKeg PFyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xlZH37UT8AKlW12IiH6UD5B3Aw7jbjjj118RI3HLYiI=; b=v6CHmrn1JyRj6/75B0zVmlqKIVM+NFRjR/umKr97RerXEfcT/XfHzTSRG7Mji1/uPP 7gQ/J2+CtAQS4tYO95CIZS7db5ZTJkv6i37DPFFEQpTeTTPp00Qb5AnUgJgPRLofA9u3 H5YwFzg5ya0c2xZwbCre5o3V9LP60CjAceKUdwWMD7gZHu0RbR3hY5z7OrDJM0fI9XMq 2WaD8gqWuXwnH77inqy/td2G61KuCMjUVwwKaP5+Ar3PDxx30zTd+5/fEWoW7Amwv0u7 iU3+qAxIAxNHaHP2RZ+zgWsY0dvHGntR8pwbwL6ubd1NcGcqMvPpFNbYmZQz37FKbKHr EWmw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si12335518pfg.382.2018.01.29.08.23.10; Mon, 29 Jan 2018 08:23:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751510AbeA2QVv (ORCPT + 99 others); Mon, 29 Jan 2018 11:21:51 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:38042 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751374AbeA2QVs (ORCPT ); Mon, 29 Jan 2018 11:21:48 -0500 Received: by mail-ot0-f194.google.com with SMTP id v5so7060951oth.5; Mon, 29 Jan 2018 08:21:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xlZH37UT8AKlW12IiH6UD5B3Aw7jbjjj118RI3HLYiI=; b=nRjOijwHzRZMj+l5Ak6l3JFlJayicYxQN8BPFxh8SiSNVjryP1+VxTVuocoSl52u1v 0KL3ip/3HTTNHb/DtgnoDptBz09M+QF/YJlBDTB0IqPIN0co74VvCKeXRfmA45sSyo/E 0Gji++biHDnqsPs8FrwM0IRxPIKAajSt5VRK8mv995/gNE+jNPWF/wcu8Fog6/WZ7YyK 1x7QMmLsZlekd4aN7oHN3xGZAlZarOd5yqap5BVu/rwxQjl5Tbzv30TYkRBy0yyH0aof 6dlnQ6iRuwcKVGDnOi+5VMrvusamfMXombbslR8DGKcB3EbCRsYJG2HrEcPTeVHqJvaC 0lng== X-Gm-Message-State: AKwxytfgIYmggzr0BtdEunWHJmDbO+XOUliIIfZoJ67cqHmLMxfwZtJv l8vLXJXDkFBRSe+I/RRQ/AGLbA0= X-Received: by 10.157.97.30 with SMTP id i30mr6871769otj.174.1517242907709; Mon, 29 Jan 2018 08:21:47 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id 11sm4307874oiq.34.2018.01.29.08.21.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 08:21:47 -0800 (PST) Date: Mon, 29 Jan 2018 10:21:46 -0600 From: Rob Herring To: srinivas.kandagatla@linaro.org Cc: Vinod Koul , Andy Gross , dmaengine@vger.kernel.org, Mark Rutland , David Brown , Dan Williams , 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 Subject: Re: [PATCH 4/4] dmaengine: qcom: bam_dma: Add num-ees dt binding for remotely controlled Message-ID: <20180129162146.2h3kht4xhhr32mbp@rob-hp-laptop> References: <20180116190236.14558-1-srinivas.kandagatla@linaro.org> <20180116190236.14558-5-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180116190236.14558-5-srinivas.kandagatla@linaro.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 16, 2018 at 07:02:36PM +0000, srinivas.kandagatla@linaro.org wrote: > From: Srinivas Kandagatla > > When Linux is master of BAM, it can directly read registers to know number > of supported execution enviroments, however when its remotely controlled > reading these registers would trigger a crash if the BAM is not yet > intialized/powered up on the remote side. > > This patch adds new binding num-ees to specify supported number of > Execution Environments when BAM is remotely controlled. > > Signed-off-by: Srinivas Kandagatla > --- > Documentation/devicetree/bindings/dma/qcom_bam_dma.txt | 2 ++ > drivers/dma/qcom/bam_dma.c | 15 ++++++++++++--- > 2 files changed, 14 insertions(+), 3 deletions(-) The correct split is the binding changes in 1 patch. Driver changes separate. > > diff --git a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt b/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > index aa6822cbb230..f0d10c2b393e 100644 > --- a/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > +++ b/Documentation/devicetree/bindings/dma/qcom_bam_dma.txt > @@ -17,6 +17,8 @@ Required properties: > remote proccessor i.e. execution environment. > - num-channels : optional, indicates supported number of DMA channels in a > remotely controlled bam. > +- num-ees : optional, indicates supported number of Execution Environments in a > + remotely controlled bam. This one needs a vendor prefix as it is not a common property. > > Example: >