From patchwork Tue May 11 14:33:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 12251249 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BF0DC433B4 for ; Tue, 11 May 2021 14:33:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 290FB61285 for ; Tue, 11 May 2021 14:33:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231881AbhEKOe6 (ORCPT ); Tue, 11 May 2021 10:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231823AbhEKOe6 (ORCPT ); Tue, 11 May 2021 10:34:58 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F9CEC061574 for ; Tue, 11 May 2021 07:33:51 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a4so30138020ejk.1 for ; Tue, 11 May 2021 07:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fEsnV5/PLwt/6bHEOK62lgG5k074PWDC2L+nXDsQMj4=; b=2B5WfW0PBmzhxfYoxBblPEpyvpGC5zf2MMzpmLA2qNQE79LtMSQPC1cGpSvu4FnARc zEWKb/Z6WMmqSQSlqZeqqXmXTOAEl6Nj3t5wykGn7DfvjcoHrzomuExs2LuwF9RO3SEW 12h+yArLVacunhkZ+9CbKHB7B61H8Pc6b9bgOWV8PMBaDDXaLYcXFwTFQ13zD4vfBmGv /gxyGV00OhwUUtcdevvruVT9K86Vz0k76yjZqeXTQFdhTy1Oni68Ir2uZKw00d0ptYS8 /gUonY4aJ9ENGB/qmhGMvxcnqG02CfptXBSm7MoGeSfSzVV0VhGxwdSeGWiL6nPRvpXO lqig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fEsnV5/PLwt/6bHEOK62lgG5k074PWDC2L+nXDsQMj4=; b=afFX8MYfQJUtQYnxw6G1ES9eKJVp+FVn23JrtrKZ+xh9e9EQbt3+LpvQeA4DOQ7gsz xjts43baTvK8hGdQ0QWHkyv3Pj36BuJNKz58zkAs8wZlPFlNdXFrdNM3rGqSsgliAhWN pkLgGYVYWcQJKDCMH47T06CjSTH5ZeFAfEl9tcBCxxsdfMb/xR8yTDOs8PLQPO86KOMm Hb/AG0TW3CwWLbnNVZZmxAkGfAXMknYjeRKKzhmNWiy+upwTGs/yiJNGgZ1b0W2H7eJG jg7UVJCBQHW7fPnONPyvyfguyRMnCZ/quHxhO+FQZfEflTcpY/TCywey/4SchCuEl49u i8Rg== X-Gm-Message-State: AOAM531BZo8nTg2yTIInhuxP+iXvnxNNfWUtaUW2cLN8KjjY0Xn3Kx4N /bAYjgFxvo7TAY6OgygDrPIg5VKVQoFtvZ0Vc/Q= X-Google-Smtp-Source: ABdhPJz63OHh7AYFiqCZii8KRrxI3FR+o7VeaDmM9Y5way694aajhinueyWzdmn519gWiHGKmXma7g== X-Received: by 2002:a17:906:8588:: with SMTP id v8mr32000972ejx.550.1620743630340; Tue, 11 May 2021 07:33:50 -0700 (PDT) Received: from bismarck.berto.se (p54ac5521.dip0.t-ipconnect.de. [84.172.85.33]) by smtp.googlemail.com with ESMTPSA id pw11sm11753284ejb.88.2021.05.11.07.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 07:33:49 -0700 (PDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Rob Herring , devicetree@vger.kernel.org, linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH v2] media: dt-bindings: media: renesas,vin: Add r8a779a0 support Date: Tue, 11 May 2021 16:33:32 +0200 Message-Id: <20210511143332.3469877-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org 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 8 (most of Gen3) or 16 (V3H) VIN instances. The VIN instances are also connected to a new IP the R-Car ISP Channel Selector. Signed-off-by: Niklas Söderlund Reviewed-by: Rob Herring --- * Changes since v1 - Update commit message documentation. --- .../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 dd1a5ce5896cef13..5ba06b0f030b4030 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