Thread (11 messages) flat view 11 messages, 4 authors, 2013-08-29
STALE4748d

[PATCH v3 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

From: Rahul Sharma <hidden>
Date: 2013-08-27 04:44:01
Also in: linux-samsung-soc

On 27 August 2013 05:16, Tomasz Figa [off-list ref] wrote:
Hi Rahul,

On Monday 26 of August 2013 14:43:02 Rahul Sharma wrote:
quoted
hdmi driver needs to change the parent of hdmi clock
to pixel clock or hdmiphy clock, based on the stability
of hdmiphy. This patch is exposing the mux for changing
the parent.

Signed-off-by: Rahul Sharma <redacted>
---
 Documentation/devicetree/bindings/clock/exynos5420-clock.txt |    5
+++++ drivers/clk/samsung/clk-exynos5420.c                         |
5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git
a/Documentation/devicetree/bindings/clock/exynos5420-clock.txt
b/Documentation/devicetree/bindings/clock/exynos5420-clock.txt index
5758a69..6f16aa8 100644
--- a/Documentation/devicetree/bindings/clock/exynos5420-clock.txt
+++ b/Documentation/devicetree/bindings/clock/exynos5420-clock.txt
@@ -182,6 +182,11 @@ clock which they consume.
   g3d                        501
   smmu_mixer         502

+  Mux                        ID
+  ----------------------------
+
+  mout_hdmi          1024
Is there a need for such big hole between smm_mixer and this clock? I
believe that based on the documentation, the total amount of clocks that
can be defined may be approximated and some extra margin added, so you
don't waste so much of numbering space and memory used for lookup array.
Total number of Gates are coming upto the enum value 540. I can leave gap
of 64 in between for first mux. Similarly, total muxes in system are 118.
Optimum gab would be between 128~150. What you say about these
values?

regards,
Rahul Sharma.
Best regards,
Tomasz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help