Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3197653lqp; Tue, 26 Mar 2024 02:25:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWxaiY75cytr3l+vY9cxG8Wdawjng81zL6O/Gjxgflqv+68IHiR9CxDekRQMLgaimq7pChj2QEjpmjR3WM/7wc/bz6wptDaOnGeKW/LsA== X-Google-Smtp-Source: AGHT+IGPgj3Sr0+9gpAp7sPCZCU0ZP99p8XBJn9ONOc1ALzlKYzxLkuGYyfd8w1gpSGAWoIbrlEx X-Received: by 2002:a05:6870:b511:b0:22a:5514:93c3 with SMTP id v17-20020a056870b51100b0022a551493c3mr2377819oap.56.1711445122948; Tue, 26 Mar 2024 02:25:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711445122; cv=pass; d=google.com; s=arc-20160816; b=hX402r58SKrzyI6G9YqI7iY0P3eBXY8O0+tDtEwQ+m5U+skOr9koWluocH1qGLZyFa IBKecAaxIfK5j0GN2tYhaILc+K3jo9PANG3qHshXjOB8YT9AAhRG+iZ/WAP9MHBTljTb 9x42AmJPrAUtgKj22zyhk2Gc7BUKsQzoIOwPCPe+l78S0tf02lVkDhBGVvpMpp7GpB9S 9TSoN9/6YX4WINqzhCDeEq0uxxct7z37VxIOF/qYYHgiVKVfC3/Yl9XkI9t5AjEuWhjD 9XuGBfOuKfdxdubclZd4D7hYdSgAJuToHg4eRbTS1vAkZYO9r1vajZpRwvDI93v8UqXX AacA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=5SZB1v4+g00xEaPOk2mruMpcC8oHrp80QlNlSfzYMlo=; fh=OVsmVLdu7S/fb2+5399Qmxg9nZwIWkGSODNtT2hTKSc=; b=uGOW5TCZDaWKK0tb6nPtXyBmq4zKdq3sBo88cbwFo9FfE9oiwsV/O4vf/rRlFBM1rf N2rmY0Aa7aSxzLkXTTo0B0UitX9Vp9AS1KvamAT6Sv0uqj70wY5mnq1cUvgDiGsCWW/x L16B3sN/vxF2wb3q0L4XZ17Tbg8OXFloRoKitbM/SbXMIC4fU0aAmkOC2P9uTSP398T/ r6lXj3DZ+g8YeW9iQO6f4byp9sessoeWinKRC0QncHaVVGJ6mcmptLP6cP8vm1VIjtks bdIq6WNzYm6VXQ1mLJt0nnlLqv9Y+Ud5N4UZUSnMRH0MWFq/1HzbmdVmzho4Op9tjy6V 8jtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vMCcj3Iw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118648-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k23-20020a6568d7000000b005e43cb270e3si5780232pgt.610.2024.03.26.02.25.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:25:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118648-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vMCcj3Iw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118648-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118648-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 868BB2E68BA for ; Tue, 26 Mar 2024 09:25:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48FC381AB8; Tue, 26 Mar 2024 09:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vMCcj3Iw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AEBD6BB4E; Tue, 26 Mar 2024 09:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444842; cv=none; b=OGvgrHs3hSpY0hG/1ro0GhEdTKwpl2JZA2XTTCUBnrAntBJxMZkzj31i0teGI7afWHsRzVplulZs8QgjJEFnJGD+10A03HWZsStSG+BzB8uqz1tzNofawmh4Skv3TrmOy9o1PVMZXWQ0dVkVNahLuX0oyQWltCaDZID5u7t3GiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444842; c=relaxed/simple; bh=Sspovqk7sjCW8ib9CskROQtqG9mbNkTfAN1CZudc4Ps=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=utZWDVItAiNIfnxH1koHD6eQILZs48Wrch5fc80o7i/yF4Al0YhUlAScjPVb9WhA7J150csoNNrUoJV7m99n6mttTyvfpVw9/4MoaqQp901/nubVOFQcv0geeR8du87CVExnUvPHrwcODXkTAxg0LerwtudFtB29j9qCSqENfqA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vMCcj3Iw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 94FECC32792; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711444841; bh=Sspovqk7sjCW8ib9CskROQtqG9mbNkTfAN1CZudc4Ps=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=vMCcj3Iw4gbo5IiWsHMndE+L4xed7RVWxayPON5G9Qvv7ABLUmv9Lh7n4bMFZKvu8 U8WjOTCMYzaTAzfEgL6WLFBq4oH1ni7Xp5bE7I/aD4xnRpJj7dCUEP1qBPyyM1e1O6 jyLWmHz69XJzGnHfR8c9LRBOeCItK3lxQoOoVRSVmNXwTPApfw1T5FhwAvHQenBDCV QxIoiJNNViWhERVa3w7Mew+OXkIMfjkgpo6ebNsu8AuFjNbRvPcJcjjI2A5EYd57JK EaLuBJjIcOsZ1X0Tq1rlvyOtQgsTrFqlGiitVTJRFl/mbIm1ydWqOBHQ64HoeIkqeP uRhfXBdL350Zg== 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 8E4FEC54E58; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Tue, 26 Mar 2024 12:18:40 +0300 Subject: [PATCH v9 13/38] pwm: ep93xx: add DT support for Cirrus EP93xx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240326-ep93xx-v9-13-156e2ae5dfc8@maquefel.me> References: <20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me> In-Reply-To: <20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Andy Shevchenko X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711444837; l=1116; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=bnZYfiHGnAA0LBZBO2ZRFOvx5iMvZSL9xKTsTR1fprw=; b=txn0wzJejIYEIiKnmDpW6W8W3gidg19PTn/IRptM5x7DPKSscr8072p+gMBypsr1p0iSv7/RZDXj wkLlQdeFAxph9/XNxqSd9BETWTCDW7l1tlE0gHSr40S/c/+fSKFG 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: nikita.shubin@maquefel.me From: Nikita Shubin Add OF ID match table. Reviewed-by: Uwe Kleine-König Reviewed-by: Andy Shevchenko Signed-off-by: Nikita Shubin --- drivers/pwm/pwm-ep93xx.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/pwm/pwm-ep93xx.c b/drivers/pwm/pwm-ep93xx.c index 666f2954133c..67c3fdbf7ae3 100644 --- a/drivers/pwm/pwm-ep93xx.c +++ b/drivers/pwm/pwm-ep93xx.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include @@ -188,9 +189,16 @@ static int ep93xx_pwm_probe(struct platform_device *pdev) return 0; } +static const struct of_device_id ep93xx_pwm_of_ids[] = { + { .compatible = "cirrus,ep9301-pwm" }, + { /* sentinel */} +}; +MODULE_DEVICE_TABLE(of, ep93xx_pwm_of_ids); + static struct platform_driver ep93xx_pwm_driver = { .driver = { .name = "ep93xx-pwm", + .of_match_table = ep93xx_pwm_of_ids, }, .probe = ep93xx_pwm_probe, }; -- 2.41.0