From: Laurent Pinchart Date: Mon, 10 Jan 2022 21:24:46 +0000 (+0100) Subject: media: dt-bindings: media: i2c: max9286: Add property to select bus width X-Git-Tag: v6.3-rc1~72^2~48 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e3435af91e7be03e514a5e0294094ff60f6248e4;p=linux-block.git media: dt-bindings: media: i2c: max9286: Add property to select bus width 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 Reviewed-by: Rob Herring Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml index 75c2d8b8c809..0c4213adbf6a 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml @@ -50,6 +50,14 @@ properties: '#gpio-cells': const: 2 + maxim,bus-width: + $ref: /schemas/types.yaml#/definitions/uint32 + 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-remote-bus-hz: enum: [ 8470, 28300, 84700, 105000, 173000, 339000, 533000, 837000 ] default: 105000