From patchwork Mon Jan 30 14:15:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 50301 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2202414wrn; Mon, 30 Jan 2023 06:17:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXuitTmTl51cpbjjGwe9L/VH7W0tqgoJgqGwVnF7F+oKpBJmL7I76OV9YxefvtbY0cQZg0dM X-Received: by 2002:a17:902:778b:b0:194:6409:b54a with SMTP id o11-20020a170902778b00b001946409b54amr46605446pll.49.1675088222967; Mon, 30 Jan 2023 06:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088222; cv=none; d=google.com; s=arc-20160816; b=XojKh7MQmsLbFFZWdgHzE5IG7CXdjn7Gc6aryhSyloH5K14WLetJjBmm8vPYRMuKg4 Xvnfx4rQrFyPHfXWA7pQDuLCSJ8422aVdRVJpgDX3vwxm4/S1KXWaCmEQUWbek4RTLsd iCdeu/Rh3K5jK+VyAW9qcB6WflI2NAr2+QP2ys+/aWsblgIVehU28Xw+llQPj0tDkXaK 7cOlH1CxgUNiBxpprk1tG1OS/O+9KfQDHO83EVp/w25t1RPsvQwvNjN3E78PXgZAF3np 7KWAE45KBSjzgUuv43jkvxGOVCiv5cok5/Ppeu9LAPPWv0HbB0u4LqmI4XB982gIMjtt AoYg== 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=yckFIY93u4F86IWY12zWqYvF4URZaDP4YtutjeyqpwU=; b=yP/kL/5IugRcdo4McEaf/d1zLTId2WZdjITayuAkjHIU50lU9ZDzuPeNIzCrK57GNC HH1SG9kqOD3all/Gb/Wf4ZPBihnPxLAqSF2Dsb+ZQDlKLbhTfkEcMJDEN3ZiTN/+qB2j rFqjJ56a3lFnxjZ4CmuqeDzGPvWuAXsUMNGzGeInRtcqEpEfR+fKndI+zr23PFv/kmKw JaG75C1W2HL3JxCPf9dH/KQ9EMg4Sly7H1lsXrE0DPuNRBZbccBmW+sJwNnRp3tcONKO LNfLdssQaMXWNr/LRndRO3nCaCD4c0L00yzNfe4GUnHT9nfDMA6eeFNXkoGpst8eXE4U LB+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Q4sJG2JX; 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 e3-20020a170902744300b001895a1d382dsi12578187plt.451.2023.01.30.06.16.50; Mon, 30 Jan 2023 06:17:02 -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=Q4sJG2JX; 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 S237410AbjA3OQm (ORCPT + 99 others); Mon, 30 Jan 2023 09:16:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237385AbjA3OQc (ORCPT ); Mon, 30 Jan 2023 09:16:32 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 366093CE21; Mon, 30 Jan 2023 06:16:29 -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 8967E100014; Mon, 30 Jan 2023 14:16:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675088188; 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=yckFIY93u4F86IWY12zWqYvF4URZaDP4YtutjeyqpwU=; b=Q4sJG2JXEjO4qRmKUMiAsBcDbHceEZZtPg5u5UMfhoyr2t1qo/qqKODqG+yZEW98pTjPak VNmUhhJJSqXR//GYNOBrSn7yAW3kqMwUV0h2PQhdnkHkI31l28bYKf+SjhucdaKugKBAsv nnl06ON3N4TIN1JS7OWcIhRJuQR04jk5NuEhdh02kNN2BXf2hMraZVVW8mzigm7GH6hE9M aSkzgA5hs0wv0VmPZ0FAh2UnjsKr3kC/3rJqYi2BWuIx/UqeD2xxk0EcKUzFe1bWOOuEdR Us85/TH1W8TnihKTSduFfX3D7wQaUI+DOm2AV1zcjOT/3WXf/SAjiL9p23/YdA== 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: [PATCH v4 01/21] dt-bindings: display: tegra: add Tegra20 VIP Date: Mon, 30 Jan 2023 15:15:43 +0100 Message-Id: <20230130141603.323221-2-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130141603.323221-1-luca.ceresoli@bootlin.com> References: <20230130141603.323221-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 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?1756457308263663841?= X-GMAIL-MSGID: =?utf-8?q?1756457308263663841?= 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 8a5c25c20d00..5dc335adee46 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20588,10 +20588,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