From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?utf-8?q?St=C3=BCbner?= Subject: Re: [PATCH v6 01/16] clk: samsung: add common clock framework helper functions for Samsung platforms Date: Sun, 3 Mar 2013 02:08:49 +0100 Message-ID: <201303030208.49722.heiko@sntech.de> References: <1361175686-19400-1-git-send-email-thomas.abraham@linaro.org> <1361175686-19400-2-git-send-email-thomas.abraham@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1361175686-19400-2-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Thomas Abraham Cc: kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, sylvester.nawrocki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-samsung-soc@vger.kernel.org Hi, Am Montag, 18. Februar 2013, 09:21:11 schrieb Thomas Abraham: > All Samsung platforms include different types of clock including > fixed-rate, mux, divider and gate clock types. There are typically > hundreds of such clocks on each of the Samsung platforms. To enable > Samsung platforms to register these clocks using the common clock > framework, a bunch of utility functions are introduced here which simplify > the clock registration process. The clocks are usually statically > instantiated and registered with common clock framework. > > Cc: Mike Turquette > Cc: Kukjin Kim > Reviewed-by: Sylwester Nawrocki > Tested-by: Sylwester Nawrocki > Reviewed-by: Tomasz Figa > Tested-by: Tomasz Figa > Signed-off-by: Thomas Abraham I'm playing around with this on my s3c2416 platform and it works like a charm for the most part - and the system already comes sort of up again :-) . So, Tested-by: Heiko Stuebner But is there an easy way to define more than one alias? On the s3c2416 for example the hsmmc hclk is the "hsmmc" io-clock, as well as the source for the "mmc_busclk.0". Same for the "uart" pclk, that is also a baud clock source. Thanks Heiko From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?utf-8?q?St=C3=BCbner?=) Date: Sun, 3 Mar 2013 02:08:49 +0100 Subject: [PATCH v6 01/16] clk: samsung: add common clock framework helper functions for Samsung platforms In-Reply-To: <1361175686-19400-2-git-send-email-thomas.abraham@linaro.org> References: <1361175686-19400-1-git-send-email-thomas.abraham@linaro.org> <1361175686-19400-2-git-send-email-thomas.abraham@linaro.org> Message-ID: <201303030208.49722.heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, Am Montag, 18. Februar 2013, 09:21:11 schrieb Thomas Abraham: > All Samsung platforms include different types of clock including > fixed-rate, mux, divider and gate clock types. There are typically > hundreds of such clocks on each of the Samsung platforms. To enable > Samsung platforms to register these clocks using the common clock > framework, a bunch of utility functions are introduced here which simplify > the clock registration process. The clocks are usually statically > instantiated and registered with common clock framework. > > Cc: Mike Turquette > Cc: Kukjin Kim > Reviewed-by: Sylwester Nawrocki > Tested-by: Sylwester Nawrocki > Reviewed-by: Tomasz Figa > Tested-by: Tomasz Figa > Signed-off-by: Thomas Abraham I'm playing around with this on my s3c2416 platform and it works like a charm for the most part - and the system already comes sort of up again :-) . So, Tested-by: Heiko Stuebner But is there an easy way to define more than one alias? On the s3c2416 for example the hsmmc hclk is the "hsmmc" io-clock, as well as the source for the "mmc_busclk.0". Same for the "uart" pclk, that is also a baud clock source. Thanks Heiko