Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1610278imm; Sat, 2 Jun 2018 05:03:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL9mBLADtYFIu/X3yDaZKDexR9jON9nVrlfaCgN+b58y62SWsafiWYJdbnwtl7lPZitpLU6 X-Received: by 2002:a62:449c:: with SMTP id m28-v6mr14420035pfi.145.1527940979954; Sat, 02 Jun 2018 05:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527940979; cv=none; d=google.com; s=arc-20160816; b=0cFpxijFGJ5YOXUPdnujpCBrKh/VhPBesFr4udRJ0czAUYMKOl4r9jZpKtC8G8ldfO zCN978GDD4pzYg7ZYW8cqLF5twgEeUu1qgbuh2pozL9bn3Pdzh9xqSL8CBHBoQyya0RD YNPYWF/T2iDoPKnClLMuemgYALFUFUWoxSGzLAQ9WOFBWxSrH05nTzv/j5wp1htNXFIf pVArAK0ysJpBieDlILiXIo/UjTTwlqmIOsng4lO1BeaoAcJdCr9r7kqTrYgGF/a9e3rK xL7hKMvktulB9S+KEleTgDWKCIGqO9D2MF8wXfKrhuTb9xSe5VdZYw8ol98zLJS7Lxne I6rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=csSmpUnZPk17h5YozgoYHQH3OPew9P1Il/ss3z5ECks=; b=ge3ImXmBkyqpZMMXMoBmQ6rs5gVCDdrKAD4JdyQ9iv3bN6Wgt2w3S8nFqDKKZC9G7M lU1vVB314YufvaAIbpTrDyjm7PkPRjd9CWKHyUxOZleY0rxgpNczs2P8JOgXpX3V/ojd 1I5HrnUkBa94SVu1e4HvPMwx+oUShatqYsONmTNl0ibiOkRaxrgCal9qZ/dGkB1o1aEK NxOOQnRMHCREJ0bEZvdQMb7t7wEIPMMBY/jscI+hqUrjO80+N+HyieuXPiDBU/xYeQ58 VgvFZg2Fna+T1p/G414/vOVDjJClW6J6MGoLPYTor74eWXIL0g2LTeUk3tI8kPXDKj7z MW2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xRy284H6; 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 p2-v6si29222045pgn.187.2018.06.02.05.02.45; Sat, 02 Jun 2018 05:02:59 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xRy284H6; 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 S1751948AbeFBMAV (ORCPT + 99 others); Sat, 2 Jun 2018 08:00:21 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:21635 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbeFBMAD (ORCPT ); Sat, 2 Jun 2018 08:00:03 -0400 Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w52BxfO3021673; Sat, 2 Jun 2018 20:59:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w52BxfO3021673 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527940782; bh=csSmpUnZPk17h5YozgoYHQH3OPew9P1Il/ss3z5ECks=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=xRy284H6yzCdiEh9qKh3EMaSdwAXs/y90qfzoy8VLvdNEy5Xjt7xr22s1nygW0few CnmiS5jp0KSfTpZiGc/aqLbpIpZnvDJLcdmbagHAY/krXHVa14RFB+NeyEObZj4AFE 1xJ/F9CMpnj/UgJI3V/Ib0D3D/KSfFhFs2JjIBmOekvHild/+ljxT4KSadyrZlVmq2 RHNd1HCwDT59GVg/5eMO2d+qUMORj6TlFoc9VBxefHNL+tqId0Eba+3uBFwB8R9gc0 +w92InHLhrnpZ6Cx1wqnDiMNWNR98wrOHfvPGKtJa1u0kin2zmwugkzp9EYcIx0FVQ 11hOAHdFG4h4g== X-Nifty-SrcIP: [209.85.213.46] Received: by mail-vk0-f46.google.com with SMTP id s187-v6so5336129vke.9; Sat, 02 Jun 2018 04:59:42 -0700 (PDT) X-Gm-Message-State: ALKqPwf2UnoCQhT8lFVNNjne5RH29KF99OLYKH7o+toPsipYrT/hLIY6 Dmr4As84BTK+37oswpZ16E00QoySMxJHCndKa/A= X-Received: by 2002:a1f:b143:: with SMTP id a64-v6mr8759321vkf.65.1527940781246; Sat, 02 Jun 2018 04:59:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Sat, 2 Jun 2018 04:59:00 -0700 (PDT) In-Reply-To: <20180530090946.1635-4-suzuki.katsuhiro@socionext.com> References: <20180530090946.1635-1-suzuki.katsuhiro@socionext.com> <20180530090946.1635-4-suzuki.katsuhiro@socionext.com> From: Masahiro Yamada Date: Sat, 2 Jun 2018 20:59:00 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/8] media: uniphier: add submodules of HSC MPEG2-TS I/O driver To: Katsuhiro Suzuki Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, Masami Hiramatsu , Jassi Brar , linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-30 18:09 GMT+09:00 Katsuhiro Suzuki : > This patch adds submodules of HSC for UniPhier SoCs. > These work as follows: > ucode: Load uCode and start subsystems > css : Switch stream path > ts : Receive MPEG2-TS clock and signal > dma : Transfer MPEG2-TS data bytes to main memory > > Signed-off-by: Katsuhiro Suzuki > --- > drivers/media/platform/uniphier/Makefile | 3 + > drivers/media/platform/uniphier/hsc-css.c | 258 ++++++++++++ > drivers/media/platform/uniphier/hsc-dma.c | 302 ++++++++++++++ > drivers/media/platform/uniphier/hsc-ts.c | 99 +++++ > drivers/media/platform/uniphier/hsc-ucode.c | 436 ++++++++++++++++++++ > 5 files changed, 1098 insertions(+) > create mode 100644 drivers/media/platform/uniphier/hsc-css.c > create mode 100644 drivers/media/platform/uniphier/hsc-dma.c > create mode 100644 drivers/media/platform/uniphier/hsc-ts.c > create mode 100644 drivers/media/platform/uniphier/hsc-ucode.c > > diff --git a/drivers/media/platform/uniphier/Makefile b/drivers/media/platform/uniphier/Makefile > index f66554cd5c45..92536bc56b31 100644 > --- a/drivers/media/platform/uniphier/Makefile > +++ b/drivers/media/platform/uniphier/Makefile > @@ -1 +1,4 @@ > # SPDX-License-Identifier: GPL-2.0 > +uniphier-dvb-y += hsc-ucode.o hsc-css.o hsc-ts.o hsc-dma.o > + > +obj-$(CONFIG_DVB_UNIPHIER) += uniphier-dvb.o If you claim this driver is tristate, you need to do compile-test with =m. I see the following warning for allmodconfig. CC [M] drivers/media/platform/uniphier/hsc-ucode.o CC [M] drivers/media/platform/uniphier/hsc-css.o CC [M] drivers/media/platform/uniphier/hsc-ts.o CC [M] drivers/media/platform/uniphier/hsc-dma.o LD [M] drivers/media/platform/uniphier/uniphier-dvb.o WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/uniphier/uniphier-dvb.o see include/linux/module.h for more information -- Best Regards Masahiro Yamada