Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1152932rbb; Sun, 25 Feb 2024 23:34:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXCq09scjFX40Z28PpFetQcSC7diSYu9y7V7ndpB3qbcq0J2I7/8aYTnQAtV4uv0V6ZMS+gv3UF6pvuf5XadxNrby/vb+rCszIcCshc3w== X-Google-Smtp-Source: AGHT+IFEFmioBkGOzJCJjDFITy90AiPH9H6TMBa6J5wMLijkFboHpDS/Q2kN93VTujDmCn/x8wUD X-Received: by 2002:ae9:c30a:0:b0:787:bb73:7b0c with SMTP id n10-20020ae9c30a000000b00787bb737b0cmr7530708qkg.58.1708932883329; Sun, 25 Feb 2024 23:34:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708932883; cv=pass; d=google.com; s=arc-20160816; b=E5wYvyvlul/e1kFG/12L6P0MUYUA13M65cXw4NNxetVDe3BkgMx+qe4hmjfwivifmR S+oZcmrXjllH2E51ZmwkV2i2PeRXqd6c1vh37brTmCpMkqvei6buBHmS/VGMnHDCIIzJ JnyBsZhJIr/aB7oyrlxh5D2hjOfNmTZYGKmDly4g341Q19/1yCuPgvasNqAVeA2OqKEa zBeS8da2I+PHd6lHz6yUUWGy+vRm+vIsuCP+EG3QbxWu6L2QOuW8seoNLTgYNwmHlXwG YbUcKT3Guk61OKotLXP/X2cpX9Ds/83GkblgavHreerJHQ0Jo8oFiGZNQ0DhrJPVQYnj Qg0Q== 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=aP9rG+Eg3f8dusbfd+YAvRg7X3GdlOEut2K/yx6qMuA=; fh=OVsmVLdu7S/fb2+5399Qmxg9nZwIWkGSODNtT2hTKSc=; b=B9dMRSvbwutiP6Uircqcx9xXammPepndL1er/kENIKwnMyMsFXynIobfENzlkskTxZ XDDba90EWgB/Y3Vs8d6hy/NlnT/pnHbm9TkvF7HvruvpS3QBPdYeEN36rU04+8Atj/1G 89svbLcOszzP6r7ycloInPom0t3P2sTcWVfvopqmTZlfeTelUHXSiPLci5vr5QTi5RVV QCqxXtGLHc4CLQKMvicpiw2GBk5zwHYnx0+FOeKMpLm8LMuq4aRHkha+RmEqEZ/qoN8o 3gRcqIWQhUhi9/PyNDxY4VCrQPk3NkpX4zgKLxubIcq1ffhKrEG0nQ/dPTUVIFAdQRGw sWww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qbehGKZk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x25-20020a05620a099900b00787d787d0c7si498105qkx.146.2024.02.25.23.34.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:34:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qbehGKZk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80647-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A17A1C20B1F for ; Mon, 26 Feb 2024 07:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63D473D0D2; Mon, 26 Feb 2024 07:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qbehGKZk" 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 A250F1C695; Mon, 26 Feb 2024 07:31:22 +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=1708932682; cv=none; b=CJhvFQisDrMA5yovAhNtBjlFAmIyBNun++giCMZDsNssdtxWiLQUdlCORrpMJb39MxGw45DyUmlXCnILRou4oG8OK5VI7NkKoScjXSv+bQ2LqICPv0hvzq11y3q0jWB0wJjJvQlsSpvg9xs5HuNQsx+D84OHXRtPYKrb1O+sVT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; c=relaxed/simple; bh=LRvc91m097Qskz9yB8bGNzi/V/i9xkRrGP0qF9TsLpg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WRHIx4QkMoHeYIMHzQsvqv0BDaDHzMkA3Y8lzYLryq4gXSeRoj/o7T18hYtCeW0OJo9CeaYuasFpsQAFa5LX143BfzlGXZEOZ7cYwwCT/zrqjoY5QFNWOwpZyswodTBmVUuEGbNyeW9cYJBRwU5DBh44YjHwTrgiMAtyk6ERIgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qbehGKZk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 845ACC3278B; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708932682; bh=LRvc91m097Qskz9yB8bGNzi/V/i9xkRrGP0qF9TsLpg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=qbehGKZkcdYZlIig3myIMEs64/+8egbWixOcf1ULzNqOIeMYZLPusAGMSXGf1flCD Ahj88XSd2ot+eoBni1qcHS1JATY5v7nIu15YgOi+jLDBkrpMXWmM0KOJjDI1fh51fU igiCFWpYJcSJg5GeqE/Biq0U2ijC2QncJHrsaa0vGTyVrk542Ro0ihTejek+qA2ZAs Iobm2kZZZhA/GK4PFMi9dXWrWx3WEXVpw6wy5BQIV1FaC/gtdbBVQHGnrew/gk3vKZ rk3uUjGWZFN3HGQ91SzOpBxHQZYm3bZQ9ToahnB3l+ToPhwl5jHyOfpk7by8GcNFlg R+RBmeGb1SZCQ== 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 727EBC5478C; Mon, 26 Feb 2024 07:31:22 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Mon, 26 Feb 2024 10:30:09 +0300 Subject: [PATCH v8 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: <20240226-ep93xx-v8-13-3136dca7238f@maquefel.me> References: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@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=1708932678; l=1116; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=47BXUS7nKAN+L1sWT+XWD4yJWjkfGZ50keulY4vZgFE=; =?utf-8?q?b=3DwUT+RkbSqb4X?= =?utf-8?q?6fwujPOXgjloPkP7V030EQ6Jd2ghE0TgciBhw+l4boUmQR3Ln1sNJy0n8CLxkWkB?= fuLSn+OEADfFuSTFFZ+Ky1GnSI8AXLkGmEBRIFhvW3hDDSd4raXb 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: 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 51e072572a87..7cf05d0b78fb 100644 --- a/drivers/pwm/pwm-ep93xx.c +++ b/drivers/pwm/pwm-ep93xx.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include @@ -189,9 +190,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