Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7871064rwi; Mon, 24 Oct 2022 22:27:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vNxSNJKLhkWHFBCwuVE20Us1V3iDoUIt693CtV9btMuL3GPaEHm/IEFiuYp+br6URPsna X-Received: by 2002:a17:906:4786:b0:78d:b793:5bf6 with SMTP id cw6-20020a170906478600b0078db7935bf6mr31335814ejc.222.1666675642248; Mon, 24 Oct 2022 22:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666675642; cv=none; d=google.com; s=arc-20160816; b=YhMJAVdnuu1m2EnB5APBDKJ1gTgrFZqoSGxDYPqadqV11rkOeO3rlgQAKVtUioLrzj cntU9ANWVtxm1GEpwuSMtqCDCum9VrkshvlEyi7nxHvLax0+ty+odkMGURXqUbFqb5Uq iLFBurNYDThUjZ4q41WLeRZY7BUmmNR+qXGb9MpyUfNLGpjVGVtsHZBxnTG1T91ZBJSk gAXxBniDf6t+TXZBPX7Y5WuDACWZd+4uuc/3oqAZ7yqAigy3oqcMJC/E8LMXgFzVjTF1 At8CEZxt9upCCbs51vL94Snc+/iIAr2HmlbF9TNUxZmSxtCnfGoaWCjrbiwx00tDR/AO uTSw== 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=PdxBLNzeJXsLg4JPPQOp9WmP0XzX3jm+VBFzQsBEwu8=; b=iuK+lOKLjdFFThp/rTnyYf82d42CAdTu++7IWkHaLFCfiEHr7O/VT/d3Lry5BBozDH RyxJfIn2RY0nsw5fyBWlojPypms0kbW5JOIqoHQixt7enZJsy72rXoB+lWUrjqj4JfIo XqdIXQwjSbeieLVwgy8JKgyK0L9dKmEyjDdBNioG557JhudnuM6EH8vz9yLUyicOyIUq K6MGSSQCIMlZGgVYyh0npSqmwF9J/dlHOVaEDXTGpAE36mDKZ0tXkb37tJerQCzfiGeV wJ5bQFKoUH/C6vHdBn/NsIL0d7i5ODWy0sABAoWBnIAiC7lcBQ79kkiS3zlH+9kjET2n 5KWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZH1Av+78; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a056402271200b004615b09a437si1950427edd.518.2022.10.24.22.26.57; Mon, 24 Oct 2022 22:27:22 -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=@gmail.com header.s=20210112 header.b=ZH1Av+78; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229549AbiJYFCK (ORCPT + 99 others); Tue, 25 Oct 2022 01:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbiJYFCH (ORCPT ); Tue, 25 Oct 2022 01:02:07 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1C383061; Mon, 24 Oct 2022 22:02:02 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id ud5so6166841ejc.4; Mon, 24 Oct 2022 22:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PdxBLNzeJXsLg4JPPQOp9WmP0XzX3jm+VBFzQsBEwu8=; b=ZH1Av+781KKvjoXRQNesJgXbfiJS3TrOv3jGtMkFEom3W58VHecGcVB82utVr409/K 3jN78yr6nFMc7gCvPflM89MvTG03mCJPQvy38XW6ry1t1fjxX8QFqWRCxgFD6/KdvCvA gIdHl9u8m+Ja6iZs5xFhDq1UOynBX9P9TwfZzqHZpbit/sRiBHTrpLqntfsWF3QC3Cnz p9JPbB///VEgS7w0JmXWhdpx23fBgx5IPNSVvG3kadBIO7+FOCJ+9Gr1O2k/xd4qvj0d y2Zjqx2EXBm2uIFk9vQ12kDs8PH/Up0X5ljKYqsACb/huPMz6N1ByKKemdqJGtvooo3J X7vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PdxBLNzeJXsLg4JPPQOp9WmP0XzX3jm+VBFzQsBEwu8=; b=5j0N5BwBKZXVvczgQ6ro+MIBXVW8AS9O0DV8rCUdWXutcUaYnl4poL6cqEjYs5oIon 44I0oiWr59LXfvLx2nf7Y9R7tu79TAneX2xKHKOtMuCAM+FeU5dMkAMlbIPeYBXpvMO8 VJVgN1/XZJ4dVPFSfvEl+4F58aLYi81A5EfuuD9K5yYCVS9Ic3vMwl0Jw9dAbH39Rvz/ SUDLgZ+3txBxwFkk1ISL/E1ZCIuPf4TbZer4WJ8byLEzQ0rc62gte7JUGWmRjMixGkcK uHYvDl/2iAFwDHDRHlUl9+n+4qRYhAp1QixpYrklA4mgmyr8MGkC1hZd+K0I+llrTNNs yMwg== X-Gm-Message-State: ACrzQf1yiCG9ul+00WbW1/7vwjcGDyZNFm3mi0dGKj45WgobjLJGnNlV BUwtTrP0O0yYkeFaLX1VK4nY04twDcx/jg== X-Received: by 2002:a17:907:ea7:b0:78f:4ae:965c with SMTP id ho39-20020a1709070ea700b0078f04ae965cmr30535593ejc.127.1666674121468; Mon, 24 Oct 2022 22:02:01 -0700 (PDT) Received: from jernej-laptop.localnet (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id l19-20020a056402345300b00458898fe90asm919332edc.5.2022.10.24.22.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 22:02:00 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Paul Kocialkowski Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: Re: [PATCH v7 0/6] Allwinner A31/A83T MIPI CSI-2 and A31 ISP / ISP Driver Date: Tue, 25 Oct 2022 07:01:59 +0200 Message-ID: <4776447.31r3eYUQgx@jernej-laptop> In-Reply-To: References: <20220924153304.77598-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Paul, Dne petek, 21. oktober 2022 ob 16:14:26 CEST je Paul Kocialkowski napisal(a): > Hi, > > On Sat 24 Sep 22, 17:32, Paul Kocialkowski wrote: > > This part only concerns the introduction of the new ISP driver and related > > adaptation of the CSI driver. > > I don't think there is any significant issue preventing this series from > being merged in Linux 6.2 at this point. > > Could we move forward on it? It's been around for quite some time now. While I'm no expert in ISP drivers, I can take a look (for other series too) this week. Could you attach output of v4l2-complience output (for both)? Best regards, Jernej > > Thanks! > > Paul > > > Most non-dt patches still need reviewing but should be pretty > > straightforward. Since this multi-part series has been going on for a > > while, it would be great to see it merged soon! > > > > Changes since v6: > > - Added a per-compatible check for the required port in dt binding; > > - Reworded ISP output port description in dt binding; > > - Reversed ISP detection order to have fwnode first; > > - Removed info print when ISP link is detected; > > - Added warn print when ISP is linked but not enabled in config; > > - Fixed sun6i_csi_isp_detect return type; > > - Removed useless initialization in sun6i_csi_isp_detect; > > - Fixed typo in sun6i_csi_isp_detect; > > - Added collected tags; > > > > Changes since v5: > > - Rebased on latest media tree; > > - Added collected tag; > > - Switched to using media_pad_remote_pad_first; > > - Switched to using media_pad_remote_pad_unique. > > > > Changes since v4: > > - Fixed device-tree binding indent-align; > > - Added collected tag; > > - Rebased on latest media tree; > > > > Changes since v3: > > - Removed the v4l2 controls handler from the driver; > > - Added variant structure for table sizes; > > - Removed the info message about video device registration; > > - Removed comments in uAPI header; > > - Used '/schemas/graph.yaml#/properties/port' whenever possible in > > bindings; - Added CSI patches dependent on the ISP driver; > > - Rebased on the latest media tree; > > > > Changes since all-in-one v2: > > - Updated Kconfig to follow the latest media-wide changes; > > - Reworked async subdev handling with a dedicated structure holding the > > > > corresponding source to avoid matching in the driver; > > > > - Switched to clock-managed regmap mmio; > > - Used helper to get a single enabled link for an entity's pad, to replace > > > > source selection at link_validate time and select the remote source at > > stream on time instead; > > > > - Added mutex for mbus format serialization; > > - Used endpoint-base instead of video-interface for "internal" endpoints > > > > in device-tree schema; > > > > - Added TODO with unstaging requirements; > > - Various cosmetic cleanups; > > - Updated copyright years; > > > > Paul Kocialkowski (6): > > dt-bindings: media: Add Allwinner A31 ISP bindings documentation > > dt-bindings: media: sun6i-a31-csi: Add internal output port to the ISP > > staging: media: Add support for the Allwinner A31 ISP > > MAINTAINERS: Add entry for the Allwinner A31 ISP driver > > media: sun6i-csi: Detect the availability of the ISP > > media: sun6i-csi: Add support for hooking to the isp devices > > > > .../media/allwinner,sun6i-a31-csi.yaml | 4 + > > .../media/allwinner,sun6i-a31-isp.yaml | 101 +++ > > MAINTAINERS | 9 + > > .../platform/sunxi/sun6i-csi/sun6i_csi.c | 75 +- > > .../platform/sunxi/sun6i-csi/sun6i_csi.h | 10 + > > .../sunxi/sun6i-csi/sun6i_csi_bridge.c | 32 +- > > .../sunxi/sun6i-csi/sun6i_csi_capture.c | 19 +- > > .../sunxi/sun6i-csi/sun6i_csi_capture.h | 1 + > > drivers/staging/media/sunxi/Kconfig | 1 + > > drivers/staging/media/sunxi/Makefile | 1 + > > drivers/staging/media/sunxi/sun6i-isp/Kconfig | 15 + > > .../staging/media/sunxi/sun6i-isp/Makefile | 4 + > > .../staging/media/sunxi/sun6i-isp/TODO.txt | 6 + > > .../staging/media/sunxi/sun6i-isp/sun6i_isp.c | 555 +++++++++++++ > > .../staging/media/sunxi/sun6i-isp/sun6i_isp.h | 90 +++ > > .../media/sunxi/sun6i-isp/sun6i_isp_capture.c | 742 ++++++++++++++++++ > > .../media/sunxi/sun6i-isp/sun6i_isp_capture.h | 78 ++ > > .../media/sunxi/sun6i-isp/sun6i_isp_params.c | 566 +++++++++++++ > > .../media/sunxi/sun6i-isp/sun6i_isp_params.h | 52 ++ > > .../media/sunxi/sun6i-isp/sun6i_isp_proc.c | 577 ++++++++++++++ > > .../media/sunxi/sun6i-isp/sun6i_isp_proc.h | 66 ++ > > .../media/sunxi/sun6i-isp/sun6i_isp_reg.h | 275 +++++++ > > .../sunxi/sun6i-isp/uapi/sun6i-isp-config.h | 43 + > > 23 files changed, 3309 insertions(+), 13 deletions(-) > > create mode 100644 > > Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/Kconfig > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/Makefile > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/TODO.txt > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.h > > create mode 100644 > > drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c create mode > > 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.h create > > mode 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c > > create mode 100644 > > drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.h create mode > > 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c create > > mode 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.h > > create mode 100644 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_reg.h > > create mode 100644 > > drivers/staging/media/sunxi/sun6i-isp/uapi/sun6i-isp-config.h