* [PATCH] r8a7791-koelsch.dts: add HDMI input
@ 2016-04-18 9:38 Hans Verkuil
2016-04-20 16:24 ` Ulrich Hecht
0 siblings, 1 reply; 2+ messages in thread
From: Hans Verkuil @ 2016-04-18 9:38 UTC (permalink / raw)
To: Linux Media Mailing List, Ulrich Hecht, Niklas Söderlund,
Magnus Damm
Add support in the dts for the HDMI input. Based on the Lager dts
patch from Ultich Hecht.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
---
Ulrich, can you add this patch to your r-car HDMI patch series?
Thanks!
Hans
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 41 +++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 0ad71b8..e4c2ec83 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -394,6 +394,11 @@
renesas,function = "usb1";
};
+ vin0_pins: vin0 {
+ renesas,groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
+ renesas,function = "vin0";
+ };
+
vin1_pins: vin1 {
renesas,groups = "vin1_data8", "vin1_clk";
renesas,function = "vin1";
@@ -552,6 +557,21 @@
reg = <0x12>;
};
+ hdmi-in@4c {
+ compatible = "adi,adv7612";
+ reg = <0x4c>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
+ remote = <&vin0>;
+ default-input = <0>;
+
+ port {
+ adv7612: endpoint {
+ remote-endpoint = <&vin0ep>;
+ };
+ };
+ };
+
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
@@ -672,6 +692,27 @@
cpu0-supply = <&vdd_dvfs>;
};
+/* HDMI video input */
+&vin0 {
+ status = "okay";
+ pinctrl-0 = <&vin0_pins>;
+ pinctrl-names = "default";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vin0ep: endpoint {
+ remote-endpoint = <&adv7612>;
+ bus-width = <24>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ pclk-sample = <1>;
+ data-active = <1>;
+ };
+ };
+};
+
/* composite video input */
&vin1 {
status = "okay";
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] r8a7791-koelsch.dts: add HDMI input
2016-04-18 9:38 [PATCH] r8a7791-koelsch.dts: add HDMI input Hans Verkuil
@ 2016-04-20 16:24 ` Ulrich Hecht
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Hecht @ 2016-04-20 16:24 UTC (permalink / raw)
To: Hans Verkuil; +Cc: Linux Media Mailing List, Niklas Söderlund, Magnus Damm
On Mon, Apr 18, 2016 at 11:38 AM, Hans Verkuil <hverkuil@xs4all.nl> wrote:
> Add support in the dts for the HDMI input. Based on the Lager dts
> patch from Ultich Hecht.
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> ---
> Ulrich, can you add this patch to your r-car HDMI patch series?
Can do.
CU
Uli
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-20 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-18 9:38 [PATCH] r8a7791-koelsch.dts: add HDMI input Hans Verkuil
2016-04-20 16:24 ` Ulrich Hecht
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).