Received: by 10.223.185.111 with SMTP id b44csp1622227wrg; Sat, 10 Mar 2018 09:58:28 -0800 (PST) X-Google-Smtp-Source: AG47ELvUEIT6z8SmSUXCiBuUo+i8v2MaJNDpSeXBT8WMkJYL1NR6hPg8WO8GEPns1y+VTR3l/Nxg X-Received: by 2002:a17:902:3383:: with SMTP id b3-v6mr2690350plc.224.1520704708789; Sat, 10 Mar 2018 09:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520704708; cv=none; d=google.com; s=arc-20160816; b=hXGQy8aan9wqs4bhkz+HZpN/3Z0EMTBw1//H9DuLz9p4L11aZHYJDSRcgFp+M32cvx JNc26A4LXwZwsK9wk9LaFu7EAz6TPsCp8s7G6QFoWzcU5WCgXsmLtqLtqSDRTEjGtrHp anf6K6N+XQTsFGNuc3OIIGp5r10cTPgHfr2rGDQDTPZVwpI48toz1IbGtQlHawa121Az ChWCZxFJor/LTvqgRo46rNU9FWMcWN6HfEPl8CKSAiffz5Ul8MEtZF/DM2kRcUHE4INs i/ThmPEVSfcBDdqC1F1CrHpitQDy4kDJ4boHmPLCMlsmeQ0eIrQQ6BWYi+Pvjey4dlL4 KXxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=2Ke2BY+wDOdD/4ulZuyKM5Hh7b4Z6DwBsY+xkdbKKLY=; b=vK5xUCk2O8VigWDsN5bihe8k8tFV6drmwVqPRaNtxjS8NcgL5Koog5mdnM4CdptsMQ //dkRtMz/lco5okJ69Ub55ou9RpE92N7tZPks+VgTUw8pRZ5NPSPmJ4KtY5BhHnxGY6g 41EW+fV+Vjv3XKFaVYB6vIScG8lJ049Mqjr69Uc+fYWX3oIZG9FtCLPZ1kLkNkK3pVUF vJtpAZjsmEdB8JXp873fD4tRlsnVO1wQvf7N5sGstwUE15xfjVx7h1uYKMf3EVAC/oi6 S3MeFTx5tadFDidCGNsXseO6K31we6/+op9ENZJrpweoQ4NBHlkIfoVNRZFtpr0uzSxY wMbw== 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 q26si2928378pfh.129.2018.03.10.09.58.14; Sat, 10 Mar 2018 09:58:28 -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 S1751242AbeCJR5Y (ORCPT + 99 others); Sat, 10 Mar 2018 12:57:24 -0500 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:36891 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbeCJR5W (ORCPT ); Sat, 10 Mar 2018 12:57:22 -0500 Received: from [192.168.1.10] ([80.101.105.217]) by smtp-cloud8.xs4all.net with ESMTPA id uik9eOFEcaXTbuikAeQrWm; Sat, 10 Mar 2018 18:57:20 +0100 Subject: Re: [PATCH 0/5] Renesas CEU: SH7724 ECOVEC + Aptina mt9t112 To: Jacopo Mondi , laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, mchehab@kernel.org Cc: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org References: <1520008541-3961-1-git-send-email-jacopo+renesas@jmondi.org> From: Hans Verkuil Message-ID: Date: Sat, 10 Mar 2018 18:57:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1520008541-3961-1-git-send-email-jacopo+renesas@jmondi.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfKPg8Hpz6K4ocI7v6+kIIwFyoSLIGcprvWx6nYvMMrQm5A5T9Lt+KfZzT71GewncA1BoIvYZ1OcJPKexxQg48rzJ/Zdwm4Xp/ZA6e2CAnWc//nwdnIaP ddjdyE+RVtqVJayfUvrB4E34xzTjjBz/RHrAme6bM9pZ7ln30lz25sTjcNeJ7z7teWo0gC1ExFqYCQOwAjhAZVBd6EcONGX7tlcMu/+TEOFXinIsltoyRmdY +fmOZTumslGb8QAS3kCP/LioP53E4vzf2tatUnnCAn3Yy6RNwQTSBVp3J8hC6nZCWLr3pX9pVTWkIqtFAKc75yPlGu0VYaa8dVygFxNGvRtKJiIMrThHw4eH zndyPqpu8DKfKI8f9nYRe42OeoQd0lOyeB+e35+HzmDF9G1n9yUzsuBUB82JXcgD5mz4E75FAer001HM0DDKES5p+XVRtQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On 02/03/18 17:35, Jacopo Mondi wrote: > 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. When compiling this series I get this error: drivers/media/i2c/soc_camera/mt9t112.c: In function ‘mt9t112_init_pll’: drivers/media/i2c/soc_camera/mt9t112.c:426:16: error: dereferencing pointer to incomplete type ‘struct mt9t112_camera_info’ priv->info->divider.m, ^~ Can you take a look? Regards, Hans > > 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 >