Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3538679pxu; Tue, 15 Dec 2020 09:15:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtO4JtQ4LIu4gDyM/Rb+l7FI4X+oOxKVm/SFf+jsPpg4XvBoIHulDQ1UzoVVMOW4uWKZYA X-Received: by 2002:aa7:d2c9:: with SMTP id k9mr3401928edr.74.1608052508538; Tue, 15 Dec 2020 09:15:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608052508; cv=none; d=google.com; s=arc-20160816; b=T2P7VDMUWnlbL1rwNaIlyFT6CCNVwphvKH4cB7rJHya/B9pjV2fbvN4mbDFL42rsoM 9LGqhgwN4oO1LDFQJiLBpZ7GePvKMRJYnePNSO66rbGs08aX5MpOVHdeZOqw0EvEMAEi GekYa4MU0Z9GbDXFw+f/3n36ScHGtgF+8b85WNR9xmgag150eycJMo8uRKrRCvy88H8R IeJKAn51mQ3WU4v8SxGIz+Y+j2kYaVAl2UbThfNgW5JkiJBpQhXirXFdRKIaej+X3TPk IMO7mV8NjjaHlGlwFQZfiwlbcY1T7M/xtFJ3mltrfYyQ+nuDHjbFdt0RSzcXwBIItStJ vLsg== 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=40NEEN+0PS22ppMsfRclhmEb0aTexqus2c0ajUF3FI8=; b=ekMSYAdpmv+goOjU7fnXHfBJC657WJzenbxuxg1nRbWb2+QQGp/OfnOETjJPDxAM5n JhcfWZHrkMCBN56hitYnGlWvvg3v16kv2PA/2zdcqL73y8+MXlAbkLPebqQyn0/WhcJZ tFvWd2sWgMI6igjEXherq4tPKAH7dXnn8cGGKKa9/ArMo6Tuafba/oU12FZgHmlUHFeq vc5BQKBuBFVZOdQDmjXlD4hxbYMHvd9oo+kuDbmQomrWWYAce2khbCsKTobazHg5E5mH JLY8Lz3xk1j+vmfwtLXGgIUP1ia98C44fgqGJByt2nErLibOmyFpaFjThQ5d9tEucAv5 H1XA== 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 r9si1142138ejo.134.2020.12.15.09.14.43; Tue, 15 Dec 2020 09:15:08 -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 S1730046AbgLORLT (ORCPT + 99 others); Tue, 15 Dec 2020 12:11:19 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44731 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728206AbgLORKl (ORCPT ); Tue, 15 Dec 2020 12:10:41 -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 relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 456C71C000A; Tue, 15 Dec 2020 17:09:57 +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 v6 2/5] dt-bindings: media: max9286: Document 'maxim,reverse-channel-microvolt' Date: Tue, 15 Dec 2020 18:09:54 +0100 Message-Id: <20201215170957.92761-3-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201215170957.92761-1-jacopo+renesas@jmondi.org> References: <20201215170957.92761-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 'reverse-channel-microvolt' 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 --- v5->v6: - Use standard unit suffix 'microvolt' for the custom property - Drop '$ref' as according to 'example-schema.yaml': "Vendor specific properties having a standard unit suffix don't need a type." --- .../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..b22ba3e0db4a 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,reverse-channel-microvolt: + minimum: 30000 + maximum: 200000 + default: 170000 + description: | + Initial amplitude of the reverse control channel, in micro volts. + + 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 + 170000 micro volts. + + A typical value for the reverse channel amplitude to communicate with + a remote serializer whose high-threshold noise immunity is not enabled + is 100000 micro volts + ports: type: object description: | @@ -221,6 +241,7 @@ required: - ports - i2c-mux - gpio-controller + - maxim,reverse-channel-microvolt additionalProperties: false @@ -243,6 +264,8 @@ examples: gpio-controller; #gpio-cells = <2>; + maxim,reverse-channel-microvolt = <170000>; + ports { #address-cells = <1>; #size-cells = <0>; -- 2.29.2