Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp323166img; Mon, 18 Mar 2019 04:06:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQ4ev71YKS7EhWFOJkTimKEr02Lt8DkMzBTpUDXlb3kXJ1TkdTJKM6DSN1r0e4YFKmf+TW X-Received: by 2002:a65:6203:: with SMTP id d3mr17237286pgv.109.1552907169868; Mon, 18 Mar 2019 04:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552907169; cv=none; d=google.com; s=arc-20160816; b=CMSLh77d/jlw9paCvAMKnznpoao6jYae1uzqKNiQDwy/Sv8CG5dPEp8Z1O635hYUiv e9XrYQIp0EU68J4K/Qj+N0DAUjMfTMPagNLhckAeVKrEbXC4NAVkvT/3VaHVFvRz8Be+ gl+Je5UP5ljkaK8VMBfXbQmBA8MTkf7MVMtJIhJT+242DUhAZAcXQi4UosjkilUD54AD hujqFC4MKOFGqVZniaJz6pwJj+5WJ+fyJsh9q23NjHvL9FfbElCtYUmU3J5L9rSr2j64 P6LPW7qYMafwbA302twi6PSemHqBm32xmYU/94kU2v2lld31qG05RYVs0vo8hLh2BWRf cJng== 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:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=gKSOT5FxOo4ruwrStUUdnUSpOB8HzzNw+tBkpDx1kvk=; b=PhrD5r2OLZHDdJpGRfkvJsRaL0TvO/jAwKhjkCyt1APwROxwacmzFKrAYSWQiQEdJW 6XyU1mV05+E2D51zXg8hj1MCL5FGK+UqUW1K9fmqzsX4uwMNBTxFoJCh4W0uKJpxhiAD 5iOLdmIT2rKZEr9BjT8AR3FHUsChsXH9MUfptuj9VQRgGYgHgxaVBYqi5xAqBlGigTrt 76MQ0R29ZelfLoEOmev50XCd7BBU0EqhLXzZzj9QlM2c7rQNAVf5d/Jbt5Tk7a35kYuJ dtvAgJ6llfB9sOftJ+G1YUB2jlFrPgq3bxrUTqfRazczEQ8bDlo0ZwwRcu6TQ/Q3sm8p g+Mw== 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 25si8943275pgt.419.2019.03.18.04.05.54; Mon, 18 Mar 2019 04:06:09 -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 S1726757AbfCRLFS (ORCPT + 99 others); Mon, 18 Mar 2019 07:05:18 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:37155 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbfCRLFS (ORCPT ); Mon, 18 Mar 2019 07:05:18 -0400 X-Originating-IP: 90.88.22.102 Received: from aptenodytes (aaubervilliers-681-1-80-102.w90-88.abo.wanadoo.fr [90.88.22.102]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id F2E3040013; Mon, 18 Mar 2019 11:05:12 +0000 (UTC) Message-ID: Subject: Re: [linux-sunxi] Re: [PATCH 04/14] pinctrl: sunxi: v3: really introduce support for V3 From: Paul Kocialkowski To: icenowy@aosc.io, linux-arm-kernel@lists.infradead.org, Maxime Ripard Cc: devicetree@vger.kernel.org, Linus Walleij , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Jagan Teki , linux-clk@vger.kernel.org Date: Mon, 18 Mar 2019 12:05:12 +0100 In-Reply-To: <7B6C1341-BAB5-48C5-9E60-11BCEAC3D0CD@aosc.io> References: <20190312152256.35574-1-icenowy@aosc.io> <20190312152256.35574-5-icenowy@aosc.io> <20190312153654.25r5orlw7qjtlhbt@flea> <7B6C1341-BAB5-48C5-9E60-11BCEAC3D0CD@aosc.io> Organization: Bootlin Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le mardi 12 mars 2019 à 23:45 +0800, Icenowy Zheng a écrit : > > 于 2019年3月12日 GMT+08:00 下午11:36:54, Maxime Ripard 写到: > > On Tue, Mar 12, 2019 at 11:22:46PM +0800, Icenowy Zheng wrote: > > > Introduce the GPIO pins that is only available on V3 (not on V3s) to > > the > > > V3 pinctrl driver. > > > > > > Signed-off-by: Icenowy Zheng > > > --- > > > drivers/pinctrl/sunxi/pinctrl-sun8i-v3.c | 291 > > +++++++++++++++++++++-- > > > drivers/pinctrl/sunxi/pinctrl-sunxi.h | 2 + > > > 2 files changed, 275 insertions(+), 18 deletions(-) > > > > > > diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-v3.c > > b/drivers/pinctrl/sunxi/pinctrl-sun8i-v3.c > > > index 6704ce8e5e3d..54c210871a95 100644 > > > --- a/drivers/pinctrl/sunxi/pinctrl-sun8i-v3.c > > > +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-v3.c > > > @@ -1,5 +1,5 @@ > > > /* > > > - * Allwinner V3s SoCs pinctrl driver. > > > + * Allwinner V3/V3s SoCs pinctrl driver. > > > * > > > * Copyright (C) 2016 Icenowy Zheng > > > * > > > @@ -23,7 +23,7 @@ > > > > > > #include "pinctrl-sunxi.h" > > > > > > -static const struct sunxi_desc_pin sun8i_v3s_pins[] = { > > > +static const struct sunxi_desc_pin sun8i_v3_v3s_pins[] = { > > > > I'm not sure all that remaining is worth it to be honest. It adds a > > lot of noise for no particular reason (and the same goes for renaming > > the file itself) > > Maybe keeping names is okay "for historial reasons". > > In fact I want to keep them. My two cents about this: kernel development is plagued by the unability to rename and rework things as soon as backward compatibility is involved. I believe that renaming and reworking things is quite a good thing to do when it leads to a situation that is easier to understand and makes more sense. In this case, I don't see any blockers that would prevent us from doing this, so I am strongly in favor of it. I really don't see how increased noise and "historical reasons" make up for better clarity. Cheers, Paul > > Maxime > > -- > 使用 K-9 Mail 发送自我的Android设备。 > -- Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com