lkml.org 
[lkml]   [2019]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 6/6] dt-bindings: clk: realtek: add rtd1619 clock controller bindings
Date
From: cylee12 <cylee12@realtek.com>

Signed-off-by: Cheng-Yu Lee <cylee12@realtek.com>
Signed-off-by: James Tai <james.tai@realtek.com>
---
.../bindings/clock/realtek,clocks.txt | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/realtek,clocks.txt

diff --git a/Documentation/devicetree/bindings/clock/realtek,clocks.txt b/Documentation/devicetree/bindings/clock/realtek,clocks.txt
new file mode 100644
index 000000000000..db101508ac6a
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/realtek,clocks.txt
@@ -0,0 +1,38 @@
+Realtek Clock/Reset Controller
+==============================
+
+Realtek CRT/ISO controller device-tree binding for Realtek Platforms.
+
+This binding uses the common clock binding[1].
+
+The controller node should be the child of a syscon node with the required
+propertise:
+
+- compatible :
+ should contain only one of the following:
+ "realtek,rtd1619-cc" for RTD1619 CRT clock controller,
+ "realtek,rtd1619-ic" for RTD1619 ISO clock controller,
+
+- #clock-cells : should be 1.
+
+- #reset-cells : should be 1.
+
+[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Example:
+
+ crt@98000000 {
+ compatible = "realtek,rtd1619-crt", "simple-mfd", "syscon";
+ reg = <0x98000000 0x1000>;
+
+ cc: cc@98000000 {
+ compatible = "realtek,rtd1619-cc";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
+ };
+
+ consumer {
+ clocks = <&cc CC_CKE_GSPI>;
+ };
+
--
2.24.0
\
 
 \ /
  Last update: 2019-12-03 08:46    [W:0.081 / U:0.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site