From patchwork Mon Oct 21 06:39:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 13843661 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D53AAD3DEA1 for ; Mon, 21 Oct 2024 06:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hQxDkfbraO852R9WezWXo0oCD3wHYVrlBSU/k+r4htE=; b=slDefcFbLub8guT2M4kMqA0x/u GHvRZj1db5ceA0j6JBudHlWppTm3Fx+r3liLOHVBYruucr1snlVuxYfxf/TuLm3y8zkCc12Weugys SSUlbH76KK0hqEZsjAKR7nUqTzXjNKDNWsC+WlO/nfeLbfO+C00oHTbi4aN3OfYZMDYB+6XqWQTzY 3SkzxAEIp472HaGREqnCGXb3SX9CWuHRrxlfVLOjafUGOvgFL+pdeUsqAk8Sg1V9aDyjCW2Vhbm/1 UxPPo3hB/IRyudpP0Y0TE66NeqrQCXsN2aNlKSeP2AbJQpijWl7vKkPoviBK7u7oRnKi60TCYXGvm fK9JH/5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2mAl-00000006FPD-3F8I; Mon, 21 Oct 2024 06:45:47 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2m4v-00000006ELt-2enJ for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 06:39:50 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20241021063939epoutp0133185fb8993d49c420adb56073ffb7c8~AZIURyk3r2122721227epoutp01k for ; Mon, 21 Oct 2024 06:39:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20241021063939epoutp0133185fb8993d49c420adb56073ffb7c8~AZIURyk3r2122721227epoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1729492779; bh=hQxDkfbraO852R9WezWXo0oCD3wHYVrlBSU/k+r4htE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A0sV5fw5JlDoIqmTfZEhMKNaV+kcLfSeoSy0/XlfxMp0IPIti0sWmj/1Pw43fdSyM MMreN3su4DD7MAVk13G23moYxEOLY7S+oA3Dk3Tlsfu0rJekXKZ99VfByDDcR2Mywf u+vMgQQqYpXr5+h8znWIEMqeONXByRqp5rlb8SZg= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20241021063939epcas2p28fe89981e9a8238c992efb4ca1e051c8~AZITyQDWj1326713267epcas2p2G; Mon, 21 Oct 2024 06:39:39 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.97]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4XX5JV3X8zz4x9Pv; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id CC.57.09770.A27F5176; Mon, 21 Oct 2024 15:39:38 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20241021063937epcas2p3dd36f16b4daf7dd93a18f2e0fa187471~AZISw9Fcm1483314833epcas2p3a; Mon, 21 Oct 2024 06:39:37 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241021063937epsmtrp2be56318a8abd4b4300a832ed4a27f9f1~AZISwDE4r2414824148epsmtrp2j; Mon, 21 Oct 2024 06:39:37 +0000 (GMT) X-AuditID: b6c32a46-da9ff7000000262a-10-6715f72abcc3 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 93.F8.08227.927F5176; Mon, 21 Oct 2024 15:39:37 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241021063937epsmtip200a761ad9a00df6870269037f753b773~AZISjvM181927319273epsmtip2U; Mon, 21 Oct 2024 06:39:37 +0000 (GMT) From: Taewan Kim To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Byoungtae Cho , Taewan Kim , Krzysztof Kozlowski Subject: [PATCH v3 1/3] dt-bindings: watchdog: Document ExynosAutoV920 watchdog bindings Date: Mon, 21 Oct 2024 15:39:01 +0900 Message-ID: <20241021063903.793166-2-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241021063903.793166-1-trunixs.kim@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJJsWRmVeSWpSXmKPExsWy7bCmqa7Wd9F0g59nJS0ezNvGZnH/Ux+T xZq955gs5h85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tem/pnt5Zh2Ve+pUeMb29KH5jjnzfgccL1GzNJ6od q+rxn8tzZJdK8szCuc7e5Yt5mVc8rtVefVOJpTgj0VCLuag4EQCzxNPvBwMAAA== X-CMS-MailID: 20241021063937epcas2p3dd36f16b4daf7dd93a18f2e0fa187471 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241021063937epcas2p3dd36f16b4daf7dd93a18f2e0fa187471 References: <20241021063903.793166-1-trunixs.kim@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_233946_047189_AED923C4 X-CRM114-Status: GOOD ( 18.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Byoungtae Cho Add "samsung-exynosautov920-wdt" compatible to the dt-schema document. ExynosAutoV920 is new SoC for automotive, similar to exynosautov9 but some CPU configurations are quite different. Signed-off-by: Byoungtae Cho Signed-off-by: Taewan Kim Acked-by: Rob Herring (Arm) Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index 77a5ddd0426e..d175ae968336 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -26,6 +26,7 @@ properties: - samsung,exynos7-wdt # for Exynos7 - samsung,exynos850-wdt # for Exynos850 - samsung,exynosautov9-wdt # for Exynosautov9 + - samsung,exynosautov920-wdt # for Exynosautov920 - items: - enum: - tesla,fsd-wdt @@ -77,6 +78,7 @@ allOf: - samsung,exynos7-wdt - samsung,exynos850-wdt - samsung,exynosautov9-wdt + - samsung,exynosautov920-wdt then: required: - samsung,syscon-phandle @@ -88,6 +90,7 @@ allOf: - google,gs101-wdt - samsung,exynos850-wdt - samsung,exynosautov9-wdt + - samsung,exynosautov920-wdt then: properties: clocks: From patchwork Mon Oct 21 06:39:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 13843619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7892D3C53F for ; Mon, 21 Oct 2024 06:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y1rVAAUbL4XZfrYkt5r90v9JFxYMUZqPCTcgm/yJbCM=; b=eXKMtrwIJyAM7Nof6w16vkol5q DbndkTEgxcjbbFbxPntTnvvVHTd+++kDG3rOHmXAYb9oYVfqiOPEJ4p+7DUY6y5etIbFEtEH9mogo 4ZMBK4//mJbUnDBXKT4MAhe4Yf+pn22vywF3S61Kj8IvSwXriBL+1VnFE0Jda6vpVyzBIp297gShc 7xEK1g6zibpc0R8la4xudY02u1gi9upv15mrhpCBfkB2S6HRa/hl4Y2fW6l+c6mIRbdBEvfkVWgD+ 1mE0wsUCBzluM8zOXxXBZ+vPPG6wBHG6BVzWrRIAw3mhBxKyyrRJqjkZEtyvtxY83dUU+nxj7dIfF ccbaAzsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2m6Q-00000006Ebz-3aht; Mon, 21 Oct 2024 06:41:18 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2m4v-00000006ELy-1iKg for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 06:39:48 +0000 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20241021063939epoutp038cc4fe3b979329a910fc853d2535365d~AZIUWHG3_0779407794epoutp03L for ; Mon, 21 Oct 2024 06:39:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20241021063939epoutp038cc4fe3b979329a910fc853d2535365d~AZIUWHG3_0779407794epoutp03L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1729492779; bh=y1rVAAUbL4XZfrYkt5r90v9JFxYMUZqPCTcgm/yJbCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fdMzb7Z/l70wqGdlAjIsM/uBh/g7TMZMhzVCsycqFwfgKZR2aNf/FpX2jJrvjZsz4 T8OHdZJhaPBEu6hRaMc1g/MSKyuQoZYym8T8TvebrZ6IQGYQt/X/zyJiuaZqk2BpDD GpcUCc4IDAVSl1gM+A9IewXV4CBR8nK3pBty5vFI= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20241021063939epcas2p253d4fd6e3af9b6310857b0d4cb72570a~AZIT3Hiyh2063720637epcas2p29; Mon, 21 Oct 2024 06:39:39 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.68]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4XX5JV3X2Tz4x9QD; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id DC.57.09770.A27F5176; Mon, 21 Oct 2024 15:39:38 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20241021063938epcas2p22e0a9f4f869237ceadf4f2035778bfc7~AZIS4FlqH2063720637epcas2p24; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241021063938epsmtrp1eaa5da4c43b8b32e0b92f7a621cf634a~AZIS3NkOs1158811588epsmtrp1T; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) X-AuditID: b6c32a46-00dfa7000000262a-11-6715f72a8699 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 28.99.08229.927F5176; Mon, 21 Oct 2024 15:39:37 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241021063937epsmtip261c9eb531f2414339874f3626022d22d~AZISoWHWN1927319273epsmtip2V; Mon, 21 Oct 2024 06:39:37 +0000 (GMT) From: Taewan Kim To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Byoungtae Cho , Taewan Kim , Krzysztof Kozlowski Subject: [PATCH v3 2/3] watchdog: s3c2410_wdt: add support for exynosautov920 SoC Date: Mon, 21 Oct 2024 15:39:02 +0900 Message-ID: <20241021063903.793166-3-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241021063903.793166-1-trunixs.kim@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBJsWRmVeSWpSXmKPExsWy7bCmua7Wd9F0g/W7pS0ezNvGZnH/Ux+T xZq955gs5h85x2rxctY9Nou9r7eyW2x6fI3V4vKuOWwWM87vY7K4sW4fu8WThWeYLP7v2cFu MWnxeSaLxy//MTvweWxa1cnmcefaHjaPlWvWsHpsXlLvsfN7A7tH35ZVjB6fN8kFsEdl22Sk JqakFimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAnaykUJaYUwoU CkgsLlbSt7Mpyi8tSVXIyC8usVVKLUjJKTAv0CtOzC0uzUvXy0stsTI0MDAyBSpMyM7onfSB teCJbMXdw9eZGhjnSXYxcnJICJhInDn1gbmLkYtDSGAHo0Tn+ttsEM4nRol5vxcygVQJCXxj lFizIBum4/WevVBFexkl/v/fxg7hfGSU+PqylxGkik1AS2Lb4VdMIAkRgdeMEk2978CWMAus ZZKY86MNrEpYIFii6cJqsB0sAqoST/ftBrN5BWwldp+fxQqxT17i/Jv/bCA2p4CdxONjT1kg agQlTs58AmYzA9U0b50NtkBCYCWHREvre6hmF4kt+9axQdjCEq+Ob2GHsKUkXva3Qdn5EitX nmCCsGsk7rXtYoGw7SUWnfkJVMMBtEBTYv0ufRBTQkBZ4sgtqLV8Eh2H/7JDhHklOtqEIExV ienLAiBmSEtMnLEWar+HxI3fO1ggYTWRUWL7tQ9MExgVZiF5ZhaSZ2Yh7F3AyLyKUSy1oDg3 PbXYqMAIHsPJ+bmbGMFJWMttB+OUtx/0DjEycTAeYpTgYFYS4VUqEU0X4k1JrKxKLcqPLyrN SS0+xGgKDOqJzFKiyfnAPJBXEm9oYmlgYmZmaG5kamCuJM57r3V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678ibi18oDI0s0/tu+MeeXL+v+f58cHbfXrWZhjLj2Z/Nra6lre+mV2uwu8nJy/HN57 ykhpx+9J7/z7zng/Vle3Fzm/edO7KTE53Xw8B82vzJ7A/6HJqmifwMTcTfZyU9fN+tS14dnK AONDbK8l2KT3erQU3ry0xPOUdM2zK9+XfPIV/dWTaLd2Y+pNZ0drH3l9VpUTb884NoSrVl5/ MNN/1vVzb+dd3HCDP/SkZqa5hlTNhIfm+3faMR3UF6lvT5g9f3nQkj3Ox986mQUrvXlzRlH0 F1sqp+WONbf9b4a4aD5XX9w74dTs73nt+mYy7+wElFiKMxINtZiLihMBSIxYWgcDAAA= X-CMS-MailID: 20241021063938epcas2p22e0a9f4f869237ceadf4f2035778bfc7 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241021063938epcas2p22e0a9f4f869237ceadf4f2035778bfc7 References: <20241021063903.793166-1-trunixs.kim@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_233945_939564_14ABD3F0 X-CRM114-Status: GOOD ( 20.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Byoungtae Cho Adds the compatibles and drvdata for the ExynosAuto V920 SoC. This SoC is almost similar to ExynosAutoV9, but some CPU configurations are quite different, so it should be added. Plus it also support DBGACK like as GS101 SoC. Signed-off-by: Byoungtae Cho Signed-off-by: Taewan Kim Reviewed-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- drivers/watchdog/s3c2410_wdt.c | 37 +++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 686cf544d0ae..aa128099c47d 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c @@ -63,6 +63,10 @@ #define EXYNOS850_CLUSTER1_NONCPU_INT_EN 0x1644 #define EXYNOSAUTOV9_CLUSTER1_NONCPU_OUT 0x1520 #define EXYNOSAUTOV9_CLUSTER1_NONCPU_INT_EN 0x1544 +#define EXYNOSAUTOV920_CLUSTER0_NONCPU_OUT 0x1420 +#define EXYNOSAUTOV920_CLUSTER0_NONCPU_INT_EN 0x1444 +#define EXYNOSAUTOV920_CLUSTER1_NONCPU_OUT 0x1720 +#define EXYNOSAUTOV920_CLUSTER1_NONCPU_INT_EN 0x1744 #define EXYNOS850_CLUSTER0_WDTRESET_BIT 24 #define EXYNOS850_CLUSTER1_WDTRESET_BIT 23 @@ -303,6 +307,32 @@ static const struct s3c2410_wdt_variant drv_data_gs101_cl1 = { QUIRK_HAS_DBGACK_BIT, }; +static const struct s3c2410_wdt_variant drv_data_exynosautov920_cl0 = { + .mask_reset_reg = EXYNOSAUTOV920_CLUSTER0_NONCPU_INT_EN, + .mask_bit = 2, + .mask_reset_inv = true, + .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET, + .rst_stat_bit = EXYNOSAUTOV9_CLUSTER0_WDTRESET_BIT, + .cnt_en_reg = EXYNOSAUTOV920_CLUSTER0_NONCPU_OUT, + .cnt_en_bit = 7, + .quirks = QUIRK_HAS_WTCLRINT_REG | QUIRK_HAS_PMU_MASK_RESET | + QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_PMU_CNT_EN | + QUIRK_HAS_DBGACK_BIT, +}; + +static const struct s3c2410_wdt_variant drv_data_exynosautov920_cl1 = { + .mask_reset_reg = EXYNOSAUTOV920_CLUSTER1_NONCPU_INT_EN, + .mask_bit = 2, + .mask_reset_inv = true, + .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET, + .rst_stat_bit = EXYNOSAUTOV9_CLUSTER1_WDTRESET_BIT, + .cnt_en_reg = EXYNOSAUTOV920_CLUSTER1_NONCPU_OUT, + .cnt_en_bit = 7, + .quirks = QUIRK_HAS_WTCLRINT_REG | QUIRK_HAS_PMU_MASK_RESET | + QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_PMU_CNT_EN | + QUIRK_HAS_DBGACK_BIT, +}; + static const struct of_device_id s3c2410_wdt_match[] = { { .compatible = "google,gs101-wdt", .data = &drv_data_gs101_cl0 }, @@ -320,6 +350,8 @@ static const struct of_device_id s3c2410_wdt_match[] = { .data = &drv_data_exynos850_cl0 }, { .compatible = "samsung,exynosautov9-wdt", .data = &drv_data_exynosautov9_cl0 }, + { .compatible = "samsung,exynosautov920-wdt", + .data = &drv_data_exynosautov920_cl0 }, {}, }; MODULE_DEVICE_TABLE(of, s3c2410_wdt_match); @@ -643,7 +675,8 @@ s3c2410_get_wdt_drv_data(struct platform_device *pdev, struct s3c2410_wdt *wdt) /* Choose Exynos850/ExynosAutov9 driver data w.r.t. cluster index */ if (variant == &drv_data_exynos850_cl0 || variant == &drv_data_exynosautov9_cl0 || - variant == &drv_data_gs101_cl0) { + variant == &drv_data_gs101_cl0 || + variant == &drv_data_exynosautov920_cl0) { u32 index; int err; @@ -662,6 +695,8 @@ s3c2410_get_wdt_drv_data(struct platform_device *pdev, struct s3c2410_wdt *wdt) variant = &drv_data_exynosautov9_cl1; else if (variant == &drv_data_gs101_cl0) variant = &drv_data_gs101_cl1; + else if (variant == &drv_data_exynosautov920_cl0) + variant = &drv_data_exynosautov920_cl1; break; default: return dev_err_probe(dev, -EINVAL, "wrong cluster index: %u\n", index); From patchwork Mon Oct 21 06:39:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 13843660 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 861E1D3C53F for ; Mon, 21 Oct 2024 06:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:Content-Type: Content-Transfer-Encoding:MIME-Version:In-Reply-To:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QSyRVDO0W3RLAiNZJSPSIuTvox4rmOFWkLwxUqIuoeg=; b=m8daTzEr9ajvLFVAsdq9/JSRli Cx9K8EGoRTmq7/qkZMgfyCTcMKKl1gzMKeq+iQF3Kvn7llfm+SLsj1unibqjAaUzrONOydkT08soE hheL24nCIXDDwxXdcab+qPu1GCVZOFvtEwaiL5S2P7ijQtP4s3FitpgSPYmQoPr1VeK+3f9MfdfAp YYyZjd99E0w74oQ8OeAu5rfF5uybEmKzuOKXlLkwu6nkSafhcmDUhjXcel1VJUOkepZqcOEShYcIa MT068VsVa05DMAKxyp5JGM5/UXkXgIMjs9uZT8NB9vgf4UGlyiZ5vfMQROKpwYxO1l9LZsM77/IA/ wxLX6cSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2m7s-00000006EoT-49fs; Mon, 21 Oct 2024 06:42:48 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2m4v-00000006ELs-1iJp for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 06:39:49 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20241021063940epoutp0341e41d832e04f86f2871b646c317c189~AZIUy6g5r0805808058epoutp03z for ; Mon, 21 Oct 2024 06:39:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20241021063940epoutp0341e41d832e04f86f2871b646c317c189~AZIUy6g5r0805808058epoutp03z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1729492780; bh=QSyRVDO0W3RLAiNZJSPSIuTvox4rmOFWkLwxUqIuoeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=svCjVUlXHVBLUOq1j8m8yM1vlISe9t+eXUbD/QvYXAPIMhl29b07C6uy5dReImasm /48iczIkGZCmqRPpBHovgrjb2NwFFM7iZ6y69EV6NvTRYIDJA2bWND0JcRwzr0u2v9 TRct53kfI9MTQZxJElCtxPAhg1PLD9qUrkCSfUZQ= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20241021063939epcas2p454e9cc22e689e4f877c2dc872993f24e~AZIUP4-u_2426824268epcas2p4P; Mon, 21 Oct 2024 06:39:39 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.36.88]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4XX5JV6mMWz4x9Q1; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id CF.57.09770.A27F5176; Mon, 21 Oct 2024 15:39:38 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20241021063938epcas2p1c01c89badb532f08a46087a4907df7dc~AZIS9GdeQ2425624256epcas2p1x; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20241021063938epsmtrp249ea0445f9583877a9ddffb0e23e3470~AZIS8Jh482414924149epsmtrp2e; Mon, 21 Oct 2024 06:39:38 +0000 (GMT) X-AuditID: b6c32a46-638d9a800000262a-13-6715f72a8da5 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 45.F8.08227.A27F5176; Mon, 21 Oct 2024 15:39:38 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241021063937epsmtip20d8581a5f2d02f8c61d13bd58fcc11e7~AZISuxjK31927319273epsmtip2W; Mon, 21 Oct 2024 06:39:37 +0000 (GMT) From: Taewan Kim To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Byoungtae Cho , Taewan Kim Subject: [PATCH v3 3/3] arm64: dts: exynosautov920: add watchdog DT node Date: Mon, 21 Oct 2024 15:39:03 +0900 Message-ID: <20241021063903.793166-4-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241021063903.793166-1-trunixs.kim@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPJsWRmVeSWpSXmKPExsWy7bCmha7Wd9F0g1V/FCwezNvGZnH/Ux+T xZq955gs5h85x2rxctY9NotNj6+xWlzeNYfNYsb5fUwWN9btY7d4svAMk8X/PTvYLSYtPs9k 8fjlP2YHXo9NqzrZPFauWcPqsXlJvcfO7w3sHn1bVjF6fN4kF8AWlW2TkZqYklqkkJqXnJ+S mZduq+QdHO8cb2pmYKhraGlhrqSQl5ibaqvk4hOg65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rFLMWRmVeSWpSXmKPExsWy7bCSvK7Wd9F0g0tnmC0ezNvGZnH/Ux+T xZq955gs5h85x2rxctY9NotNj6+xWlzeNYfNYsb5fUwWN9btY7d4svAMk8X/PTvYLSYtPs9k 8fjlP2YHXo9NqzrZPFauWcPqsXlJvcfO7w3sHn1bVjF6fN4kF8AWxWWTkpqTWZZapG+XwJWx 8vIvxoJD3BUTt/9gamA8y9nFyMkhIWAi8X5DN3MXIxeHkMBuRomjx16wQSSkJY78hrGFJe63 HGGFKHrPKHHj/kZmkASbgJbEtsOvmEASIiCJs19+MYIkmAV+M0psWGAMYgsLeEhcudPMBGKz CKhK/L2zBGwqr4CtxNYj01ggNshLnH/zHyzOKWAn8fjYU7C4EFDNlasvoOoFJU7OfMICMV9e onnrbOYJjAKzkKRmIUktYGRaxSiZWlCcm55bbFhglJdarlecmFtcmpeul5yfu4kRHB1aWjsY 96z6oHeIkYmD8RCjBAezkgivUolouhBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeb697U4QE0hNL UrNTUwtSi2CyTBycUg1Mq0892dXDaruNjXn5NpNpk9ZU7dLXaX/3xCu07F4G4zxO9QPNm3Z4 G2sf6fjANT26+L31k2C7Gv+l1jnnvkrksH9/LmK4K7BDZ0sq65v03ktO+y4cnn7rbmkgt6zm hqOZ8ptuhVt+bF+QtmjFlFX7jezLzazPbVCX9K99uM0lL0ZwyyNdecG2uuIZjrxv3q/60ylz l01SS4fphGLjy/58bjsNw1qZ5OzD+ZvPFjnVMzoHXRXlZJnM7fZv07J3cj8e5b3wZqrL8RcN 1tEzvVZ32o6tdKnY1VsHqw1uNHp57zU52bLR9JjadL6WsMkea29oxVzdI7SgXX7qhbVdYRz3 431MTGP3+056JORW+UGJpTgj0VCLuag4EQDIcTVd/QIAAA== X-CMS-MailID: 20241021063938epcas2p1c01c89badb532f08a46087a4907df7dc X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20241021063938epcas2p1c01c89badb532f08a46087a4907df7dc References: <20241021063903.793166-1-trunixs.kim@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_233945_937101_AD195918 X-CRM114-Status: GOOD ( 14.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Byoungtae Cho Adds two watchdog devices for ExynosAutoV920 SoC. Signed-off-by: Byoungtae Cho Signed-off-by: Taewan Kim --- .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi index 91882b37fdb3..2b3e8debda3d 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -172,6 +172,26 @@ chipid@10000000 { reg = <0x10000000 0x24>; }; + watchdog_cl0: watchdog@10060000 { + compatible = "samsung,exynosautov920-wdt"; + reg = <0x10060000 0x100>; + interrupts = ; + clocks = <&xtcxo>, <&xtcxo>; + clock-names = "watchdog", "watchdog_src"; + samsung,syscon-phandle = <&pmu_system_controller>; + samsung,cluster-index = <0>; + }; + + watchdog_cl1: watchdog@10070000 { + compatible = "samsung,exynosautov920-wdt"; + reg = <0x10070000 0x100>; + interrupts = ; + clocks = <&xtcxo>, <&xtcxo>; + clock-names = "watchdog", "watchdog_src"; + samsung,syscon-phandle = <&pmu_system_controller>; + samsung,cluster-index = <1>; + }; + gic: interrupt-controller@10400000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>;