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: 434362 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=unavailable 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 76DB5C43461 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 451E8613CA for ; Tue, 11 May 2021 14:33:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231760AbhEKOe6 (ORCPT ); Tue, 11 May 2021 10:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231782AbhEKOe6 (ORCPT ); Tue, 11 May 2021 10:34:58 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900E5C06174A for ; Tue, 11 May 2021 07:33:51 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id c22so1985086ejd.12 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=BOb808ic5rj8XEUqB1wKBCqJCo0wRIwyN/AoWUL/CTTHF/TgOKNFC8irqPkpvB0yh5 o6jub89us+MEGHPL9nJcbuUZ99dpp8ujr1oyhSuSLwteBNtwG0ce2SwtCbJzvmghFz63 jsOf7uhHLTq3dUUxjEU6V4dE+0u6Bj3rZX+OuIbEPdFJttbc1ymS08IHgOw2/H5Oi6Dh nLQk6nDotqsuxUbS47+P56c5EFk6sn87Z+sUWlOZOcS7DO7TWRM3XegkNP0GWJLxXUgD rXiw5aJghgQf7q+iR1ddr8Xde0YB+I1sshGQKUw8ZPeGCkF4pt6S9A1tOy5eOa6XLP51 ftAA== X-Gm-Message-State: AOAM530AA9X9bkG6Mv+yMX2ZAkJQ0s77dZNYeg+jVcDJqUm3mxL0tv3n uOpuQ/MD0tMX3HapAeHDKrs95g== 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: devicetree@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