From patchwork Fri May 19 13:07:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 9737181 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 5271B601C2 for ; Fri, 19 May 2017 13:07:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C66E28731 for ; Fri, 19 May 2017 13:07:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 413C228804; Fri, 19 May 2017 13:07:25 +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 E2F8928731 for ; Fri, 19 May 2017 13:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755408AbdESNHY (ORCPT ); Fri, 19 May 2017 09:07:24 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36658 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755217AbdESNHT (ORCPT ); Fri, 19 May 2017 09:07:19 -0400 Received: by mail-wr0-f193.google.com with SMTP id v42so2942264wrc.3; Fri, 19 May 2017 06:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=rmjwGOJARVGptgrPlq6fVlNCVhBqsx1BtvTcpWIMmXE=; b=bj9to9+2+fmFZ3IrF61LIAT/rA6ge6lzpAuMJpDzB+8UsBRtFMm7AC/vTQVOSkFLxr nwOtKj9MzRyUhoaDYOyoIjOulbKy5bIpt+exBYLnEAqKPFXwitrMvkn3ZlYMF2kcSPHw JUVCPX9m9eqiPvDybwGcvVK++kzeVqKceWR+Xih6TPdx4J6pIzXmP1bGtOzUXiTi9KlF BRpJqYab3A932z85JNUUzMX8BCQYACBO9coel18JVI4ltNp2r6n5NGldhdLA3iLMugq8 AIHCKX6l63fvvLLprmsaaN+sFEaP9CCUWX5VdFG/iNtR4Kxiptb0tK52RHfGqBCHT55l nUVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=rmjwGOJARVGptgrPlq6fVlNCVhBqsx1BtvTcpWIMmXE=; b=J/7RFDocz5SjqpXQEmz9G0XqFNKYktBIvmJmrXUZw2A33wF/GQ2t9nnwfPFkFsGq36 pG5cBiS9VMvCGSbjuRuU0kAzbFunE6YRKD6sONUVG0gh+mNkyjFQ3TEaxMBq7RmAGa0V caHBMPNyytV2ygB89PotcHo1j/88lh0UE2zFeC7QDKKpOA+qPpqWzMQgSRlTjb4K5omI ZGoq41K7hRkis9ie0ryzzcYa0XWLs15eNWALlUp5OQCn+pzvSKOgktniDROtRtnwpB7y NMGGDVJm62JH9sTxiaBYVe/THZvJgI/3itsrl0g6iKsYM0oo38MW8Oit3CbdRSSfBbv5 LboQ== X-Gm-Message-State: AODbwcCLewKURsvG08DUQpzYEYC+3TMnRL+mqxk5AB+BhPv90Op8j/V6 HiNTtZWqhz/MwA== X-Received: by 10.223.176.184 with SMTP id i53mr3038826wra.53.1495199237298; Fri, 19 May 2017 06:07:17 -0700 (PDT) Received: from groucho.site (ipbcc0294b.dynamic.kabel-deutschland.de. [188.192.41.75]) by smtp.gmail.com with ESMTPSA id v27sm2158300wra.19.2017.05.19.06.07.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 May 2017 06:07:16 -0700 (PDT) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org, laurent.pinchart@ideasonboard.com Cc: linux-media@vger.kernel.org, geert@linux-m68k.org, magnus.damm@gmail.com, hans.verkuil@cisco.com, niklas.soderlund@ragnatech.se, sergei.shtylyov@cogentembedded.com, horms@verge.net.au, devicetree@vger.kernel.org, Ulrich Hecht Subject: [PATCH v3 4/4] ARM: dts: gose: add composite video input Date: Fri, 19 May 2017 15:07:04 +0200 Message-Id: <1495199224-16337-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495199224-16337-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1495199224-16337-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 Adds VIN, decoder and connector. Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7793-gose.dts | 59 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index 30f0835..76e3aca 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -275,6 +275,16 @@ }; }; + composite-in { + compatible = "composite-video-connector"; + + port { + composite_con_in: endpoint { + remote-endpoint = <&adv7180_in>; + }; + }; + }; + x2_clk: x2-clock { compatible = "fixed-clock"; #clock-cells = <0>; @@ -411,6 +421,11 @@ groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk"; function = "vin0"; }; + + vin1_pins: vin1 { + groups = "vin1_data8", "vin1_clk"; + function = "vin1"; + }; }; ðer { @@ -542,6 +557,32 @@ reg = <0x12>; }; + composite-in@20 { + compatible = "adi,adv7180cp"; + reg = <0x20>; + remote = <&vin1>; + + port { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7180_in: endpoint { + remote-endpoint = <&composite_con_in>; + }; + }; + + port@3 { + reg = <3>; + adv7180_out: endpoint { + bus-width = <8>; + remote-endpoint = <&vin1ep>; + }; + }; + }; + }; + hdmi@39 { compatible = "adi,adv7511w"; reg = <0x39>; @@ -670,3 +711,21 @@ }; }; }; + +/* composite video input */ +&vin1 { + pinctrl-0 = <&vin1_pins>; + pinctrl-names = "default"; + + status = "okay"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + vin1ep: endpoint { + remote-endpoint = <&adv7180_out>; + bus-width = <8>; + }; + }; +};