From patchwork Fri Nov 11 17:07:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 9423293 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 856FF601C0 for ; Fri, 11 Nov 2016 17:08:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7155A29B7F for ; Fri, 11 Nov 2016 17:08:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 664C029BA7; Fri, 11 Nov 2016 17:08:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17F7429B7F for ; Fri, 11 Nov 2016 17:08:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934500AbcKKRIP (ORCPT ); Fri, 11 Nov 2016 12:08:15 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35253 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934392AbcKKRIP (ORCPT ); Fri, 11 Nov 2016 12:08:15 -0500 Received: by mail-wm0-f65.google.com with SMTP id a20so10775725wme.2 for ; Fri, 11 Nov 2016 09:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=3r+6YCEtHIcccTil8F4JcAlnAWPQNAWuJc5fpgk9hIE=; b=HFVkRg9N8b4MUq97SSDkjFC/WAEY459cSWXUDWkXhcCA5AmT0+1ytRXwpoMPBY08qt HxsDqKunoAL6RIGL44yrOY08U60+rYRRuq7WpFSnspTkXvVKcFmisM5Fm916m9+EJjyV Ql3oGFFr7SlK0IaLVs/gB+cnA5kfdRooLGE9rfMFArKXGFD60Drbb21R4YX++JsNmTij syErDNUsz0R5i0bjchKGDThsRzIPKdx9RZ/B08jtW+c5PNZNmD0BloRST+KSlBPzBceQ JaYr3T4UxAevt5kkVm5Fgv7pN5UYW6hptxdnDD95w7p1r5eMOClU475v+re9KDTzpf0T EcKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=3r+6YCEtHIcccTil8F4JcAlnAWPQNAWuJc5fpgk9hIE=; b=mHn4DerxcsoHwqAyQxiawdhI/jW4fpf97oolDURorWhAWxuGmQ8zXnaZ2FXF5zKRBn 1swV4LD8Uouq/Qu3GG483GsiQ/yUC6WC1PwOAufAIQ8Ku+v+WDwArLanwNlRKA3STA3/ j1tUYJZANzxewulxL1JbIvqJzqWe59d3j+JoKJoYv+CqVBXWz4WTiiv9O/1hipfofuTf zT+z7tsVPnGLvAL6+tJqb1d79yYJ6XKK1BKnlv28wGegHw3ni8RrB8ebEITkVp2IXsSX wXd2vCT7uM8RsaIh/DrqWWzBaWo8E8tgFywPNeDLYUyO83zE1oJJxR2b+m6LmBtKY40c 5rag== X-Gm-Message-State: ABUngvcM2kbDpSHR6S3JjqQf8MCACHGeh944lEVe4DgZkfPx8awchpyPZuCTHlCsiWfJNg== X-Received: by 10.28.168.136 with SMTP id r130mr13358133wme.19.1478884093712; Fri, 11 Nov 2016 09:08:13 -0800 (PST) Received: from groucho.site (ipb21bf290.dynamic.kabel-deutschland.de. [178.27.242.144]) by smtp.gmail.com with ESMTPSA id m1sm12486896wjk.22.2016.11.11.09.08.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Nov 2016 09:08:13 -0800 (PST) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org, laurent.pinchart@ideasonboard.com, dri-devel@lists.freedesktop.org Cc: kuninori.morimoto.gx@renesas.com, geert@linux-m68k.org, airlied@linux.ie, koji.matsuoka.xm@renesas.com, Ulrich Hecht Subject: [PATCH 08/10] arm64: dts: salvator-x: Add DU pins, HDMI connectors and encoder Date: Fri, 11 Nov 2016 18:07:44 +0100 Message-Id: <1478884066-1090-9-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478884066-1090-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1478884066-1090-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Koji Matsuoka Based on work by Koji Matsuoka. [geert: Re-add removed extal_clk] [geert: Modify existing du node instead of moving it around] [geert: Use generic pinctrl properties] Signed-off-by: Ulrich Hecht --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index b1eab68..3c783dd 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts @@ -178,6 +178,44 @@ }; }; }; + + hdmi0-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi0_con: endpoint { + remote-endpoint = <&rcar_dw_hdmi0_out>; + }; + }; + }; + + hdmi1-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi1_con: endpoint { + remote-endpoint = <&rcar_dw_hdmi1_out>; + }; + }; + }; +}; + +&programmable_clk0 { + clock-frequency = <148500000>; +}; + +&x21_clk { + clock-frequency = <33000000>; +}; + +&x22_clk { + clock-frequency = <33000000>; +}; + +&programmable_clk1 { + clock-frequency = <108000000>; }; &du { @@ -191,6 +229,58 @@ remote-endpoint = <&adv7123_in>; }; }; + port@1 { + endpoint { + remote-endpoint = <&rcar_dw_hdmi0_in>; + }; + }; + port@2 { + endpoint { + remote-endpoint = <&rcar_dw_hdmi1_in>; + }; + }; + }; +}; + +&hdmi0 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + rcar_dw_hdmi0_in: endpoint { + remote-endpoint = <&du_out_hdmi0>; + }; + }; + port@1 { + reg = <1>; + rcar_dw_hdmi0_out: endpoint { + remote-endpoint = <&hdmi0_con>; + }; + }; + }; +}; + +&hdmi1 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + rcar_dw_hdmi1_in: endpoint { + remote-endpoint = <&du_out_hdmi1>; + }; + }; + port@1 { + reg = <1>; + rcar_dw_hdmi1_out: endpoint { + remote-endpoint = <&hdmi1_con>; + }; + }; }; }; @@ -269,6 +359,11 @@ groups = "usb2"; function = "usb2"; }; + + du_pins: du { + groups = "du_rgb888", "du_sync", "du_clk_out_0", "du_disp"; + function = "du"; + }; }; &scif1 {