diff mbox

ARM: dts: lager: Add CEC clock for HDMI transmitter

Message ID 20180109164904.24523-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State Accepted
Commit c5aa87977626e778e1ee3bd03b14a300d9338a3a
Delegated to: Simon Horman
Headers show

Commit Message

Niklas Söderlund Jan. 9, 2018, 4:49 p.m. UTC
The adv7511 on the Lager board has a 12 MHz fixed clock
for the CEC block. Specify this in the dts to enable CEC support.

Based on a similar patch for Koelsch by Hans Verkuil.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Simon Horman Jan. 11, 2018, 3:51 p.m. UTC | #1
On Tue, Jan 09, 2018 at 05:49:04PM +0100, Niklas Söderlund wrote:
> The adv7511 on the Lager board has a 12 MHz fixed clock
> for the CEC block. Specify this in the dts to enable CEC support.
> 
> Based on a similar patch for Koelsch by Hans Verkuil.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks, applied.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index e3d27783b6b56b42..b8bbaa87a5ab7c99 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -670,11 +670,19 @@ 
 		};
 	};
 
+	cec_clock: cec-clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <12000000>;
+	};
+
 	hdmi@39 {
 		compatible = "adi,adv7511w";
 		reg = <0x39>;
 		interrupt-parent = <&gpio1>;
 		interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
+		clocks = <&cec_clock>;
+		clock-names = "cec";
 
 		adi,input-depth = <8>;
 		adi,input-colorspace = "rgb";