Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1509681imu; Wed, 23 Jan 2019 19:15:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN6MQ4D/VrCS81DsGfiwXqJM7lfheuxNA0mSNdphlJXiiCRkM1vjGcvNb0qAHuFGMgDaISNM X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr4862875plo.162.1548299742299; Wed, 23 Jan 2019 19:15:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548299742; cv=none; d=google.com; s=arc-20160816; b=Wf+CcJ+cD74UshkntxC+7OP6W5HoaqOhbSuToVCDZZz7zAvM1mZTeZkUQxqklG6lB1 hjGYPOLEt4kI8LzMtnlT1fd0RK/MedmYqWwq6RSG+CXIzctkCZX3HkPNrbE9FTBucZ5s WvYJzr5z5uUXb7JO97OFlhWliAJHH04yPVwsy+CYQ7Vtalm8wYw32bFBf/Nc1L/uZLCa GrBHNDztu34UtP+hVUaiuzdIFEZ/lL9Ko47QWaAyB4bUpu3T8Mc8uvZYM6OdVJWa9iUn 7fjGdjMwgUwSIVsRrrzBDSUY+MRdhDfL1h7mGhwKuXoJTX5lppBmH03idUjnL4ZB+/ns klLg== 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=gwI3E7q4DyXyUZqSE47EMgNwFn6pB/gRH3/afCHNjQw=; b=JygIOheZivjW5XWmgNXq+FYr8q3kFC1c1nhDeXiTT7T3HlCwx5XylcB6KRuhIKfaxx Nd5/wPDauCoXoPCvmT82ULFZNYvJ+yKLbVIuCTrXRrWrNVfem4BRrrVKd0VmjRBWAxBS 4sm2w/fzPBkfGKvnBd1CC+kGZeU443YXc4fGuTvkuKpGS5cCPPoIenGlcCrbraZwr1A+ ESLKHx0gmAp80PTxAp1jO+aWOZGtTi+IYTKZT8Scx+u1PUHPWHUKwdjm1TLxUdBkPHqR /ftPLmHo9ILE1OdfH3VmHGL9aDhPQ3nt5KOwqns+mAlCqq/b0cHL2AvcPIzdTW/hW+7Y q7bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KmioJtdZ; 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 v11si20685274plp.85.2019.01.23.19.15.27; Wed, 23 Jan 2019 19:15:42 -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=KmioJtdZ; 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 S1727244AbfAXDOC (ORCPT + 99 others); Wed, 23 Jan 2019 22:14:02 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43245 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbfAXDOB (ORCPT ); Wed, 23 Jan 2019 22:14:01 -0500 Received: by mail-pf1-f193.google.com with SMTP id w73so2240435pfk.10; Wed, 23 Jan 2019 19:14:01 -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=gwI3E7q4DyXyUZqSE47EMgNwFn6pB/gRH3/afCHNjQw=; b=KmioJtdZB51euERwWmQQ2wSzvA4/neC1DSfIlSoknejoj6dzMPZaFJDuEgCOTZ4goC 7hSpJQPcQRuBfqlRuMGLqDwx0z7mmeMHuu0Hb5nEqJUFsoKQJjesRPvl5RPZ1O6TSQCN LsrJecDP9PKw3vYpjbRKFHhJSeRtzD5KAxfvON57SjcjGPfiuUXDM3a/3xFMkM9k9eyQ xNlAUwElaBuqq+XGCH/65OQc9hVTXyPEOYNOcqFW6QEwWUqVn1gRFwDIFAx56LbSlGXr iaOoGTFodpAgNmFMO6gQj10a6EhnhyVgT1x0I291ULsoGBHNbNKXr/1ezmN6j1bRzs88 h2Bw== 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=gwI3E7q4DyXyUZqSE47EMgNwFn6pB/gRH3/afCHNjQw=; b=PE8Q/getOh6PyCqDr7oX6+FWoTCKAIX78krylfmaVAzc4wv5ur9bOO6IaaJoarzBv8 gcgHD2ngRtVCzBr5iHLq8Ry9w0wIr1Bww5ny1J/afDeDfPVlJlncbvcyUUlHjigN6L19 xhG2YkUeHqG3B/TPeFMeVDubPfpQmPOKmq/nrt55tVck9karkVz94OYqlrUOKySM/j+Q d0ppN6PfZsOXoUhGvDU7JfsCtFv04gPF1qxy2FUXtO6+onEEx0k5URyPVAGWuIges2Bq Elcqs9nP/nYfn9SJiCzyQdd37JF8JxgGEnRXIpQTE1ocLVXj0t3Y4HiT2AhDiSDSagkF vMvg== X-Gm-Message-State: AJcUukeCMFf7fH+KrST5/gKrkq8uyw6Kl84731vahcZ5ZH1B4rEtQxYq y8RMkfYXPLo1kqoedKbkYeXtG72M X-Received: by 2002:a63:160d:: with SMTP id w13mr4475603pgl.43.1548299640617; Wed, 23 Jan 2019 19:14:00 -0800 (PST) Received: from [192.168.43.97] ([121.90.236.7]) by smtp.gmail.com with ESMTPSA id p24sm31217894pfk.155.2019.01.23.19.13.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Jan 2019 19:13:59 -0800 (PST) Subject: Re: [PATCH v7 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver To: masonccyang@mxic.com.tw Cc: bbrezillon@kernel.org, broonie@kernel.org, Geert Uytterhoeven , Simon Horman , juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-spi@vger.kernel.org, sergei.shtylyov@cogentembedded.com, 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: <67fa5f94-886b-f09c-c93d-832e427ffec8@gmail.com> Date: Thu, 24 Jan 2019 04:13:11 +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: Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/24/19 3:23 AM, masonccyang@mxic.com.tw wrote: > Hi Marek, Hi, >> "Marek Vasut" >> 2019/01/24 上午 09:54 >> >> >> > +#define RPC_CMNCR      0x0000   // R/W >> >> Is there any reason for using those horrible C++ comments ? > > By Mark's comments for the SPDX header needs to be C++ style and > I patch the whole RPC driver comments using C++ style otherwise it looks > messy. I think the C++ comments should only be applied to the SPDX identifier, maybe the header, but not the entire file. >> [...] >> >> > +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 ? > > One of my customers needs RPC SPI driver for our company's > Octal-Flash,MX25UW51245G. > We don't have HF product and hope you could understanding. I am worried that when we need to add RPC HF support (which is what all boards but the D3 Draak use), we will have to rewrite the entire driver and/or convert it to MFD and that would be a tremendous undertaking. I'd prefer to have the driver ready for the HF addition before it's accepted upstream. -- Best regards, Marek Vasut