Received: by 10.223.185.116 with SMTP id b49csp9020518wrg; Fri, 2 Mar 2018 11:53:40 -0800 (PST) X-Google-Smtp-Source: AG47ELtqRGEKJBUrGJ7jtz7h+So4graQTGvTdefOMK99j3Oe/zVZg8Rls/IcqE3Ot+MKw4bCKgw9 X-Received: by 2002:a17:902:a5c2:: with SMTP id t2-v6mr3280959plq.244.1520020420146; Fri, 02 Mar 2018 11:53:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520020420; cv=none; d=google.com; s=arc-20160816; b=GfQul9K3pWx6lPzQXPnKiUf8ClgLw4eC4I0ISXiE7impIsjmfdasyqStcB3HHJTLi7 0iz0xSKrmhgzkkZiyESVZDyzaxg657WVgCXO7MolVKhhy1mDVIRB3xZYD3oixkrzZURs vqJXCX6+BPC90tmog0sQFm3vOw2+B4IMAnGx3UHhUnKpG0M7+GYTanwoSctdABr5T6tf e6bmxItgKC5C4Yw8aOEpnzTCuEY5Ahm4eqj6HOP52knT2AlkVzlUFaXpR154GIWkdYO7 h8DbBogV+OIlgQzigFYpBhSkR7bgU6rVN95OMVefbjwaW0q5qer60MTRlzHNKHThlxdr r4Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=3Ip50qMyzZaU1XKi5pq0kiN+GE9KgetYpU0N+1hr+aM=; b=dl3+Ky98Flt2VUqxnlsL8BroeVBEKGwhBsjlbrd8xixIoKWx7bqy5s9l/nZyBkBIf1 wHgj+mvG5dVKeGN9m7nhhlos9vcvlPM0wrH3x/s10yStWDfyMls+zP4Zmr3v+e/ruuT6 OD/uCmN747swQ7tsy8lGQr2s0ANpmhjGIWDyXxCiq/BHUeGju76jQRBYEsokrv/iIo91 S14MYOtmMo/bQmBHHnDdoSORym6s5UA59kZRw8LhNDSk+bSqLf9sChhRXtbPO/VJxKHi 5G2JV234UeTQKQkzAtk15FK9NodcRb0k1cQmQo45OPBUo1zqa2zA9fEazQkpPWyO7UTZ rRzw== 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 c15-v6si5226335plz.630.2018.03.02.11.53.25; Fri, 02 Mar 2018 11:53:40 -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 S1032782AbeCBQiG (ORCPT + 99 others); Fri, 2 Mar 2018 11:38:06 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46107 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936696AbeCBQgb (ORCPT ); Fri, 2 Mar 2018 11:36:31 -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 9930E1720B1; Fri, 2 Mar 2018 17:36:26 +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 4/5] arch: sh: ecovec: Use new renesas-ceu camera driver Date: Fri, 2 Mar 2018 17:35:40 +0100 Message-Id: <1520008541-3961-5-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520008541-3961-1-git-send-email-jacopo+renesas@jmondi.org> References: <1520008541-3961-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SH4 7724 Ecovec platform uses sh_mobile_ceu camera driver, which is now being replaced by a proper V4L2 camera driver named 'renesas-ceu'. Get rid of soc_camera defined components used to register sensor drivers and of platform specific enable/disable routines. Register GPIOs for sensor drivers and declare memory reserved with memblock APIs as dma capable to be used for CEU buffers. While at there re-order include directives to respect alphabetical ordering. Signed-off-by: Jacopo Mondi --- arch/sh/boards/mach-ecovec24/setup.c | 338 ++++++++++++++++----------------- arch/sh/kernel/cpu/sh4a/clock-sh7724.c | 4 +- 2 files changed, 171 insertions(+), 171 deletions(-) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 6f929ab..adc61d1 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -7,44 +7,47 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ - -#include +#include +#include +#include +#include +#include #include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include -#include #include -#include -#include -#include +#include +#include +#include +#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include +#include +#include +#include +#include +#include #include -#include