On 10:43-20190312, Rob Herring wrote: > On Sat, Feb 23, 2019 at 03:02:29PM +0530, Lokesh Vutla wrote: > > TISCI protocol supports for enabling the device with exclusive > > permissions. Certain remoteproc devices or some shared devices > > across VM doesn't wants to request devices with this flag set. > > The wording here is weird. You want to add exclusive support, but you > are talking about devices which don't want exclusive support. > > > So add support for getting this information from DT by increasing > > the power-domain cells to 2. > > Seems like this would be racy. Whomever wants exclusive access would > have to be the first to request a device. Seems like whether devices are > able to be shared or not would be known because generally h/w has to be > designed for that. Rob, I wonder if it is better to represent this as exclusive power domain or shared power domain - because that is what the firmware in effect makes OS think the hardware is? Two power domain nodes in dts, instead of introducing property as part of cells? Device may belong to a shared domain or an exclusive domain depending on the SoC variations. -- Regards, Nishanth Menon