mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
	robh@kernel.org, vkoul@kernel.org
Cc: krzk+dt@kernel.org, conor+dt@kernel.org, srini@kernel.org,
	yung-chuan.liao@linux.intel.com,
	prasad.kumpatla@oss.qualcomm.com, jingyi.wang@oss.qualcomm.com,
	sibi.sankar@oss.qualcomm.com, quic_srivasam@quicinc.com,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org
Subject: Re: [PATCH 2/3] soundwire: qcom: add multi-master support
Date: Tue, 15 Sep 2026 14:18:11 +0100	[thread overview]
Message-ID: <bef1437d-6ff3-436e-bd18-2a430fbb355e@oss.qualcomm.com> (raw)
In-Reply-To: <8c6bfa54-83a7-4d37-bbc8-d3384dfc6ce2@linux.dev>

On 9/14/26 6:21 PM, Pierre-Louis Bossart wrote:
> On 9/11/26 10:21, Srinivas Kandagatla wrote:
>> v3.1.0+ Qualcomm SoundWire IPs can be paired to expose one logical
>> bus with more than two DATA lanes. One IP owns SWR_CLK and drives
>> the bus; the other contributes DATA lanes only.
>>
>> Support this pairing on the driver side. A device link between the
>> two IPs enforces correct unbind ordering and keeps the peer resumed
>> while the primary is active.
>>
>> Single-master deployments (no qcom,multi-master-mode in DT) are
>> unaffected.
> 
> It'd be good to clarify how the command protocol is handled. Each IP is
> probably capable of handling PING/READ/WRITE commands in Column0, but in
> the paired option the primary IP is the only one that deals with Column0
> and all other DATA lanes are just data?
All the control/command is only handled by Primary controller, dependent
controllers only contribute to additional data lines.

only Primary handles slave register reads/writes.

I will clarify this in next version.

thanks,
Srini
> 


  reply	other threads:[~2026-09-15 13:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-11  8:21 [PATCH 0/3] " Srinivas Kandagatla
2026-09-11  8:21 ` [PATCH 1/3] dt-bindings: soundwire: qcom: describe multi-master Srinivas Kandagatla
2026-09-11  8:21 ` [PATCH 2/3] soundwire: qcom: add multi-master support Srinivas Kandagatla
2026-09-14 17:21   ` Pierre-Louis Bossart
2026-09-15 13:18     ` Srinivas Kandagatla [this message]
2026-09-11  8:21 ` [PATCH 3/3] soundwire: qcom: program MM_SYNC for multi-master Srinivas Kandagatla

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=bef1437d-6ff3-436e-bd18-2a430fbb355e@oss.qualcomm.com \
    --to=srinivas.kandagatla@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jingyi.wang@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=prasad.kumpatla@oss.qualcomm.com \
    --cc=quic_srivasam@quicinc.com \
    --cc=robh@kernel.org \
    --cc=sibi.sankar@oss.qualcomm.com \
    --cc=srini@kernel.org \
    --cc=vkoul@kernel.org \
    --cc=yung-chuan.liao@linux.intel.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

all inboxes | Powered by JetHome®