[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210609151022.GF1002214@nvidia.com>
Date: Wed, 9 Jun 2021 12:10:22 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Cc: Vinod Koul <vkoul@...nel.org>, alsa-devel@...a-project.org,
Leon Romanovsky <leon@...nel.org>, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
hui.wang@...onical.com, Dave Ertman <david.m.ertman@...el.com>,
sanyog.r.kale@...el.com,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
rander.wang@...ux.intel.com, bard.liao@...el.com
Subject: Re: [PATCH v4] soundwire: intel: move to auxiliary bus
On Wed, Jun 09, 2021 at 09:44:08AM -0500, Pierre-Louis Bossart wrote:
> The consensus for the auxiliary_device model was hard to reach, and the
> agreement was to align on a minimal model. If you disagree with the
> directions, you will have to convince Nvidia/Mellanox and Intel networking
> folks who contributed the solution to do something different.
The purpose of the aux devices was primarily to bind a *software*
interface between two parts of the kernel.
If there is a strong defined HW boundary and no software interface
then the mfd subsytem may be a better choice.
For a software layer I expect to see some 'handle' and then a set of
APIs to work within that. It is OK if that 'handle' refers to some HW
resources that the API needs to work, the purpose of this is to
control HW after all.
You might help Vinod by explaining what the SW API is here.
Jason
Powered by blists - more mailing lists