Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp950741rdf; Wed, 22 Nov 2023 01:05:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaK9zJ+vDL/f8zWt9Coc3JTZilzBFOJck/MIMEft/xJVqHBf+Daw4BD+G/lfruRhomsYjf X-Received: by 2002:a05:6a20:2d08:b0:189:b414:3e0d with SMTP id g8-20020a056a202d0800b00189b4143e0dmr1686934pzl.54.1700643902199; Wed, 22 Nov 2023 01:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700643902; cv=none; d=google.com; s=arc-20160816; b=YaMAhIeyGIhaD3SNg6khjzLrHB9IgPKgObVtsy99LLxj9A1sHmn2CVqyO2XmjBghQ+ 7xgBPqzuIvQ6453WxVZcFecX06973ti6sJ+hsC3R+HXqMpcAQ/eW+awW5qX56L9O47qw KpqDjYjmbgSTIL6h4bn/Vi2A72r3JLaGlRqfdM1pZo5OM+cLt67MRTFZ06u5dWuU26Oi xJqFtJfHepmT7/WYGhyohzRC/t+7/AuQBIn7OMTTkbGGbrc2VgGZznh6Uq5LV0gTmJJz ywNsqmq23mTYu0N3d9z6Xtgi15yd424cGCpmovSnHZ40OrvrY3LmYKxzTfk3o+DUNwrl 0UAg== 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=kq6FB+f72pR7MXJ4rRLwAmfzHjSxQOUTSs7Kcn+N+hw=; fh=/NTJAD9V4Adq8fmqKWogVwMWvw3V9AueErTCp6TqKDM=; b=JUQnQbm2aEOBd3qlpQnyqytayW9JoLW/1QfKYmfr4//RW2wFPoLF8+en4Jc73LM0MM mZ0ONIkYoj9XJCz8+02u3yLL9NX0tgrXknMifhS4s8FKS1Vd1gaReRZvSkAlp6UU2nLT +Q1hDT1LyNrGH6hhBzAxcKbuxW1Sz9PE86hPFHRChcZlEhYnnDhgclAKVcUCAiBqNvJ+ ArwfMFh3g+I72HjPlXMhFHQF4H5hNhx7x+b2P32YsZIrodSZiYgh8rWuWmUtdqPeY8mg 2F+glE/dtu9jjFKnIuyFgxSUTQuOPxmAFh5oLSXbXM4Q6sI+UPMura1y10lZvgOPT9Ur Zw7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L+o67bdv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g22-20020aa796b6000000b006cbc1400a76si2764462pfk.349.2023.11.22.01.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 01:05:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L+o67bdv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 68418809FEE8; Wed, 22 Nov 2023 01:02:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343675AbjKVJCB (ORCPT + 99 others); Wed, 22 Nov 2023 04:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235090AbjKVJBV (ORCPT ); Wed, 22 Nov 2023 04:01:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E9AA1A2 for ; Wed, 22 Nov 2023 01:01:18 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 058CAC07615; Wed, 22 Nov 2023 09:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700643675; bh=BVnDmDR+rKA4mtrirPHxlLdI+MU30boGQ/k5V99HSF8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=L+o67bdv5DweiwDYl+nJzfqToDyKxUkExMC38yPasyDNleSxEXj4Zsdi183XH1SFx hCDJ6tvMvE37ciMt5xX2Mzvxh2lWPU4dcg1PX9wKaVTrBOX7Oog5GV5q3uxZwfwcCm jYJa584gXyzbRMEEjb1Uq448Oak17PzTQhMXE+5Djf3N0DoWGyPDGKn1R1H/cg8ECA H7Kpf27wYOQHy9OtcWFvkjqUMarWRGqLYdxP0kd5cwleh3b6MlI8uX/o+SpjmpBR/z i8K9GglXyLIKTAhUg6HteyAQYD6HtRrnUyJ07KE42Zh/mQr656+FSMxkmxdri9AeQN XdnVbRmIKDypQ== 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 EA7D3C61D9B; Wed, 22 Nov 2023 09:01:14 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Wed, 22 Nov 2023 11:59:51 +0300 Subject: [PATCH v5 13/39] pwm: ep93xx: add DT support for Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231122-ep93xx-v5-13-d59a76d5df29@maquefel.me> References: <20231122-ep93xx-v5-0-d59a76d5df29@maquefel.me> In-Reply-To: <20231122-ep93xx-v5-0-d59a76d5df29@maquefel.me> To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700643671; l=1050; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=QfKrIvPfB0fCTM7t3btZ7iI1VCeVDRfOLLuVOPs44Gc=; =?utf-8?q?b=3D02/osWpbgbRk?= =?utf-8?q?zW7KjznAETCQDg3jQaL31dRaL4iHz27/zOx6kT5K0RAYMfu9fe7+hbqKkzfDog1R?= sG0lB+5IDenimgU5+TFPIHCH7HbgT8a6j58z/H8IiZA2HMsZ6rYY 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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 22 Nov 2023 01:02:50 -0800 (PST) From: Nikita Shubin Add OF ID match table. Reviewed-by: Uwe Kleine-König 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.41.0