devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/4] dt-bindings: media: video-interfaces: Add new bus-type
       [not found] <20220422084720.959271-1-xji@analogixsemi.com>
@ 2022-04-22  8:47 ` Xin Ji
  2022-04-22 14:03   ` Robert Foss
  2022-04-22  8:47 ` [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property Xin Ji
  1 sibling, 1 reply; 6+ messages in thread
From: Xin Ji @ 2022-04-22  8:47 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Sakari Ailus, Laurent Pinchart
  Cc: robert.foss, bliang, qwen, Xin Ji, Rob Herring, linux-media,
	devicetree, linux-kernel

No properly bus-type for DPI video bus, add bus-type 7 for it.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Xin Ji <xji@analogixsemi.com>
---
 Documentation/devicetree/bindings/media/video-interfaces.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml
index 4391dce2caee..68c3b9871cf3 100644
--- a/Documentation/devicetree/bindings/media/video-interfaces.yaml
+++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml
@@ -93,6 +93,7 @@ properties:
       - 4 # MIPI CSI-2 D-PHY
       - 5 # Parallel
       - 6 # BT.656
+      - 7 # DPI
     description:
       Data bus type.
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property
       [not found] <20220422084720.959271-1-xji@analogixsemi.com>
  2022-04-22  8:47 ` [PATCH v2 2/4] dt-bindings: media: video-interfaces: Add new bus-type Xin Ji
