Thread (46 messages) 46 messages, 6 authors, 2017-05-03

[linux-sunxi] [PATCH 5/15] clk: sunxi-ng: sun5i: Export video PLLs

From: Maxime Ripard <hidden>
Date: 2017-03-08 09:59:49
Also in: dri-devel, linux-clk, linux-devicetree, lkml

Hi Julian,

On Tue, Mar 07, 2017 at 09:21:19PM +1100, Julian Calaby wrote:
Hi Maxime,

On Tue, Mar 7, 2017 at 7:56 PM, Maxime Ripard
[off-list ref] wrote:
quoted
The video PLLs are used directly by the HDMI controller. Export them so
that we can use them in our DT node.

Signed-off-by: Maxime Ripard <redacted>
---
 drivers/clk/sunxi-ng/ccu-sun5i.h      | 6 ++++--
 include/dt-bindings/clock/sun5i-ccu.h | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun5i.h b/drivers/clk/sunxi-ng/ccu-sun5i.h
index 8144487eb7ca..16f7aa92957e 100644
--- a/drivers/clk/sunxi-ng/ccu-sun5i.h
+++ b/drivers/clk/sunxi-ng/ccu-sun5i.h
@@ -28,15 +28,17 @@
 #define CLK_PLL_AUDIO_4X       6
 #define CLK_PLL_AUDIO_8X       7
 #define CLK_PLL_VIDEO0         8
-#define CLK_PLL_VIDEO0_2X      9
+
+/* The PLL_VIDEO0_2X is exported for HDMI */
+
 #define CLK_PLL_VE             10
 #define CLK_PLL_DDR_BASE       11
 #define CLK_PLL_DDR            12
 #define CLK_PLL_DDR_OTHER      13
 #define CLK_PLL_PERIPH         14
 #define CLK_PLL_VIDEO1         15
-#define CLK_PLL_VIDEO1_2X      16

+/* The PLL_VIDEO0_2X is exported for HDMI */
PLL_VIDEO*1*_2X, right?
Good catch, I'll fix it. Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170308/6b7e1e5a/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help