From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 00/12] introduce support for early platform drivers Date: Thu, 31 May 2018 07:16:45 -0700 Message-ID: <20180531141645.GM5705@atomide.com> References: <20180511162028.20616-1-brgl@bgdev.pl> <20180530194032.982.41562@harbor.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Rob Herring , Mark Rutland , Rich Felker , Michael Turquette , Sekhar Nori , Frank Rowand , "open list:GENERIC INCLUDE/ASM HEADER FILES" , Yoshinori Sato , Kevin Hilman , Bartosz Golaszewski , "Rafael J . Wysocki" , Magnus Damm , Andy Shevchenko , Jiri Slaby , devicetree , David Lechner , Arnd Bergmann , Marc Zyngier , Johan Hovold List-Id: devicetree@vger.kernel.org * Geert Uytterhoeven [180531 06:45]: > Yes, they should all be drivers. > > Assuming clocksources, clockevents, or primary interrupt controllers are > special, and thus forcing everyone to use OF_DECLARE for the whole > subsystem, doesn't fly everywhere. > > Clockevents and interrupt controllers can have a module clock. > All three can be part of a PM Domain, which requires a struct device to > be handled properly. I agree it sure would be nice to have all these as drivers. I believe SoC specific clockevent using SoC specific clocks is the reason why some clocks cannot currently be drivers. Regards, Tony