From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9CAFC7EE24 for ; Sat, 3 Jun 2023 20:09:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232723AbjFCUJf (ORCPT ); Sat, 3 Jun 2023 16:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232095AbjFCUIy (ORCPT ); Sat, 3 Jun 2023 16:08:54 -0400 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 122091720 for ; Sat, 3 Jun 2023 13:08:21 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 516ed9e1-024a-11ee-b3cf-005056bd6ce9; Sat, 03 Jun 2023 23:07:51 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 23:07:51 +0300 To: Nikita Shubin Cc: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Bartosz Golaszewski , Michael Peters , Kris Bahnsen , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 34/43] gpio: ep93xx: add DT support for gpio-ep93xx Message-ID: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-16-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601054549.10843-16-nikita.shubin@maquefel.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, Jun 01, 2023 at 08:45:39AM +0300, Nikita Shubin kirjoitti: > Add match table. Add OF ID match table. Reviewed-by: Andy Shevchenko > Signed-off-by: Nikita Shubin > --- > > Notes: > v0 -> v1: > > - dropped coma in id table > > drivers/gpio/gpio-ep93xx.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c > index ca508c7c4f2f..5e328e4411cc 100644 > --- a/drivers/gpio/gpio-ep93xx.c > +++ b/drivers/gpio/gpio-ep93xx.c > @@ -363,9 +363,15 @@ static int ep93xx_gpio_probe(struct platform_device *pdev) > return devm_gpiochip_add_data(&pdev->dev, gc, egc); > } > > +static const struct of_device_id ep93xx_gpio_match[] = { > + { .compatible = "cirrus,ep9301-gpio" }, > + { /* sentinel */ } > +}; > + > static struct platform_driver ep93xx_gpio_driver = { > .driver = { > .name = "gpio-ep93xx", > + .of_match_table = ep93xx_gpio_match, > }, > .probe = ep93xx_gpio_probe, > }; > -- > 2.37.4 > -- With Best Regards, Andy Shevchenko