Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4421186rdb; Fri, 15 Sep 2023 01:19:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFiT2aSpd4iWbE8flWfBeBw0V8ix0yK5rI+d+to8M02KHN26syeyLMkd1GowNH0rJy8GqhI X-Received: by 2002:a05:6a00:1acd:b0:68a:604f:420d with SMTP id f13-20020a056a001acd00b0068a604f420dmr982321pfv.3.1694765994977; Fri, 15 Sep 2023 01:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694765994; cv=none; d=google.com; s=arc-20160816; b=D7u4NGLG+h3+WcvkPLXgE+vLzCoD7gIgaD4cB0XHlK0LdI2208oATNQekZoIKIpIR8 AFtjv6Q1DrEclCnncJx7hP+pXBfCTnYnGN3wMAnyPu1CI8W7rXJWwPANOW0/YyKeoNvx FMBNl9ZNlqVZYqCvuFq/KN6MIqzqMHrSJLns1ft9gnli7/k9oyBwBU1T92Hh3EaEejrm gQMOh4dLhQFZBg7/bSdI8mVKGmDoPQyQWvj7GEkAn2m7jAEYY95p/H2k08M0cajSH535 yDGicHkrJD81X8Iv3e56ZHNFsditmLDA8p9OFWpHSkIHBoHLJUuyE7/ww4eSmCBjUdr9 3dXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=eCOfDO928HxToO3wpiW3pAbemPKXgijI3XEws+meQYw=; fh=w5OFERti1rZmvyi3isEqjbmxkDR2uMtCtqhBOh+Wuzs=; b=hscvjvpKfWvfjyFTAJ4sBzQBETJ0kmMXwf0gGa3BuVot/TEZnuySsFz2OdvleQAHNk vsYOAJ698V+chUgUFkaEvt5ZFeGDIJUM5rbvsamjdzqCsX1z35aivAX2PDAkywcCEMAR zbOGih+rPCj2+XXm8y6UQ3apkFZsUzrOf6QiSiMO2adTzxxx+6QuWRQPaXiu77exdfT4 E/Xz3V778M6P2hqJwETrV1zWcLIlZxA9TIbSWAV/Mx0fxXU2NmDSKntub/mZXtOnOsa7 qUd3FNqyAQRpWruEz+B+qSKmtWaC36B1kSwD+5ov/ao24CsdMtI6+4DhohX7cJHbFgym N68Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nvop3p14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ck15-20020a056a00328f00b0068e3b121545si2984486pfb.58.2023.09.15.01.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:19:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nvop3p14; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8B7358328FD2; Fri, 15 Sep 2023 01:13:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233254AbjIOINh (ORCPT + 99 others); Fri, 15 Sep 2023 04:13:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232954AbjIOIMz (ORCPT ); Fri, 15 Sep 2023 04:12:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44B0273A; Fri, 15 Sep 2023 01:12:14 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 15F5EC4AF76; Fri, 15 Sep 2023 08:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765530; bh=yKUblyNTN6kwmF+RWX1aVXoY+wU5AIa2upmTHQZr7yI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=nvop3p146lwUG2JZ7e6Dp6IYLCZn76HZrmqm++0RCL2vOeEmh5z34Yx3vCo/paF2T z6gMwZiGpGjx59tu2dzOiUR4DhKKaym+GWtGibT1EJxg52vIC5grPWTnAsmGBanf23 k4e36q2aOGh2MAt+EBXDb1+O+++JHFMTx193QDRYTFhxurpV2IbyFTOCwDpppOMQ1t w6BcFfFn1LzY55nXrfOyJDtFycvXr0tKZ+eupFgjhClmFxOZQQGnqn0tLTNacABxx4 lfV6PpM+8pnbOAyca2sIuAOkjcBbu4DKKzXZ+pUmwZpwmT7FwbkoMYMLyE5yMSJx9d aAzO5ezsSKt5A== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03115EE6442; Fri, 15 Sep 2023 08:12:10 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:11:15 +0300 Subject: [PATCH v4 33/42] gpio: ep93xx: add DT support for gpio-ep93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-33-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin , Andy Shevchenko , Bartosz Golaszewski X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=993; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=7aghjn0T8vOwVoAvLNTsUFeOUJ29//nTopj4QzfsLDY=; =?utf-8?q?b=3DAGYuLmPootuN?= =?utf-8?q?hLbbH2svn6HFna04C+gkHGzYfYza0zy7TRRPpO8KQq2+wKKIvIFlk9J6DHB/UP/o?= 07r5mctyA2ydriJwLu52ZlLPUgMWYiKQKtCAZT825+XpCHJqxfJC X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:13:51 -0700 (PDT) From: Nikita Shubin Add OF ID match table. Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Acked-by: Bartosz Golaszewski Signed-off-by: Nikita Shubin --- 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 a55f635585f4..70997232257a 100644 --- a/drivers/gpio/gpio-ep93xx.c +++ b/drivers/gpio/gpio-ep93xx.c @@ -359,9 +359,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.39.2