Re: [PATCH v6 19/23] drivers/fsi: Add GPIO based FSI master

From: Christopher Bostic
Date: Thu May 11 2017 - 12:14:29 EST




On 5/10/17 8:58 PM, Jeremy Kerr wrote:
Hi Chris,

I don't think we'd want this per master. The lock is for the 'top'
master issuing commands. Only the top master can initiate any
transactions on the bus to any devices connected downstream. Downstream
masters such as hub masters, etc... cannot initiate a command.
I think what Joel meant there was that we have it per *GPIO* master; if
there are two GPIO masters on a system, there's no need to provide
mutual exclusion to each (separate) set of GPIOs.

To implement this, we'd just move the lock into struct fsi_master_gpio.

Hi Jeremy,

Understand now -will make the change.

Thanks
-Chris

Cheers,


Jeremy