Devicetree
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>,
	David Brown <david.brown@linaro.org>,
	Mark Rutland <mark.rutland@arm.com>,
	linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Arun Kumar Neelakantam <aneela@codeaurora.org>
Subject: Re: [PATCH v2] soc: qcom: smp2p: Access APCS as mailbox client
Date: Fri, 1 Dec 2017 16:25:45 -0600	[thread overview]
Message-ID: <20171201222545.hkp73cuou6aildky@rob-hp-laptop> (raw)
In-Reply-To: <20171130000040.23681-1-bjorn.andersson@linaro.org>

On Wed, Nov 29, 2017 at 04:00:40PM -0800, Bjorn Andersson wrote:
> Attempt to acquire the APCS IPC through the mailbox framework and fall
> back to the old syscon based approach, to allow us to move away from
> using the syscon.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
> 
> Changes since v1:
> - Added dt binding update
> - Specifies knows_txdone on the mailbox client
> 
>  .../devicetree/bindings/soc/qcom/qcom,smp2p.txt    |  8 ++++-
>  drivers/soc/qcom/Kconfig                           |  1 +
>  drivers/soc/qcom/smp2p.c                           | 39 ++++++++++++++++++----
>  3 files changed, 41 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt
> index af9ca37221ce..a35af2dafdad 100644
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.txt
> @@ -17,9 +17,15 @@ processor ID) and a string identifier.
>  	Value type: <prop-encoded-array>
>  	Definition: one entry specifying the smp2p notification interrupt
>  
> -- qcom,ipc:
> +- mboxes:
>  	Usage: required
>  	Value type: <prop-encoded-array>
> +	Definition: reference to the associated doorbell in APCS, as described
> +		    in mailbox/mailbox.txt
> +
> +- qcom,ipc:
> +	Usage: required, unless mboxes is specified

Is this deprecated as mboxes is required, so it's never present?

> +	Value type: <prop-encoded-array>
>  	Definition: three entries specifying the outgoing ipc bit used for
>  		    signaling the remote end of the smp2p edge:
>  		    - phandle to a syscon node representing the apcs registers

  reply	other threads:[~2017-12-01 22:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30  0:00 [PATCH v2] soc: qcom: smp2p: Access APCS as mailbox client Bjorn Andersson
2017-12-01 22:25 ` Rob Herring [this message]
2017-12-04 20:18   ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201222545.hkp73cuou6aildky@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=andy.gross@linaro.org \
    --cc=aneela@codeaurora.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=david.brown@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox