From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6375C4332F for ; Sun, 9 Jan 2022 11:46:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbiAILqW (ORCPT ); Sun, 9 Jan 2022 06:46:22 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:49507 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbiAILqV (ORCPT ); Sun, 9 Jan 2022 06:46:21 -0500 Received: (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DBB3E100002; Sun, 9 Jan 2022 11:46:18 +0000 (UTC) Date: Sun, 9 Jan 2022 12:47:19 +0100 From: Jacopo Mondi To: Laurent Pinchart Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , Niklas =?utf-8?Q?S=C3=B6derlund?= , Thomas Nizan , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH v2 03/11] dt-bindings: media: i2c: max9286: Add property to select bus width Message-ID: <20220109114719.x6zuqtfukgjae3to@uno.localdomain> References: <20220101182806.19311-1-laurent.pinchart+renesas@ideasonboard.com> <20220101182806.19311-4-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220101182806.19311-4-laurent.pinchart+renesas@ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Laurent, On Sat, Jan 01, 2022 at 08:27:58PM +0200, Laurent Pinchart wrote: > The GMSL serial data bus width is normally selected by the BWS pin, but > it can also be configured by software. Add a DT property that allows > overriding the value of the BWS-selected bus width to support systems > whose BWS pin doesn't result in the correct value. > > Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Thanks j > --- > .../devicetree/bindings/media/i2c/maxim,max9286.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > index 5d3e99027a79..123e98cdb7b6 100644 > --- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml > @@ -50,6 +50,13 @@ properties: > '#gpio-cells': > const: 2 > > + maxim,bus-width: > + enum: [ 24, 27, 32 ] > + description: | > + The GMSL serial data bus width. This setting is normally controlled by > + the BWS pin, but may be overridden with this property. The value must > + match the configuration of the remote serializers. > + > maxim,i2c-clock-frequency: > enum: [ 8470, 28300, 84700, 105000, 173000, 339000, 533000, 837000 ] > default: 105000 > -- > Regards, > > Laurent Pinchart >