Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3099420pxb; Mon, 16 Nov 2020 05:55:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNF8uKS7jT4W/52LzP+BxAREWmt0dA3/T/sRc7p3HsAPYbEO8qdx+bR/OGwBpygCSe8l1I X-Received: by 2002:a17:906:4a1a:: with SMTP id w26mr2863622eju.270.1605534923960; Mon, 16 Nov 2020 05:55:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605534923; cv=none; d=google.com; s=arc-20160816; b=qdgKgYVT3mT3YBR5hK08O37MnCzfNCuZUMznZqviMDUoJVormegZV4J5U3axLcZ/v4 Fgy9uMK+Fjb0lksaomY8IJo4Fqr9MdAuCPjhOPLtJC3z7NrLriW0gteaOaL4wHJcrzkm fQtdPQV7+s6cA96XcwO/e2Y0VGbUeFrdj2oJz9B5WxhlAljjPlmhCRsIy7dOwN+Y4XPA Wf8mPRvBu0udEPauXQimeBJhzNrmR7BD5sA+lfcctxLtIzX7buOOur5gBor74coaDN+4 CUptKCjvpQt90QB9ItQ42BNmPj0FqBb1LqLusVpFLqlCGwl+7CLZwpBuyY6KZx6gi8Jw ctzQ== 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=l4JEyo3nKuD8CQjb9gEYElK1qFLFMPuEmKj6bXRyaW8=; b=yJgisaw3f69c2xPJ/DxPjxvQqR/lFftU4BQ8qqk8vvK2wCgMUW9m9FND0aA0FvYms4 A9InhiYwcHGTNKhowai6y2fnL8CR3XK2TTD8Z2l2kb7T3X4nWIKp6qycG8o7+FEkvcIe 4PQURr7qx0sI00v9hJf38JCOtWrMZUUuVo74KbKfdU2s8GqOErAgtQGAtLS6xp5cHPEx 84dAMnmwm45I6G75PBB3waIeLhlpp6CFoJPHgnuYOnZQ7oFLuBCVM06GwTdL88BA5pOP lRXmW225k1aH8j3xEgp7lvW5mLRr6o7MAb6EMoDLbUQ10w785yGSmx6py0I/mO3NOuzp RYDg== 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 z7si8553067eja.279.2020.11.16.05.55.00; Mon, 16 Nov 2020 05:55:23 -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 S1729579AbgKPNxb (ORCPT + 99 others); Mon, 16 Nov 2020 08:53:31 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:37101 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726286AbgKPNxb (ORCPT ); Mon, 16 Nov 2020 08:53:31 -0500 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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 5B9514000B; Mon, 16 Nov 2020 13:53:26 +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, robh@kernel.org, devicetree@vger.kernel.org Cc: Jacopo Mondi , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hyun Kwon , Manivannan Sadhasivam , sergei.shtylyov@gmail.com Subject: [PATCH v5 2/8] dt-bindings: media: max9286: Document 'maxim,initial-reverse-channel-mV' Date: Mon, 16 Nov 2020 14:52:59 +0100 Message-Id: <20201116135305.81319-3-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201116135305.81319-1-jacopo+renesas@jmondi.org> References: <20201116135305.81319-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 specifying the initial configuration of the GMSL reverse control channel to accommodate remote serializers pre-programmed with the high threshold power supply noise immunity enabled. Reviewed-by: Kieran Bingham 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..f61234d204fa 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 (for 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