From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Mon, 25 Aug 2014 14:12:30 +0200 Subject: [PATCH 4/4] simplefb: add clock handling code In-Reply-To: <20140813170106.GT15297@lukather> References: <1407914239-12054-1-git-send-email-libv@skynet.be> <1407914239-12054-5-git-send-email-libv@skynet.be> <53EB9471.3090204@wwwdotorg.org> <20140813170106.GT15297@lukather> Message-ID: <20140825121228.GB4163@ulmo.nvidia.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Aug 13, 2014 at 07:01:06PM +0200, Maxime Ripard wrote: > On Wed, Aug 13, 2014 at 10:38:09AM -0600, Stephen Warren wrote: [...] > > If not, perhaps the clock driver should force the clock to be > > enabled (perhaps only if the DRM/KMS driver isn't enabled?). > > I'm sorry, but I'm not going to take any code that will do that in our > clock driver. > > I'm not going to have a huge list of ifdef depending on configuration > options to know which clock to enable, especially when clk_get should > have the consumer device as an argument. Are you saying is that you want to solve a platform-specific problem by pushing code into simple, generic drivers so that your platform code can stay "clean"? Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: