From patchwork Thu Mar 9 14:43:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 66924 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp342407wrd; Thu, 9 Mar 2023 07:09:15 -0800 (PST) X-Google-Smtp-Source: AK7set/SG2NE0s9f8pXNjTt75XY6JmvR9+i3q9lETQ9hR90qmo6Hp4okFZ2KtU4YaAmD2AKdtXQs X-Received: by 2002:a05:6e02:1e06:b0:315:5467:4a3f with SMTP id g6-20020a056e021e0600b0031554674a3fmr18604425ila.30.1678374555328; Thu, 09 Mar 2023 07:09:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678374555; cv=none; d=google.com; s=arc-20160816; b=bvs2MjB/I2N/MOJSORiCKI9376FgELF/tYdkXlDJtuZ5RzMVtshq6Eiz+lQQzP9d9Q ytnBzsoIHGG/iP+ihBqnz6IRQSsXLH7TtWkOnR4TNylONmAp0IBafUnx2ZgMD0Mnpd9D LBPq9/5mNHdLwYODHm8577oX49jKhz4RzALhduH9XyjcrvNQCwx5Ch8nMGMexjbeeK5B wh+VNCt5MNJU5vfbmd2LjDJY6HRSO/0MjQvIhcVUNfw5wiUzCcN7wAw7Gcp3ejrlNNmB 5m4T3+vbSc4YXKm3wk0P5GQhsRvPy27ZbVwsdvyTHZp1f63hlQKV2eaR/wXg3jELGqQT ROXQ== 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=CT67MMLTBEUvKlkZQjsLOaHRSzjrMn01Y3mlBcSceNI=; b=HROICujKGOkYtoDhTAlQHOxRJeITexZ6lbs/VOAj/DaXzt7gWR52lUuaDLEcSHmDPi h4DCxPLNyip0l8dQpQik1+tRpz00jTDVxQKnuqK9m1k5nvGaE9Hafwq1s2gp8pmZBEbw kPRBY2TcC4ZvttNl8ucs2oD6SxdY5mw0MIxe8JKCMTVgYGYVEOjC+sV2UNJml5V7EhL/ G536udGFb+IgHuickYIWgDqaF/JVEo516bYl+UfOhB/qPuVz4MqV9mkw3mtQpsqNrbER YunsJEcy5PKJX2o7tK4+gz4Rvvu633WMCO3FZydxO9gVxZiwkR9qissJFdkMql1mR49w EunQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=S6lR2S4o; 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 o8-20020a02cc28000000b003de32f6fbcbsi18632752jap.4.2023.03.09.07.09.01; Thu, 09 Mar 2023 07:09:15 -0800 (PST) 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=S6lR2S4o; 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 S231653AbjCIOnu (ORCPT + 99 others); Thu, 9 Mar 2023 09:43:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230283AbjCIOnn (ORCPT ); Thu, 9 Mar 2023 09:43:43 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED605DCAC; Thu, 9 Mar 2023 06:43:30 -0800 (PST) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 970E2FF80E; Thu, 9 Mar 2023 14:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678373009; 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=CT67MMLTBEUvKlkZQjsLOaHRSzjrMn01Y3mlBcSceNI=; b=S6lR2S4ozCZk/ldMp002bGQ1jQt7jiiC2U9cUtom6TGz7iGG58WLdLPbn/fVbueihv0iaz oPkkB3vsCBLIAMK3p7j5mwJ0IPRMjrGyaXOPH70BGQsLRrDeEad+f61Z96FOI0Xtvsg2Fu 1d3Sraz6QdjbOOZ56Yy4lxByY0Nv4hCb5gQ1TxaOUo638mzUIw0A4XEipgPbGqUSkKpdSx 0bEDlURPmJ77DoLpvmDa7WrCDsjkt5ZxxNCyRWW0YN/nrjaVSsuTsCU0vOfi04JxQtqX8C +l4hGhRCgoqJxIOIYC1lb5lwkLjkS0lgSQ4ruoEceTe4jQyV3AcOj5O7p3tyQg== From: Luca Ceresoli To: Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Dmitry Osipenko , Hans Verkuil Cc: Luca Ceresoli , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Thomas Petazzoni , Paul Kocialkowski , Richard Leitner , Krzysztof Kozlowski Subject: [RESEND PATCH v4 01/21] dt-bindings: display: tegra: add Tegra20 VIP Date: Thu, 9 Mar 2023 15:43:00 +0100 Message-Id: <20230309144320.2937553-2-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309144320.2937553-1-luca.ceresoli@bootlin.com> References: <20230309144320.2937553-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,SPF_HELO_NONE, SPF_PASS 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?1759903277963107200?= X-GMAIL-MSGID: =?utf-8?q?1759903277963107200?= 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 --- 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 8d5bc223f305..40c069c23d61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20621,10 +20621,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