diff mbox series

[U-Boot,v5,13/18] dts: sandbox: Add 'osc' clock for Common Clock Framework [CCF] testing

Message ID 20190624135052.2699-14-lukma@denx.de
State Accepted
Commit 4ab8e783f33d80a3875e990f3069f21018379b36
Delegated to: Stefano Babic
Headers show
Series clk: Port Linux common clock framework [CCF] to U-boot (tag: v5.1.12) | expand

Commit Message

Lukasz Majewski June 24, 2019, 1:50 p.m. UTC
This patch adds the 'osc' fixed clock to facilitate the CCF testing in
the sandbox U-Boot. It is a starting point for building CCF hierarchy of
clocks.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None

 arch/sandbox/dts/test.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Stefano Babic July 20, 2019, 8:57 a.m. UTC | #1
> This patch adds the 'osc' fixed clock to facilitate the CCF testing in
> the sandbox U-Boot. It is a starting point for building CCF hierarchy of
> clocks.
> Signed-off-by: Lukasz Majewski <lukma@denx.de>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 8b2d6451c6..b56c980c9d 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -211,6 +211,12 @@ 
 			clock-mult = <2>;
 			clocks = <&clk_fixed>;
 		};
+
+		osc {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <20000000>;
+		};
 	};
 
 	clk_sandbox: clk-sbox {