Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp361608pxb; Wed, 14 Apr 2021 17:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9XATQdt/XPo+GhDrY3Zo6hvBVH6svQ/xPHWmx46z7rfSqTsj4SBIfbScEO0wVQnOUgTj9 X-Received: by 2002:a17:90b:228a:: with SMTP id kx10mr914866pjb.33.1618447940851; Wed, 14 Apr 2021 17:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618447940; cv=none; d=google.com; s=arc-20160816; b=N+ob8bD3LsY7D+DfcQtSjtllO8/UfDjJHZNt8STlKK7UDvmbMCe7lx8tu1rUUnP9vD 6ZnQ9XX5AmnO/nPBvMak02Y1MUHIWCCl7oXK3wB8cy1C1CJ9xiuW41zBdfQnhnaF6Dwi E9SJHsFedimAezANtAUCklCGfKE15HX5J3Q8vU30NSBg72k/CuzPsQprFfPCXYi8ofPU RPhFl8vzgYJCxBxf1GYdo1ChwHcsYSB25vB46eUugPhdvorsKbCzkk3da7zVwFbHZRMq jraRpCP9sAQr/zITk9L35z4uQMv+LTbSUzqYBHF6AfpLHVnm6jAYwztndwNS+kCAYeca e+mg== 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=VPGDfcJ/GSC8N70GdxrSeXQkBLRfxXdIVgpXNbF+x38=; b=E7fReKPHkbRKJKmNz3ho9bncj3urijEoy7bHGT0jCb70M2HWJTEpzE6GSpZsOMJNJA X/HTjzukmybA5Ga3DQBBm4meFxNMBFnT7kR68uT5wegHgh8asdX50uMMSPQV4kxg+H3t lKA/MYLZtIMuYdcIZ4MKp5sl9Lfkh9MWVEKs0EGCqDMEzB7YFNbEGNHL2LMJlhn35H/F Yfc/S5s9PeARfmt3iwHomdf6G9tnYWcIR18I6SNHo4HpQNR3IllwWllc4c77Jggo/8nZ JMATbM1evKhW7Ggrn0WdeZ/wfd8smc6XHeLJWNLvRSCOYnBOhFOu9I4RT/dTcrwnkq33 DZhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sbIB5D5x; 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 e16si1170269pjr.88.2021.04.14.17.52.09; Wed, 14 Apr 2021 17:52:20 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sbIB5D5x; 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 S230003AbhDNXuA (ORCPT + 99 others); Wed, 14 Apr 2021 19:50:00 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:39018 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbhDNXt4 (ORCPT ); Wed, 14 Apr 2021 19:49:56 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0668951E; Thu, 15 Apr 2021 01:49:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1618444173; bh=maEzBvGMuDEyKhs1+ZmoEDGzwZUPGHCa9+Tdnfx7dms=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sbIB5D5xur3u6Cqc0N/8J9oNg0xRMhxFDhp+EH21T8XckWld8byIfWpKBqFKPudRp 6hex2szYOlOGAiRsWUKF3i50KJF8diahCzY8wdcOuY/YrHJfcuv2ulFUEDtXKv9P9H gNIfZP9A1gESq0M9NzHNLBnk/8HywNcgSHoGwBZI= Date: Thu, 15 Apr 2021 02:49:32 +0300 From: Laurent Pinchart To: Jacopo Mondi Cc: Geert Uytterhoeven , Magnus Damm , Kieran Bingham , Rob Herring , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/5] arm64: dts: renesas: eagle: Enable MAX9286 Message-ID: References: <20210414135128.180980-1-jacopo+renesas@jmondi.org> <20210414135128.180980-4-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210414135128.180980-4-jacopo+renesas@jmondi.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo and Kieran, Thank you for the patch. On Wed, Apr 14, 2021 at 03:51:26PM +0200, Jacopo Mondi wrote: > From: Kieran Bingham > > Enable the MAX9286 GMSL deserializer on the Eagle-V3M board. > > Connected cameras should be defined in a device-tree overlay or included > after these definitions. > > Signed-off-by: Kieran Bingham > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > .../arm64/boot/dts/renesas/r8a77970-eagle.dts | 119 ++++++++++++++++++ > 1 file changed, 119 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > index 874a7fc2730b..d2b6368d1e72 100644 > --- a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > +++ b/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts > @@ -6,6 +6,8 @@ > * Copyright (C) 2017 Cogent Embedded, Inc. > */ > > +#include > + > /dts-v1/; > #include "r8a77970.dtsi" > > @@ -188,6 +190,11 @@ i2c0_pins: i2c0 { > function = "i2c0"; > }; > > + i2c3_pins: i2c3 { > + groups = "i2c3_a"; > + function = "i2c3"; > + }; > + > qspi0_pins: qspi0 { > groups = "qspi0_ctrl", "qspi0_data4"; > function = "qspi0"; > @@ -266,6 +273,118 @@ &rwdt { > status = "okay"; > }; > > +&csi40 { > + status = "okay"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + csi40_in: endpoint { > + clock-lanes = <0>; > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&max9286_out0>; > + }; > + }; > + }; > +}; > + > +&i2c3 { > + pinctrl-0 = <&i2c3_pins>; > + pinctrl-names = "default"; > + > + status = "okay"; > + clock-frequency = <400000>; > + > + gmsl: gmsl-deserializer@48 { > + compatible = "maxim,max9286"; > + reg = <0x48>; > + > + maxim,gpio-poc = <0 GPIO_ACTIVE_LOW>; > + > + /* eagle-pca9654-max9286-pwdn */ > + enable-gpios = <&io_expander 0 GPIO_ACTIVE_HIGH>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + max9286_in0: endpoint { > + }; > + }; > + > + port@1 { > + reg = <1>; > + max9286_in1: endpoint { > + }; > + }; > + > + port@2 { > + reg = <2>; > + max9286_in2: endpoint { > + }; > + }; > + > + port@3 { > + reg = <3>; > + max9286_in3: endpoint { > + }; > + }; > + > + port@4 { > + reg = <4>; > + max9286_out0: endpoint { > + clock-lanes = <0>; > + data-lanes = <1 2 3 4>; > + remote-endpoint = <&csi40_in>; > + }; > + }; > + }; > + > + i2c-mux { > + #address-cells = <1>; > + #size-cells = <0>; > + > + i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + > + status = "disabled"; > + }; > + > + i2c@1 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <1>; > + > + status = "disabled"; > + }; > + > + i2c@2 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <2>; > + > + status = "disabled"; > + }; > + > + i2c@3 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <3>; > + > + status = "disabled"; > + }; > + }; > + }; > +}; > + > &scif0 { > pinctrl-0 = <&scif0_pins>; > pinctrl-names = "default"; -- Regards, Laurent Pinchart