From patchwork Fri Sep 13 08:03:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 828847 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 B71041BCA03 for ; Fri, 13 Sep 2024 08:03:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214634; cv=none; b=XJf8s03UgwjlwsmOAozKm6SPVxGXFvUh6epbfbBtpAyUu/3mM8EuJlpo6RD3s2IdHHFmSiuRljgTGLGaooB+JTN0AkTMpjaGXkS6JigorsuLeafPZCm2R39kY7Yo/qIxhlm0w2rxAdzfM6H2az18jJmMIPN3yJypifoTqQq0OxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214634; c=relaxed/simple; bh=Vc6s6+COXzy9c+XnCeM/NP2FHQTRAQyn6+gq+l+mYD0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=qJDG617H1Lnml7al9BiYP4mM+/LCXp7JCy7reaMdu5I8XIfVj/QfCf+KJ6qBcCjiH9B0WAy6/0MA4CUKGspvj6lNf0YptFbYc1hIchJMmuzLmpZmCAWgEUJU+N/VI5zhyIiwcOlBz9PrussEuAhN9jCk9yKPoLT9r6ycOwnGSdY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=eRvFEcQ/; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="eRvFEcQ/" Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240913080348epoutp036d33dd9c0dbc2e91269e315c19179f94~0vw8iK7mr1092810928epoutp03h for ; Fri, 13 Sep 2024 08:03:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240913080348epoutp036d33dd9c0dbc2e91269e315c19179f94~0vw8iK7mr1092810928epoutp03h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1726214628; bh=JSOERbu7StGHVylZzo/2W5mtPqm88Oi/lnglXITEDJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eRvFEcQ/RwVkDatNxxbasYkPHXqMtFp43riQ53yavci1txORUWyz63VSZr1BlESPO IsUxH370S7AFtkw4HCR7Sy1m0nDOK6iURIbo5puNbDmjJ1jrG990X6wvWH/K4j2F0w ItExIXcxGRArbf0bylgb6NrYNWEuqu//Te1xVXvI= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20240913080348epcas2p2e6a83aebf78ff8b2e917eaf40a1132a8~0vw78Ovig1146511465epcas2p2a; Fri, 13 Sep 2024 08:03:48 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.99]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4X4mz75GGyz4x9Q8; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id DA.B0.10012.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p3.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epcas2p3f92c8fe85b252f8ac2033261db345837~0vw6_VY8I1762517625epcas2p37; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240913080347epsmtrp246bdcaf21491c10af322b1a6669d1c68~0vw69jH_n1974219742epsmtrp2E; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) X-AuditID: b6c32a47-ea1fa7000000271c-1c-66e3f1e366f2 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id B6.D4.08456.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epsmtip2670470d2b09a101313dfd555a11827ce~0vw6xNT1i0679106791epsmtip2E; Fri, 13 Sep 2024 08:03:47 +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 1/3] dt-bindings: watchdog: Document ExynosAutoV920 watchdog bindings Date: Fri, 13 Sep 2024 17:03:23 +0900 Message-ID: <20240913080325.3676181-2-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240913080325.3676181-1-trunixs.kim@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHJsWRmVeSWpSXmKPExsWy7bCmhe7jj4/TDBqmKls8mLe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zqJXd2ZfZT/d356bFxBqnnxSifnSwqiHGrtVXz7ptxQ2P+ex v2XhpNWWmYsSQy9f60y9oCerxFKckWioxVxUnAgAGchwVP0CAAA= X-CMS-MailID: 20240913080347epcas2p3f92c8fe85b252f8ac2033261db345837 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240913080347epcas2p3f92c8fe85b252f8ac2033261db345837 References: <20240913080325.3676181-1-trunixs.kim@samsung.com> 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 Fri Sep 13 08:03:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 828572 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (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 AEB6E1BC9EE for ; Fri, 13 Sep 2024 08:03:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214634; cv=none; b=WMqgVGOxyTpDPCdlhgJaZu7uh/XR5aHEWs9cC4SJ6A3iwQp0Q7LF3lbMaZQZjW1hBXWpnkJSiqLDJZyYq6YwDvqPaSi0uq8Q8IlR0XK/Y4iruaIQPKpWKIZWzt84lsdCuFzmESV5bHn4sT6mCtQIkXwKEjeEDvSVyAAP4ccTwKQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214634; c=relaxed/simple; bh=6PINVVeNOi1FFdL0EeeG8KqEqwP2RPH+YzT742JlVTI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=UGWCr+Fa+ETSfpOz5uchXN0Deo4M7pvoDiEyJ0vd0f2Iif366dOxJXO/1gasjo7pXvCq0+Vtl+zkc0wrhPyLypUk/GwHdB83+Lr3AYdMxCCdDNAB14lcKkhOWLIRSiL8eMvkZsAAl37Fk7FSWhrMVqSHzGMsJGenEVAr62mzKNY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Tb7QJdTR; arc=none smtp.client-ip=203.254.224.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Tb7QJdTR" Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20240913080348epoutp0232e2dd8c6f0d92e6d001ca68872bfd3d~0vw8kmIw01203112031epoutp02t for ; Fri, 13 Sep 2024 08:03:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20240913080348epoutp0232e2dd8c6f0d92e6d001ca68872bfd3d~0vw8kmIw01203112031epoutp02t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1726214628; bh=3LRTVWYsQXjzzI1/oxcfdZncMermUZ1Aj0HJAMy7vq0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tb7QJdTRBtpihxbjdAGzs/c2qPbg/EqTk7lpCgFPLkU6VSNEr4I3GzXlK65/ccoiS mV3H4tMl1AwWSTmDHb3FwS6Kp1vGdEKjcUJLN4+RUrbG8t9w/ar2NX8K8DELSlcYD7 3sGZH/GJQKmtKPzxHAQa4MNoRJEw7yogkHefOge0= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20240913080348epcas2p3531d2d05e3f29898b0dbdd41018258b0~0vw8IUOzk1762517625epcas2p3A; Fri, 13 Sep 2024 08:03:48 +0000 (GMT) Received: from epsmgec2p1.samsung.com (unknown [182.195.36.97]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4X4mz75yZqz4x9Py; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmgec2p1.samsung.com (Symantec Messaging Gateway) with SMTP id CD.92.08901.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epcas2p4b5694797cff88a22fd815a9de989d20b~0vw7FrBOR1981419814epcas2p40; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240913080347epsmtrp25d63db8a4bf1c0d84342eff71eb628db~0vw7E5AqR1974219742epsmtrp2F; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) X-AuditID: b6c32a43-a0fff700000022c5-a9-66e3f1e3d999 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A2.C7.07567.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epsmtip20b87633b581872ad1b638af18d025074~0vw61UmWg0679006790epsmtip2F; Fri, 13 Sep 2024 08:03:47 +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 2/3] watchdog: s3c2410_wdt: add support for exynosautov920 SoC Date: Fri, 13 Sep 2024 17:03:24 +0900 Message-ID: <20240913080325.3676181-3-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240913080325.3676181-1-trunixs.kim@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLJsWRmVeSWpSXmKPExsWy7bCmhe7jj4/TDI5d1bJ4MG8bm8X9T31M Fmv2nmOymH/kHKvFy1n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O0U7slXnO3u2HeDO9PyWXT4zd9 fjbhdaufjiv/2bZt0RP+fNdoWa/EUpyRaKjFXFScCAC9sDsa+QIAAA== X-CMS-MailID: 20240913080347epcas2p4b5694797cff88a22fd815a9de989d20b X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240913080347epcas2p4b5694797cff88a22fd815a9de989d20b References: <20240913080325.3676181-1-trunixs.kim@samsung.com> 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..c25133348f0e 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_cl1) + variant = &drv_data_exynosautov920_cl1; break; default: return dev_err_probe(dev, -EINVAL, "wrong cluster index: %u\n", index); From patchwork Fri Sep 13 08:03:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taewan Kim X-Patchwork-Id: 828846 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (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 A338D1BDAA0 for ; Fri, 13 Sep 2024 08:03:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214636; cv=none; b=OgMyKmz4e3IWporwlg3BhZeu3j2lwwm7TaOhIQEw00Vhg1qNTolLE8RvdiTrphdhVSSqutzok90a9dK2SpdklRp4nLtzG8blVtrB4ICkckDzNsy4xFXwRa6yjr0O7gORJ83UDgoi5V0kkd17b2mgWxQONEmlgFiB4Tx4GbxyA4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726214636; c=relaxed/simple; bh=VXfpLvliY0qreEcwdlpLsHaDpXmSSi5Ra3LdGTOB0yk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:MIME-Version: Content-Type:References; b=poZpVNdFBmBHc9d8VG85KZWkFiIBir3sb8MFGxgx48NZGc7OxYsrevUj7ZNe20N6Cl9FA6rDpeKrAzLw79Pw/j3JvITDfL5QarhrvH4EldCgWA9L86oOBBNmi+CYCZekqTTuJ7MUqv+WLG80R4+HeypiXFcGlRX+Aci2jmWaqTs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=qaqG/9R8; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="qaqG/9R8" Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240913080349epoutp0176314a8cd86d0e6e7484fb2db7e585f2~0vw8tqZe71889218892epoutp01K for ; Fri, 13 Sep 2024 08:03:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240913080349epoutp0176314a8cd86d0e6e7484fb2db7e585f2~0vw8tqZe71889218892epoutp01K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1726214629; bh=SZfbc9jZ4LzU+dG89MMiiL9I3Js9nc5zQVapmEmqHR8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qaqG/9R8w+0I4Vtf60NN9nqDjBqcauJNxCBjarNpiyI1ljr+TuyDRDejkYSjCZ9E8 dleFmOE4NKobo8GMS5bCu/xBpmFP6jcAhSplxv1wK7oVBUHD43aQ7CK4aY7w99cEJS Z6nY0Ecb1ZSZcWW1MZ6J5+lcaWCfDpNKnieMOf+8= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20240913080348epcas2p28d084be4931c403519c8b40180dfa464~0vw8O6GL21146511465epcas2p2c; Fri, 13 Sep 2024 08:03:48 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.101]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4X4mz76mJRz4x9Q2; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 8C.B0.10012.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epcas2p46fd90107fe54b8eab3a031cf2fbd592c~0vw7LS7PK1978819788epcas2p4S; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240913080347epsmtrp2d37c2ac5a207d9899279f65a004e7c88~0vw7KaDwg1974219742epsmtrp2G; Fri, 13 Sep 2024 08:03:47 +0000 (GMT) X-AuditID: b6c32a47-c43ff7000000271c-1d-66e3f1e37f3d Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 3D.34.08964.3E1F3E66; Fri, 13 Sep 2024 17:03:47 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.55]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240913080347epsmtip2db59ad0f635dc9527d8bdd02aa2c9beb~0vw65fUrT0679106791epsmtip2F; Fri, 13 Sep 2024 08:03:47 +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 3/3] arm64: dts: exynosautov920: add watchdog DT node Date: Fri, 13 Sep 2024 17:03:25 +0900 Message-ID: <20240913080325.3676181-4-trunixs.kim@samsung.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240913080325.3676181-1-trunixs.kim@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLJsWRmVeSWpSXmKPExsWy7bCmhe7jj4/TDO5dNbR4MG8bm8X9T31M Fmv2nmOymH/kHKvFy1n32Cw2Pb7GanF51xw2ixnn9zFZ3Fi3j93iycIzTBb/9+xgt5i0+DyT xeOX/5gdeD02repk81i5Zg2rx+Yl9R47vzewe/RtWcXo8XmTXABbVLZNRmpiSmqRQmpecn5K Zl66rZJ3cLxzvKmZgaGuoaWFuZJCXmJuqq2Si0+ArltmDtChSgpliTmlQKGAxOJiJX07m6L8 0pJUhYz84hJbpdSClJwC8wK94sTc4tK8dL281BIrQwMDI1OgwoTsjKsL2lgKNnFXfLw8l72B 8RBnFyMnh4SAicSTs79Yuxi5OIQEdjBKbJ62jxHC+cQoseTvI3YI5xujxJwPr5i7GDnAWpb3 mkPE9zJKvHg6hxnC+cgocWzmSmaQuWwCWhLbDr9iAkmICLxmlGjqfQdWxSzwlVFie2srK0iV sICrxL2/n1hAbBYBVYmOba1g3bwCdhLXPv9lhLhQXuL646NMIDangL3E7uY+NogaQYmTM5+A 9TID1TRvnQ22QEJgLofEr7W72SCaXSRufv4ANUhY4tXxLewQtpTE53d7oWryJVauPMEEYddI 3GvbxQJh20ssOvOTHeRnZgFNifW79CHeV5Y4cgtqLZ9Ex+G/7BBhXomONiEIU1Vi+rIAiBnS EhNnrGWDCHtInN+iDAmqSYwSF9pWsk5gVJiF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xi3r/qgd4iRiYPxEKMEB7OSCO8ktkdpQrwpiZVVqUX58UWlOanFhxilOViUxHnFX/Sm CAmkJ5akZqemFqQWwWSZODilGpgyd3ybdu7TOkMrXia9peIX/D1sTE8lJE1rejjpzaoDb21F zG3jz7x6eUxxVdn8/5fCz/zQuGt5JmFZhHrgE4+j7xsnTow8+iHiu7ZSBrfbMf4HXUY7xOxj xd98PdT9TdqUMzk4n7t4RWFD/MJtd8viHZUZ7V6GK9241BAVffVbzKHeKseHGUeMZV/udjr9 IOuS3Kkphbv/hWzqa1j49PqsJxwebF0H+7x2sGmfaT97oylaZs2Cbi/exhPXJMruXfb3vxt2 3ynQ8lqEVE3eFtHET6qOK/sEjSSnfGM+mCXbOM9ga61cgxP3Kn+B7mJujTbb3CfsvEGv2Kaw PNvUXX/uw40y/f9r/2zzdHgx45ASS3FGoqEWc1FxIgD4Sj3W/AIAAA== X-CMS-MailID: 20240913080347epcas2p46fd90107fe54b8eab3a031cf2fbd592c X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240913080347epcas2p46fd90107fe54b8eab3a031cf2fbd592c References: <20240913080325.3676181-1-trunixs.kim@samsung.com> 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 c1c8566d74f5..de210f8e5599 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -297,6 +297,26 @@ pinctrl_aud: pinctrl@1a460000 { compatible = "samsung,exynosautov920-pinctrl"; reg = <0x1a460000 0x10000>; }; + + 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>; + }; }; timer {