Return-Path: Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42932 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbdESQDW (ORCPT ); Fri, 19 May 2017 12:03:22 -0400 From: Jacopo Mondi To: laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org Subject: [RFC v4 8/8] arch: sh: migor: Use new CEU camera driver Date: Fri, 19 May 2017 18:03:00 +0200 Message-Id: <1495209780-27342-9-git-send-email-jacopo@jmondi.org> In-Reply-To: <1495209780-27342-1-git-send-email-jacopo@jmondi.org> References: <1495209780-27342-1-git-send-email-jacopo@jmondi.org> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Update the interface for CEU camera driver and update migor machine init to use it. Get rid of soc_camera_links and and register subdevices as I2c devices. Change power on/off routines to be called by sensor driver to select/deselect which sensor to use. Signed-off-by: Jacopo Mondi --- arch/sh/boards/mach-migor/setup.c | 125 +++++++++++++++----------------------- 1 file changed, 49 insertions(+), 76 deletions(-) diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 5de60a7..6b67ed5 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -26,7 +26,7 @@ #include #include #include