Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1263800rwl; Fri, 24 Mar 2023 08:16:28 -0700 (PDT) X-Google-Smtp-Source: AKy350aMH78GfkKfwuhewCnjC+d6XFnI7DIWsvbBdt7iG6WZiGGAsxuBt/bA/TEUoBBW9KDhnqG/ X-Received: by 2002:a17:906:6c88:b0:932:2282:dbd6 with SMTP id s8-20020a1709066c8800b009322282dbd6mr2969354ejr.5.1679670988315; Fri, 24 Mar 2023 08:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679670988; cv=none; d=google.com; s=arc-20160816; b=QuqU6+berGTD+OwayIRdYubaTxNC9VFuMHeh6v8t/Ebvafs39xw7nhKPcRkFVToh8B VAfoPm9ZphsJrdQjrTmBtPJh/NRCpLFGWk5uKFkBxRMdLlqCOAerZv1JHnUyhOalKPRy OeIr5xxVe2GUndbRc3+dH/kfX/p9VsbGx8hzRDu6i1qGE90YXcdwp43jJXXZ9fN+SUwM BTqRsJU1yeUKSJWAUh1MP+1/udYgrrTUjpk9Tu+jvnsU6B1DLCGUUTIZ9e8yOGLtbEsl 0Ds1ZANDQkKSjOSxgMpBmrzF8Do6E9cjHhtqrOyM5sj8I8z79VaMaVY7/n4dJszbUkMK WQMw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=uEOh0qZu1a2y7GIksVmAUhkUm9kTU1yLtPR9HJ3ihj8=; b=n9XqFp4hCJ59UEBHDBkzFZ2oIzB27riOty9YPjDdLBeEfeB6WbRKcj0ar0+3bWmj8K 5ziwpTeHG0rNGDPa7pt87IVptYB8qCxA6uk8rIglQXMPM0VHMT1PfFPvI9hPxL4Iu/XP epTBpc2qRCYstj7KiFSy81UNJBfninUkKm1COdWy+wfDtPot1QhotEwTnKrstuHj5W0V gi2OfzTj5BXu3hImisV0cDemA8tyUnxhDVIe8l6weQn4iWXdYOp7HxjzWj0vH7ak/kio BWpFDmCjfj5qUjUr8JA8bDzbZgBarbWu4hyPAGBOJ2/iHPhDF37MqzIAly+8Vt1xZvzQ MRxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ZokWZYJT; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020a170906114f00b0093144fbd1ecsi18730014eja.336.2023.03.24.08.16.02; Fri, 24 Mar 2023 08:16:28 -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=ZokWZYJT; 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 S232413AbjCXPM2 (ORCPT + 99 others); Fri, 24 Mar 2023 11:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232387AbjCXPMZ (ORCPT ); Fri, 24 Mar 2023 11:12:25 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80914DBD6 for ; Fri, 24 Mar 2023 08:12:04 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id A446A10000C; Fri, 24 Mar 2023 15:11:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679670723; 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; bh=uEOh0qZu1a2y7GIksVmAUhkUm9kTU1yLtPR9HJ3ihj8=; b=ZokWZYJTGNn9ygnjiqhAgA2WsmQttAsCsQZ9b7QYA3tysT5jhchh0sMl2nn702pbQ2/O60 nYX5hlcdhazB/sVPex+KwLJ5iRrRAY/9e8dWA5Lc3S6oXBGUSO32n8GVFHtD8WQv1I5wt6 7/q8iwSjbX6S7Clm9bj11ZdwL43mljrADDhH30NectMuY7gkiJMg7R23bbULsrefrPQLrT hnQflll/cqzMKsFLgWKAkUJNX007IghfE6XrPI8x/SFqWkfXTzbzo7LqqWoDBytphe/GqK vzDNuIN7x0TYi29ZkUZ1xomVvrRYlnwg8bfMQ4NhxB5aHNkmaeObMR3kQxyRSg== From: Paul Kocialkowski To: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Laurent Pinchart , "Adam Pigg --to=linux-media @ vger . kernel . org" , Thomas Petazzoni Subject: [PATCH 0/9] media: sun6i-csi/isp: Implement MC I/O support Date: Fri, 24 Mar 2023 16:11:40 +0100 Message-Id: <20230324151149.2777981-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 This series is a follow-up to Adam Pigg's "suns6-csi changes to support libcamera" series, with the same purpose. As discussed in the original thread, it takes a different approach and ensures input/output format matching is maintained without regression. New v4l2 format info is also added about unusual formats used by the driver so that no specific logic is required to handle them. The same functionality is also added to the sun6i-isp driver. Paul Kocialkowski (9): media: v4l2: Add RGB565X pixel format to v4l2 format info media: v4l2: Add NV12_16L16 pixel format to v4l2 format info media: v4l2: Introduce compressed pixel encoding definition and helper media: v4l2: Add JPEG pixel format to v4l2 format info media: sun6i-csi: capture: Rework and separate format validation media: sun6i-csi: capture: Implement MC I/O with extended enum_fmt media: sun6i-csi: capture: Implement enum_framesizes media: sun6i-isp: capture: Implement MC I/O with extended enum_fmt media: sun6i-isp: capture: Implement enum_framesizes .../sunxi/sun6i-csi/sun6i_csi_capture.c | 157 ++++++++++++------ drivers/media/v4l2-core/v4l2-common.c | 6 + .../media/sunxi/sun6i-isp/sun6i_isp_capture.c | 35 +++- include/media/v4l2-common.h | 7 + 4 files changed, 154 insertions(+), 51 deletions(-) -- 2.39.2