* [PATCH] ARM: dts: lager: Add CEC clock for HDMI transmitter
@ 2018-01-09 16:49 Niklas Söderlund
2018-01-11 15:51 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Niklas Söderlund @ 2018-01-09 16:49 UTC (permalink / raw)
To: Simon Horman, linux-renesas-soc, devicetree, Hans Verkuil
Cc: Niklas Söderlund
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(+)
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";
--
2.15.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: lager: Add CEC clock for HDMI transmitter
2018-01-09 16:49 [PATCH] ARM: dts: lager: Add CEC clock for HDMI transmitter Niklas Söderlund
@ 2018-01-11 15:51 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2018-01-11 15:51 UTC (permalink / raw)
To: Niklas Söderlund; +Cc: linux-renesas-soc, devicetree, Hans Verkuil
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-11 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09 16:49 [PATCH] ARM: dts: lager: Add CEC clock for HDMI transmitter Niklas Söderlund
2018-01-11 15:51 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).