diff mbox

arm64: dts: renesas: salvator-xs: Add VC6 clock generator

Message ID 20170713110653.7606-1-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
State Accepted
Delegated to: Simon Horman
Headers show

Commit Message

Laurent Pinchart July 13, 2017, 11:06 a.m. UTC
The VC6 is an I2C-controlled programmable clock generator, used on the
board to provide a display dot clock. Add it to DT.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Geert Uytterhoeven July 13, 2017, 11:19 a.m. UTC | #1
On Thu, Jul 13, 2017 at 1:06 PM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> The VC6 is an I2C-controlled programmable clock generator, used on the
> board to provide a display dot clock. Add it to DT.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Simon Horman July 14, 2017, 7:29 a.m. UTC | #2
On Thu, Jul 13, 2017 at 01:19:12PM +0200, Geert Uytterhoeven wrote:
> On Thu, Jul 13, 2017 at 1:06 PM, Laurent Pinchart
> <laurent.pinchart+renesas@ideasonboard.com> wrote:
> > The VC6 is an I2C-controlled programmable clock generator, used on the
> > board to provide a display dot clock. Add it to DT.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks, applied for v4.14.
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
index 81227e3c2c6f..bf4d200fb546 100644
--- a/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
@@ -18,3 +18,13 @@ 
 &extal_clk {
 	clock-frequency = <16640000>;
 };
+
+&i2c4 {
+	versaclock6: clock-generator@6a {
+		compatible = "idt,5p49v6901";
+		reg = <0x6a>;
+		#clock-cells = <1>;
+		clocks = <&x23_clk>;
+		clock-names = "xin";
+	};
+};