Received: by 10.223.185.116 with SMTP id b49csp8832585wrg; Fri, 2 Mar 2018 08:41:48 -0800 (PST) X-Google-Smtp-Source: AG47ELtS/RrRn98jSTB9vWzu3lBupjTW7T7gpSKHA6TB9qQrt5WURkHWy95zaQKojm4iRGva+VV6 X-Received: by 10.101.82.139 with SMTP id y11mr4987384pgp.68.1520008908184; Fri, 02 Mar 2018 08:41:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520008908; cv=none; d=google.com; s=arc-20160816; b=CGXAtxYIrwSguTUwRuQTP+KQMO/FYol6W3e0MYREkFsTbgfpcyQ41sbGH2+qyODphX Qzb189cbsUR+MrYqaxSNCV1cQc9VTpT9s61ftK6xNRYdJjtbsvGS3984lk9q+HQGt7F1 Wj3vZi0eCx9Y3+x+xDyh4SIiGt0yuFP+J2IZmshTfjl11fmfmvkET/dKgOwwTm7Z86wm La9/9wnAIMXxqEhRUCgCJ8OAillMN3jPQHYfqb/XvOpff0aK+L+RvBs2tTbeJRIY1w0J R8mCiYqWjp9c/JF8LWrujADarTo/dVZqCcMIWY6VhA+9GpOzmALO7mufLFEyTDyqWqbk mPEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2L02Cc/4TXQzLpifhtMcjUwoc1GMJPBglc8SRXWOEfk=; b=X64TyJJ7Na1EqX3G6Pj61BBSNcyuDF2l0ef9nqzJt0ehRFixHzERc/x6qF682aEFrt 6o3DKieOzidwbyOUaYJ5ZAr5Mkig2UoFpILri53/zOWzCy8UOPxfuC/zOHDjUfqRg7ya yuMk0ehfNnE30LSNY53TS7cA8hc3ib+H399UmaG0rQRtHcfCaDOcccFAkLGrnQePNiPO fFM4DtE931D4R/jXvY8nwzztmUU0sdaB1oPBFezuV1Ntdh0/yA8owx3XiG6U6PPezwoM ScYaOvREDwY253pzPTudw2k7fpf5UzVJpBvCDnRFkaUltoPdJiV2whSWmcduKdYS7VvM ADTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si4254313pgc.18.2018.03.02.08.41.33; Fri, 02 Mar 2018 08:41:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936674AbeCBQgU (ORCPT + 99 others); Fri, 2 Mar 2018 11:36:20 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60963 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936660AbeCBQgQ (ORCPT ); Fri, 2 Mar 2018 11:36:16 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:2e0:f265:f056:c2e8:fc6b:a908]) (Authenticated sender: jacopo@jmondi.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E10D81720D9; Fri, 2 Mar 2018 17:36:12 +0100 (CET) From: Jacopo Mondi To: hverkuil@xs4all.nl, laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, mchehab@kernel.org Cc: Jacopo Mondi , linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Renesas CEU: SH7724 ECOVEC + Aptina mt9t112 Date: Fri, 2 Mar 2018 17:35:36 +0100 Message-Id: <1520008541-3961-1-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, now that CEU has been picked up for inclusion in v4.17, we can start moving users of old sh_mobile_ceu_camera driver to use the newly introduced one. Migo-R has been first, now it's SH7724 ECOVEC board turn. ECOVEC has a camera board with two MT9T112 image sensor and one TW9910 video decoder input. This series moves the mt9t112 driver away from soc_camera framework and remove dependencies on it in mach-ecovec board code. As per Migo-R, memory for CEU is reserved using memblocks APIs and declared as DMA-capable in board code, power up/down routines have been removed from board code, and GPIOs lookup table registered for sensor drivers. As in the previous series, still no code has been removed or changed in drivers/media/i2c/soc_camera/ until we do not remove all dependencies on it in all board files. Hans, since you asked me to add frame rate interval support for ov772x I expect to receive the same request for mt9t112. Unfortunately I do not have access to register level documentation, nor can perform any testing as I don't have the camera modules. For the same reason I cannot run any v4l2-compliance test on that driver, but just make sure the ECOVEC boots cleanly with the new board file. I'm in favour of moving the driver to staging if you think that's the case. Series based on media-tree master, and as per Migo-R I would ask SH arch/ changes to go through media tree as SH maintainers are un-responsive. Thanks j Jacopo Mondi (5): media: i2c: Copy mt9t112 soc_camera sensor driver media: i2c: mt9t112: Remove soc_camera dependencies media: i2c: mt9t112: Fix code style issues arch: sh: ecovec: Use new renesas-ceu camera driver media: MAINTAINERS: Add entry for Aptina MT9T112 MAINTAINERS | 7 + arch/sh/boards/mach-ecovec24/setup.c | 338 +++++----- arch/sh/kernel/cpu/sh4a/clock-sh7724.c | 4 +- drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/mt9t112.c | 1136 ++++++++++++++++++++++++++++++++ include/media/i2c/mt9t112.h | 17 +- 7 files changed, 1333 insertions(+), 181 deletions(-) create mode 100644 drivers/media/i2c/mt9t112.c -- 2.7.4