Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1884290ybi; Sat, 25 May 2019 10:56:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPNhNHcvjoi8FJeMRet2kt+RsR44CMiSU4R4GnjVIBK2nsedH9a8ALcczT9NRHX3XVvGRS X-Received: by 2002:a17:902:2ae6:: with SMTP id j93mr92603659plb.130.1558806962748; Sat, 25 May 2019 10:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558806962; cv=none; d=google.com; s=arc-20160816; b=bnk4wZhTistW78F411xbm9SbPdB8Ehff9g7cPKlHTwxVIFu291jslXsuo4MRyiYVw5 F+O6S5Nco1kX31Mf6ZsbkK/Y4IWWBbNMfs+o947+skhQh7Egab5ofDRu4GiedBy8ARFD WFf7NQSjpPt09TqOg+yiRBmvFqjBG5VFg8l415iPEfbLqaFthoB3BRd/0zyvgsmbCkXa f5g7XUabcUUpiHplPbRPzkzENHiFTBrQVMIcZt+BGD6hdMjPExa3/NarXWuyEwO3BBHY menVB8hwkTY9g2xSJUw/4VujmaYL6D2MZIpd2TE79YxCBwf1E+goqSQ6vWiTTTZlCDc0 WsKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=8Cf4Y4G/fLMrL4GdoXCkaxi0Mjd6umo9XFedJvFxHCg=; b=a7ICIcRhUAjaXbyc+CIpv8rHCj9n3rUaiYNFvOAAGnDRPfdujjRZW8dQyYQB4isJuk lORWbD3xmkcMN60N5/dax1fmGKLRT3WoFPzyNNhHk+BYiig5ZLq6sRXhLEJfbSZbWnRi bZuRVAOc4F+7wk912i99XDuojSWUBcZa0uWqrgEx37mwPrXwiIDHKUk6viG7d93+7RE3 cXnkO9Dlhq6eP+M3+JHQIaYHXqzDrzMgcFrvvOP4TH7Xrk0y3ZAw1Q3gNF3AYECVLJ8O 1iUqbTIZagCRjPPH59xAmefkypefhUnydpTfpRsV7xZ+XpUYTvEsJs311mCfvrFkFztJ 4XGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BgXEnwqs; dkim=pass header.i=@codeaurora.org header.s=default header.b=AhvQjd1G; 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 y4si9719187pfn.47.2019.05.25.10.55.40; Sat, 25 May 2019 10:56:02 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=BgXEnwqs; dkim=pass header.i=@codeaurora.org header.s=default header.b=AhvQjd1G; 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 S1727113AbfEYRxn (ORCPT + 99 others); Sat, 25 May 2019 13:53:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42086 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfEYRxn (ORCPT ); Sat, 25 May 2019 13:53:43 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1A51960C5F; Sat, 25 May 2019 17:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1558806822; bh=jzgn7rg3s5o3zpXbF8z5WWZpHYb1TEcoJmOALP8joCg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BgXEnwqsQtglDsn26d091gsab2jvK9eX60DBAj3Sb35YVk8e20LyNcO17POyPz/qA XeHQKa1D6dg1r+ofxGIWlG12NCCi/1BF6UOnyblc7uq3KDKXxDjCsMJb7KziiEXQVf 7C+P2vVgN1x1lDr3xGeUFlHc7QmtsFmhzXtqoBsU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.101] (unknown [157.45.255.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C6CAF601D4; Sat, 25 May 2019 17:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1558806821; bh=jzgn7rg3s5o3zpXbF8z5WWZpHYb1TEcoJmOALP8joCg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AhvQjd1G+fm8dGu6jDuDybm6UFdOcyr5aXzXC+7+TtNTb6dikoxLweF9ECtqAwEd6 AY59Ce5O14emuv7Ou2IajldTA0rzRJqbHE0zXer/5aoLX/PIPxx96C2mLD3lylNyOV osSg39oiCXUuZu3J1AQRvVQtRq/leRGMocTXDmyM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C6CAF601D4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=saiprakash.ranjan@codeaurora.org Subject: Re: [PATCH v7 2/4] soc: qcom: Add AOSS QMP driver To: Bjorn Andersson , Andy Gross , David Brown , Stephen Boyd Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190501043734.26706-1-bjorn.andersson@linaro.org> <20190501043734.26706-3-bjorn.andersson@linaro.org> From: Sai Prakash Ranjan Message-ID: <3d2c61ca-b91b-fdc7-7837-af6a3b71af7e@codeaurora.org> Date: Sat, 25 May 2019 23:23:33 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190501043734.26706-3-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/1/2019 10:07 AM, Bjorn Andersson wrote: > The Always On Subsystem (AOSS) Qualcomm Messaging Protocol (QMP) driver > is used to communicate with the AOSS for certain side-channel requests, > that are not available through the RPMh interface. > > The communication is a very simple synchronous mechanism of messages > being written in message RAM and a doorbell in the AOSS is rung. As the > AOSS has processed the message length is cleared and an interrupt is > fired by the AOSS as acknowledgment. > > The driver exposes the QDSS clock as a clock and the low-power state > associated with the remoteprocs in the system as a set of power-domains. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v6: > - Squash the pd into the same driver as the communication, to simplify > the interaction. > - Representing the QDSS clocks as a clock/power domain turns out to > cascade into a request to make all Coresight drivers have a secondary > compatible to replace the required bus clock with a required power > domain. So in v7 this is exposed as a clock instead. > - Some error checking updates, as reported by Doug. > Thanks for the patch Bjorn. Tested the QDSS functionality on SDM845 based Cheza board with this change and it works just fine. Tested-by: Sai Prakash Ranjan -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation