From patchwork Mon Nov 3 21:59:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 5220171 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 EC355C11AD for ; Mon, 3 Nov 2014 22:00:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3302E20136 for ; Mon, 3 Nov 2014 22:00:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58E692015A for ; Mon, 3 Nov 2014 22:00:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754055AbaKCV74 (ORCPT ); Mon, 3 Nov 2014 16:59:56 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:47345 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753931AbaKCV7u (ORCPT ); Mon, 3 Nov 2014 16:59:50 -0500 Received: by mail-lb0-f179.google.com with SMTP id l4so3427360lbv.38 for ; Mon, 03 Nov 2014 13:59:48 -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=b6BoSnL/ea4xcBK/CybmqfXMWJDZ1K0xz/Lpye8vs8c=; b=n0CO3idFlCBLg4YL7tTgmsTkIRkz6xDPOBLDk3NSvMWIN8Oq25xyplYAWk/ipgomrP 3Xshb2rXvmLI4D+5SBlYCpIC48czUEGqkAvbNjLLEcCMcNM2RjKjX53eNR/gQNDE4A3B 0DViSHIth9CdKQTaSH2jetZNDenxx9MBmUmV59CyNpKxDrwmGU6DBi/FFi/6kCgkoKSO eOB3rwlC/eFD/C7dUeGeDMs8AwBEULJpKgv4lH71WF1p8Fh2XbkrxQ4b/fxXb0elg/4L Ze+mJcMHNEXAhy2FI483DeZWW6ZbLiGQISlXil8H5tcfZvGI1MklqTE1McbF6vLaYYV2 Ik4w== X-Received: by 10.152.6.228 with SMTP id e4mr54295972laa.71.1415051987999; Mon, 03 Nov 2014 13:59:47 -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.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 13:59:47 -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 2/4] Documentation: DT: Add documentation for ti, opa362 bindings Date: Mon, 3 Nov 2014 22:59:26 +0100 Message-Id: <1415051968-4878-3-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 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..d7ed11a --- /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 */ + + 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>; + }; + }; + }; + }; + + +