Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp256573rwd; Wed, 31 May 2023 23:00:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6SCy9CHeeQ/Sb001NRHsclnYi1JoQ0cLgQ8wFsbgUPONeemo6evREPnx4Vw+ig+NIiov7+ X-Received: by 2002:a37:a848:0:b0:75b:2457:2edc with SMTP id r69-20020a37a848000000b0075b24572edcmr7648983qke.48.1685599239647; Wed, 31 May 2023 23:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685599239; cv=none; d=google.com; s=arc-20160816; b=SdTjwYic/eWp9G/+DvaeK1k9afV8YYPwhjV3p9nOQYgZjEtOmcvBQUrKbtDQkIE97f YKZ5MbrMLP0zAOdDy+ewiioNIWlwGhTdtFQ4yV6aSKiSnsbq/OfK6SpDbO1Lub7r01uK ac+NRaMh748uMx68eRPuuIq5A9vhDz2DJJquH/w3Btvnrcjx6gIbD09NbU210vqfEh/g mx6eGNQHJ/RFe5ogvTQKE0svRYpT44MkTD6dPQljZeCtIPorYxafZFoEGI3TTB3bo/As xNiPu6c9qF2MH0s2ErS2vhwXA8MbnL0WVBbFu2/4zYlzj+yqq7fli0lMF5AVr+5UyLXX TQEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=A2FiCkys0aL7RsfnhMzn1bmYZGGoisuSld30oU2VX3Y=; b=mzq1V9rs2bnMrl4e454B6R3H6cozlVWRffwJzYAN3tDpQ6XMQZ76LSPnuJHdyyiOfL KfRjlJytbX18JFCwpxxdaxScvtR2qVfMjVEGeWlsJT5Jn3VWqk2q3rZjAFxUzrQ9A5zK hfpFX0+ZyrWVeyNfYV4vDIRxArnHrfkBebvXthW+FWfPm1oxsgtFGmMdGtTuXuLZbhfj d9rOiCfVJf2uOKJ5EhjCrpz6f3zbBacLhZvXWO8S9CiDD59YJONvjAeOlnv9iyjRIY6j n3X+p4HO9gM6prf2iA4giukM2m6djQV5iDnW+F8VRimfeyDExju+jvhDue2qRewNWW4h 2+Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=EGnOrp8P; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pt1-20020a17090b3d0100b002571fbafe9asi549184pjb.142.2023.05.31.23.00.26; Wed, 31 May 2023 23:00:39 -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; dkim=pass header.i=@maquefel.me header.s=mail header.b=EGnOrp8P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231622AbjFAFrr (ORCPT + 99 others); Thu, 1 Jun 2023 01:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbjFAFq6 (ORCPT ); Thu, 1 Jun 2023 01:46:58 -0400 Received: from forward100a.mail.yandex.net (forward100a.mail.yandex.net [178.154.239.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B3A10DD; Wed, 31 May 2023 22:46:27 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net [IPv6:2a02:6b8:c1f:5e51:0:640:23ee:0]) by forward100a.mail.yandex.net (Yandex) with ESMTP id B2EE546CDA; Thu, 1 Jun 2023 08:46:23 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id pjGDMhnDduQ0-zieECyhD; Thu, 01 Jun 2023 08:46:23 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685598383; bh=A2FiCkys0aL7RsfnhMzn1bmYZGGoisuSld30oU2VX3Y=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=EGnOrp8PGQbb0MIsNhPKsLwLUhMbmVl3+0qqeLSb8CnN70PT7cedgH9vXG3cUAy5S ywUAmMZmEPQRyKd/YdocZXnzEhbhpxWbex5FH1v66MQRNg5Gt43OgJhnios1RHqtDU EgOEazSLyLprVQ4MLtjcEKXoR34rnUWr85ExNwTk= Authentication-Results: mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Bartosz Golaszewski Cc: Nikita Shubin , Michael Peters , Kris Bahnsen , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 34/43] gpio: ep93xx: add DT support for gpio-ep93xx Date: Thu, 1 Jun 2023 08:45:39 +0300 Message-Id: <20230601054549.10843-16-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Add match table. 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