[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <SJ2PR11MB84249FEDAD4207DBBCEF8844FFCD2@SJ2PR11MB8424.namprd11.prod.outlook.com>
Date: Thu, 27 Feb 2025 14:08:13 +0000
From: "Liao, Bard" <bard.liao@...el.com>
To: Bagas Sanjaya <bagasdotme@...il.com>, Bard Liao
<yung-chuan.liao@...ux.intel.com>, "linux-sound@...r.kernel.org"
<linux-sound@...r.kernel.org>, "broonie@...nel.org" <broonie@...nel.org>,
"tiwai@...e.de" <tiwai@...e.de>, "vkoul@...nel.org" <vkoul@...nel.org>
CC: "vinod.koul@...aro.org" <vinod.koul@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"pierre-louis.bossart@...ux.dev" <pierre-louis.bossart@...ux.dev>
Subject: RE: [PATCH v3 01/16] Documentation: driver: add SoundWire BRA
description
> -----Original Message-----
> From: Bagas Sanjaya <bagasdotme@...il.com>
> Sent: Thursday, February 27, 2025 8:46 PM
> To: Bard Liao <yung-chuan.liao@...ux.intel.com>; linux-sound@...r.kernel.org;
> broonie@...nel.org; tiwai@...e.de; vkoul@...nel.org
> Cc: vinod.koul@...aro.org; linux-kernel@...r.kernel.org; pierre-
> louis.bossart@...ux.dev; Liao, Bard <bard.liao@...el.com>
> Subject: Re: [PATCH v3 01/16] Documentation: driver: add SoundWire BRA
> description
>
> 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.
Updated in v4. Hope I didn't miss anything.
>
> --
> An old man doll... just what I always wanted! - Clara
Powered by blists - more mailing lists