Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3868671rwd; Sat, 3 Jun 2023 13:54:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6M2uglZIMzllTIuuyscg+iEVre7odfw0HJSAU8iEYLL0YwV+pPa33aFst5av8koGusceEb X-Received: by 2002:a05:6a00:1399:b0:657:6191:e2d2 with SMTP id t25-20020a056a00139900b006576191e2d2mr765830pfg.22.1685825695290; Sat, 03 Jun 2023 13:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685825695; cv=none; d=google.com; s=arc-20160816; b=CJz49FQkhL2+UJOeJOdI3yEqRbDvPf38YjeaGpqZZmnK3J0cN2CveWvQAlC1/at7Bh Ea0D5kPO5vufbCjbkhZia8iOoEcLWeYF1PGgFE+A4nryRal3jfaFqCKmA66bHrQ/L4+7 sptZeXBCvppc6XB7R3E/pl/slswf2zJ/AfmsPJnqLi2Zr8rw8kuU+povyxx/p41VUDcv jzUsQv+Pd97/yRseHRyNU9xBWi87YsbJHKobFrVV+In3cfnnmR4pDKmRjfraCzDFz2SH kAI+EWwAuJSuI6GhPkoiAZLKppOp2MjH5vT44UCai3vT7M7z7vKnJkAzY8QPR82Lyb7n WX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=tKf3p4Pdtz7pbKRHIlbHe8NVhctFvlD+E10Rf7fe/ws=; b=iBqIgXal1dqcwio1KZy1Qz9aDDGa+Huf0O0yaedMizecOUbLw1pC91oXyyRgWrkvTH k9M3NgWjHbZ0KJCPY6oUUPluD2kQh1/YMmw/VBeTDFf0RARb+kI0yaQrF8r8tHNHh+jA l0tNMROpSkbiyRZGkpuFHmGeaHUBM23acujZQRj9hzdD8Il7NmzK6S6sr1GHloSxLDdT ty3nRu07Y4TTlrznRRJOFfvA0sbdMNkYoe+9UHIkwSYfcwKwtSsmchFOJsolFDCBGTTP v6VYDVBpGJer+siFKLdnE14QJKgANVtn8eexAYpUf2E5n+0pjgvgq7PMY5uDk2tGyc9k syAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k64-20020a633d43000000b005347efdfecbsi3207286pga.111.2023.06.03.13.54.41; Sat, 03 Jun 2023 13:54:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231932AbjFCUJe (ORCPT + 99 others); Sat, 3 Jun 2023 16:09:34 -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> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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