[...]
- /* Propagate only if this domain has a single parent */
Why? This limitation should be explained in the cover letter and changelog. I would also expect some sort of WARN here since this could otherwise be a rather silent failures.
I think this limitation can just be removed, but I am confused a bit.
I thought that support for multiple parent domains isn't yet there, isn't it? And that few people are trying to add it in kernel and the stuff is still under review. Like this thread:
A genpd PM domain can have several parents (or to use the genpd terminology, masters).
This is different from allowing a device to be attached to more than one PM domains, which is what I think you are referring to. That isn't supported.
https://lkml.org/lkml/2016/11/22/792
-- viresh
Kind regards Uffe