From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Bard Liao <yung-chuan.liao@linux.intel.com>,
linux-sound@vger.kernel.org, broonie@kernel.org, tiwai@suse.de,
vkoul@kernel.org
Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org,
pierre-louis.bossart@linux.dev, bard.liao@intel.com
Subject: Re: [PATCH v3 01/16] Documentation: driver: add SoundWire BRA description
Date: Thu, 27 Feb 2025 19:45:56 +0700 [thread overview]
Message-ID: <Z8BehLc-D8-dKbe7@archie.me> (raw)
In-Reply-To: <20250227111130.272698-2-yung-chuan.liao@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2634 bytes --]
On Thu, Feb 27, 2025 at 07:11:14PM +0800, Bard Liao wrote:
> + (2) A CRC on the data block (header excluded). This CRC is
> + transmitted as the last-but-one byte in the packet, prior to the
penultimate byte?
> + footer response.
> +
> +The header response can be one of
"one of:"
> + (a) Ack
> + (b) Nak
> + (c) Not Ready
> +
> +The footer response can be one of
Ditto.
> + (1) Ack
> + (2) Nak (CRC failure)
> + (3) Good (operation completed)
> + (4) Bad (operation failed)
> +
> <snipped>...
> + ::
> +
> + +---+--------------------------------------------+
> + + | |
> + + | BRA HEADER |
> + + | |
Nit: this line is indented with spaces instead of tabs, but the table still
renders perfectly in htmldocs output (no warnings).
> + + +--------------------------------------------+
> + + C | HEADER CRC |
> + + O +--------------------------------------------+
> + + M | HEADER RESPONSE |
> + + M +--------------------------------------------+
> + + A | |
> + + N | |
> + + D | DATA |
> + + | |
> + + | |
> + + | |
> + + +--------------------------------------------+
> + + | DATA CRC |
> + + +--------------------------------------------+
> + + | FOOTER RESPONSE |
> + +---+--------------------------------------------+
> +
> <snipped>...
> +Each packet will typically have
"have:"
> +One possible strategy to speed-up all initialization tasks would be to
> +start a BRA transfer for firmware download, then deal with all the
> +"regular" read/writes in parallel with the command channel, and last
> +to wait for the BRA transfers to complete. This would allow for a
> +degree of overlap instead of a purely sequential solution. As a
> +results, the BRA API must support async transfers and expose a
"As such, ..."
> +separate wait function.
> <snipped>...
> +The bus interface for BPT/BRA is made of two functions
"two functions:"
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-02-27 12:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 11:11 [PATCH v3 00/16] SoundWire/ASoC: add SDW BPT/BRA support Bard Liao
2025-02-27 11:11 ` [PATCH v3 01/16] Documentation: driver: add SoundWire BRA description Bard Liao
2025-02-27 12:45 ` Bagas Sanjaya [this message]
2025-02-27 14:08 ` Liao, Bard
2025-02-27 11:11 ` [PATCH v3 02/16] soundwire: cadence: add BTP support for DP0 Bard Liao
2025-02-27 11:11 ` [PATCH v3 03/16] soundwire: extend sdw_stream_type to BPT Bard Liao
2025-02-27 11:11 ` [PATCH v3 04/16] soundwire: stream: extend sdw_alloc_stream() to take 'type' parameter Bard Liao
2025-02-27 11:11 ` [PATCH v3 05/16] soundwire: stream: special-case the bus compute_params() routine Bard Liao
2025-02-27 11:11 ` [PATCH v3 06/16] soundwire: stream: reuse existing code for BPT stream Bard Liao
2025-02-27 11:11 ` [PATCH v3 07/16] soundwire: bus: add send_async/wait APIs for BPT protocol Bard Liao
2025-02-27 11:11 ` [PATCH v3 08/16] soundwire: bus: add bpt_stream pointer Bard Liao
2025-02-27 11:11 ` [PATCH v3 09/16] soundwire: cadence: add BTP/BRA helpers to format data Bard Liao
2025-02-27 11:11 ` [PATCH v3 10/16] soundwire: intel_auxdevice: add indirection for BPT send_async/wait Bard Liao
2025-02-27 11:11 ` [PATCH v3 11/16] ASoC: SOF: Intel: hda-sdw-bpt: add helpers for SoundWire BPT DMA Bard Liao
2025-02-27 11:11 ` [PATCH v3 12/16] soundwire: intel: add BPT context definition Bard Liao
2025-02-27 11:11 ` [PATCH v3 13/16] soundwire: intel_ace2x: add BPT send_async/wait callbacks Bard Liao
2025-02-27 11:11 ` [PATCH v3 14/16] ASoC: SOF: Intel: hda-sdw-bpt: add CHAIN_DMA support Bard Liao
2025-02-27 11:11 ` [PATCH v3 15/16] soundwire: debugfs: add interface for BPT/BRA transfers Bard Liao
2025-02-27 11:11 ` [PATCH v3 16/16] ASoC: rt711-sdca: add DP0 support Bard Liao
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=Z8BehLc-D8-dKbe7@archie.me \
--to=bagasdotme@gmail.com \
--cc=bard.liao@intel.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=pierre-louis.bossart@linux.dev \
--cc=tiwai@suse.de \
--cc=vinod.koul@linaro.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