From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 31 Jul 2019 19:02:05 +0200 Subject: [U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal In-Reply-To: References: <20190714195732.31232-1-agust@denx.de> <20190731180150.3927cd20@crub> Message-ID: <20190731190205.46b384b4@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, On Wed, 31 Jul 2019 10:29:50 -0600 Simon Glass sjg at chromium.org wrote: ... >> But I'm not sure if this it the correct approach. What do you think? > > That doesn't look right to me. Power supplies should be removed before > being unbound, just like any other device. OK, I tried to remove the associated power domain device explicitly and this seems to work, at least with sandbox power domain driver. Will rework the patch and resend. Thanks! -- Anatolij