Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4422523rdb; Fri, 15 Sep 2023 01:23:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETx+nUCnrc0MN35cngulgbND7kN2pf853HZIWVzoY4jmzruCU/Co7350YFHwed4uJ7fuvX X-Received: by 2002:a17:902:ab53:b0:1c1:f3f7:50bc with SMTP id ij19-20020a170902ab5300b001c1f3f750bcmr4873820plb.26.1694766193126; Fri, 15 Sep 2023 01:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694766193; cv=none; d=google.com; s=arc-20160816; b=Nzl3OkG5Fk/e2qvt2VlnH8Z2Ot/fkNUocA3PwI1ogLMRVeUvfmVcWr/r+9Hm3S2Txo dkXixSklpQFSMueFmIYIgcr+yDyNCf6cTRIqlYv6BKww/WSVKITaOuYrcgt2G8chtf/F C4seNNSBnH/HF9CnofoKWlO5qiZ8ME2HoJPK4ziSjN6S8vSJCwtqiDaohROq/GlRqJJS iaeL9UWgdN6VcNt+grI2L05mHaStap4nR/UzKChOfK7ZQP2J3yfq0/oBFkyjpI8IFl+l kXGqG0VLGCuoWZSJANvwU/91vJDZdKAsB4XvUxld6/Y9L3+AWG40SR/M4oju0ajTC+Wl d9Xg== 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=FVroqm5jeZ1BoCSiQ4tQnTlCdOBevK0CKKOuCYrFOJk=; fh=nZw0GrnNleGTztMDcPM+pltRRYzKrjTxyZ/L1ZC/J0o=; b=FAZMW+MgqmhuIwp61LUmo6r9FjBScfKzfJ/rLzSqLNhpsj6RRZMPYaVSgMWUo1dsPl fM4Ami+gQ/LouQBtaN7KnebMMWT/sesyA/WYJvM7o/bAcafUHTcETIwbyl0gbUHf8uSp c1/klxwNsJJxUxx0kL9i/onf0nPAyF1B7moOav46viOjJa1TZ0ixx1/sfr4bEBTFbkWX p5lMgtfJwM2P3EVykI+AoilXFW5apVZOtneK+rHEhmeXXvO6u3Bq1wDIzTCfXQrhnwYc XeuSZ+Xe69/qUfu5pbirjNWBgaSD6mwJy/LUHg4ejz5LCsRwAdk0MnqLn6rt56AIArsX CHsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l90hpNTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id i3-20020a63e903000000b00543c84bf588si2965356pgh.473.2023.09.15.01.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:23:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l90hpNTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 3AA9C8705E8E; Fri, 15 Sep 2023 01:13:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233085AbjIOIM5 (ORCPT + 99 others); Fri, 15 Sep 2023 04:12:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232959AbjIOIMc (ORCPT ); Fri, 15 Sep 2023 04:12:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB520272A; Fri, 15 Sep 2023 01:12:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2EBE9C116AA; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765529; bh=kAt8817iBUWjVxWMBOqzROB0TJ1eW00HgMPsspiwX+E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=l90hpNTWu7YShdFcNGTlJu3c+zNDKyO4jcR0EclxbZw/RJKns7gpAJ42OvcqIyJYu Q3gn86vEERTGUPpGGsV4rHyHUZIamc1tYhplS1UR1uieZgyeeOkdlmOP+O1eeTS5Qv p4Y3ZIhChTuXZ65RaghMaJfauIsq0LiXgKAyfb/P3Wo6EiB2DpKggPQWYzh8ks8kyJ 5Z11ZK+JYg+Eu4v18yHucHVJSAYq4P4uSJF/nDJqbAZWwCiYC0JkTbS8Exb11lNGam QD3aU2lFzCtX1uGRv8S5fIO1OAtphG4/Q2iERknxPZmeE2/6PiLKeAA6VF8dD+/bZQ 32Sradg2flsew== 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 1E0F5EE6436; Fri, 15 Sep 2023 08:12:09 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:11:00 +0300 Subject: [PATCH v4 18/42] pwm: ep93xx: add DT support for Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-18-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=985; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=q6xBgC7li0n86IdULKMuNEoQ+2zcC5ZGWjR9L/JodCY=; =?utf-8?q?b=3D17EIERKxucpL?= =?utf-8?q?j2jHDScpqVG/JDsbky54hnLYZZQD6n4zymck1pC9rboVavxsowMs3mzFYr6QHwl9?= r3pM7v+oD1AbrekAA6l3Tdes0KKT6GvCpzMRQX0plaq3Rn+K3A6F 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 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:13:04 -0700 (PDT) From: Nikita Shubin Add OF ID match table. 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 c45a75e65c86..361984ef4c0b 100644 --- a/drivers/pwm/pwm-ep93xx.c +++ b/drivers/pwm/pwm-ep93xx.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include @@ -190,9 +191,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.39.2