From patchwork Tue Apr 18 08:00:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 84665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2671257vqo; Tue, 18 Apr 2023 01:17:57 -0700 (PDT) X-Google-Smtp-Source: AKy350YC7Dvm58DMW7zF4Agp7jG508czw9FQcHEmWz9c4H4lcq9F1BcE4fasUTXF0v6K4ZOLvUuW X-Received: by 2002:a05:6a20:160e:b0:ef:511:d6fe with SMTP id l14-20020a056a20160e00b000ef0511d6femr11507114pzj.9.1681805876702; Tue, 18 Apr 2023 01:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681805876; cv=none; d=google.com; s=arc-20160816; b=LDQQ7ILoIXfjo3wBlzbV0lpC1PMkZ3CqykMOGCDoBaB8qITtwRpLfV8TkFjjQh3XG1 0MyQWTBWqt18SZWzmBZ2HjZGd0yOf/UGd3pY8aCdxVvgJLImE6VjUebRDwVv6XWjk2Ra rZoKORuz2cEfY0dbWewZL+A5RDH2YXSMCJKv7//Y0fazV1WMYllSby+ar1q+HCNgllkK sCb8dXu5V/1nxqV+OpSyeEfUd4EVf35xeXOkN+8mpbGo60CnyGCVHaiPQ4JNlAodEiix C+KNJKpGJwZXquONUVVw+yKuLvgCscrJnVPk+M9rUp9Y8YszbIzllUBNhtI+Mp6bka0K Zltw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z7GfPWRpbf9UqB83Mc5mi8nxcPDTIomI81207IaIT4I=; b=J3kRWIYinYsOl3PdnR/xkPBnMLaR4FZiKVshojf7CbgIOxMIJ1xvf+cvnPb+c6tlYs pwFBhD9t9YxK2hnNzgvNUWLLnR1EVVtpQLxmh8bY0Jo8O9r8DvOkCvR9mIZqeJ914umc 3aJKkotI8tfWxMqn2lgTgyz9Ef1HhBdTyGy7rjpAOMdJ4z0FJ4UwVw0fDOohF/Sdxfyq k4wvuuQW84Wo2vF/TeQCH4v9AVKdYrwgrwhSW0vadk/OChb1cX/Vf+rhCW9tQLoZgkFg GtoUXhUSSCpd0chfe8UWKxlTJHiKdrZRcNmawHrBLjK/noaAK99PoK5z5Sl/2+pTe6u2 3vjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mvxsrb+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a192-20020a6390c9000000b00518a0139251si11441794pge.200.2023.04.18.01.17.44; Tue, 18 Apr 2023 01:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mvxsrb+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbjDRIB3 (ORCPT + 99 others); Tue, 18 Apr 2023 04:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbjDRIBK (ORCPT ); Tue, 18 Apr 2023 04:01:10 -0400 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32CF965A4; Tue, 18 Apr 2023 01:01:08 -0700 (PDT) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 0E022240015; Tue, 18 Apr 2023 08:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1681804866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z7GfPWRpbf9UqB83Mc5mi8nxcPDTIomI81207IaIT4I=; b=mvxsrb+RgiiH0AOwHdobQcIJeWlosCy3nftmZzt0AM78e/sCGdJZT+WrWUctOFRMB5FmL0 ph3YVCL3l1c0kG2n5lJN2BKqq/AUSmAayrx5P7EXoAEbTVH5xmiQE77OmW5fBtheOOu33I mK/l+QDv+dOsnCQSrkw0QXs0Cm6kMUWAVkbBQXJ3HUNTsQA2bCbknJEoHV9DryroscK9Ei cy6oKIL544o1ftZQ9wiDeaaqWKixR0kGPQtmjldoTWxPWJlKdk0pO4ygth8V6vyCmDfEFu zZvcdJ+Gc6qKSYCMgzk7Gx7XTcDXc6e2InPbSI6KIUz6hcKsrxts+erV99/vDw== From: Luca Ceresoli To: linux-tegra@vger.kernel.org Cc: Luca Ceresoli , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Laurent Pinchart , Hans Verkuil , Thomas Petazzoni , Paul Kocialkowski , Richard Leitner , Krzysztof Kozlowski , Dmitry Osipenko Subject: [PATCH v6 01/20] dt-bindings: display: tegra: add Tegra20 VIP Date: Tue, 18 Apr 2023 10:00:35 +0200 Message-Id: <20230418080054.452955-2-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230418080054.452955-1-luca.ceresoli@bootlin.com> References: <20230418080054.452955-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763501278537941805?= X-GMAIL-MSGID: =?utf-8?q?1763501278537941805?= VIP is the parallel video capture component within the video input subsystem of Tegra20 (and other Tegra chips, apparently). Signed-off-by: Luca Ceresoli Reviewed-by: Krzysztof Kozlowski Reviewed-by: Dmitry Osipenko --- No changes in v6 No changes in v5 Changed in v4: - Added review tags - remove leftover lines after removal of 'channel@0' Changed in v3: - remove channel@0 node (Krzysztof, Rob, Dmitry) - add myself as a maintainer of the whole Tegra video driver (Dmitry) Changed in v2 (suggested by Krzysztof Kozlowski): - remove redundant "bindings" from subject line - remove $nodename - add channel@0 description - add reg: const: 0 --- .../display/tegra/nvidia,tegra20-vip.yaml | 41 +++++++++++++++++++ MAINTAINERS | 2 + 2 files changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml new file mode 100644 index 000000000000..14294edb8d8c --- /dev/null +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra VIP (parallel video capture) controller + +maintainers: + - Luca Ceresoli + +properties: + compatible: + enum: + - nvidia,tegra20-vip + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Port receiving the video stream from the sensor + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Port sending the video stream to the VI + + required: + - port@0 + - port@1 + +unevaluatedProperties: false + +required: + - compatible + - ports + +# see nvidia,tegra20-vi.yaml for an example diff --git a/MAINTAINERS b/MAINTAINERS index 0e64787aace8..8d8b0aa8e009 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20610,10 +20610,12 @@ TEGRA VIDEO DRIVER M: Thierry Reding M: Jonathan Hunter M: Sowjanya Komatineni +M: Luca Ceresoli L: linux-media@vger.kernel.org L: linux-tegra@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml +F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml F: drivers/staging/media/tegra-video/ TEGRA XUSB PADCTL DRIVER