Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1452827imu; Wed, 23 Jan 2019 17:56:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN7jzLy+ftnZYvev7GCerQUZynD4WBW6xgXXAZt/0xwZOU55mvhvZ+R+l0gyG7Ol+lk4HaNb X-Received: by 2002:a62:37c3:: with SMTP id e186mr4545515pfa.251.1548294990235; Wed, 23 Jan 2019 17:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548294990; cv=none; d=google.com; s=arc-20160816; b=mcOK7essaLpxeYe73WAVC0a+H8UZY3kGOspcTEo9i2UdzwQ6+U6XyxcZV0g7jSbISF CPbwDY//lJgIQ+5qFEMjrmxsLkzP6sW5Q97zyNFvx7FntncXcPF61EouyDajv/5UuxDv wIt0w3+dppbooopHndwyiEnI5fpdoenmXDaFvhX23qO0pP87kizMzMZU5dilQQjQDofx GBoH5ZfI9tmkjs9vpMGEnkx5qmb6k4kvRSUVKdhVjwkrnWBhnNHeothNbFu4EAA1R0ev B1fwkDEGkTHgGt8M/aFEHDDJv5hy9lOzQjJY/0NzDEFVAlp44r3QvuO1KQdNYLldkyQ4 KlkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=fGw38w0NLEFxt7pmwWcdHBPcNhpfKxwTVMKVh1KjCPg=; b=g+96CcAX/S4Mh17JGO/L4a/Khvno01f1y60gG7mPGvo5bXAZzjXMwDYYM2m+cOB0zp qkPLVwD2gzvN0KFgogjlfhH99YCmIe0yV4DpMilpzlKgVFlrxncBaOBbohmSTgD2rgCE zjxbyJJ8C8ceaHRIsA37h3US7Dx0bvikP1VcP2c5JowbJAFcFoy+gqLWawZ5cABX1jdw aoysfa5vtB9K1zJFaHTLmYsin8/C1L0T9OI5Gv9XnrTu/PDGGcTsLlwRucfFC++FDaSN Zd133vOiTG+4dknO1531pgYyqsamnY7Nxi/7SXZ1Hlrvb1zlu2n/RZD/2L05E8xKzDEm FbGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Adm+OmBc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 76si20067369pfw.66.2019.01.23.17.56.14; Wed, 23 Jan 2019 17:56:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Adm+OmBc; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbfAXByV (ORCPT + 99 others); Wed, 23 Jan 2019 20:54:21 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37896 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfAXByV (ORCPT ); Wed, 23 Jan 2019 20:54:21 -0500 Received: by mail-pg1-f196.google.com with SMTP id g189so1938108pgc.5; Wed, 23 Jan 2019 17:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fGw38w0NLEFxt7pmwWcdHBPcNhpfKxwTVMKVh1KjCPg=; b=Adm+OmBcaNQ/kJz54w7aWtxShQwK7WlAGIb9n17md+t5AX7HhyTXcZCb6iCUviS/xa pxVDy/E5GEW8+VoV9M3eeJVdmLhVjM0bN/Q8rgKZRIaW5fs3CVy9zf9y2gOjgBbbb6re 5ATqWFo5K2UG85mLN5hH2oyFTHs8KhykOJg2Vx6KYargqCKaWefK0uGYN+30HldsBLpj xsdAoeW+lu1C95GWhEdhYVBGWS4e4JbMOlxPgO9Dl9988RsXRXQtcnPo/XUtPl9LPNhn TeU9oQyxfWo+xd/d8pL+M3VakMx7lS2WMJgMdOjqhzHbqYc/OB5MDE28ZacmWhaAiESu 9yqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fGw38w0NLEFxt7pmwWcdHBPcNhpfKxwTVMKVh1KjCPg=; b=E41O8gL0SuAy+zGKbrW4kdLJEgQgeYO4tvt5Ld0rEqye9S3Fsn4dPVete2zuD7uXQU H5rxIQfEabH9CE40nSQ4lgXNUdVkIiQcVh9EF1vJadGLsGNpp3xmS2xcTmqiz6R7iCm5 G55rZ01jEsMp3g2r4k6vTK5Wao7WPFIYuMXaDXrCnXTINXA2NZJOc+0eZa4oSuEgc5Fr cnMA+WK0RDhylTQC/HWNpct17sMjhUs8NcREprrInm67QrASuX1HTRYtALJyFEUIJPwr 3c8KUOvm6vdiMuVItoXC8WEezwGbZaxhqh6RAEC6/tJAAAfc07epVVwM4P7Y7YALQRwm 9ZzA== X-Gm-Message-State: AJcUukf9TwcgtX7QzaES+dch4vODu/jOtT7pE6itrpkzdgM8WaqwJB2t cJkBAqEpmsf0X7+TPZhmR9Q= X-Received: by 2002:a62:28c9:: with SMTP id o192mr4545656pfo.57.1548294860302; Wed, 23 Jan 2019 17:54:20 -0800 (PST) Received: from [192.168.43.97] ([121.90.236.7]) by smtp.gmail.com with ESMTPSA id g136sm26823820pfb.154.2019.01.23.17.54.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Jan 2019 17:54:19 -0800 (PST) Subject: Re: [PATCH v7 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver To: Mason Yang , broonie@kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, bbrezillon@kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , sergei.shtylyov@cogentembedded.com Cc: juliensu@mxic.com.tw, Simon Horman , zhengxunli@mxic.com.tw References: <1548227352-14910-1-git-send-email-masonccyang@mxic.com.tw> <1548227352-14910-2-git-send-email-masonccyang@mxic.com.tw> From: Marek Vasut Openpgp: preference=signencrypt Message-ID: Date: Thu, 24 Jan 2019 02:51:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1548227352-14910-2-git-send-email-masonccyang@mxic.com.tw> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/23/19 8:09 AM, Mason Yang wrote: > Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. > > Signed-off-by: Mason Yang > Signed-off-by: Sergei Shtylyov [...] > +#define RPC_CMNCR 0x0000 // R/W Is there any reason for using those horrible C++ comments ? [...] > +module_platform_driver(rpc_spi_driver); RPC is not a SPI controller, it's a SPI and HF controller. Also, how difficult will it be to add the HF support ? > +MODULE_AUTHOR("Mason Yang "); > +MODULE_DESCRIPTION("Renesas R-Car Gen3 RPC-IF SPI controller driver"); > +MODULE_LICENSE("GPL v2"); > -- Best regards, Marek Vasut