devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
To: Mark Brown <broonie@kernel.org>
Cc: David Rhodes <david.rhodes@cirrus.com>,
	Richard Fitzgerald <rf@opensource.cirrus.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org, patches@opensource.cirrus.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] ASoC: cs35l45: Adds support for SYNC bus
Date: Tue, 11 Aug 2026 16:12:46 -0500	[thread overview]
Message-ID: <b7cff467-cd3e-4751-a77b-48020055bb97@opensource.cirrus.com> (raw)
In-Reply-To: <72a2051f-32b6-40d7-a400-c090dcddf7b3@sirena.org.uk>



On 8/11/26 12:24 PM, Mark Brown wrote:
> On Tue, Aug 11, 2026 at 05:06:03PM +0000, Ricardo Rivera-Matos wrote:
>> Adds support for the multidevice synchronization (SYNC) bus.
>> The SYNC bus is an opaque one wire bus that is shared between
>> Cirrus devices. Initial support only includes software (SW)
>> data packets.
> 
> Given this description...
> 
>> +	SOC_SINGLE_BOOL_EXT("SYNC Enable", 0, cs35l45_sync_en_get, cs35l45_sync_en_put),
>> +	SOC_SINGLE("SYNC LSW RX Enable", CS35L45_SYNC_TX_RX_ENABLES,
>> +			CS35L45_SYNC_LSW_RX_EN_SHIFT, 1, 0),
>> +	SOC_SINGLE("SYNC LSW TX Enable", CS35L45_SYNC_TX_RX_ENABLES,
>> +			CS35L45_SYNC_LSW_TX_EN_SHIFT, 1, 0),
>> +	SOC_SINGLE("SYNC SW RX Enable", CS35L45_SYNC_TX_RX_ENABLES,
>> +			CS35L45_SYNC_SW_RX_EN_SHIFT, 1, 0),
>> +	SOC_SINGLE("SYNC SW TX Enable", CS35L45_SYNC_TX_RX_ENABLES,
>> +			CS35L45_SYNC_SW_TX_EN_SHIFT, 1, 0),
> 
> ...it's not clear to me why this would be user controllable.

This can be use-case dependent. An example that comes to mind is keeping 
similar transducers linked during a posture switch.

That is to say, on a four speaker system in landscape orientation, two 
particular amps are acting as linked tweeters and two amps are acting as 
unlinked woofers. When rotated into portrait orientation the linking 
over the SYNC bus needs to be reconfigured to match the new pairings in 
the portrait use-case.

Ricardo

      reply	other threads:[~2026-08-11 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11 17:06 [PATCH 0/2] Introduces MDSYNC support for CS35L45 Ricardo Rivera-Matos
2026-08-11 17:06 ` [PATCH 1/2] ASoC: dt-bindings: cs35l45: Adds SYNC properties Ricardo Rivera-Matos
2026-08-11 17:06 ` [PATCH 2/2] ASoC: cs35l45: Adds support for SYNC bus Ricardo Rivera-Matos
2026-08-11 17:24   ` Mark Brown
2026-08-11 21:12     ` Ricardo Rivera-Matos [this message]

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=b7cff467-cd3e-4751-a77b-48020055bb97@opensource.cirrus.com \
    --to=rriveram@opensource.cirrus.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=david.rhodes@cirrus.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=rf@opensource.cirrus.com \
    --cc=robh@kernel.org \
    --cc=tiwai@suse.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;
as well as URLs for NNTP newsgroup(s).