From: horms@verge.net.au (Simon Horman) Date: Wed, 26 Feb 2014 17:56:45 +0900 Subject: [PATCH v3 15/20] ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU In-Reply-To: References: <1393400016-23433-1-git-send-email-horms+renesas@verge.net.au> <1393400016-23433-16-git-send-email-horms+renesas@verge.net.au> Message-ID: <20140226085645.GB7720@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Feb 26, 2014 at 09:29:52AM +0100, Geert Uytterhoeven wrote: > On Wed, Feb 26, 2014 at 8:33 AM, Simon Horman > wrote: > > Now that the common clock framework is supported, the clock lookup > > entries in clock-r8a7779.c are not registered anymore. Devices must > > instead reference their clocks in the device tree. However, SCIF and CMT > > devices are still instantiated through platform code, and thus need a > > clock lookup entry. > > > > Retrieve the SCIF and CMT clock entries by name and register clkdevs for > > the corresponding devices. This will be removed when the SCIF and CMT > > devices will be instantiated from the device tree. > > > > Based on work for the Koelsch board by Laurent Pinchart. > > Would be nice to do this on top of Magnu's shmobile_clk_workaround(). Yes, I plan to either do so. Either by updating this patch or providing an incremental change.