Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4576135rdb; Tue, 12 Dec 2023 03:45:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsQv4vmgOEMneUa+NxWbgj48eKHRKA/OONGPtJG7cuHziJahyC72EDxideIFA6LfnqiO+d X-Received: by 2002:a05:6358:2919:b0:16e:5549:2b9e with SMTP id y25-20020a056358291900b0016e55492b9emr6957151rwb.11.1702381503453; Tue, 12 Dec 2023 03:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702381503; cv=none; d=google.com; s=arc-20160816; b=f3xwuUDkGsKhadNRu0plJUWTLKKa/++FcrcirtD0Pi6vHtpMKrkL4gUe6UwA3xBYbG fwfZDgeNAsJhpYY9IW9ouX6FhinL4zEWMfNWqxA1NgPVPK0mRLXOLh4jR+plNbj6xINX cs+eLSaN/aKZbLkGl+ta3b8tSWGxccUdtclfnPuwVJEHdtucbi1ghjKddGdwvVUPgCY4 lts9K7hyAK8g28PVAaSAT0YSp6aQQ7NnDBTc8JuPqgq8SIqaHQpkHrOyTMXfaz/KWvSL OH8mi2d1CkQFrPLkiWVw77ucyz7c6LEDg4ZCm5vIfUDT1+cV5w3ZDmWtAc9BElslWqRx ItRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VLp+6kB70DCE3KUm4Gy/AsdidSLhD4UHtyeSm7Ac4Gc=; fh=1k71XqR1qr4KTH81GYZ2v+IdUm06pSx5+TccJ4siIi8=; b=poN8dmiKYDYSv1YIePWx19xKNl2ebxAQ362rZsblHD2cVwc7J72EsBLnmIGvOQI+6l ZnHiXxZySPj6sjgExasQcsJiwdUZMpKeCxMA0AP+ip49nn8RIJI3rE0Y8ikgZrBEOCB3 zHG4KIvbABHqY62CKyI1ojUeDGf4tRxG9t2FSyjpnpMMfiaJeBHgCMvKkC6j6x0AQqvl EUjjU6Xbo6669iogEs3bRCj/i1Z6gCzO12ivVB1S7o7POImajrcZ62+yIJ4zh2Bnr7DW AXuwrxJ4TBnmnRqooTOJngUE/hdJVjGPHNTq/Qz2/+ZnKG+7bbKXQUL45GH5wwnR6VOt Nh6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kMLKFIre; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z2-20020a63c042000000b005b8ef498e2fsi7659913pgi.181.2023.12.12.03.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:45:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kMLKFIre; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 9E6A780CF543; Tue, 12 Dec 2023 03:45:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232364AbjLLLoq (ORCPT + 99 others); Tue, 12 Dec 2023 06:44:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbjLLLop (ORCPT ); Tue, 12 Dec 2023 06:44:45 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22E9AAF; Tue, 12 Dec 2023 03:44:51 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3362216835eso1505520f8f.3; Tue, 12 Dec 2023 03:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702381489; x=1702986289; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=VLp+6kB70DCE3KUm4Gy/AsdidSLhD4UHtyeSm7Ac4Gc=; b=kMLKFIreRhzmDCI5fUMsmMZU1M/MvJMi12wsXdQbq6l54Gd57Tln8ylp5dSBvQIkse otVU7KPpKMfp20bCrmxOx/72ZjV3254SIFLM4t+PEAtN5P6zkz6W1TLc4OEWkYLHU1JL CQRHItXfeHNWAD+BLNIJ1axDSspdznUJNiW9pIYgCw+a3vfJRVtIR/Qc4JGRyvlyMR2b Tu9ICQJ1QCjDDis1y+1Dfb+jbzbNt20w8A8dKvdAMJTFkYrC346SSBLdEXCzL8Hu6Z2d 4EXFtxtyJv28KV74gPzjZNNI5WvSKE0uLzHp2OaxcqviX0UbE2wul6W1BTU35su0swWm 0pDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702381489; x=1702986289; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VLp+6kB70DCE3KUm4Gy/AsdidSLhD4UHtyeSm7Ac4Gc=; b=Rxl4D5MW+5HcNxNd7/601bSeasyJATIQnhu+NBgnHr33nJ8Gf3KtYy3VMyCeNV14SH QD9iIEHrP7qsb/E30KWWtyGzh41EkD8/9Rdgg0045BGeZUI+89JQaU3CQGtQbY57cB8j N0Ng/4oTHYMQg18xxxIE32Sr7pc/nvmUEHun+Xgkb65XZk9T5DHEIFn0BcBcRuc6Qfa7 67vryxxfhqUBYHgrebixPclJfrKkEGrvCYn8dzv8xo0Fvq0SXyBzea9BfqkkK+yBGOkn tQ/2e3pzK8vubARjxnASc/s179ce+Pp1DqEJAMZMbWXrMUrWGQLEpEQVM+LPmn3mYkF0 9Hww== X-Gm-Message-State: AOJu0Yy/FIg9va/rpO6KC4U1AWl0IzAf70g7VaWat8G4gmE3IgqSl40e JClYUpJ6Xyyo1eJfUx4+g/M= X-Received: by 2002:a05:600c:4da1:b0:40c:32cf:62fb with SMTP id v33-20020a05600c4da100b0040c32cf62fbmr3072921wmp.163.1702381489306; Tue, 12 Dec 2023 03:44:49 -0800 (PST) Received: from tom-HP-ZBook-Fury-15-G7-Mobile-Workstation (net-188-217-59-229.cust.vodafonedsl.it. [188.217.59.229]) by smtp.gmail.com with ESMTPSA id bh15-20020a05600c3d0f00b0040b4ccdcffbsm16601087wmb.2.2023.12.12.03.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:44:48 -0800 (PST) Date: Tue, 12 Dec 2023 12:44:46 +0100 From: Tommaso Merciai To: Sakari Ailus Cc: laurent.pinchart@ideasonboard.com, martin.hecht@avnet.eu, michael.roeder@avnet.eu, linuxfancy@googlegroups.com, mhecht73@gmail.com, christophe.jaillet@wanadoo.fr, Mauro Carvalho Chehab , Liam Girdwood , Mark Brown , Hans de Goede , Hans Verkuil , Tomi Valkeinen , Alain Volmat , Paul Elder , Gerald Loacker , Andy Shevchenko , Daniel Scally , Nicholas Roth , Linus Walleij , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v15 3/3] media: i2c: Add support for alvium camera Message-ID: References: <20231204094719.190334-1-tomm.merciai@gmail.com> <20231204094719.190334-4-tomm.merciai@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Dec 2023 03:45:00 -0800 (PST) Hi Sakari, On Tue, Dec 12, 2023 at 11:38:42AM +0000, Sakari Ailus wrote: > Hi Tommaso, > > On Mon, Dec 04, 2023 at 10:47:16AM +0100, Tommaso Merciai wrote: > > The Alvium camera is shipped with sensor + isp in the same housing. > > The camera can be equipped with one out of various sensor and abstract > > the user from this. Camera is connected via MIPI CSI-2. > > > > Most of the camera module features are supported, with the main exception > > being fw update. > > > > The driver provides all mandatory, optional and recommended V4L2 controls > > for maximum compatibility with libcamera > > > > References: > > - https://www.alliedvision.com/en/products/embedded-vision-solutions > > > > Signed-off-by: Tommaso Merciai > > Could you run > > ./scripts/checkpatch.pl --strict --max-line-length=80 > > and address the issues in a patch on top of this set? > Yes ofc. You need also the following? --- a/drivers/media/i2c/alvium-csi2.c +++ b/drivers/media/i2c/alvium-csi2.c @@ -2426,8 +2426,8 @@ static int alvium_probe(struct i2c_client *client) goto err_powerdown; if (!alvium_is_alive(alvium)) { - dev_err_probe(dev, ret, "Device detection failed\n"); ret = -ENODEV; + dev_err_probe(dev, ret, "Device detection failed\n"); goto err_powerdown; } Let me know. Thanks for your work. Regards, Tommaso > Thanks. > > -- > Sakari Ailus