All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: dt-bindings: media: renesas,vin: Add r8a779a0 support
@ 2021-04-13 17:38 Niklas Söderlund
  2021-04-14  8:28 ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Niklas Söderlund @ 2021-04-13 17:38 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-media
  Cc: linux-renesas-soc, Niklas Söderlund

Document support for the VIN module in the Renesas V3U (r8a779a0) SoC.
The V3U is different from other SoCs as it have 32 instead of 16 VIN
instances. The VIN instances are also connected to a new IP the R-Car
ISP Channel Selector.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 .../bindings/media/renesas,vin.yaml           | 26 ++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/renesas,vin.yaml b/Documentation/devicetree/bindings/media/renesas,vin.yaml
index fe7c4cbfe4ba960c..67459b94aeaaafed 100644
--- a/Documentation/devicetree/bindings/media/renesas,vin.yaml
+++ b/Documentation/devicetree/bindings/media/renesas,vin.yaml
@@ -51,6 +51,7 @@ properties:
               - renesas,vin-r8a77980 # R-Car V3H
               - renesas,vin-r8a77990 # R-Car E3
               - renesas,vin-r8a77995 # R-Car D3
+              - renesas,vin-r8a779a0 # R-Car V3U
 
   reg:
     maxItems: 1
@@ -111,7 +112,7 @@ properties:
     description: VIN channel number
     $ref: /schemas/types.yaml#/definitions/uint32
     minimum: 0
-    maximum: 15
+    maximum: 31
 
   ports:
     $ref: /schemas/graph.yaml#/properties/ports
@@ -187,6 +188,29 @@ properties:
           - required:
               - endpoint@3
 
+      port@2:
+        $ref: /schemas/graph.yaml#/properties/port
+        description:
+          Input port node, multiple endpoints describing all the R-Car ISP
+          modules connected the VIN.
+
+        properties:
+          endpoint@0:
+            $ref: /schemas/graph.yaml#/properties/endpoint
+            description: Endpoint connected to ISP0.
+
+          endpoint@1:
+            $ref: /schemas/graph.yaml#/properties/endpoint
+            description: Endpoint connected to ISP1.
+
+          endpoint@2:
+            $ref: /schemas/graph.yaml#/properties/endpoint
+            description: Endpoint connected to ISP2.
+
+          endpoint@3:
+            $ref: /schemas/graph.yaml#/properties/endpoint
+            description: Endpoint connected to ISP3.
+
 required:
   - compatible
   - reg
-- 
2.31.1


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

* Re: [PATCH] media: dt-bindings: media: renesas,vin: Add r8a779a0 support
  2021-04-13 17:38 [PATCH] media: dt-bindings: media: renesas,vin: Add r8a779a0 support Niklas Söderlund
@ 2021-04-14  8:28 ` Sergei Shtylyov
  2021-04-14 22:33   ` Niklas Söderlund
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2021-04-14  8:28 UTC (permalink / raw)
  To: Niklas Söderlund, Rob Herring, devicetree, linux-media
  Cc: linux-renesas-soc

On 13.04.2021 20:38, Niklas Söderlund wrote:

> Document support for the VIN module in the Renesas V3U (r8a779a0) SoC.
> The V3U is different from other SoCs as it have 32 instead of 16 VIN

    Only V3H has 16 VINs, no?

> instances. The VIN instances are also connected to a new IP the R-Car
> ISP Channel Selector.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

[...]

MBR, Sergei

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

* Re: [PATCH] media: dt-bindings: media: renesas,vin: Add r8a779a0 support
  2021-04-14  8:28 ` Sergei Shtylyov
@ 2021-04-14 22:33   ` Niklas Söderlund
  0 siblings, 0 replies; 3+ messages in thread
From: Niklas Söderlund @ 2021-04-14 22:33 UTC (permalink / raw)
  To: Sergei Shtylyov; +Cc: Rob Herring, devicetree, linux-media, linux-renesas-soc

Hi Sergei,

On 2021-04-14 11:28:00 +0300, Sergei Shtylyov wrote:
> On 13.04.2021 20:38, Niklas Söderlund wrote:
> 
> > Document support for the VIN module in the Renesas V3U (r8a779a0) SoC.
> > The V3U is different from other SoCs as it have 32 instead of 16 VIN
> 
>    Only V3H has 16 VINs, no?

You are correct, most Gen3 have 8 and V3H have 16 and now V3U with 32.  
Will fix in a v2.

> 
> > instances. The VIN instances are also connected to a new IP the R-Car
> > ISP Channel Selector.
> > 
> > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> [...]
> 
> MBR, Sergei

-- 
Regards,
Niklas Söderlund

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

end of thread, other threads:[~2021-04-14 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 17:38 [PATCH] media: dt-bindings: media: renesas,vin: Add r8a779a0 support Niklas Söderlund
2021-04-14  8:28 ` Sergei Shtylyov
2021-04-14 22:33   ` Niklas Söderlund

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.