From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934311AbdC3QO5 (ORCPT ); Thu, 30 Mar 2017 12:14:57 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36441 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933356AbdC3QOz (ORCPT ); Thu, 30 Mar 2017 12:14:55 -0400 Date: Thu, 30 Mar 2017 18:14:49 +0200 From: Ralph Sennhauser To: Gregory CLEMENT Cc: Linus Walleij , Thierry Reding , Imre Kaloz , Andrew Lunn , Alexandre Courbot , Rob Herring , Mark Rutland , Jason Cooper , Sebastian Hesselbarth , Russell King , linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/4] mvebu: xp: Add PWM properties to .dtsi files Message-ID: <20170330181449.27508830@gmail.com> In-Reply-To: <87wpb693az.fsf@free-electrons.com> References: <20170327194301.1104-1-ralph.sennhauser@gmail.com> <20170327194301.1104-3-ralph.sennhauser@gmail.com> <87wpb693az.fsf@free-electrons.com> Organization: none X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Mar 2017 17:45:08 +0200 Gregory CLEMENT wrote: > Hi Ralph, > > On lun., mars 27 2017, Ralph Sennhauser > wrote: > > The title should start by ARM: dts: mvebu: > > If there is no need to have a v5 then I wil take care of modifying the > title while applying it. Noted. > > > > From: Andrew Lunn > > > > Add properties to the GPIO nodes to allow them to be also used as > > PWM lines. > > > > Signed-off-by: Andrew Lunn > > URL: https://patchwork.ozlabs.org/patch/427294/ > > [Ralph Sennhauser: > > * Use new compatible string marvell,armada-370-xp-gpio > > * Add missing reg-names / #pwm-cell properties to > > armada-xp-mv78260.dtsi 'gpio1' node] > > Signed-off-by: Ralph Sennhauser > > --- > > arch/arm/boot/dts/armada-370.dtsi | 16 +++++++++++----- > > arch/arm/boot/dts/armada-xp-mv78230.dtsi | 14 ++++++++++---- > > arch/arm/boot/dts/armada-xp-mv78260.dtsi | 16 +++++++++++----- > > arch/arm/boot/dts/armada-xp-mv78460.dtsi | 16 +++++++++++----- > > 4 files changed, 43 insertions(+), 19 deletions(-) > > > > diff --git a/arch/arm/boot/dts/armada-370.dtsi > > b/arch/arm/boot/dts/armada-370.dtsi index cc011c8..e30b076 100644 > > --- a/arch/arm/boot/dts/armada-370.dtsi > > +++ b/arch/arm/boot/dts/armada-370.dtsi > > @@ -137,29 +137,35 @@ > > }; > > > > gpio0: gpio@18100 { > > - compatible = "marvell,orion-gpio"; > > - reg = <0x18100 0x40>; > > + compatible = > > "marvell,armada-370-xp-gpio"; > > I think we should keep the "marvell,orion-gpio" too because the > hardware is still compatible with it. Morever it will allow to use a > recent dtb with an old kernel. And it will remain compatible. Apart from not collecting compatible strings there is no reason to drop them right now, so will add them back for a (possible) v5. Thanks Ralph