From patchwork Wed Feb 22 13:43:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9586859 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E3DEE600CA for ; Wed, 22 Feb 2017 13:46:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB67322376 for ; Wed, 22 Feb 2017 13:46:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF4E9286B5; Wed, 22 Feb 2017 13:46:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5AB1222376 for ; Wed, 22 Feb 2017 13:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=JZHW54ggNv50Y5gGiBb41fN4dLlwr+ebVhm+oUNwhA0=; b=XJLayB3PPbtzzNm9Z1DZaVBGwG q5sH8jaLEgoH5i2BPw/zckDXPBJDQ4VbbecvngBaFoKMokniOoSgUVX6Y5vfggP/q9roUZfHarkLX l1phFHck/89blEmrQnvw0EpO83mCo8+gef7lM507Rfa0C1l1wgsn9AgNFdQ1HOnRegONG7ZAJM5Xp fQJNpeY70a9q1f4hNPuF9tWuI2nLa+M3BNhDfo/mwSgpibyUca9tf8YSpz+N3vMx0g9U6eClJPKq+ io9XRa/rCZsR36TmSpSACL+Xpp1v8cAAl6N+5FKZKrpDIe655orOM/+YZ+5IpxOrHAAxLNxHWt/Fh 2Nlj0/HA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cgXFP-00068v-RN; Wed, 22 Feb 2017 13:46:23 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgXDT-000365-33 for linux-arm-kernel@lists.infradead.org; Wed, 22 Feb 2017 13:44:25 +0000 Received: by mail-wm0-x22d.google.com with SMTP id t18so35282090wmt.0 for ; Wed, 22 Feb 2017 05:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RYaH/OjlLAU+y12YX4Zr2dwKOAC2uAEt0bcIUo1uOUM=; b=jmYA/vliq1vfSpTmghUcGVia1829/Z1ibCNlLocQ53NJUnPi/Qn7y1xSN2CGy+UPXr wscMLTreNiJsioZCrChvsnR+1tPKsMLCffSiXjfj3hGFhdxHyy4uLnNeM7yz5Co09jiM eTerTSL/xU325B2+bWHefpKrY+d6JVfah2vC6YRMX4ZcY6efIYFswrn+uvPcmR6UiEPe xh4JOcwMz6wof/8DsSErmWTdPgb9QrKXwg3MvqCRuYtSRbxAI5IXHTB9/phg1kV9AIUd O9ruIy0I1Xp3JfXtoB96X7ANK0XXhBuqS16MK8GGuZc9pea4QxZtt6QWM0+n8YLw4GdR aXzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RYaH/OjlLAU+y12YX4Zr2dwKOAC2uAEt0bcIUo1uOUM=; b=ILelzEbtj4hdBUEMvLoBNqTczAw4h4YA26voHnflBj2cnxJEg9iX0Y6jfChw+ecp/W vdKZe+v4397CP/l8O0E5VV5ybksZXxnQtWkJuCI8Gqx1DOGvkSMYZAwKZWYz0z+TKZ5u xdYXXrStE5FceNQrELWohcQ2CvgGuXneGpab/tcKMw0y28v4yolJMOKBwQtxWhbzFxAG rsC6/kTRN8LGJ+cPuiz40hMxuyKPdlqpK9MH5jq+HaRrvc7WxmL01JkyiLKEwUu+3M/a QIlsQwZEeKb4qTNGr//W4+OwIey7zqfbRVhEGiuxzuMsf5tQjW1xYX99SsXiiWUQS56F 3oFQ== X-Gm-Message-State: AMke39kzVkJp7kgtM8LgKrnJL1XbjVpDhM6uSQ9tviT2kT6jZN2HM07EUpdCD822ptVHOb+8 X-Received: by 10.28.17.133 with SMTP id 127mr2522074wmr.80.1487771040857; Wed, 22 Feb 2017 05:44:00 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 32sm1829834wrr.20.2017.02.22.05.43.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 05:44:00 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Rob Herring , Mark Rutland Subject: [PATCH v2 3/3] media: dt-bindings: vpif: new optional property Date: Wed, 22 Feb 2017 14:43:47 +0100 Message-Id: <1487771027-7763-4-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487771027-7763-1-git-send-email-bgolaszewski@baylibre.com> References: <1487771027-7763-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170222_054423_338255_B8526633 X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add an optional property - enable-gpios - which can be used to specify the GPIOs that must be requested to select the vpif functionality. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/media/ti,da850-vpif.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/media/ti,da850-vpif.txt b/Documentation/devicetree/bindings/media/ti,da850-vpif.txt index df7182a..23c5405 100644 --- a/Documentation/devicetree/bindings/media/ti,da850-vpif.txt +++ b/Documentation/devicetree/bindings/media/ti,da850-vpif.txt @@ -13,6 +13,9 @@ Required properties: - reg: physical base address and length of the registers set for the device; - interrupts: should contain IRQ line for the VPIF +Optional properties: +- enable-gpios: phandle of the GPIOs used to select the vpif functionality + Video Capture: VPIF has a 16-bit parallel bus input, supporting 2 8-bit channels or a @@ -30,6 +33,10 @@ I2C-connected TVP5147 decoder: reg = <0x217000 0x1000>; interrupts = <92>; + enable-gpios = <&tca6416 7 GPIO_ACTIVE_HIGH + &tca6416 6 GPIO_ACTIVE_HIGH + &tca6416 5 GPIO_ACTIVE_LOW>; + port@0 { vpif_input_ch0: endpoint@0 { reg = <0>;