Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1627720pxb; Mon, 12 Apr 2021 02:49:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdi99qVb9ab8VT3CK/0MtW4EaZPDOBZR48qAUk8ZKBXodPTpSuxObarE6uQm+qTlDHhkcR X-Received: by 2002:a65:6704:: with SMTP id u4mr25480566pgf.169.1618220953427; Mon, 12 Apr 2021 02:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618220953; cv=none; d=google.com; s=arc-20160816; b=ah43rt0GWYhjx7hBD/jDiUak2JkoG806j7E6jzHvveNfHXLIkGIP5v+28T2v0Rjzib IHSThD9dODVTEEwQdSF5+sZ1lWOlxviA8eIxHNrZuZsrNdVdosZvMRED03hY7kbXKUJZ l1eT1lL1VaBMlbdEbmHcoRIFWjT/o15j/Zc2Jaaid5w37J4aKOBWFOmbmH6WKbXLhn68 /BFb9UhFLld0VJCnnpTdPXxsz2KLYHw9Ia35k4N1hqZssL+nDCuTsNVUxenkLrgWGupZ 0d4MDKkiMmOFTwrgRTqgEIjSwRNmq1XwwWFzEboWqf4ejJCWKMaGgQ5Esw5qz3kVChFE DvcQ== 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=p/k3VVU//8b5xOOK6P3libGUZH9o/4yqUiN1wZ1RXnY=; b=qTpkXHGDFxIS93U/7ZsjhKrsl/7Joqx2eMfGZXB+aZjGIXyLCtRor6++wuBwOCWjZ6 msTfDhbgbXW3kXoSEk2CYozxlp7vQ5vIlhb1r7iwiukn2S27ioXGfsu5nLyoJzwSxmwU RG3u+ibRGkalOuKoVW+m2DFyFD3T3DNJ53zppYx8Ni8YAPACCEA7b7EvU7IIrk1lUdbV QMBfDfv5/tyJMyVKlzXjkU/vFi9cT8Gbq8tomh36jCSAPRAF2gRrnfLx3vguLQA5yqtw W35sWCjBhVw9sWwtEJuRj0QuTG70DLOOl/5Rlx/222jx5KKyjfomTI1rGIoclx3N4M+t Sjyw== 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 gq11si11405910pjb.130.2021.04.12.02.48.52; Mon, 12 Apr 2021 02:49:13 -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 S239054AbhDLJrT (ORCPT + 99 others); Mon, 12 Apr 2021 05:47:19 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:39825 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240594AbhDLJej (ORCPT ); Mon, 12 Apr 2021 05:34:39 -0400 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 38672200005; Mon, 12 Apr 2021 09:34:16 +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 v4 00/17] media: gmsl: Reliability improvements Date: Mon, 12 Apr 2021 11:34:34 +0200 Message-Id: <20210412093451.14198-1-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, series following: v1: https://patchwork.linuxtv.org/project/linux-media/list/?series=4650 v2: https://patchwork.linuxtv.org/project/linux-media/list/?series=4861 v3: https://patchwork.linuxtv.org/project/linux-media/list/?series=4904 This series is a minor rework that builds on top of the comments received on v3. I've re-order patches for better consumption: [01/17] -> [05/17]: max9286 style fixes [06/17] -> [07/17]: max9271 minor fixes [08/17] -> [10/17]: rdamc21 fixes: these patches are relevant for RDACM21 stability [11/17] -> [15/17]: rdacm20 fixes [16/17] -> [17/17]: GMSL initialization series rework, also relevant for syste, stability The only part where consensus still has to be reached is the last two patches. Unfortunately, Sakari's suggestion of moving the remotes initialization to s_stream() time did not work, and this version is the only one I've found that gurantees a reliable initialization sequence. I've cc-ed Hans and Sakari to continue the discussion. Run quite some tests with Eagle and RDACM21: 1378 boot cycles with 100% boot success (thanks Kieran for the board access). Thanks j Jacopo Mondi (17): media: i2c: max9286: Adjust parameters indent media: i2c: max9286: Rename reverse_channel_mv media: i2c: max9286: Cache channel amplitude media: i2c: max9286: Define high channel amplitude media: i2c: max9286: Rework comments in .bound() media: i2c: max9271: Check max9271_write() return media: i2c: max9271: Introduce wake_up() function media: i2c: rdacm21: Add dealy after OV490 reset media: i2c: rdacm21: Fix OV10640 powerup media: i2c: rdacm21: Power up OV10640 before OV490 media: i2c: rdacm20: Enable noise immunity media: i2c: rdacm20: Embed 'serializer' field media: i2c: rdacm20: Report camera module name media: i2c: rdacm20: Check return values media: i2c: rdacm20: Re-work ov10635 reset media: v4l2-subdev: De-deprecate init() subdev op media: gmsl: Reimplement initialization sequence drivers/media/i2c/max9271.c | 42 +++++++++-- drivers/media/i2c/max9271.h | 9 +++ drivers/media/i2c/max9286.c | 56 +++++++++------ drivers/media/i2c/rdacm20.c | 135 +++++++++++++++++++++--------------- drivers/media/i2c/rdacm21.c | 124 +++++++++++++++++++++------------ include/media/v4l2-subdev.h | 15 +++- 6 files changed, 253 insertions(+), 128 deletions(-) -- 2.31.1