From patchwork Wed Nov 12 22:10:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 5292241 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1950EC11AC for ; Wed, 12 Nov 2014 22:13:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4ABB52020F for ; Wed, 12 Nov 2014 22:13:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76890201E4 for ; Wed, 12 Nov 2014 22:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753850AbaKLWNM (ORCPT ); Wed, 12 Nov 2014 17:13:12 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:38087 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753620AbaKLWLK (ORCPT ); Wed, 12 Nov 2014 17:11:10 -0500 Received: by mail-wi0-f174.google.com with SMTP id d1so6436915wiv.1 for ; Wed, 12 Nov 2014 14:11:08 -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=XOqtYijG6L1ec/VIIy4tARIrwa+zxQwkPRbCuCxykXE=; b=VXbSKu+5x8RHMPNPdX2pEAt8kpjYfgc+NiArIAP3VLodOJ/fON6q/FiFVaZZkoMVz0 3/wF0ZluiYGt3Bh89dcJm1PYi90fM07FdbBAAIvZqn+xrlxbpvxD/8aNM4iJqxZBZU1q M66RrX5MaQPWPem/4mLiM6Rqx+4FP62+nYJX/Q1QkNxxDxAZzvweG8mcfiC9XuX217Os pwWD31EPSvnyJtTJp5h1Hbs4/EcYXZkXyhIFegGD+mGw7YvOUN42xrmWxohmwBjnQkEP Eq7AnQUYUb5RJgIq8TJDIZ0BUft9Q5DiyoYbFiqOn6MMcy7irM0XijgkyWHeZhQE/gH0 DwGw== X-Received: by 10.180.94.102 with SMTP id db6mr54094627wib.67.1415830268854; Wed, 12 Nov 2014 14:11:08 -0800 (PST) Received: from nb.lan (ip-85.163.207.220.o2inet.sk. [85.163.207.220]) by mx.google.com with ESMTPSA id fi9sm23262410wib.6.2014.11.12.14.11.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Nov 2014 14:11:08 -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, gta04-owner@goldelico.com, Marek Belisko Subject: [PATCH v2 2/5] Documentation: DT: Add documentation for ti, opa362 bindings Date: Wed, 12 Nov 2014 23:10:44 +0100 Message-Id: <1415830247-31633-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415830247-31633-1-git-send-email-marek@goldelico.com> References: <1415830247-31633-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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Marek Belisko --- .../devicetree/bindings/video/ti,opa362.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti,opa362.txt b/Documentation/devicetree/bindings/video/ti,opa362.txt new file mode 100644 index 0000000..4747ef9 --- /dev/null +++ b/Documentation/devicetree/bindings/video/ti,opa362.txt @@ -0,0 +1,38 @@ +OPA362 analog video amplifier + +Required properties: +- compatible: "ti,opa362" +- gpio: enable/disable output gpio + +Required node: +- Video port 0 for opa362 input +- Video port 1 for opa362 output + +Example: + +tv_amp: opa362 { + compatible = "ti,opa362"; + gpios = <&gpio1 23 0>; /* GPIO to enable video out amplifier */ + + 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>; + }; + }; + }; +}; + + +