Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp201507rdb; Thu, 18 Jan 2024 00:27:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4otaTLekCgMCdY9FxZj7Ve6J5q+/Zd6abC0KA3ZyFt1Bo0Qnsg6MdBxyI+1titKMusRly X-Received: by 2002:a05:6214:1c86:b0:681:553c:1a66 with SMTP id ib6-20020a0562141c8600b00681553c1a66mr452551qvb.48.1705566428603; Thu, 18 Jan 2024 00:27:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705566428; cv=pass; d=google.com; s=arc-20160816; b=WHfX98Mewzb2N8ECSxOuzCKfDp7O0xbfinvksK1VNGSkRXRTR9KsGMeXCqa3lUiM9q 8RY0HJgQxHuVOYD6nggMxV+Sh3LT4oQHBVf8KsP8FX72wCopNCJ19xMY6IOcaSEIhKu5 JVO7mrJtTh4x4skkY1aL63Gvmyj+AtWr3mw3zHEiti1YGvHF5Hs4mZAqoUT6nEoXi0mF 7ztx/L16fVznInZGxplfxcJYdYY9S8spFtxhYzrifuP5HbFbq4hkn11cf6wH3FQw8rRk zLFi9HxQMAx02OrLsgykshE22iRWFDv8SfV2JuLWxssH28amcvSLzW2QSY0NcmKuCPZw /ZAA== 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=d6dN4SUtENfJb2SjFVD11piI0IxeZ3/t06jlVaBr3IWKJsHwwMybGEhZkw3aVq6Ld0 PCi0IOYtpVHLNHQgDN0BTFneKFBKuRWUu/43uhQtgClcRb27+ZR0PF0ltXR7uRXZQByg aUwhuCd0YLV9RD0wc2zXL61GS/4LGuETVqiKdhJDMN7sN6F2Ff69qOgPMDtHRZzzq+8/ m+wMht8K6Wv9isZLFMxvqSw9hWwX2poQ1hIED3I8hvuz6bYC1v/Vf2sVztoBMPncTkm0 eta72dZRa3tVVAtwDwFOyQ7AJNQRKKXgwjOAt+az6JwmgPGTkFRJDt0kcuDR7juPNFfY CDmA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QID7zQlN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29863-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 p12-20020a0ccb8c000000b006816fa2ba5asi4479376qvk.226.2024.01.18.00.27.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 00:27:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29863-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=QID7zQlN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29863-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29863-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 4A85D1C2309C for ; Thu, 18 Jan 2024 08:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA43929CF4; Thu, 18 Jan 2024 08:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QID7zQlN" 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 C0E9A13FE0; Thu, 18 Jan 2024 08:22:59 +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=1705566179; cv=none; b=bzlD2yqLSfCuEEuFp2va8wcF+pywT30aImix8WpCQh589z4QdM8Uw1f1lvNnQnI73p6ou/uXUCY+5Y7zcfp9BDAdxONG0srS0cZAO/3ZQw79y1vlv92sYgz2vJ5ZsCqWagOAKFavVWyB2pdLNrGP2NihmVVz+pvFFCuTZ6RrCCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705566179; c=relaxed/simple; bh=LRvc91m097Qskz9yB8bGNzi/V/i9xkRrGP0qF9TsLpg=; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; b=ix/rl4Jhe/OGGebgDEO8lP+xzbzzDW40F4U2dbEwlz6RFoixle58mShaNYu0wMruYU6wJv0gRafbyau8HKY5n9ShMLFxp+NEcNOnodrxXXsPm0GNUlapoW9C/r8veBbuK8DtvPjx4VfxBpvxigJWZJTnsFxogzxW8q6hbGehIhM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QID7zQlN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 59427C32786; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705566179; bh=LRvc91m097Qskz9yB8bGNzi/V/i9xkRrGP0qF9TsLpg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=QID7zQlNsAcSx6M52VwTi0R83Szg764KVPk2BqNoNc68dmn1nnzQd5oSlkQ+e92t8 lsyPU91jJcxo1w0J26JAV0uayfHl0Y/XmlU76rjLONzVc4lD2mgFxB1SKP1HYFSgpH mfFO8p9lhPmUYdgFTh+Pfbfi2bcZM5AUxmbZe4vbzaur7dGsLapiQklpktjWq2tBdZ r87tvGj8dVoBQzNzI3mFFNoT+wK/jCbFqZsbzw1n98XiSe9tZ5NejEb4KwiCBc0Kke zVH1g8DI1DpSoTyQikoeiR5uD6CclUcxcts//YwMIGUObuyNQz5bv4fcm207KADrX3 xWBNB8OZ+JoLA== 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 4A420C47DB3; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Thu, 18 Jan 2024 11:20:57 +0300 Subject: [PATCH v7 14/39] 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: <20240118-ep93xx-v7-14-d953846ae771@maquefel.me> References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> In-Reply-To: <20240118-ep93xx-v7-0-d953846ae771@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=1705566176; l=1116; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=47BXUS7nKAN+L1sWT+XWD4yJWjkfGZ50keulY4vZgFE=; =?utf-8?q?b=3DLgOJGJXNgz2E?= =?utf-8?q?fcjkp5S4Al5fvAI75BB64JbwutATTTKbE/nMlIp5TZEYqcrDvllPRhOplAj0hmH5?= X8N2R080DJa9hmWCGlkHUam9I7VkVy1uMtx279ASFX48vy8gfwyo 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