All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-renesas-soc@vger.kernel.org
Subject: [PATCH v5 2/6] arm64: dts: renesas: salvator-x: Add DU external dot clock sources
Date: Sun, 14 May 2017 02:16:14 +0300	[thread overview]
Message-ID: <20170513231618.1715-3-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <20170513231618.1715-1-laurent.pinchart+renesas@ideasonboard.com>

The DU1 and DU2 external dot clocks are fixed frequency clock generators
running at 33MHz, while the DU0 and DU3 external dot clocks are
generated by an I2C-controlled programmable clock generator.

All those clock generators are available on both the H3 and M3-W
Salvator-X boards. Add them to the salvator-x.dtsi file.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
Changes since v4:

- Split clocks to a new patch
- Merged the two i2c4 blocks
---
 arch/arm64/boot/dts/renesas/salvator-x.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
index 551946bbbd9c..3fc60ba41229 100644
--- a/arch/arm64/boot/dts/renesas/salvator-x.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-x.dtsi
@@ -188,6 +188,25 @@
 		#clock-cells = <0>;
 		clock-frequency = <24576000>;
 	};
+
+	/* External DU dot clocks */
+	x21_clk: x21-clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <33000000>;
+	};
+
+	x22_clk: x22-clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <33000000>;
+	};
+
+	x23_clk: x23-clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <25000000>;
+	};
 };
 
 &audio_clk_a {
@@ -296,6 +315,14 @@
 &i2c4 {
 	status = "okay";
 
+	versaclock5: clock-generator@6a {
+		compatible = "idt,5p49v5923";
+		reg = <0x6a>;
+		#clock-cells = <1>;
+		clocks = <&x23_clk>;
+		clock-names = "xin";
+	};
+
 	csa_vdd: adc@7c {
 		compatible = "maxim,max9611";
 		reg = <0x7c>;
-- 
Regards,

Laurent Pinchart

  parent reply	other threads:[~2017-05-13 23:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 23:16 [PATCH v5 0/6] R-Car H3 HDMI output DT integration Laurent Pinchart
2017-05-13 23:16 ` [PATCH v5 1/6] arm64: dts: renesas: r8a7795: Add HDMI encoder support Laurent Pinchart
2017-05-14  9:49   ` Geert Uytterhoeven
2017-05-13 23:16 ` Laurent Pinchart [this message]
2017-05-14  9:57   ` [PATCH v5 2/6] arm64: dts: renesas: salvator-x: Add DU external dot clock sources Geert Uytterhoeven
2017-05-13 23:16 ` [PATCH v5 3/6] arm64: dts: renesas: salvator-x: Add HDMI output connectors Laurent Pinchart
2017-05-14  9:59   ` Geert Uytterhoeven
2017-05-13 23:16 ` [PATCH v5 4/6] arm64: dts: renesas: r8a7795-salvator-x: Add DU external dot clocks Laurent Pinchart
2017-05-14 10:01   ` Geert Uytterhoeven
2017-05-13 23:16 ` [PATCH v5 5/6] arm64: dts: renesas: r8a7795-salvator-x: Enable HDMI outputs Laurent Pinchart
2017-05-14 10:01   ` Geert Uytterhoeven
2017-05-13 23:16 ` [PATCH v5 6/6] ARM: shmobile: dts: Switch to panel-lvds bindings for Mitsubishi panels Laurent Pinchart
2017-05-14 10:03   ` Geert Uytterhoeven
2017-05-15  6:52 ` [PATCH v5 0/6] R-Car H3 HDMI output DT integration Simon Horman
2017-05-15  6:53   ` 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=20170513231618.1715-3-laurent.pinchart+renesas@ideasonboard.com \
    --to=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-renesas-soc@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.