Thread (9 messages) 9 messages, 4 authors, 2014-03-19

Re: [PATCH v6 1/4] [media] exynos-scaler: Add DT bindings for SCALER driver

flat view

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2014-03-19 11:59:56
Also in: linux-arm-kernel, linux-media, linux-samsung-soc

Hi Sylwester,

On Wednesday 19 March 2014 12:55:21 Sylwester Nawrocki wrote:
On 19/03/14 12:31, Laurent Pinchart wrote:
quoted
quoted
+++ b/Documentation/devicetree/bindings/media/exynos5-scaler.txt
quoted
@@ -0,0 +1,24 @@
+* Samsung Exynos5 SCALER device
+
+SCALER is used for scaling, blending, color fill and color space
+conversion on EXYNOS[5420/5410] SoCs.
+
+Required properties:
+- compatible: should be "samsung,exynos5420-scaler" or
+			"samsung,exynos5410-scaler"
+- reg: should contain SCALER physical address location and length
+- interrupts: should contain SCALER interrupt specifier
+- clocks: should contain the SCALER clock phandle and specifier pair
for
+		each clock listed in clock-names property, according to
+		the common clock bindings
+- clock-names: should contain exactly one entry
+		- "scaler" - IP bus clock
I'm not too familiar with the Exynos platform, but wouldn't it make sense
to use a common name across IP cores for interface and function clocks ?
Certainly it would, I proposed that when the exynos clock controller
driver was posted, quite long time ago. Unfortunately it wasn't followed
up. One of serious reasons was that there are common drivers for
multiple Samsung platforms (also the ones not reworked to support dt) and
thus changing the clock names would be problematic - driver would still
need to handle multiple clock names.
But for this driver a common name like "gate" could be better IMHO.
OMAP uses "ick" for the interface clock and "fck" for the function clock. Do 
you think it would make sense to standardize on "fck" across SoC families ?

-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help