Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751588AbdFGWNh (ORCPT ); Wed, 7 Jun 2017 18:13:37 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:34602 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbdFGWNe (ORCPT ); Wed, 7 Jun 2017 18:13:34 -0400 Date: Wed, 7 Jun 2017 17:13:32 -0500 From: Rob Herring To: Ralph Sennhauser Cc: linux-gpio@vger.kernel.org, Linus Walleij , Thierry Reding , Alexandre Courbot , Mark Rutland , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Richard Genoud , linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: mvebu: change compatible string for PWM support Message-ID: <20170607221332.vu2xnzyhtr7x6yoe@rob-hp-laptop> References: <20170601200820.22396-1-ralph.sennhauser@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170601200820.22396-1-ralph.sennhauser@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 38 On Thu, Jun 01, 2017 at 10:08:20PM +0200, Ralph Sennhauser wrote: > As it turns out more than just Armada 370 and XP support using GPIO > lines as PWM lines. For example the Armada 38x family has the same > hardware support. As such "marvell,armada-370-xp-gpio" for the > compatible string is a misnomer. > > Change the compatible string to "marvell,armada-370-gpio" before the > driver makes it out of the -rc stage. This also follows the practice of > using only the first device family supported as part of the name. > > Also update the documentation and comments in the code accordingly. > > Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support") > Signed-off-by: Ralph Sennhauser > > --- > > Hi everyone, > > The suggestion to change the compatible string last minute comes from > Gregory CLEMENT after we realized the bad choice of name due to Richard > Genoud reporting an issue when he used the driver with an Armada-388. > > Rob Herring just requested to use a separate compatible string but not > what it should look like. So I assume he is fine with the new one as > well. The rest of this patch is rather minor. > > Nothing in tree is using this driver so far, first consumers will be > added with 4.13. > > Ralph > > --- > Documentation/devicetree/bindings/gpio/gpio-mvebu.txt | 6 +++--- > drivers/gpio/gpio-mvebu.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) Acked-by: Rob Herring