Received: by 10.223.185.116 with SMTP id b49csp7213631wrg; Thu, 1 Mar 2018 01:36:56 -0800 (PST) X-Google-Smtp-Source: AG47ELsukL1QNDIgxAjV3PscL9P8+ZbPdFjHrwz+esnE/9B6YYzVUivip9sHUzfjuRUXWBklMVuS X-Received: by 10.98.11.145 with SMTP id 17mr1300235pfl.150.1519897016148; Thu, 01 Mar 2018 01:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519897016; cv=none; d=google.com; s=arc-20160816; b=p0J/zT6vc8Vuz/tdgZGTsaEICGKd321lOGOrHSTpDrCd+/XK5MpWGaFpTkk8GDAlcP AiZnucSz8Vcp+v2BWsPnvxtNya39J8GF/7NJs0H60o0QHJ8IE08Pv1OwmadeFO2frBh+ nfhgP0iCGegP80ff7hs/Mw5IpJumhsMomMXTVE3v9HB19ScrJNTI0mTn0jrLO9D8j5DB MBE6UdpfihPSXYFxUq8RO9f9yThOqoF45Z7PeKgx9MD/+V76FXtAE0rPieE34Td07cOZ 35MudAayuyuL/1GQ92/VJ173jVZ34ts9bj0loAlsHxKQbC7hsznW2WRuML8zJbkqC3eu AdXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=KS2fBwaiQWpByqDhGs96xwYp1JtI7BICwzD7atQDLw4=; b=mOeOrdBYE6fGBQLVihLIPvaszrlD2u8kYduzaY/gsbS6ZaBxNKQp/QOUdgbQVHq9SO +Agi1o3k0UkmMSiNx8mRovk8x2PxlQ+cEb/z0hIR3NUF2t19mGEGXIIK5fsuRxikZVMG 23SehLPrtYoB5sNIjHoiaTCsdJZU4OtSEUVwSH1+HjQ/jOY+QFLG6P4N24YOPfN7ZymO /Vqdd+oa5B/W4syiQjBklcnh3D5mRd8s868kZXRzx2YG/cDWtumOIIeyGtDg33Od4MXy pzTDx6gEZk7FCbf6iYU7uKmrAxcaSj2XxKa9LbgvZEU0evJiOQk/LcaZBWlonSXgltuN Sb/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=X1QTMtys; 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 59-v6si1012785pla.754.2018.03.01.01.36.41; Thu, 01 Mar 2018 01:36:56 -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=fail header.i=@verge.net.au header.s=mail header.b=X1QTMtys; 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 S967009AbeCAJfS (ORCPT + 99 others); Thu, 1 Mar 2018 04:35:18 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:56221 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966675AbeCAJfO (ORCPT ); Thu, 1 Mar 2018 04:35:14 -0500 Received: from penelope.horms.nl (52D9BC73.cm-11-1c.dynamic.ziggo.nl [82.217.188.115]) by kirsty.vergenet.net (Postfix) with ESMTPA id 9B77E25B79D; Thu, 1 Mar 2018 20:35:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1519896912; bh=jF/Ydqfrtx5wrYvqdSi5H42kcanIp7sdjG5QHg6TGNY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X1QTMtys4Se/5IzPg7GVZ8K9RbbEke4EsCOp9KsdhhBAmA3pBggwqymEqcTs6RKco wjnG82YCYmIunbTW06G8C0z6/MVv/ox/mWhNDdDDDgJyfTJTvX8PYO2PGGtBSFEtZh kypTvWsGUa+I6lAiBfhWibYdXtQ2Z5KY4WKULUYw= Received: by penelope.horms.nl (Postfix, from userid 7100) id 402A6E227D1; Thu, 1 Mar 2018 10:35:10 +0100 (CET) Date: Thu, 1 Mar 2018 10:35:10 +0100 From: Simon Horman To: Phil Edworthy Cc: "linux-renesas-soc@vger.kernel.org" , Michel Pollet , Magnus Damm , Rob Herring , Mark Rutland , Russell King , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 0/2] arm: Support for Renesas RZ/N1D (R9A06G032) Message-ID: <20180301093505.2wib5uzsxrhut3tm@verge.net.au> References: <1519647518-15579-1-git-send-email-michel.pollet@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 01:10:36PM +0000, Phil Edworthy wrote: > Hi Simon, > > On 26 February 2018, Michel Pollet wrote: > > > > This series adds the plain basic support for booting a bare > > kernel on the RZ/N1D-DB Board. It's been trimmed to the strict > > minimum as a 'base', further patches that will add the > > rest of the support, pinctrl, clock architecture and quite > > a few others. Thanks Michel, I am of course very happy to see support for new SoCs and boards added to upstream and I support such efforts as best I can. However, the pattern followed by this patchset adds a new board file. This was the common practice some time ago but it is now upstream policy not to accept new board files. Rather, drivers should be developed and hardware should be described in DT. So I believe support for RZ/N1D needs to be reworked to that end in order to be accepted upstream. I also believe that the patches in this series are rather large. Its much better to submit small incremental patches for review. This allows much smoother iteration over patch review cycles. Patches also need to be split up so that C-code changes, DT and ideally documentation changes are not mixed in the same patch unless necessary. You can find examples of this on the linux-renesas-soc mailing list. And lastly, the use of RZN1_IRQ_* macros in the DT file does not follow the current best practice of using numeric constants for values derived from documentation. Please consider reworking this patchset, I look forward so seeing RZ/N1D support upstream some time soon. > I spoke to Magnus about helping to get the RZ/N1 patches upstream. > We're trying to sort out making the device manual and board schematics > available, hopefully it won't take too long. We're also trying to sort out > access to a board... that might take a bit longer. > > btw, what do you want to do about shmobile_defconfig? Should we add > any changes needed for RZ/N1 to it? Note that only one IP block is the > same as R-Car. Hi Phil, In general I believe that the upstream policy is not to accept new defconfigs. So my suggestion would be to expand shmobile_defconfig if the result it produces a working kernel for both already supported boards and the RZ/N1D-DB Board. Otherwise we need to consider what other options we have.