Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp201025rdb; Thu, 18 Jan 2024 00:25:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvkdzE4UG4IWUOJ4K5H6E1DXy/lKjA+XNQamPMJN0HB42TOZSOXi+hmrD3JGIegpHZYBoA X-Received: by 2002:a17:906:94a:b0:a2d:8089:5615 with SMTP id j10-20020a170906094a00b00a2d80895615mr260553ejd.129.1705566344237; Thu, 18 Jan 2024 00:25:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705566344; cv=pass; d=google.com; s=arc-20160816; b=OogMWfi78ZHVZKagjSEn5c/uT/xCt5lpF7hham9Jcx3JxnRuTZg9foMDfd0Q6hQM2m 1X9YBBZkeoXb5rDT4fD9V8HVRjDu2idEu1lwlMLYm4vSAF2J+juvTmFiU434OwIq8vOu abmsUOyPXRoRwNMyKyZIFpMISHRJIaBHDsQKOggA508L2TihxuZyBKAyBXn2M15y3t+h RQxH8TK07/GfgyUtQgTaRB/mrVMsguMDpPrptvyrgx8vujlvQxJ4v5vBGsTLVyArAooy 2scCdxUlcL7kClGlgk8GVzvBiSpOv/4TVQEyH8vJSCLHLmsTgag1QRd9ubdpnLs2s1YJ Nxqg== 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=ccWy7rhjGkSVIm7DR5rrGoaTWyypbHzjChITyoIT+Mc=; fh=DBGRqGFPXQQkoLty/KDm1/gSJqHLt7Pr6uKZsmvx2Fg=; b=oiO4uLrjUoneuFZ59I9UHFdcXM/IbCxHAwDN03kbXHHotgSTz+8SKQS6fbH6jMlUut nq5PGwTt+uZnri2kNriRxsvr3DuPbiRJia88deZfe0Pr8JTy7Nkn/KT2EWH8AFIyE7WQ tfvzmMAaIn9tnBkO+6f1DFrCu9C/khFCo3FQXjwuMrJJ+RIFbFATNGNn9Afnv2hlawOm oBHs2mTQ5tTQA6aGHLWIMpwo6jqtI0oGIUVA6FJl0MoSgX7n6tU/X0qcPUI1kLxB8/ay T0XR20T9zszhHlPzlGzlKVLTsarT4qo5LS062KR3I7wl9Bh6gp1sePyvsoEdIdawKcI9 T68g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ny4yKgOh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f16-20020a170906c09000b00a26f5fcbd0bsi6340615ejz.383.2024.01.18.00.25.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 00:25:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ny4yKgOh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-29856-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29856-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CFE831F24B8C for ; Thu, 18 Jan 2024 08:25:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 644C0288DD; Thu, 18 Jan 2024 08:23:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ny4yKgOh" 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 A2A2A125A6; 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=gqnKCeb7smX8ZwqCADRfozllBLzaEas2T88hSyhoKKYtcYp8ly3F7TPBA/lPjN1MQ87TImFoCu9ow73zsmwjcOW1jdK7O3DINrM2xCfqzRmowsD0rjHNhj89lm/K4+yyt33e5f6n0ayLcae+1ktgfIC1N7qOYU3+t01r0lXLng8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705566179; c=relaxed/simple; bh=r5b5AEVCSYZ5mC7ion+JuijTW0hSH+qXbQTw9BAVvjI=; 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=cd0qPKTQUZkknGsMFBsdJItUqUr8/iBeRxiiD80CZvvd6JZHptHTSDvV/zOuVr1Nny+nyfxid0yPE+Hlvv45SsgKYWT8JoCJDQ3bmL3GGZk9Z7HTbUMXhQ0zzf7aWRIlgeePisRKiLwcWFAY1iku/xplXfxWMpR0Vg6lDSp303Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ny4yKgOh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 46BEBC32785; 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=r5b5AEVCSYZ5mC7ion+JuijTW0hSH+qXbQTw9BAVvjI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Ny4yKgOh0nZOTz66Jl6KMWHP6CrEwzNazPXglqD1StbyIX+5ES//qfnZ3hcy26ImF aA1aKe8Ebhtet2/QHcw7vzrE4ts96rEd68hTdb0g3vLpPA/31F+SDPI0swHtYhUp9z dKwNH6YNhl37fmcJs/NbRRud+Ur/mz92eabwrjP6+W9nI60orV8T0FQ4S2t+sURYB9 /t1lMF800TGNWXOHqaw/P1hYFp8LPDGcRCa5nw38XsMrQvHeFvT/VeSo05i2YlCS8e MD4OkF8P0Wrk9iglVW/+RCY2tjQunfEINZbKpgw+Wvd5oLC/yO/TIbVqAzR92joJbO UyxqduqhXQinA== 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 37C0EC47DA2; Thu, 18 Jan 2024 08:22:59 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Thu, 18 Jan 2024 11:20:55 +0300 Subject: [PATCH v7 12/39] watchdog: 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: 7bit Message-Id: <20240118-ep93xx-v7-12-d953846ae771@maquefel.me> References: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> In-Reply-To: <20240118-ep93xx-v7-0-d953846ae771@maquefel.me> To: Wim Van Sebroeck , Guenter Roeck Cc: linux-watchdog@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=1193; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=vpQ5XpDs4mC6MjpYUOCLjEKX9upQoF4eyWW0iqon84s=; =?utf-8?q?b=3DT7QZPx057YrW?= =?utf-8?q?gNU/WfzXs8XuYBj16fySSgmYNZl+MqH1j4FNvLXi9GGw8F6q/TNc9AN/cZi3CDbT?= 2fuXCI52B909LA/5da3/v4Fevynzs0Bo8v0vQ7qG0+nyJitmJ0mZ 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. Tested-by: Alexander Sverdlin Reviewed-by: Guenter Roeck Reviewed-by: Andy Shevchenko Signed-off-by: Nikita Shubin --- drivers/watchdog/ep93xx_wdt.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c index 59dfd7f6bf0b..af89b7bb8f66 100644 --- a/drivers/watchdog/ep93xx_wdt.c +++ b/drivers/watchdog/ep93xx_wdt.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #include @@ -127,9 +128,16 @@ static int ep93xx_wdt_probe(struct platform_device *pdev) return 0; } +static const struct of_device_id ep93xx_wdt_of_ids[] = { + { .compatible = "cirrus,ep9301-wdt" }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(of, ep93xx_wdt_of_ids); + static struct platform_driver ep93xx_wdt_driver = { .driver = { .name = "ep93xx-wdt", + .of_match_table = ep93xx_wdt_of_ids, }, .probe = ep93xx_wdt_probe, }; -- 2.41.0