Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp491400pxb; Thu, 12 Nov 2020 08:40:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7qBBmbVc0nmggzReYEOTPUwxYxpUawuSVLQUHYdI+M2zox2wewkTOavOMj9MPtls/Tmh3 X-Received: by 2002:a17:906:a4b:: with SMTP id x11mr118714ejf.11.1605199210180; Thu, 12 Nov 2020 08:40:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605199210; cv=none; d=google.com; s=arc-20160816; b=GyOPr3WVM+NeYOn0vZ9GtWZoyKxc4Zo5zv8YUfy6DgWoMzNtVkXB1i76IaWHis3DPW pL+EP6ELUcdMKpgVARMnkIdUVBQIwqeX87aYTa2xStLAXODhD/JM4kU+oZ36ljJh1Z4W wHTNY4mY/LvNvsgtJv2TWgVHLHutPX7utcqmfLk4KOYkz+37MB5hYeBpaZQk8F8XrPT0 ci1FplbghRKP0XKsyatpKmDk+CCbuR2gK4v85XyLUVapQQcX7eU5nDENyncSGZqBMYxn QNrDQYGy0L8gFBz8pgRRtxz79oYpGh2bmdardmHXU4Q806V3PrkGgGPgqek1U1uD3b15 fSjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2bh5TAEsnM8WjFo19sFcbYt08yZK26f82IeaxtmPTeQ=; b=ZUz/TJ8ps/JWRK8FnYwIg9be6NImgsctOPdZJxIPyi0X1VM3/1dOWo4ypyt8hUHA0p RWQ6sV2G7plqSrKshqXJD1UPBm0amgP1HnpqFfV10Pa5+sdZRMKJf/qsetsaJ7lKpscA /CgX243mT4YT5T9ykUTBZKPF380fUDk6HXajVAD08yWAGl0GSiq4w/YPm9aNL21csq/M fMpMrsmW4h9Yk7fJPUIkoseWiWbHmCrHdu+GpEhWS2jpBg4d7ptKI7AjEjOYNVKspOcu esKHDRF+q6iLQpOP+qXFW3Yalj3GzVhctMzHkAQRfijHojksvwt0IpHrJSkGGifmQgjc gC0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si3952832ejf.629.2020.11.12.08.39.43; Thu, 12 Nov 2020 08:40:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728327AbgKLQhW (ORCPT + 99 others); Thu, 12 Nov 2020 11:37:22 -0500 Received: from mslow2.mail.gandi.net ([217.70.178.242]:50990 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728089AbgKLQhP (ORCPT ); Thu, 12 Nov 2020 11:37:15 -0500 Received: from relay11.mail.gandi.net (unknown [217.70.178.231]) by mslow2.mail.gandi.net (Postfix) with ESMTP id B18263B9255 for ; Thu, 12 Nov 2020 16:28:12 +0000 (UTC) Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 94C5A100013; Thu, 12 Nov 2020 16:27:48 +0000 (UTC) From: Jacopo Mondi To: kieran.bingham+renesas@ideasonboard.com, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, geert@linux-m68k.org Cc: Jacopo Mondi , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hyun Kwon , Manivannan Sadhasivam Subject: [PATCH v4 2/8] dt-bindings: media: max9286: Document 'maxim,,initial-reverse-channel-mV" Date: Thu, 12 Nov 2020 17:27:23 +0100 Message-Id: <20201112162729.101384-3-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201112162729.101384-1-jacopo+renesas@jmondi.org> References: <20201112162729.101384-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the 'initial-reverse-channel-mV' vendor property in the bindings document of the max9286 driver. The newly introduced property allows to specify the initial configuration of the GMSL reverse control channel to accommodate remote serializers pre-programmed with the high threshold power supply noise immunity enabled. Signed-off-by: Jacopo Mondi --- .../bindings/media/i2c/maxim,max9286.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml index 9ea827092fdd..c506a0261325 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml @@ -51,6 +51,26 @@ properties: '#gpio-cells': const: 2 + maxim,initial-reverse-channel-mV: + $ref: '/schemas/types.yaml#/definitions/uint32' + minimum: 30 + maximum: 200 + default: 170 + description: | + Initial amplitude of the reverse control channel, in millivolts. + + The initial amplitude shall be adjusted to a value compatible with the + configuration of the connected remote serializer. + + Some camera modules (in example RDACM20) include an on-board MCU that + pre-programs the embedded serializer with power supply noise immunity + (high-threshold) enabled. A typical value of the deserializer's reverse + channel amplitude to communicate with pre-programmed serializers is 170mV. + + A typical value for the reverse channel amplitude to communicate with + a remote serializer whose high-threshold noise immunity is not enabled + is 100mV. + ports: type: object description: | @@ -221,6 +241,7 @@ required: - ports - i2c-mux - gpio-controller + - maxim,initial-reverse-channel-mV additionalProperties: false @@ -243,6 +264,8 @@ examples: gpio-controller; #gpio-cells = <2>; + maxim,initial-reverse-channel-mV = <170>; + ports { #address-cells = <1>; #size-cells = <0>; -- 2.29.1