From patchwork Fri Apr 21 15:51:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 13220265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5D60C7618E for ; Fri, 21 Apr 2023 15:52:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232248AbjDUPwG (ORCPT ); Fri, 21 Apr 2023 11:52:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231858AbjDUPwF (ORCPT ); Fri, 21 Apr 2023 11:52:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5627125A2 for ; Fri, 21 Apr 2023 08:52:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6FCC064EEB for ; Fri, 21 Apr 2023 15:52:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65AB7C433D2; Fri, 21 Apr 2023 15:52:01 +0000 (UTC) Message-ID: <52fb6582-f571-561c-5168-1d1bfc88dbc7@xs4all.nl> Date: Fri, 21 Apr 2023 17:51:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US To: Linux Media Mailing List Cc: Luca Ceresoli From: Hans Verkuil Subject: [GIT PULL FOR v6.5] Add Tegra20 parallel video input capture Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The following changes since commit 423f331364bfbcd1212b78ac9052894ff5213ac9: media: platform: mtk-mdp3: work around unused-variable warning (2023-04-18 12:40:29 +0200) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.5a for you to fetch changes up to 92c0da47cc120dbea90421191e5610e943ab394e: staging: media: tegra-video: add support for Tegra20 parallel input (2023-04-21 17:16:45 +0200) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Luca Ceresoli (20): dt-bindings: display: tegra: add Tegra20 VIP dt-bindings: display: tegra: vi: add 'vip' property and example staging: media: tegra-video: improve documentation of tegra_video_format fields staging: media: tegra-video: document tegra_channel_get_remote_source_subdev staging: media: tegra-video: fix typos in comment staging: media: tegra-video: improve error messages staging: media: tegra-video: slightly simplify cleanup on errors staging: media: tegra-video: move private struct declaration to C file staging: media: tegra-video: move tegra210_csi_soc to C file staging: media: tegra-video: remove unneeded include staging: media: tegra-video: Kconfig: allow TPG only on Tegra210 staging: media: tegra-video: move tegra_channel_fmt_align to a per-soc op staging: media: tegra-video: move default format to soc-specific data staging: media: tegra-video: move MIPI calibration calls from VI to CSI staging: media: tegra-video: add a per-soc enable/disable op staging: media: tegra-video: move syncpt init/free to a per-soc op staging: media: tegra-video: add syncpts for Tegra20 to struct tegra_vi staging: media: tegra-video: add hooks for planar YUV and H/V flip staging: media: tegra-video: add H/V flip controls staging: media: tegra-video: add support for Tegra20 parallel input Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml | 59 ++++ Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml | 41 +++ MAINTAINERS | 3 + drivers/staging/media/tegra-video/Kconfig | 1 + drivers/staging/media/tegra-video/Makefile | 2 + drivers/staging/media/tegra-video/csi.c | 48 ++++ drivers/staging/media/tegra-video/csi.h | 4 - drivers/staging/media/tegra-video/tegra20.c | 661 +++++++++++++++++++++++++++++++++++++++++++ drivers/staging/media/tegra-video/tegra210.c | 90 ++++++ drivers/staging/media/tegra-video/vi.c | 222 +++++---------- drivers/staging/media/tegra-video/vi.h | 71 +++-- drivers/staging/media/tegra-video/video.c | 5 + drivers/staging/media/tegra-video/video.h | 2 +- drivers/staging/media/tegra-video/vip.c | 290 +++++++++++++++++++ drivers/staging/media/tegra-video/vip.h | 68 +++++ 15 files changed, 1380 insertions(+), 187 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml create mode 100644 drivers/staging/media/tegra-video/tegra20.c create mode 100644 drivers/staging/media/tegra-video/vip.c create mode 100644 drivers/staging/media/tegra-video/vip.h