From patchwork Mon Nov 3 21:59:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 5220241 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6ECC39F349 for ; Mon, 3 Nov 2014 22:01:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9654120136 for ; Mon, 3 Nov 2014 22:01:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C286B2012F for ; Mon, 3 Nov 2014 22:01:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753984AbaKCWAv (ORCPT ); Mon, 3 Nov 2014 17:00:51 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:54486 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753947AbaKCV7x (ORCPT ); Mon, 3 Nov 2014 16:59:53 -0500 Received: by mail-la0-f41.google.com with SMTP id s18so5767485lam.0 for ; Mon, 03 Nov 2014 13:59:50 -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=1seZJj9uEWQD8pL7mEDJQHg9vH8Pn8bm1FYa8aZsqcQ=; b=AwTaue40V2P+PmhKcg6bWgyfqZNUNX2WbtQvZrs5z6blzJqM0Pf6J6cRLIk8/xLqUi blS4B9SmWwfTvEY6rptKUZRLQrg4hQP6QF2mSUI5RVfhkLJeB3qKHmYu5/16OMl0PAY+ PqXmcUDf4HgvfBorYO/4svGsekeToWF4nBNjUW01yP/aRKwaoULJDfoQ/7F9g7h+qSlQ gaoIMDhC6o5hlHQEU586UrHbxKDyjMcaWqb6GTJV/B24Rz2b2agryNxoMOrH9xeTp4aF KCoK16fEnNId2bPaMdwRvXr35kHbqezLP3vGU4GHOh/3fZpJ5gOEDnXWa5Vhfz3Ajg+A A8Kg== X-Received: by 10.152.28.227 with SMTP id e3mr31453236lah.54.1415051990864; Mon, 03 Nov 2014 13:59:50 -0800 (PST) Received: from nb.lan (ip-85.163.250.93.o2inet.sk. [85.163.250.93]) by mx.google.com with ESMTPSA id nb7sm8413456lbb.43.2014.11.03.13.59.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 13:59:50 -0800 (PST) From: Marek Belisko To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, bcousson@baylibre.com, tony@atomide.com, linux@arm.linux.org.uk, tomi.valkeinen@ti.com, plagnioj@jcrosoft.com, grant.likely@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, hns@goldelico.com, Marek Belisko Subject: [PATCH 3/4] arm: dts: omap3-gta04: Add handling for tv output Date: Mon, 3 Nov 2014 22:59:27 +0100 Message-Id: <1415051968-4878-4-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415051968-4878-1-git-send-email-marek@goldelico.com> References: <1415051968-4878-1-git-send-email-marek@goldelico.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add handling for gta04 tv out chain: venc -> opa362 -> svideo Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index fd34f91..e4d05f0 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -83,6 +83,41 @@ compatible = "usb-nop-xceiv"; reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; }; + + tv0: connector@1 { + compatible = "svideo-connector"; + label = "tv"; + + port { + tv_connector_in: endpoint { + remote-endpoint = <&opa_out>; + }; + }; + }; + + tv_amp: opa362 { + compatible = "ti,opa362"; + gpios = <&gpio1 23 0>; + + label = "opa362"; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + opa_in: endpoint@0 { + remote-endpoint = <&venc_out>; + }; + }; + + port@1 { + reg = <1>; + opa_out: endpoint@0 { + remote-endpoint = <&tv_connector_in>; + }; + }; + }; + }; }; &omap3_pmx_core { @@ -396,6 +431,19 @@ }; }; +&venc { + status = "okay"; + + vdda-supply = <&vdac>; + + port { + venc_out: endpoint { + remote-endpoint = <&opa_in>; + ti,channels = <2>; + }; + }; +}; + &gpmc { ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */