From: Rob Herring <robh@kernel.org>
To: Luca Ceresoli <luca@lucaceresoli.net>
Cc: linux-media@vger.kernel.org, linux-i2c@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Mark Rutland <mark.rutland@arm.com>,
Wolfram Sang <wsa@the-dreams.de>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Jacopo Mondi <jacopo@jmondi.org>,
Vladimir Zapolskiy <vz@mleia.com>, Peter Rosin <peda@axentia.se>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
matti.vaittinen@fi.rohmeurope.com
Subject: Re: [RFCv3 3/6] media: dt-bindings: add DS90UB953-Q1 video serializer
Date: Mon, 7 Feb 2022 15:48:58 -0600 [thread overview]
Message-ID: <YgGTymmCV4hKPXEi@robh.at.kernel.org> (raw)
In-Reply-To: <20220206115939.3091265-4-luca@lucaceresoli.net>
On Sun, Feb 06, 2022 at 12:59:36PM +0100, Luca Ceresoli wrote:
> Describe the Texas Instruments DS90UB953-Q1, a MIPI CSI-2 video serializer
> with I2C Address Translator and remote GPIOs.
>
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
>
> ---
>
> Changes RFCv2 -> RFCv3:
>
> - rewrite in yaml
>
> Changes RFCv1 -> RFCv2: none, this patch is new in RFCv2
> ---
> .../bindings/media/i2c/ti,ds90ub953-q1.yaml | 96 +++++++++++++++++++
> MAINTAINERS | 7 ++
> include/dt-bindings/media/ds90ub953.h | 16 ++++
> 3 files changed, 119 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/i2c/ti,ds90ub953-q1.yaml
> create mode 100644 include/dt-bindings/media/ds90ub953.h
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953-q1.yaml b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953-q1.yaml
> new file mode 100644
> index 000000000000..2a836a3e65e9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/ti,ds90ub953-q1.yaml
> @@ -0,0 +1,96 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (C) 2019 Renesas Electronics Corp.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/i2c/ti,ds90ub953-q1.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Texas Instruments DS90UB953-Q1 video serializer
> +
> +maintainers:
> + - Luca Ceresoli <luca@lucaceresoli.net>
> +
> +description: |
> + The TI DS90UB953-Q1 is a MIPI CSI-2 video serializer that forwards a MIPI
> + CSI-2 input video stream over an FPD Link 3 connection to a remote
> + deserializer. It also allows access to I2C and GPIO from the deserializer.
> +
> + The DT definitions can be found in include/dt-bindings/media/ds90ub953.h
> +
> + When used as a the remote counterpart of a deserializer (e.g. the
> + DS90UB954-Q1), the serializer is described in the
> + "deserializer/remote-chips/remote-chip@[01]" node.
> +
> +properties:
> + compatible:
> + const: ti,ds90ub953-q1
> +
> + reg:
> + description: |
> + Index of the remote (serializer) RX port that this serializer is
> + connected to.
> + maxItems: 1
> +
> + clocks:
> + description: FPD-Link line rate (provided by the deserializer)
> + maxItems: 1
> +
> + gpio-controller: true
> +
> + '#gpio-cells':
> + const: 2
> +
> + '#clock-cells':
> + const: 0
> +
> + ti,gpio-functions:
> + description: |
> + A list of 4 values defining how the 4 GPIO pins are connected in
> + hardware; possible values are:
> + - DS90_GPIO_FUNC_UNUSED (0): the GPIO is not unused
> + - DS90_GPIO_FUNC_INPUT (1): the GPIO is an input to the ds90ub953,
> + the remote chip (deserializer) can read its value
> + - DS90_GPIO_FUNC_OUTPUT_REMOTE (2): the GPIO is an output from the
> + ds90ub953, the remote chip (deserializer) can set its value
> + For unspecified values the GPIO is assumed to be unused.
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + maxItems: 4
> +
> +patternProperties:
> + '^ti,ds90ub953-q1-(clk|d[0-3])-inv-pol-quirk$':
> + description: |
> + The MIPI CSI-2 input clock lane or any of the data lanes has inverted
> + polarity in hardware
What's the type?
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - gpio-controller
> + - '#gpio-cells'
> + - '#clock-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/media/ds90ub953.h>
> + remote-chips {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + remote-chip@0 {
> + reg = <0>;
> + compatible = "ti,ds90ub953-q1";
> + clocks = <&deser>;
> + ti,gpio-functions =
> + <DS90_GPIO_FUNC_UNUSED
> + DS90_GPIO_FUNC_OUTPUT_REMOTE
> + DS90_GPIO_FUNC_UNUSED
> + DS90_GPIO_FUNC_UNUSED>;
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + #clock-cells = <0>;
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 7383aec87e4a..4429ce035496 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -19090,6 +19090,13 @@ F: include/linux/dma/k3-udma-glue.h
> F: include/linux/dma/ti-cppi5.h
> F: include/linux/dma/k3-psil.h
>
> +TEXAS INSTRUMENTS DS90UB953 VIDEO SERIALIZER DRIVER
> +M: Luca Ceresoli <luca@lucaceresoli.net>
> +L: linux-media@vger.kernel.org
> +S: Maintained
> +F: Documentation/devicetree/bindings/media/i2c/ti,ds90ub953-q1.yaml
> +F: include/dt-bindings/media/ds90ub953.h
> +
> TEXAS INSTRUMENTS' SYSTEM CONTROL INTERFACE (TISCI) PROTOCOL DRIVER
> M: Nishanth Menon <nm@ti.com>
> M: Tero Kristo <kristo@kernel.org>
> diff --git a/include/dt-bindings/media/ds90ub953.h b/include/dt-bindings/media/ds90ub953.h
> new file mode 100644
> index 000000000000..5359432968e9
> --- /dev/null
> +++ b/include/dt-bindings/media/ds90ub953.h
> @@ -0,0 +1,16 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
Dual license please.
> +/**
> + * Definitions for the Texas Instruments DS90UB953-Q1 video serializer
> + *
> + * Copyright (c) 2019 Luca Ceresoli <luca@lucaceresoli.net>
> + */
> +
> +#ifndef _DS90UB953_H
> +#define _DS90UB953_H
> +
> +#define DS90_GPIO_FUNC_UNUSED 0
> +#define DS90_GPIO_FUNC_INPUT 1
> +#define DS90_GPIO_FUNC_OUTPUT_REMOTE 2
> +#define DS90_GPIO_N_FUNCS 3
> +
> +#endif /* _DS90UB953_H */
> --
> 2.25.1
>
>
next prev parent reply other threads:[~2022-02-07 21:49 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-06 11:59 [RFCv3 0/6] Hi, Luca Ceresoli
2022-02-06 11:59 ` [RFCv3 1/6] i2c: core: let adapters be notified of client attach/detach Luca Ceresoli
2022-02-06 11:59 ` [RFCv3 2/6] i2c: add I2C Address Translator (ATR) support Luca Ceresoli
2022-02-06 17:26 ` kernel test robot
2022-02-08 11:16 ` Andy Shevchenko
2022-02-16 8:40 ` Luca Ceresoli
2022-02-17 5:12 ` Vaittinen, Matti
2022-03-16 14:11 ` Vaittinen, Matti
2022-03-16 14:25 ` Luca Ceresoli
2022-02-06 11:59 ` [RFCv3 3/6] media: dt-bindings: add DS90UB953-Q1 video serializer Luca Ceresoli
2022-02-07 21:48 ` Rob Herring [this message]
2022-02-06 11:59 ` [RFCv3 4/6] media: dt-bindings: add DS90UB954-Q1 video deserializer Luca Ceresoli
2022-02-06 18:46 ` Rob Herring
2022-02-07 19:39 ` Rob Herring
2022-02-06 11:59 ` [RFCv3 5/6] media: ds90ub954: new driver for TI " Luca Ceresoli
2022-02-06 18:57 ` kernel test robot
2022-02-06 11:59 ` [RFCv3 6/6] media: ds90ub953: new driver for TI DS90UB953-Q1 video serializer Luca Ceresoli
2022-02-06 20:08 ` kernel test robot
2022-02-06 12:05 ` [RFCv3 0/6] TI camera serdes and I2C address translation Luca Ceresoli
2022-02-07 12:06 ` [RFCv3 0/6] TI camera serdes and I2C address translation (Was: [RFCv3 0/6] Hi,) Tomi Valkeinen
2022-02-07 13:21 ` Vaittinen, Matti
2022-02-07 14:07 ` Luca Ceresoli
2022-02-07 14:38 ` Vaittinen, Matti
2022-02-07 16:23 ` Tomi Valkeinen
2022-02-08 6:40 ` Vaittinen, Matti
2022-02-08 8:28 ` Tomi Valkeinen
2022-02-08 9:36 ` Vaittinen, Matti
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=YgGTymmCV4hKPXEi@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jacopo@jmondi.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--cc=mark.rutland@arm.com \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=mchehab@kernel.org \
--cc=peda@axentia.se \
--cc=sakari.ailus@linux.intel.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=vz@mleia.com \
--cc=wsa@the-dreams.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.