From mboxrd@z Thu Jan 1 00:00:00 1970 From: t-kristo@ti.com (Tero Kristo) Date: Mon, 4 Aug 2014 15:36:19 +0300 Subject: [PATCH 0/1] ARM: OMAP: add external clock provider support In-Reply-To: <53DF7094.7050601@ti.com> References: <1406898948-26113-1-git-send-email-t-kristo@ti.com> <53DF7094.7050601@ti.com> Message-ID: <53DF7E43.2060907@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08/04/2014 02:37 PM, Peter Ujfalusi wrote: > On 08/01/2014 04:15 PM, Tero Kristo wrote: >> Hi, >> >> This patch adds possibility to register external clocks (outside the main >> SoC) on TI boards through device tree. Clock sources as such include for >> example twl-6030 / twl-6040 chips and variants which can be used to clock >> for example audio / WLAN chips. > > Just one question to Mike and Tero: > would it be possible to have generic binding for such an external clocks? > We have the palmas clock driver already upstream which handles the 32K clocks > from the PMIC. Palmas class of PMICs can be used with TI/nVidia(/Intel?) > platforms. We use Palmas on omap5-uevm, DRA7-EVM also uses Palmas compatible > PMIC and some nVidia platform also uses this class of devices (and they all > need to have control over the 32K clock(s)). Other platforms initialize their clocks in different manner, they can use generic of_clk_init I believe. If they can't use that for some reason, then they need to implement something similar to this. -Tero > >> This patch can be queued once someone has a use-case + patches that requires >> usage of such clocks. >> >> -Tero >> > >