Message ID | 20230616135922.442979-17-tomi.valkeinen@ideasonboard.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1378666vqr; Fri, 16 Jun 2023 07:20:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UNwsyTJBgSHjEqkG8k8ndBlyyyLOp9s358NSgPxQzQT8ZZGu/f77c5oSUAnJWecUhyGCV X-Received: by 2002:a54:4181:0:b0:39c:b3ae:865e with SMTP id 1-20020a544181000000b0039cb3ae865emr2027799oiy.55.1686925201251; Fri, 16 Jun 2023 07:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686925201; cv=none; d=google.com; s=arc-20160816; b=oEFQ5KGac37zv3fZyLLP+YG5xCLEztBGRtse1FyIwfNFg/neyGOXxRwPu03AiOWJfr 33ETpFA1s/RGg5Y7q5QxaaAILuJpmJKptNVhg1eQOYaZqFHRMr5sNw260o++63obMxUU WsQppyGnOelqJHnf8cylsHQInrow2KhaMOCq11mxO5JzyPn19tO6BlZL9Aiwch/eOTqn Hi9vYtemTQEBLj3vRBUUS9zLGXkZnIvqOWtDH8S74qCDu2IPhMkZdAdKr6J6W21nJ9QB scYmZ3xco1lcE75wIuOQcjGXNmkLZ+gG60mewB2sklLJTT4QRY3/f5kFc/pPlxKcQzMG tU/Q== 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=M6Dvx/RTb8jP9gcmTTfTWP5LcJQFra9TnUcmyzokxSM=; b=DBdxlMVxDRY/A3MQMWIgC907OxRbENqFu6gNlCE/wJZg12TUyJXZUAod7XvosKq0fE 5VUmyE1eBCMwQa6xIVvEwSwggKdi0l2Hrl4c5Cqg2ooo81Db5GS3ybhEQe/EdkfoYfHN cIkgn6jJmZk2BLDwWcs0QXldnBq7YdhCX0Ne0cjQetLcQrn8SwtMkU1EiNsK15HI+nUM z4zeX316PRQnM2IadSiDdR/B9FqbgFDaNDkWiYVjf65dzVp4f5nsul8MTMpiP3g9BbWa 0kKGb3K/pe81FBqMtnLustxObifGSz+hkWi3GUEfKgMdmMNwiMy/YOBHYd9K5CyZosll kvdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=YhKCcGXH; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a17090a898400b00247526ba960si748690pjn.119.2023.06.16.07.19.46; Fri, 16 Jun 2023 07:20:01 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=YhKCcGXH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345323AbjFPOBo (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Fri, 16 Jun 2023 10:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345503AbjFPOBS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 16 Jun 2023 10:01:18 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10E443A9D; Fri, 16 Jun 2023 07:00:45 -0700 (PDT) Received: from desky.lan (91-154-35-171.elisa-laajakaista.fi [91.154.35.171]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2A81BD51; Fri, 16 Jun 2023 16:00:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1686924004; bh=eF3z6F3qkfaZWengl1rJ9UScYHxSbFdIgkIxfPM3nIQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YhKCcGXHnP4mKRmxlveZIsEzFYPGB7LDo6vEXMNpKAK3O8a9XuhyOxJfngpOqNP3o tFgx3C8JMQUSICiyggRQoAqv6361pVkMon0XD6ZhgUm8vxEZYXbnYWyPLyY2X0moqI qz3d+Ox6vy3ZQFG/RitHhH3xYCE2e6WGHc+OqWMo= From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Luca Ceresoli <luca.ceresoli@bootlin.com>, Andy Shevchenko <andriy.shevchenko@intel.com>, Matti Vaittinen <Matti.Vaittinen@fi.rohmeurope.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Sakari Ailus <sakari.ailus@linux.intel.com> Cc: Wolfram Sang <wsa@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Peter Rosin <peda@axentia.se>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Michael Tretter <m.tretter@pengutronix.de>, Hans Verkuil <hverkuil@xs4all.nl>, Mike Pagano <mpagano@gentoo.org>, =?utf-8?q?Krzysztof_Ha=C5=82asa?= <khalasa@piap.pl>, Marek Vasut <marex@denx.de>, Satish Nagireddy <satish.nagireddy@getcruise.com>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Subject: [PATCH v14 16/18] media: i2c: ds90ub960: Allow FPD-Link async mode Date: Fri, 16 Jun 2023 16:59:20 +0300 Message-Id: <20230616135922.442979-17-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230616135922.442979-1-tomi.valkeinen@ideasonboard.com> References: <20230616135922.442979-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768869279479243003?= X-GMAIL-MSGID: =?utf-8?q?1768869279479243003?= |
Series |
i2c-atr and FPDLink
|
|
Commit Message
Tomi Valkeinen
June 16, 2023, 1:59 p.m. UTC
Allow using FPD-Link in async mode. The driver handles it correctly, but
the mode was blocked at probe time as there wasn't HW to test this with.
Now the mode has been tested, and it works.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
drivers/media/i2c/ds90ub960.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Fri, Jun 16, 2023 at 04:59:20PM +0300, Tomi Valkeinen wrote: > Allow using FPD-Link in async mode. The driver handles it correctly, but > the mode was blocked at probe time as there wasn't HW to test this with. > Now the mode has been tested, and it works. Looks good, but I assume you will incorporate this into the original code. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
On 16/06/2023 17:34, Andy Shevchenko wrote: > On Fri, Jun 16, 2023 at 04:59:20PM +0300, Tomi Valkeinen wrote: >> Allow using FPD-Link in async mode. The driver handles it correctly, but >> the mode was blocked at probe time as there wasn't HW to test this with. >> Now the mode has been tested, and it works. > > Looks good, but I assume you will incorporate this into the original code. Perhaps, but to be honest, I just want to get the basic set merged, as it's been circulating for so many years. So, as I mentioned in the earlier email, it was perhaps a mistake to include these additional changes... If the reviews for the new commits are quick and easy, I can squash them and send a v15. But if there's anything that needs more discussions, I'd like to leave the rest for later. Tomi
diff --git a/drivers/media/i2c/ds90ub960.c b/drivers/media/i2c/ds90ub960.c index 6b70fa5bb22f..b0ffca51ee62 100644 --- a/drivers/media/i2c/ds90ub960.c +++ b/drivers/media/i2c/ds90ub960.c @@ -3240,7 +3240,6 @@ ub960_parse_dt_rxport_link_properties(struct ub960_data *priv, switch (rx_mode) { case RXPORT_MODE_RAW12_HF: case RXPORT_MODE_RAW12_LF: - case RXPORT_MODE_CSI2_ASYNC: dev_err(dev, "rx%u: unsupported 'ti,rx-mode' %u\n", nport, rx_mode); return -EINVAL;