Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3284796pxf; Mon, 15 Mar 2021 06:16:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywHQ+VljH5f2SD2gYIQv8MLEMgFFhTWK//AU6uVStUsc0v1k9uiS0Em1NlTYN35y/eKNQu X-Received: by 2002:a17:906:2e01:: with SMTP id n1mr15254891eji.537.1615814203765; Mon, 15 Mar 2021 06:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615814203; cv=none; d=google.com; s=arc-20160816; b=LVe6TvhblGKKz4pQOL7hTPjqf6R1fQIkI5PHazP2tuAg4rAnbNIAR2onLPWSJKDSFu d2g4oF0/4+z3FOuwJkwanHKD1/V5oSnu2s+Gn4UiGO8nFkOvg+CzWYrSPtrgE1nOchCr G6cXYqAJ3PCinU596bu6emhUlVujmUGDqX3f+n1kCn4ha8ODc9ZAGk9QIlVwO2ncHF1G 5R5UzZ4Zn2D7xY8bsHOYoQzJbqtdBNkSHDoaVnrERIEzCxDfHiZ9ieu0dOU823OXjJro vKd0ZHKPM0n1zRmhRxXNtKQ4Z0QkHjA4A/+vUves/+6W3wMkiRytc1i/orMRTN27kbYb 8U5w== 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; bh=IHAlW2jgadII3foIY59N7wigcvf6g7u+cKvhIFwHcUg=; b=fARm4wzpakVFNVq6xzzNSTg9/rpqiaZ3ULWtgVhCzvrH8AYBFB069PmVKDGtM5amXW WPX7wN5HRZL+i/kUrBE6IeBldd4TN8wSJJmvXlI2D0AJ9q9B3WD7yCc0PljtTUnmn9tD egLSDiuZGyn1aZyI6X6wgiEFRlYLE5UvQKLqoevmvJwlfz94yzycg12xdYeIbpofXF68 x1haP7acykj3pVNqgDlU88j/UB1xh7foHmZ3hjmynlMHPdFMZAO42/bWfEBl98CxZ8BR DCJWEyXKF9uT2UQQfuIzdOB9YRNUSRRmvbXhu3Qnzw8zek0fhv+zev0soMUJ/0YNG909 aF8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si11220431ejf.96.2021.03.15.06.16.18; Mon, 15 Mar 2021 06:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbhCONO5 (ORCPT + 99 others); Mon, 15 Mar 2021 09:14:57 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:51385 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbhCONOw (ORCPT ); Mon, 15 Mar 2021 09:14:52 -0400 X-Originating-IP: 79.22.58.175 Received: from uno.homenet.telecomitalia.it (host-79-22-58-175.retail.telecomitalia.it [79.22.58.175]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 6FCB0FF807; Mon, 15 Mar 2021 13:14:48 +0000 (UTC) From: Jacopo Mondi To: kieran.bingham+renesas@ideasonboard.com, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, geert@linux-m68k.org Cc: Jacopo Mondi , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/18] media: gmsl: Reliability improvement Date: Mon, 15 Mar 2021 14:14:54 +0100 Message-Id: <20210315131512.133720-1-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this series follows https://patchwork.linuxtv.org/project/linux-media/list/?series=4650 Compared to the previous iteration the most substantial changes are - max9271: Add a wakeup() function - max9271: Add a patch to report errors from max9271_write() - rdacm21: Re-work ov10640 initialization Laurent spotted a mis-use of the SPWDN gpio signal. Fixing it an re-applying the v1 patch that adds the correct delays to the power-up sequence fixes all the ov10640 sporadic initialization errors \o/ Details in the commit message - rdacm21: Increase OV490 firmware boot timeout. Details in the commit message. - media: Propose de-depreaction of subdev init() core operation - Squash max9286 and rdacm20/21 initialization sequence rework to maintain bisectability as suggestd by Kieran and Laurent - Drop i2c speed adjustment as it seems not to have any impact on reliability Run more than 300 boot tests on the in-development version of the series. The previous iteration fixed the failure rate down to 13% from the 25% of the current mainline version. This new iteration on which I run 80 boot tests gave me a single failure when tested with RDACM21 and R8A77970 Eagle board \o/ Thanks j Jacopo Mondi (18): media: i2c: rdamc21: Fix warning on u8 cast media: i2c: rdacm20: Enable noise immunity media: i2c: rdacm20: Embedded 'serializer' field media: i2c: rdacm20: Replace goto with a loop media: i2c: rdacm20: Report camera module name media: i2c: max9271: Check max9271_write() return media: i2c: rdacm20: Check return values media: i2c: rdacm20: Re-work ov10635 reset media: i2c: max9271: Introduce wake_up() function media: i2c: max9286: Adjust parameters indent media: i2c: rdacm21: Fix OV10640 powerdown media: i2c: rdacm21: Give more time to OV490 to boot media: i2c: max9286: Rename reverse_channel_mv media: i2c: max9286: Cache channel amplitude media: i2c: max9286: Define high channel amplitude media: v4l2-subdev: De-deprecate init() subdev op media: gmsl: Reimplement initialization sequence media: i2c: max9286: Rework comments in .bound() drivers/media/i2c/max9271.c | 37 +++++++-- drivers/media/i2c/max9271.h | 9 ++ drivers/media/i2c/max9286.c | 61 ++++++++------ drivers/media/i2c/rdacm20.c | 160 ++++++++++++++++++++---------------- drivers/media/i2c/rdacm21.c | 74 ++++++++++------- include/media/v4l2-subdev.h | 15 +++- 6 files changed, 223 insertions(+), 133 deletions(-) -- 2.30.0