@ 2022-04-22  8:47 ` Xin Ji
  2022-04-22 14:03   ` Robert Foss
  2022-05-02 21:07   ` Rob Herring
  1 sibling, 2 replies; 6+ messages in thread
From: Xin Ji @ 2022-04-22  8:47 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
	Rob Herring, Krzysztof Kozlowski, Xin Ji
  Cc: bliang, qwen, dri-devel, devicetree, linux-kernel

Add 'bus-type' and 'data-lanes' define, bus-type 7 for MIPI DPI
input, others for DSI input.

Signed-off-by: Xin Ji <xji@analogixsemi.com>

---
V1 -> V2: rebase on the latest code.
---
 .../display/bridge/analogix,anx7625.yaml      | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
index 35a48515836e..4590186c4a0b 100644
--- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
@@ -94,7 +94,22 @@ properties:
         $ref: /schemas/graph.yaml#/$defs/port-base
         unevaluatedProperties: false
         description:
-          Video port for MIPI DSI input.
+          MIPI DSI/DPI input.
+
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            type: object
+            additionalProperties: false
+
+            properties:
+              remote-endpoint: true
+
+              bus-type:
+                enum: [7]
+                default: 1
+
+              data-lanes: true
 
       port@1:
         $ref: /schemas/graph.yaml#/properties/port
@@ -143,6 +158,8 @@ examples:
                     reg = <0>;
                     anx7625_in: endpoint {
                         remote-endpoint = <&mipi_dsi>;
+                        bus-type = <7>;
+                        data-lanes = <0 1 2 3>;
                     };
                 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property
  2022-04-22  8:47 ` [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property Xin Ji
@ 2022-04-22 14:03   ` Robert Foss
  2022-04-22 14:10     ` Robert Foss
  2022-05-02 21:07   ` Rob Herring
  1 sibling, 1 reply; 6+ messages in thread
From: Robert Foss @ 2022-04-22 14:03 UTC (permalink / raw)
  To: Xin Ji
  Cc: Andrzej Hajda, Neil Armstrong, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, David Airlie, Daniel Vetter, Rob Herring,
	Krzysztof Kozlowski, bliang, qwen, dri-devel, devicetree,
	linux-kernel

On Fri, 22 Apr 2022 at 10:48, Xin Ji <xji@analogixsemi.com> wrote:
>
> Add 'bus-type' and 'data-lanes' define, bus-type 7 for MIPI DPI
> input, others for DSI input.
>
> Signed-off-by: Xin Ji <xji@analogixsemi.com>
>
> ---
> V1 -> V2: rebase on the latest code.
> ---
>  .../display/bridge/analogix,anx7625.yaml      | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> index 35a48515836e..4590186c4a0b 100644
> --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
> @@ -94,7 +94,22 @@ properties:
>          $ref: /schemas/graph.yaml#/$defs/port-base
>          unevaluatedProperties: false
>          description:
> -          Video port for MIPI DSI input.
> +          MIPI DSI/DPI input.
> +
> +        properties:
> +          endpoint:
> +            $ref: /schemas/media/video-interfaces.yaml#
> +            type: object
> +            additionalProperties: false
> +
> +            properties:
> +              remote-endpoint: true
> +
> +              bus-type:
> +                enum: [7]
> +                default: 1
> +
> +              data-lanes: true
>
>        port@1:
>          $ref: /schemas/graph.yaml#/properties/port
> @@ -143,6 +158,8 @@ examples:
>                      reg = <0>;
>                      anx7625_in: endpoint {
>                          remote-endpoint = <&mipi_dsi>;
> +                        bus-type = <7>;
> +                        data-lanes = <0 1 2 3>;
>                      };
>                  };
>

Reviewed-by: Robert Foss <robert.foss@linaro.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/4] dt-bindings: media: video-interfaces: Add new bus-type
  2022-04-22  8:47 ` [PATCH v2 2/4] dt-bindings: media: video-interfaces: Add new bus-type Xin Ji
@ 2022-04-22 14:03   ` Robert Foss
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Foss @ 2022-04-22 14:03 UTC (permalink / raw)
  To: Xin Ji
  Cc: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Sakari Ailus, Laurent Pinchart, bliang, qwen, Rob Herring,
	linux-media, devicetree, linux-kernel

On Fri, 22 Apr 2022 at 10:48, Xin Ji <xji@analogixsemi.com> wrote:
>
> No properly bus-type for DPI video bus, add bus-type 7 for it.
>
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Xin Ji <xji@analogixsemi.com>
> ---
>  Documentation/devicetree/bindings/media/video-interfaces.yaml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml
> index 4391dce2caee..68c3b9871cf3 100644
> --- a/Documentation/devicetree/bindings/media/video-interfaces.yaml
> +++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml
> @@ -93,6 +93,7 @@ properties:
>        - 4 # MIPI CSI-2 D-PHY
>        - 5 # Parallel
>        - 6 # BT.656
> +      - 7 # DPI
>      description:
>        Data bus type.
>

Reviewed-by: Robert Foss <robert.foss@linaro.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property
  2022-04-22 14:03   ` Robert Foss
@ 2022-04-22 14:10     ` Robert Foss
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Foss @ 2022-04-22 14:10 UTC (permalink / raw)
  To: Xin Ji
  Cc: Andrzej Hajda, Neil Armstrong, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, David Airlie, Daniel Vetter, Rob Herring,
	Krzysztof Kozlowski, bliang, qwen, dri-devel, devicetree,
	linux-kernel

Acked-by: Robert Foss <robert.foss@linaro.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property
  2022-04-22  8:47 ` [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property Xin Ji
  2022-04-22 14:03   ` Robert Foss
@ 2022-05-02 21:07   ` Rob Herring
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-05-02 21:07 UTC (permalink / raw)
  To: Xin Ji
  Cc: Jonas Karlman, Andrzej Hajda, David Airlie, Daniel Vetter, bliang,
	Jernej Skrabec, Krzysztof Kozlowski, Neil Armstrong, dri-devel,
	Rob Herring, qwen, linux-kernel, Laurent Pinchart, Robert Foss,
	devicetree

On Fri, 22 Apr 2022 16:47:17 +0800, Xin Ji wrote:
> Add 'bus-type' and 'data-lanes' define, bus-type 7 for MIPI DPI
> input, others for DSI input.
> 
> Signed-off-by: Xin Ji <xji@analogixsemi.com>
> 
> ---
> V1 -> V2: rebase on the latest code.
> ---
>  .../display/bridge/analogix,anx7625.yaml      | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-02 21:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220422084720.959271-1-xji@analogixsemi.com>
2022-04-22  8:47 ` [PATCH v2 2/4] dt-bindings: media: video-interfaces: Add new bus-type Xin Ji
2022-04-22 14:03   ` Robert Foss
2022-04-22  8:47 ` [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property Xin Ji
2022-04-22 14:03   ` Robert Foss
2022-04-22 14:10     ` Robert Foss
2022-05-02 21:07   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).