From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932448AbcIEWrg (ORCPT ); Mon, 5 Sep 2016 18:47:36 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:35515 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbcIEWrf (ORCPT ); Mon, 5 Sep 2016 18:47:35 -0400 MIME-Version: 1.0 In-Reply-To: <1472130692-14404-1-git-send-email-narmstrong@baylibre.com> References: <1472130692-14404-1-git-send-email-narmstrong@baylibre.com> From: Linus Walleij Date: Tue, 6 Sep 2016 00:47:33 +0200 Message-ID: Subject: Re: [RFC PATCH] pinctrl: Add SX150X GPIO Extender Pinctrl Driver To: Neil Armstrong , Peter Rosin , Wei Chen , Roland Stigge , Vladimir Zapolskiy Cc: "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2016 at 3:11 PM, Neil Armstrong wrote: > Since the I2C sx150x GPIO expander driver uses platform_data to managed > the pins configurations, rewrite the driver as a pinctrl driver using > pinconf to get pin configurations from DT. > > The pinctrl driver is functionnally as the gpio-only driver equivalent > and can use DT for pinconf. > > Signed-off-by: Neil Armstrong Overall I'd say this is a nice rewrite. I'd like the following: - Include Peter Rosin, Wei Chen, Roland Stigge and Vladimir Zapolskiy on subsequent posts (Added on To:) ideally I want Tested-by: tags from them to verify that it doesn't break their current set-ups (does it? Especially LPC32xx) - We need a migration plan: everything that was selecting GPIO_SX150X before should now select this instead. Just let the Kconfig entry in the drivers/gpio/Kconfig select this new driver? - Make sure it is a slot-in replacement. Else make sure it is. - Delete the old sx150x driver from drivers/gpio in the same patch. I'd hate to maintain them side by side. If I apply this, the old one must go out at the same time. Conversely I can revert the patch and get the old driver back. - Strangely I don't see refernces to this driver in any device tree. Are people not upstreaming their boards? Yours, Linus Walleij