Received: by 10.213.65.68 with SMTP id h4csp70867imn; Mon, 12 Mar 2018 07:04:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELvgpdU3n8IXehu6m90nQJoMqs3BBHo4im2lYzuns9V+FKwcALZVS9iyPzKxPmzyG0edR6FQ X-Received: by 10.99.127.65 with SMTP id p1mr6834967pgn.141.1520863473571; Mon, 12 Mar 2018 07:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520863473; cv=none; d=google.com; s=arc-20160816; b=Ic75BfuXTrgr5PpOiuZdOiDVB9+e+M56u5np0DwNgw2+s+weCR7f1+m9hEKiEVjVCk /DWkK/gxVGrQkesERSdAaG0uwXpAehjAM8+SPKvSn+N05QviNLeCuHULovqTirexH4Zw bCapO+kJhVbWsRkhacu6gbHh+uCIrcvT1tPd8DqcvCxp12AbFB85H9XuqXDK9Xu08tK+ eWzp5U/dLxm9L3v70yAGgi5wJlZNFfgwScZlSZMjNCtrqyj9+JVeaLqZ0SdWqHJxlNTj RvMw/0IHJUOY9se5Oynij0fJ3ND420XvJSaMoxuiAlVKdC+H9PybJxRWma5fxZbvYxo/ iM5Q== 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=ZxFZm8MKzq0tSXM4M+ogWKh+caejTyU+sldEqQGznw8yEHtJTkSrrKJvO00iLXWBDv G/QOLkERX3gpP/tuVqC/TS+TkYCuO9t/gubMEsgCIZvkl3yMBsyXzAFzThUkUTYiqVnu ie373XFjuFAgif3G7Df6/z2cUQlgyKqd+tOd92fS+dTW18oVGnFKfCs6JhCJhY2fYWE/ 3rb+Hiyc79aYeTX/s0UqWf8WAPxBvzV+3OVc4pqLt9Dx8JGtTZ0tbrkvqD558Xou88xk eFFrNcVIAw5GNo9v4Sdu9FA1s4ybxgJnCo8h6zWtvhkqw4++NohmxtEukLU0UTz/b8E5 dYhQ== 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 u86si5744679pfa.69.2018.03.12.07.04.16; Mon, 12 Mar 2018 07:04:33 -0700 (PDT) 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 S1751889AbeCLOC4 (ORCPT + 99 others); Mon, 12 Mar 2018 10:02:56 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:58263 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbeCLOCr (ORCPT ); Mon, 12 Mar 2018 10:02:47 -0400 X-Greylist: delayed 7198 seconds by postgrey-1.27 at vger.kernel.org; Mon, 12 Mar 2018 10:02:45 EDT X-Originating-IP: 2.224.242.101 Received: from w540.lan (unknown [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 3BA641D76F6; Mon, 12 Mar 2018 14:43:14 +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 v2 3/4] arch: sh: ecovec: Use new renesas-ceu camera driver Date: Mon, 12 Mar 2018 14:43:04 +0100 Message-Id: <1520862185-17150-4-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520862185-17150-1-git-send-email-jacopo+renesas@jmondi.org> References: <1520862185-17150-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