From: Kieran Bingham <kieran.bingham@ideasonboard.com>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Rob Herring" <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-media@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Subject: Re: [PATCH] dt-bindings: staging: media: i2c: Add bindings for Maxim Integrated MAX96712
Date: Mon, 29 Nov 2021 16:39:14 +0000 [thread overview]
Message-ID: <163820395480.3059017.6211390059943803938@Monstersaurus> (raw)
In-Reply-To: <20211123214922.3981616-1-niklas.soderlund+renesas@ragnatech.se>
Quoting Niklas Söderlund (2021-11-23 21:49:22)
> Add bindings for Maxim Integrated MAX96712 deserializer. The MAX96712
> deserializer converts GMSL2 or GMSL1 serial inputs into MIPI CSI-2 D-PHY
> or C-PHY formatted outputs.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> .../staging/media/i2c/maxim,max96712.yaml | 111 ++++++++++++++++++
> 1 file changed, 111 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/staging/media/i2c/maxim,max96712.yaml
>
> diff --git a/Documentation/devicetree/bindings/staging/media/i2c/maxim,max96712.yaml b/Documentation/devicetree/bindings/staging/media/i2c/maxim,max96712.yaml
> new file mode 100644
> index 0000000000000000..978f2c0e5caef567
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/staging/media/i2c/maxim,max96712.yaml
> @@ -0,0 +1,111 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (C) 2021 Renesas Electronics Corp.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/staging/media/i2c/maxim,max96712.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Quad GMSL2 to CSI-2 Deserializer with GMSL1 Compatibility
> +
> +maintainers:
> + - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> +
> +description: |
> + The MAX96712 deserializer converts GMSL2 or GMSL1 serial inputs into MIPI
> + CSI-2 D-PHY or C-PHY formatted outputs. The device allows each link to
> + simultaneously transmit bidirectional control-channel data while forward
> + video transmissions are in progress. The MAX96712 can accommodate as many as
> + four remotely located sensors using industry-standard coax or STP
> + interconnects.
> +
> + Each GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the
> + forward direction and 187.5Mbps in the re- verse direction. In GMSL1 mode, the
/re- verse/reverse/
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> + MAX96712 can be paired with first-generation 3.12Gbps or 1.5Gbps GMSL1
> + serializers or operate up to 3.12Gbps with GMSL2 serializers in GMSL1 mode.
> +
> +properties:
> + compatible:
> + const: maxim,max96712
> +
> + reg:
> + description: I2C device address
> + maxItems: 1
> +
> + enable-gpios: true
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: GMSL Input 0
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: GMSL Input 1
> +
> + port@2:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: GMSL Input 2
> +
> + port@3:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: GMSL Input 3
> +
> + port@4:
> + $ref: /schemas/graph.yaml#/$defs/port-base
> + unevaluatedProperties: false
> + description: CSI-2 Output
> +
> + properties:
> + endpoint:
> + $ref: /schemas/media/video-interfaces.yaml#
> + unevaluatedProperties: false
> +
> + properties:
> + data-lanes: true
> +
> + required:
> + - data-lanes
> +
> + required:
> + - port@4
> +
> +required:
> + - compatible
> + - reg
> + - ports
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c@e6508000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + reg = <0 0xe6508000>;
> +
> + gmsl0: gmsl-deserializer@49 {
> + compatible = "maxim,max96712";
> + reg = <0x49>;
> + enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@4 {
> + reg = <4>;
> + max96712_out0: endpoint {
> + clock-lanes = <0>;
> + data-lanes = <1 2 3 4>;
> + remote-endpoint = <&csi40_in>;
> + };
> + };
> + };
> + };
> + };
> --
> 2.34.0
>
next prev parent reply other threads:[~2021-11-29 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-23 21:49 [PATCH] dt-bindings: staging: media: i2c: Add bindings for Maxim Integrated MAX96712 Niklas Söderlund
2021-11-29 16:39 ` Kieran Bingham [this message]
2021-11-30 22:37 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163820395480.3059017.6211390059943803938@Monstersaurus \
--to=kieran.bingham@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox