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

Jeremy Kerr jk at ozlabs.org
Wed May 10 18:58:16 PDT 2017


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.

Cheers,


Jeremy



More information about the linux-arm-kernel mailing list