Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3100035pxb; Mon, 16 Nov 2020 05:56:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEuYqG7NEiA6qUvdt9XC0a+o8/STjXQS0Vkk9Xt/Ryq/i5JJw3IzE4K/4X+VZVBt9oyqwI X-Received: by 2002:a17:906:aacb:: with SMTP id kt11mr15810464ejb.12.1605534985196; Mon, 16 Nov 2020 05:56:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605534985; cv=none; d=google.com; s=arc-20160816; b=JTq9JQqmdS8B8oLCdsSuq8PcqRVUdDnoVF3+9nW/r7AlYduN26dKKwaJD2jcToqr5H JKzgSLSz+s24GFG5A6OPKoc3hblUKDue/7/atiC3U0J8baZtB6wm36mPv7KclmQlNcvR tigxu2vqGWXWhjbuR4YrDBT/tF9uPpqD+PsDlz+xnJNkXJNamproO4yD+BtuTJgDYKHC rb+t5NRw5DQ7VAQRNkDZyDF8+XtEfXKuTJnrnmAFLdlEWBsQKanqX7iIUuErRX50+bWk dDlv+Ig8+mYMjkvoTxaPpv5KPT+X4Dj+7VOPCSvxXyg8Fq4vfRPtQ16poAvIB98ptE00 933Q== 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=pGmkLgpApJ4K9b9jNAf82had+bgKk12pdp1cZkUy+z8=; b=YAGTztoDSkwx+ptXn1PxOTYCdZUYVnv+wIEJEjaXO+DgiPrr/24bkba6MSnR9oT2dr ria4YKke1L0SvFIqfqxGCmGe68C+j6NkJhxa33EtjcGF23kaNaa28k6T9lv/A6viH/im J0thtZmwmIh56jpCV5AERX7+hSdOCmYlnO2S95ODyyBC+hTBvBil+xokuBmyfvMVpUa1 rLRmoIorIYKYK62OasXxreRg33/mV2cqkjfj/p6tWCzqFA4cNvoTH7V55WihnsHQzUBo vgOsLnjBEr5OAwNyy1W0/jxTXh2/86ySUpPJlqBYoC0q3zYsHyOPTlTuvyAIz6kG5m+l euiQ== 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 y14si11574284eds.56.2020.11.16.05.56.01; Mon, 16 Nov 2020 05:56:25 -0800 (PST) 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 S1729532AbgKPNx1 (ORCPT + 99 others); Mon, 16 Nov 2020 08:53:27 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:64191 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726286AbgKPNx0 (ORCPT ); Mon, 16 Nov 2020 08:53:26 -0500 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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id ACCF84000A; Mon, 16 Nov 2020 13:53:21 +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 , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hyun Kwon , Manivannan Sadhasivam , sergei.shtylyov@gmail.com Subject: [PATCH v5 0/8] media: i2c: Add RDACM21 camera module Date: Mon, 16 Nov 2020 14:52:57 +0100 Message-Id: <20201116135305.81319-1-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this v5 mostly changes how the rdacm21 driver handles writes to the OV490 chip by handling the 'high' part of the sensor register through an helper function as suggested by Kieran and Laurent. The diff is available at: https://paste.debian.net/1172700/ Minor fixes in patches subjects and in bindings as reported by Sergei and Kieran. Bindings have now been sent to DT people now that they've been reviewed by Kieran. v4: https://patchwork.linuxtv.org/project/linux-media/list/?series=3847 v3: https://patchwork.linuxtv.org/project/linux-media/list/?series=3657 Background in v1 cover letter: 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 patches are meant for ease your testing. Can you give this series a spin ? Series based on latest renesas-drivers tag: renesas-drivers-2020-11-10-v5.10-rc3 Thanks j Jacopo Mondi (7): media: i2c: Add driver for RDACM21 camera module dt-bindings: media: max9286: Document 'maxim,initial-reverse-channel-mV' 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: Specify channel amplitude [DNI] arm64: dts: renesas: eagle: Specify channel amplitude Laurent Pinchart (1): arm64: dts: renesas: salvator-x: Add MAX9286 expansion board .../bindings/media/i2c/maxim,max9286.yaml | 23 + MAINTAINERS | 12 + .../arm64/boot/dts/renesas/r8a77970-eagle.dts | 1 + .../boot/dts/renesas/salvator-x-max9286.dtsi | 396 ++++++++++++ drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 2 + drivers/media/i2c/max9286.c | 58 +- drivers/media/i2c/rdacm21.c | 595 ++++++++++++++++++ 8 files changed, 1087 insertions(+), 13 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/salvator-x-max9286.dtsi create mode 100644 drivers/media/i2c/rdacm21.c -- 2.29.1