devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Simon Horman <horms@verge.net.au>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Chris Paterson <chris.paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>,
	devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: dts: iwg22d-sodimm-dbhd-ca: Add HDMI video output
Date: Tue, 07 Nov 2017 06:13:01 +0200	[thread overview]
Message-ID: <1683156.dTMPXyoQIO@avalon> (raw)
In-Reply-To: <1509992814-4543-3-git-send-email-fabrizio.castro@bp.renesas.com>

Hi Fabrizio,

Thank you for the patch.

On Monday, 6 November 2017 20:26:54 EET Fabrizio Castro wrote:
> This patch enables the HDMI interface found on the expansion board.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Reviewed-by: Biju Das <biju.das@bp.renesas.com>

Nothing strikes me as wrong, but I haven't checked the board's schematics, so

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  .../arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts | 85 +++++++++++++++++++
>  1 file changed, 85 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts
> b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts index
> f925388..a8a4ec8 100644
> --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts
> +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts
> @@ -20,6 +20,38 @@
>  		serial4 = &scif5;
>  		serial6 = &hscif2;
>  	};
> +
> +	cec_clock: cec-clock {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <12000000>;
> +	};
> +
> +	hdmi-out {
> +		compatible = "hdmi-connector";
> +		type = "a";
> +
> +		port {
> +			hdmi_con: endpoint {
> +				remote-endpoint = <&adv7511_out>;
> +			};
> +		};
> +	};
> +};
> +
> +&du {
> +	pinctrl-0 = <&du0_pins>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +
> +	ports {
> +		port@0 {
> +			endpoint {
> +				remote-endpoint = <&adv7511_in>;
> +			};
> +		};
> +	};
>  };
> 
>  &hscif2 {
> @@ -29,12 +61,65 @@
>  	status = "okay";
>  };
> 
> +&i2c1 {
> +	pinctrl-0 = <&i2c1_pins>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +	clock-frequency = <400000>;
> +
> +	hdmi@39 {
> +		compatible = "adi,adv7511w";
> +		reg = <0x39>;
> +		interrupt-parent = <&gpio1>;
> +		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> +		clocks = <&cec_clock>;
> +		clock-names = "cec";
> +		pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
> +
> +		adi,input-depth = <8>;
> +		adi,input-colorspace = "rgb";
> +		adi,input-clock = "1x";
> +		adi,input-style = <1>;
> +		adi,input-justification = "evenly";
> +
> +		ports {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +
> +			port@0 {
> +				reg = <0>;
> +				adv7511_in: endpoint {
> +					remote-endpoint = <&du_out_rgb0>;
> +				};
> +			};
> +
> +			port@1 {
> +				reg = <1>;
> +				adv7511_out: endpoint {
> +					remote-endpoint = <&hdmi_con>;
> +				};
> +			};
> +		};
> +	};
> +};
> +
>  &pfc {
> +	du0_pins: du0 {
> +		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
> +		function = "du0";
> +	};
> +
>  	hscif2_pins: hscif2 {
>  		groups = "hscif2_data";
>  		function = "hscif2";
>  	};
> 
> +	i2c1_pins: i2c1 {
> +		groups = "i2c1_d";
> +		function = "i2c1";
> +	};
> +
>  	scif1_pins: scif1 {
>  		groups = "scif1_data";
>  		function = "scif1";


-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2017-11-07  4:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06 18:26 [PATCH 0/2] Add HDMI support to iwg22d Fabrizio Castro
2017-11-06 18:26 ` [PATCH 1/2] ARM: dts: r8a7745: Add DU support Fabrizio Castro
2017-11-07  4:05   ` Laurent Pinchart
2017-11-08  4:48     ` Simon Horman
2017-11-09  9:31       ` Laurent Pinchart
2017-11-10  8:32         ` Simon Horman
2017-11-10  8:36           ` Simon Horman
     [not found] ` <1509992814-4543-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-11-06 18:26   ` [PATCH 2/2] ARM: dts: iwg22d-sodimm-dbhd-ca: Add HDMI video output Fabrizio Castro
2017-11-07  4:13     ` Laurent Pinchart [this message]
2017-11-10  8:35       ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683156.dTMPXyoQIO@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=biju.das@bp.renesas.com \
    --cc=chris.paterson2@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).