From patchwork Wed Dec 3 21:33:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 5433691 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 52D319F1C5 for ; Wed, 3 Dec 2014 21:35:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E18A20272 for ; Wed, 3 Dec 2014 21:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AAFED2025A for ; Wed, 3 Dec 2014 21:35:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbaLCVdn (ORCPT ); Wed, 3 Dec 2014 16:33:43 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:37347 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751992AbaLCVdl (ORCPT ); Wed, 3 Dec 2014 16:33:41 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so21192933wgh.20 for ; Wed, 03 Dec 2014 13:33:39 -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=68uPIo7Ulvg6+gPDI6rHlG0NrsXP7UFHZucbiM0bMIM=; b=d1SZqf/LIqiEFnY61ljWbwrNRgECJpsM7fTX/RMPFxyELf8vtddh74NQxCaLpGSOJz IMRXPneZzjzCsVPbiIoNG5zvPu2rWrGJp86h5xWbxLeERaqmsjZaBrkMkofRNWVh0UtN ECAGvSABq0O8wTKPoQ7VfEAzLQcLxH8siY3iiFYl8wiUXKDDHu3Mmu72L1P5SdBGngTA cNYnhI9xKh/VvhFE7oGjL+QhWKL+niL7BcNSvJxn5kLV9xhjBS2psLzWNEuAd2o/jiC+ z7a+zgc16YAYqW79myRO2/cSJTKDMUIUjO4rWffHKCF6oGil2NpRquK5g4BJYdvHe7ax mB2Q== X-Received: by 10.194.176.198 with SMTP id ck6mr10262782wjc.25.1417642419361; Wed, 03 Dec 2014 13:33:39 -0800 (PST) Received: from marek.lan (ip-85.163.84.226.o2inet.sk. [85.163.84.226]) by mx.google.com with ESMTPSA id q4sm31168392wjo.46.2014.12.03.13.33.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Dec 2014 13:33:38 -0800 (PST) From: Marek Belisko To: tomi.valkeinen@ti.com Cc: plagnioj@jcrosoft.com, tony@atomide.com, bcousson@baylibre.com, hns@goldelico.com, 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, Marek Belisko Subject: [PATCH v4 2/3] Documentation: DT: Add documentation for ti, opa362 bindings Date: Wed, 3 Dec 2014 22:33:21 +0100 Message-Id: <1417642402-20538-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417642402-20538-1-git-send-email-marek@goldelico.com> References: <1417642402-20538-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=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 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..f96083c --- /dev/null +++ b/Documentation/devicetree/bindings/video/ti,opa362.txt @@ -0,0 +1,38 @@ +OPA362 analog video amplifier + +Required properties: +- compatible: "ti,opa362" +- enable-gpios: 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"; + enable-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>; + }; + }; + }; +}; + + +