From patchwork Fri Jul 17 13:28:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11670195 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E08F0138C for ; Fri, 17 Jul 2020 13:26:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D321120775 for ; Fri, 17 Jul 2020 13:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726788AbgGQNZ7 (ORCPT ); Fri, 17 Jul 2020 09:25:59 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42619 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbgGQNZ7 (ORCPT ); Fri, 17 Jul 2020 09:25:59 -0400 X-Originating-IP: 93.34.118.233 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 39F871C0004; Fri, 17 Jul 2020 13:25:56 +0000 (UTC) From: Jacopo Mondi To: robh+dt@kernel.org, devicetree@vger.kernel.org Cc: Jacopo Mondi , slongerbeam@gmail.com, linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com, linux-renesas-soc@vger.kernel.org Subject: [PATCH 09/13] dt-bindings: media: ov5640: Add default for synch signals Date: Fri, 17 Jul 2020 15:28:55 +0200 Message-Id: <20200717132859.237120-10-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200717132859.237120-1-jacopo+renesas@jmondi.org> References: <20200717132859.237120-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add defalt value for the DVP interface synchronism signals. The default values have been derived from register 0x4740 documentation (datasheet version 2.03) 0x4740 POLARITY CTRL00 default = 0x20 bit 5: pclk polarity = 1 active high bit 1: HREF polarity = 0 active low bit 0: VSYNC polarity = 0 active low Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/i2c/ov5640.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ov5640.yaml b/Documentation/devicetree/bindings/media/i2c/ov5640.yaml index ab700a1830aa..3c20cdd02f76 100644 --- a/Documentation/devicetree/bindings/media/i2c/ov5640.yaml +++ b/Documentation/devicetree/bindings/media/i2c/ov5640.yaml @@ -94,12 +94,15 @@ properties: hsync-active: enum: [0, 1] + default: 0 vsync-active: enum: [0, 1] + default: 0 pclk-sample: enum: [0, 1] + default: 1 allOf: - if: