From patchwork Tue May 29 15:05:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10436019 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 A74F660327 for ; Tue, 29 May 2018 15:07:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 996D728796 for ; Tue, 29 May 2018 15:07:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E63A287A5; Tue, 29 May 2018 15:07:38 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47FE5287A0 for ; Tue, 29 May 2018 15:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936772AbeE2PGt (ORCPT ); Tue, 29 May 2018 11:06:49 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:53771 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935564AbeE2PGo (ORCPT ); Tue, 29 May 2018 11:06:44 -0400 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id C33C2100006; Tue, 29 May 2018 17:06:39 +0200 (CEST) From: Jacopo Mondi To: niklas.soderlund@ragnatech.se, laurent.pinchart@ideasonboard.com, horms@verge.net.au, geert@glider.be Cc: Jacopo Mondi , mchehab@kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 6/8] dt-bindings: rcar-vin: Add 'hsync-as-de' custom prop Date: Tue, 29 May 2018 17:05:57 +0200 Message-Id: <1527606359-19261-7-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527606359-19261-1-git-send-email-jacopo+renesas@jmondi.org> References: <1527606359-19261-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the boolean custom property 'renesas,hsync-as-de' that indicates that the HSYNC signal is internally used as data-enable, when the CLKENB signal is not connected. As this is a VIN specificity create a custom property specific to the R-Car VIN driver. Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring --- v3: - new patch --- Documentation/devicetree/bindings/media/rcar_vin.txt | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/media/rcar_vin.txt b/Documentation/devicetree/bindings/media/rcar_vin.txt index ff53226..024c109 100644 --- a/Documentation/devicetree/bindings/media/rcar_vin.txt +++ b/Documentation/devicetree/bindings/media/rcar_vin.txt @@ -60,6 +60,9 @@ from local SoC CSI-2 receivers (port1) depending on SoC. - vsync-active: see [1] for description. Default is active high. - data-enable-active: polarity of CLKENB signal, see [1] for description. Default is active high. + - renesas,hsync-as-de: a boolean property to indicate that HSYNC signal + is internally used as data-enable when the CLKENB signal is + not available. If both HSYNC and VSYNC polarities are not specified, embedded synchronization is selected.