Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp518888pxu; Thu, 15 Oct 2020 09:29:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoeidIflqvr2nI8V1LrGbo8hSafkW5J5/8ijjhsnGP6vLfJFzmIUhLVpmmCrStLJIIgsOv X-Received: by 2002:a17:906:cd14:: with SMTP id oz20mr5360048ejb.7.1602779364443; Thu, 15 Oct 2020 09:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602779364; cv=none; d=google.com; s=arc-20160816; b=wzOpIidOvDqINd9qVEL8DGHjEuus+4ESOCPMAN0MkO3mPeNo8oOA62s3cpGmzSNb1Y gnXzl6vmlPa1ph4zhf512lbh6lEn8zrNGZSKhGxjOxTF28qEg3qLo546N6319LKIqpg2 PhI8F9wjpElbGFIcdnktGOdORDWH3EeUiRyW5udYBiwRSaICiCfF298BY0FLGrNfHysA kD6DBnIyW0NkkGoFXnmQvIvKohj0coPJcOrNYV7ybyRMYVDTO+JYBWjSyEoqMqlK2hUF fe8kvuAH5QD0LQ+EO/fcr0PKQy7HUGg2F3CNQMJVg1UigT+teWZM4bp6OvC5y3JiF8Gk FnSw== 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=biXARCOPUBMe9Npnu+qZJVeINVAFzH2057cai9aEpFA=; b=vfhgOrGpIUE5RYC70nyYrZ6/cjmgK4R7srzBfcv82UhY13NUDm4eHpAE8tKcq4Oa8V zFz4PjdmEkpXvNp+ikL0mOB5g0EtJmB4hx0h2kDTCs9oTdiVEfG6HiCSvyNtWq+lFtgc x6jmjhSm6UlFbQv03gxRkQBDhF7hF280qXFmCv7epDzCXjaXiyhP8Eo2rMXj4RAEAvAR aSq8ynIcG5M2+dYKpLtzocYL//WEfl6AT38pN6V6U1OxZRLK6m7+l5jiDwQLrsk8GTfG KaB3VudL7c94zUF6bX1UUH0av68jzLGJHGYGn6IKQjarjm2OekHXsf64YMrHsUj7TAdb uHXg== 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 t17si2425903eje.331.2020.10.15.09.28.53; Thu, 15 Oct 2020 09:29:24 -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 S2389658AbgJOQ1g (ORCPT + 99 others); Thu, 15 Oct 2020 12:27:36 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:36689 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388357AbgJOQ1g (ORCPT ); Thu, 15 Oct 2020 12:27:36 -0400 X-Originating-IP: 93.34.118.233 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 72CB2FF802; Thu, 15 Oct 2020 16:27:31 +0000 (UTC) From: Jacopo Mondi To: kieran.bingham+renesas@ideasonboard.com, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se Cc: Jacopo Mondi , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hyun Kwon , Manivannan Sadhasivam Subject: [PATCH v2 0/7] media: i2c: Add support for RDACM21 camera module Date: Thu, 15 Oct 2020 20:27:03 +0200 Message-Id: <20201015182710.54795-1-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, v2 of support for RDACM21 camera module in this series. Patch [1/7] introduces the camera module driver. Only change compared to v1: - Increase pixel clock to 55MHz From [2/7] to [5/7] there's a proposal of a possible way to support both RDACM20 and RDACM21 with the same deserializer driver. See v1 cover letter for details: https://www.spinics.net/lists/linux-renesas-soc/msg52886.html I have tested on Eagle V3M with 4 RDACM21, but the whole point of this series is to retain compatibility with RDACM20. For this reason I have included 2 patches on top, not intended for merge that re-propose DTS support for the MAXIM max9286 expansion board connected to Salvator-X and add the newly introduced property to the DTS file. Kieran, I know you have a working setup with RDACM20, the final two patches are meant for ease your testing. Can you give this series a spin ? For your convenience I pushed a branch git://jmondi.org/linux #gmsl/jmondi/renesas-drivers-2020-10-13-v5.9/rdacm21_high-threshold Series based on latest renesas-drivers tag: renesas-drivers-2020-10-13-v5.9 If I get a confirmation this setup works on Salvator-X, I'll submit the new property for inclusion to devicetree people, which I have left out at the moment. Thanks j Jacopo Mondi (6): media: i2c: Add driver for RDACM21 camera module dt-bindings: media: max9286: Document 'maxim,high-threshold' media: i2c: max9286: Break-out reverse channel setup media: i2c: max9286: Make channel amplitude programmable media: i2c: max9286: Configure reverse channel amplitude [DNI] arm64: dts: renesas: salvator-x-max9286: Use high-threshold Laurent Pinchart (1): arm64: dts: renesas: salvator-x: Add MAX9286 expansion board .../bindings/media/i2c/maxim,max9286.yaml | 15 + MAINTAINERS | 12 + .../boot/dts/renesas/salvator-x-max9286.dtsi | 396 +++++++++++++ drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 2 + drivers/media/i2c/max9286.c | 54 +- drivers/media/i2c/rdacm21.c | 538 ++++++++++++++++++ 7 files changed, 1020 insertions(+), 10 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/salvator-x-max9286.dtsi create mode 100644 drivers/media/i2c/rdacm21.c -- 2.28.0