Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3197644lqp; Tue, 26 Mar 2024 02:25:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWgWlcWBjmcnMcE/R0/l4m1XojT7uJomtAgUKGK+od18fB5v37mrNoz9DDK+1K4NIgX2rsCr7Aj2AQUPC8h5y8mLedtSROvYZUR+RrWQ== X-Google-Smtp-Source: AGHT+IEt2haoDboirQjMaZaJijCCwXj5c9mKkd/U0ASCGf50H1t/qlGy+8CdumDyjhENj63R1RXo X-Received: by 2002:ac8:7d82:0:b0:431:5011:bc51 with SMTP id c2-20020ac87d82000000b004315011bc51mr7225559qtd.2.1711445121703; Tue, 26 Mar 2024 02:25:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711445121; cv=pass; d=google.com; s=arc-20160816; b=n40MTMAMvMoYh0+t82hZ/5ZYQgg1MrTKc5Q+m40EoeHXccSdeknhCxeZzaumpdpTdR qEDV/KR9vaoIE56260InPgjQXebKYAZCCTEIFOzlsXWng+yWp+nkT/HXuggw47TybzRb vCaiPYiOSnKzkpQ6sq5t27bh6simEyf5e1kVvqhoGQ0eOKI8BFLNI9RecJ6lQqzPCBvp HM38XBgO+vV74loOp/pOJSfzTPtEeeaoFux4CwQqwYy5XcmSX53aO0l1UF3w7lOY3GmE UgDIADybxXIOGUffXjat6pKZeAK7EYx7QfBxE8OWhc7O1dc73scllju9EWG7UNY2woWd IdFA== 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=F3fEEEYQs7M1nQyaa09ahr8B0nQbxx2ENoWHUUbZLaKzJx0BUfFQhz7BKajI6Of+0s FkPnUd1xKinvmMdpYLSeVvH3C5lF43rJg9e86ugeXsUVhdFr1vgWto3DuAGicBxWorad jsWFE6ESsVrXScHRqR+JBuqO0Mwh2kdnwiPqWL8qIK5kYUnkVdkqHe579o8/FERN03AQ kZlyX2kNwDg5Jq8Esr3BPQ0z2CbCqZd0P9odWJTyL947/4pl5rgDlrQ30S3J9fO0zHck X7GwQtzdQxwq0FmO7eSrtIJSE+26UVhya8pTEY5V0LDVmzSI34+wGmYu4Kl5fqmVFh4n kx+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H+cV0bhO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118647-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. [147.75.199.223]) by mx.google.com with ESMTPS id ey24-20020a05622a4c1800b004313a8a2b7csi8212303qtb.236.2024.03.26.02.25.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 02:25:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H+cV0bhO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-118647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118647-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 5D9F21C3912F for ; Tue, 26 Mar 2024 09:25:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4512581AB3; Tue, 26 Mar 2024 09:20:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H+cV0bhO" 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 464656BB54; Tue, 26 Mar 2024 09:20:42 +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=1711444842; cv=none; b=BICFAsVR9O8NWtNMAdIlKVheok6WVkTBb1L6bFX4l+d69tT7Vvx17UvKm8CsfOe3P3CdBa5XMZD7m7b4oSucv1ZQ2Yj55N0DaxOyFEBc1r26msP35j9DOphCV2hi9Elu9J0z4BZiYzXepjcK2FyBYoLIi5eZ74FKOvfDdBcnk+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711444842; c=relaxed/simple; bh=r5b5AEVCSYZ5mC7ion+JuijTW0hSH+qXbQTw9BAVvjI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CBxTDWqjIH5FE0JTu9xbIe+Hkzur0vAmM/VrtIJicM73WIbmSPUIFMz2sG64/dQYFji1vE73uOP9oUDcvBd0w+DsUGuyqNWpwBlKUmCzPFc5G8JpNMVmCyqn643igHpWcGvSQy7/4eipwcEIkE6XpVOr5XCehdnKNDt1Lbxn+hQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=H+cV0bhO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 71CF7C4163D; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711444841; bh=r5b5AEVCSYZ5mC7ion+JuijTW0hSH+qXbQTw9BAVvjI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=H+cV0bhO1b78dNhLZZ6+BRQM/RdokfYY4O+TosvnlIl4+AVLjOUsZ39z3pDKOFM3n lo7q4UdtSPcZhQh7l1V7W0bjja3cP2nEuia5WPWzJJ7K/nsQECoowb41iUBYDL63pO vo/ner6zUFyqu6HwtcTeVQl0ijMOn+GYxoYzoLbSgcQhDZIdm9LX9vLTxTrvfIlFIk GErtWdQ3HtZQ2pXwdwN5omcE5vtWY9ogfgxAu+xFMRJ+XSsL7Q066n++vvWWp68EWD tOVRH4bsHQeQuxI10mckfI+MAd/Qij6V2GM82SwbjpMXRi26/5c4WTI3GvxX9lFUKi RNei6WHTn9IpA== 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 653AACD11DB; Tue, 26 Mar 2024 09:20:41 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Tue, 26 Mar 2024 12:18:38 +0300 Subject: [PATCH v9 11/38] 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: <20240326-ep93xx-v9-11-156e2ae5dfc8@maquefel.me> References: <20240326-ep93xx-v9-0-156e2ae5dfc8@maquefel.me> In-Reply-To: <20240326-ep93xx-v9-0-156e2ae5dfc8@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=1711444837; l=1193; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=vpQ5XpDs4mC6MjpYUOCLjEKX9upQoF4eyWW0iqon84s=; b=WiA3j0VOqWEGDLTJanhltM9grkAF+h9zwI+4LbsNWI8Aznt6IUReIjyeQzj2CRL2/0CxZNXU5hTK IBDXIqgABKsrZrcwcq6D2uH6MiCBbjv+XApjMS2Dmm21pQ8b1XkW 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: nikita.shubin@maquefel.me 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