Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755606AbdGXSYg (ORCPT ); Mon, 24 Jul 2017 14:24:36 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:38552 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752669AbdGXSYa (ORCPT ); Mon, 24 Jul 2017 14:24:30 -0400 Date: Mon, 24 Jul 2017 13:24:27 -0500 From: Rob Herring To: Keerthy Cc: linus.walleij@linaro.org, ssantosh@kernel.org, nsekhar@ti.com, s-anna@ti.com, fcooper@ti.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] gpio: davinci: Add a separate compatible for keystone-k2g soc Message-ID: <20170724182427.64u5zmr2jl3hk5lh@rob-hp-laptop> References: <1500375436-9435-1-git-send-email-j-keerthy@ti.com> <1500375436-9435-4-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500375436-9435-4-git-send-email-j-keerthy@ti.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: 1661 Lines: 41 On Tue, Jul 18, 2017 at 04:27:15PM +0530, Keerthy wrote: > Add a separate compatible for keystone-k2g soc > > Signed-off-by: Keerthy > --- > Documentation/devicetree/bindings/gpio/gpio-davinci.txt | 3 ++- > drivers/gpio/gpio-davinci.c | 1 + > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.txt b/Documentation/devicetree/bindings/gpio/gpio-davinci.txt > index 5079ba7..1a5c1a2 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-davinci.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-davinci.txt > @@ -1,7 +1,8 @@ > Davinci/Keystone GPIO controller bindings > > Required Properties: > -- compatible: should be "ti,dm6441-gpio", "ti,keystone-gpio" > +- compatible: should be "ti,dm6441-gpio", "ti,keystone-gpio", > + "ti,keystone-k2g-gpio" Reformat to one valid combination per line. > > - reg: Physical base address of the controller and the size of memory mapped > registers. > diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c > index 932f270..a8d8dd9 100644 > --- a/drivers/gpio/gpio-davinci.c > +++ b/drivers/gpio/gpio-davinci.c > @@ -610,6 +610,7 @@ static int davinci_gpio_irq_setup(struct platform_device *pdev) > static const struct of_device_id davinci_gpio_ids[] = { > { .compatible = "ti,keystone-gpio", keystone_gpio_get_irq_chip}, > { .compatible = "ti,dm6441-gpio", davinci_gpio_get_irq_chip}, > + { .compatible = "ti,keystone-k2g-gpio", keystone_gpio_get_irq_chip}, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, davinci_gpio_ids); > -- > 1.9.1 >