From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 16 Feb 2020 20:24:38 +0100 Subject: [PATCH] power-domain: fix hang in endless loop on i.MX8 In-Reply-To: References: <20200215113443.6866-1-agust@denx.de> Message-ID: <20200216202438.2d6e30d1@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, Peng, On Sun, 16 Feb 2020 12:02:55 -0700 Simon Glass sjg at chromium.org wrote: ... > > drivers/power/domain/power-domain-uclass.c | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > Can we have a sandbox test for this case? I didn't check if there are more platforms with such parent & child power domain devices in U-Boot. If there are some, then it makes sense to add a test. But for this i.MX8 case we will probably switch to another power domain bindings and driver like in Linux (we have to sync i.MX8 device trees with current Linux implementation which is different and it doesn't have such parent/child PD devices). The current i.MX8 PD U-Boot implementation seems wrong anyway, here the parent power domain devices for dma, connectivity or lsio domains actually do not control power switching, so there is no need to have such parent&child PD devices on i.MX8. @Peng: what do you think? -- Anatolij