From: Benjamin Tietz Date: Thu, 28 Jul 2016 18:50:27 +0200 Subject: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock In-Reply-To: References: <20160620182505.21075.54136.stgit@obelix.dresden.micronet24.de> <20160620182636.21075.97627.stgit@obelix.dresden.micronet24.de> Message-ID: <20160728165027.GB2991@micronet24.de> 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 Tue, Jul 12, 2016 at 10:02:43AM -0600, Simon Glass wrote: > +Stephen > > Hi Benjamin, > > On 20 June 2016 at 12:26, Benjamin Tietz wrote: > > From: Benjamin Tietz > > > > Currently, clocks can be enabled, only. To be feature-complete - and allow > > a bit of power-saving in applications - disabling a clock should be > > possible, too. > > > > This extend the API of the DM clock driver to allow a clock to be disabled. > > > > The corresponding operation is optional for not breaking existing drivers. > > What does this mean? I can't see how it is optional. What was meant was: If a driver can't handling disabling of peripherals, the request will be ignored silently - I think, the expected behaviour. > > Also please can you rebase to mainline and resend, as the API has > changed (sorry). ... including a clk_disable. So at least this patch can be dropped. regards Benjamin