Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2522545imm; Mon, 28 May 2018 09:41:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKu0DHYSz48MOgMUgaFUMEzS/Ch2pOhI94PFUD9+6GrGAE31WtovuaLJNllOLrlZ+KlBmjv X-Received: by 2002:a63:448:: with SMTP id 69-v6mr588192pge.395.1527525663384; Mon, 28 May 2018 09:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527525663; cv=none; d=google.com; s=arc-20160816; b=qUMysfOIaKu6i7onCdipGiqqivmxEof0ddrH2j24MVP9DAyjLjvND4g5P5w1sURWLH YMdjH+lXUXMoYp+h+R29wZJF/zzo0kEQkJQHZIa7NzAuF/PkW7DFJxxQhgQjAPXRXLKx NLc/GJuv8uAzhjXPSQjmLzsjp7O9tIYpP6AKd2/UNXlPvsFqvUUAHys/ORaQ6BFty6bx yag4M0enBiyzL/k50jUdkDxNBAaGlbyAWk+DFXp35NwoGhZDEfFVUkE+KgD/a/FHY1tl ks4uWoBtHMKJR6eXlVwTsqteNjNnACf50twLwnz2uk9aiZVkaqVtVBGxKjHbsf6MxVQ6 VQnA== 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=W3VEaLex5N191bO64AtC01M/9dDqo43TUhp6wuy19wQ=; b=Amq0kJE0x/fNWgliuPWzM9Pp/YMc4fnb6qJo0xWwDeIpzFa3rQVBNBJ4BrDk83apt0 Tpsd0XUhrFNBwhTXgYAW3zSTRldAg+VGc7/TiFfggnoVQTanXi008ugmw3Ue+sJcYzRc 1n51mGcNRPQpgyNRHX4X+zNf0gSRkKAguEwjE2fjOcLEB26RVS8dJPvXzVgID5czIdkL +hYm3LUgaQY6Ghi4hbFsYbxanmhAl+osh4ZRaNKWDjfuOmpEjqFiFx1QSlmxXLuv6POj 3b7HYYF8ixKosJQXfElriCZAwosxa+M1eQ1McfxM4QMKYnwdASp03M9ZdIkI7oYzudWx uFpA== 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 x133-v6si30796373pfd.124.2018.05.28.09.40.48; Mon, 28 May 2018 09:41:03 -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 S1425484AbeE1Qil (ORCPT + 99 others); Mon, 28 May 2018 12:38:41 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:49681 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934391AbeE1Qhg (ORCPT ); Mon, 28 May 2018 12:37:36 -0400 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 431FD40006; Mon, 28 May 2018 18:37:31 +0200 (CEST) From: Jacopo Mondi To: hverkuil@xs4all.nl, laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, mchehab@kernel.org, ysato@users.sourceforge.jp, dalias@libc.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: ms7724se: Use new renesas-ceu camera driver Date: Mon, 28 May 2018 18:37:10 +0200 Message-Id: <1527525431-22852-5-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527525431-22852-1-git-send-email-jacopo+renesas@jmondi.org> References: <1527525431-22852-1-git-send-email-jacopo+renesas@jmondi.org> X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the new renesas-ceu camera driver is ms7724se board file instead of the soc_camera based sh_mobile_ceu_camera driver. Get rid of soc_camera specific components, and register CEU0 and CEU1 with no active video subdevices. Memory for the CEU video buffers is now reserved with membocks APIs and need to be declared as dma_coherent during machine initialization to remove that architecture specific part from CEU driver. While at there update license to SPDX header and sort headers alphabetically. No need to udapte the clock source names, as commit c2f9b05fd5c1 ("media: arch: sh: ecovec: Use new renesas-ceu camera driver") already updated it to the new ceu driver name for all SH7724 boards (possibly breaking ms7724se before this commit). Compile tested only. Signed-off-by: Jacopo Mondi --- arch/sh/boards/mach-se/7724/setup.c | 120 ++++++++++++++++++++++++------------ 1 file changed, 79 insertions(+), 41 deletions(-) diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 2559525..fdbec22a 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c @@ -1,43 +1,49 @@ +// SPDX-License-Identifier: GPL-2.0 /* * linux/arch/sh/boards/se/7724/setup.c * * Copyright (C) 2009 Renesas Solutions Corp. * * Kuninori Morimoto - * - * This file is subject to the terms and conditions of the GNU General Public - * 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