Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp374431pxv; Thu, 22 Jul 2021 02:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVLYJqoizaeUeZx/DW/DHRPq8Nd8tBCmgoHbcyt/I7tm++qQXUZZ0JGoVtgs9EG2+z7f39 X-Received: by 2002:a17:906:4816:: with SMTP id w22mr42101141ejq.14.1626945333036; Thu, 22 Jul 2021 02:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626945333; cv=none; d=google.com; s=arc-20160816; b=DKqeCzJF9aExSAMTmBbV4FbOpLwA5tNMxypyjozfENrXNj4V4yBtUY45yIi1HZtwzT jw+q1U1ejIlCXGhWrv/pZTpx5sDEtz6CpaKs3M6yqA76cyA69PFAUR4dnTyjsIvlwjXt WmKFlFPC+V8DccVcVR7vY6yxsNePClYQZ8U9bcgLFL7C+NvL1WEcuflScXnMh6tiW08a 5AILr9ZTA7gi4YjjH8ulVcPQAzCUI5KlbhZAtEU0gSYqbrUmVCezKh2mWPeMkB8PiQkS qtHSr3TJvVpfmefPse4m59VSv3E61bsuidV3SaRavvGqdUDAQ7MYVJ/Y4T9qdpLIoImz jb9w== 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=ZE90K4I0cgef1OQKGsAw7B3Gxd6fCcEB+Fn+/UvzlVM=; b=YXwONASFVi6CVp5ulAxhoVR2pJJPv2zOF+mNWIDrZB+awtdba3FfbONQEb/T+3rbhI j/fg5TMPLM2yN0VM9dJsHlK39wFfFH5JucjdeU8GbfiZpHMwbrlgH/dMTjiVV+PWl50p wo74EIrkbJyT2C+AXL5F1rZYpgh2wJ5UPPrynnUgW22vRnOx6yHkriWIu5o5G/+QFyy2 I9vM/2LTtlv+SW2os8p+sbOI1hdqOWeEzK1XRthBlqgHq94FwNGH4/YbS2DzioOUwd3P QkAus4uUyLqr72wIPAuoLy4NiYcrIqHPaqBe9Q+XTTvTwwYO4yKyV+Hl/2Fau/kZveZm mvPw== 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 q19si32921337edv.125.2021.07.22.02.15.09; Thu, 22 Jul 2021 02:15:33 -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 S231368AbhGVIbY (ORCPT + 99 others); Thu, 22 Jul 2021 04:31:24 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:34715 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231296AbhGVIbX (ORCPT ); Thu, 22 Jul 2021 04:31:23 -0400 Received: (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B3C0F20000C; Thu, 22 Jul 2021 09:11:55 +0000 (UTC) From: Jacopo Mondi To: Geert Uytterhoeven , Magnus Damm , Laurent Pinchart , Kieran Bingham , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Rob Herring Cc: Jacopo Mondi , linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 0/8] arm64: dts: renesas: Enable GMSL on Eagle and Condor Date: Thu, 22 Jul 2021 11:12:31 +0200 Message-Id: <20210722091239.26451-1-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, here we go again with the attempt to try enable GMSL for Eagle and this time also Condor board. v5 highlighted an issue with the integration of RDACM20 which shown failures at start streaming time due to conflicts with i2c writes performed by the embedded microcontroller. A new patch - media: i2c: rdacm20: Re-program chip address earlier is aimed to fix the issue by reducing the collision window by re-programming the chip address earlier. All capture session I've run seems stable now. Compared to v5 integration for the Condor board is now included. Condor has 2 GMSL channels, something the current version of the MAX9286 driver does not support. However the DTS integration can be upstreamed but a single channel can be used at a time. Support for Condor required a reword of what was called eagle-gmsl.dtsi in v5 and is now called gmsl-cameras.dtsi to expand support for the secondary GMSL channel. Integration of the new "maxim,gpio-poc" property required for Eagle/Condor is fully reviewed and can be eventually fast-tracked. The series is based on: https://patchwork.linuxtv.org/project/linux-media/list/?series=5847 and has been tested on Eagle V3H board, while only compile tested for Condor. Thanks j Jacopo Mondi (5): dt-bindings: media: max9286: Re-indent example dt-bindings: media: max9286: Define 'maxim,gpio-poc' media: i2c: max9286: Use "maxim,gpio-poc" property media: i2c: rdacm20: Re-program chip address earlier arm64: dts: renesas: condor: Enable MAX9286 Kieran Bingham (3): arm64: dts: renesas: eagle: Enable MAX9286 arm64: dts: renesas: Add GMSL cameras .dtsi DNI: arm64: dts: renesas: eagle: Include eagle-gmsl .../bindings/media/i2c/maxim,max9286.yaml | 275 +++++++++------ arch/arm64/boot/dts/renesas/gmsl-cameras.dtsi | 332 ++++++++++++++++++ .../arm64/boot/dts/renesas/r8a77970-eagle.dts | 112 ++++++ .../boot/dts/renesas/r8a77980-condor.dts | 193 ++++++++++ drivers/media/i2c/max9286.c | 125 +++++-- drivers/media/i2c/rdacm20.c | 10 +- 6 files changed, 906 insertions(+), 141 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/gmsl-cameras.dtsi -- 2.32.0