From patchwork Sun Nov 30 13:07:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 5407941 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 98C3FBEEA8 for ; Sun, 30 Nov 2014 13:08:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C488720172 for ; Sun, 30 Nov 2014 13:08:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 94028200FE for ; Sun, 30 Nov 2014 13:08:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300AbaK3NIc (ORCPT ); Sun, 30 Nov 2014 08:08:32 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:58409 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbaK3NIb (ORCPT ); Sun, 30 Nov 2014 08:08:31 -0500 Received: by mail-wg0-f52.google.com with SMTP id a1so12023325wgh.25 for ; Sun, 30 Nov 2014 05:08:29 -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=fb74aBWCElZheiI6oUc53P0rvCCeMfY1OZNlBgqXiVfoDup358EUE1/K19M/eSGfB+ 30PoqBrivL8b8vJvy4bCtJprs6o4TSr8oU0uv0vhS1mPQg5k0Ju7SfY8SuugFUeVbMzQ 6VC8JM+Jaz80WRSIHsaQfXsDwOymticFcnZqcuDzLmwwzIYgEOUaLaaWl3pCx84r2cM9 nZ47v26RNSpOUQ+e6Ols13hU7ypnrE96msYHqKI+t8QWcjOPBYAgnd9ps3qjAPUZSDzG aNZRA85Dt7aX9ZMdHDjSbj3PRNlgZy8TqqNdKGtfyWgxCPH2FSKp2uEXnHwmJUjBaQQx uhVw== X-Received: by 10.180.98.135 with SMTP id ei7mr33762616wib.11.1417352909572; Sun, 30 Nov 2014 05:08:29 -0800 (PST) Received: from marek.kongress.mwn.de ([138.246.9.167]) by mx.google.com with ESMTPSA id ec2sm24070399wib.23.2014.11.30.05.08.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 30 Nov 2014 05:08:28 -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 v3 2/3] Documentation: DT: Add documentation for ti, opa362 bindings Date: Sun, 30 Nov 2014 14:07:46 +0100 Message-Id: <1417352867-7436-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417352867-7436-1-git-send-email-marek@goldelico.com> References: <1417352867-7436-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=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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>; + }; + }; + }; +}; + + +