From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87E5F606A31F for ; Sat, 5 Dec 2026 18:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=huv/7o46; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=kgQapGHp 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:MIME-Version: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:Cc:To:From :Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=h9y6l48fKtPsHFTyejizBARoECFW0lkgLj+N6QWy49Y=; b=huv/7o46piWmnoN/VTrhdhxa4g Le3YrtNxedw1oip8WP+SSt9h5s+xDuWqhwWuYJ1ukFJbdxi+c9bJOQ2WMJAsH2kOdCaX+vqhhUckN FFvKSkP3YxZ6Z80G5nPgfhHlieO9vPTItrIJ449qLVnCo0C/X2ZwJ65KiU6DL20ahvg4mPveFbPng VBdNL5s0MGejXSIer+cyOrteR9hqFzKkBLnVCI1LwAdmUGU0mGKvHVbA3AiKGiy9uK0hcKyIs0g8O sBCy1RvxHLU/A1B6LaXtyuJVpHIWHYP/nJF7+6VxiKYoWNabt6veOyZSrvmyYNweqDUOJZTXSbwSB oApeT1ZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZuP3-00000002lGy-37Q9; Sat, 05 Dec 2026 18:22:33 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZuOy-00000002lG6-1D7Q for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2026 18:22:31 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-491971ac844so1776009f8f.2 for ; Sat, 05 Dec 2026 10:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796494946; x=1797099746; darn=lists.infradead.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=h9y6l48fKtPsHFTyejizBARoECFW0lkgLj+N6QWy49Y=; b=kgQapGHp0czenx6Doa9QKpTuf4dERfp4SLWbGjmrjdeIWnyCx4OVEKa2iRU2g6xSAB IcD00XIFPG9YVnSI6THmvK63BqsIcw7aknQHuxVuOuFOO2sMTap5u83jDnG7ro13Fpek Xq5AMTJlw7ys9VgZ+tt133ChAAUbZEdaXEejKND0U0LWTXv7OnYy9typzQjpNjlLUEgP kCnAX5brLH54ab04SBViO32fM1L6ced3aON4tswmlHI58hX6R2g9suyYiZtKpCat8g3Z GYrIttpYUQL5kVjwH0G2jfM+YSSFQ0mqBa9Dp+Plq+5XhihX0GTN3zRabFVeECvZP0qR Owcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796494946; x=1797099746; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=h9y6l48fKtPsHFTyejizBARoECFW0lkgLj+N6QWy49Y=; b=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fgwrDljddIR5juLInEuCAghn3U/N8cKz5YU+akQYzSmKGFJ9 ZdPeX1kEVGTx8e2ClrPqK3cf++D6JCFedAkqxxYkrDW24Q/+mUULA1522JngEwbZQX3dJtBT7Og ensXzFZepDWnQRU7TEUCbrZLpVd8KRsutuodINnB65Er0UeDBMrux/y56k8Yp/DORFLT0JzPCzU UBgr/l1ZIPXQjk3PO7vDgEJ1jsX5l X-Received: by 2002:a05:6000:2413:b0:498:a72d:c097 with SMTP id ffacd0b85a97d-4d1e8cc3678mr12311633f8f.19.1796494945617; Sat, 05 Dec 2026 10:22:25 -0800 (PST) Received: from [192.168.0.10] (catv-78-139-0-46.catv.fixed.one.hu. [78.139.0.46]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d1737db151sm12082405f8f.34.2026.12.05.10.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 10:22:25 -0800 (PST) Message-ID: Subject: Re: [PATCH 0/3] Add the Exynos7885 watchdog From: David Virag To: Paul Menzel , Wim Van Sebroeck , Guenter Roeck Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Griffin , Alim Akhtar , Umer Uddin , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Date: Sat, 05 Dec 2026 19:22:24 +0100 In-Reply-To: References: <20261204174814.453359-1-pmenzel@molgen.mpg.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.62.1 X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261205_102228_356041_E813FA8F X-CRM114-Status: GOOD ( 32.35 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Sat, 2026-12-05 at 17:44 +0100, David Virag wrote: > On Fri, 2026-12-04 at 18:48 +0100, Paul Menzel wrote: > > The Exynos7885 has the usual Samsung watchdog at 0x10060000, > > controlled > > through the PMU like on Exynos7, but with bit 24 in DISABLE_WDT, > > MASK_WDT_RESET and RST_STAT. Add the compatible, the driver variant > > and > > the SoC node (disabled). > >=20 > > The values come from Samsung=E2=80=99s kernel source for the SM-T510 (L= inux > > 4.4) [1]: the samsung,exynos8-wdt variant of s3c2410_wdt.c, which > > the > > SoC uses, with mask and reset status bit 24 [2], and the watchdog > > node > > of the SoC device tree [3]. > >=20 > > Patches 1 and 2 are for the watchdog tree, patch 3 for the Samsung > > SoC > > tree. > >=20 > > Tested on the Samsung Galaxy Tab A 10.1 (2019, Wi-Fi, SM-T510) with > > a > > board device tree that enables the node (not upstream yet =E2=80=93 it = is > > meant > > to share a dtsi with the SM-T515, exynos7885-gta3xllte): the timer > > runs > > and is petted through /dev/watchdog, an unexpected close resets the > > SoC > > after the 60 s margin, and RST_STAT bit 24 shows the watchdog reset > > in > > the next boot. dt_binding_check, and dtbs_check of the Exynos7885 > > boards with the node enabled, report nothing. > >=20 > > I found no other work on this watchdog on the lists. > >=20 > > Claude Code (claude-opus-5-5) helped with this series: it looked up > > the > > values in Samsung=E2=80=99s kernel source and device tree for the SM-T5= 10, > > wrote the changes and commit messages, ran the checks, and ran the > > tests > > on the tablet. Each patch carries a note saying so. > >=20 > > [1]: > > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/tree/00e4b9= 481434f9b0b644925a9bb2feaf3940219d > > [2]: > > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b9= 481434f9b0b644925a9bb2feaf3940219d/drivers/watchdog/s3c2410_wdt.c#L181-L200 > > [3]: > > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b9= 481434f9b0b644925a9bb2feaf3940219d/arch/arm64/boot/dts/exynos/dtbo/exynos78= 85.dts#L1976-L1984 > >=20 > > Paul Menzel (3): > > =C2=A0 dt-bindings: watchdog: samsung-wdt: Add Exynos7885 compatible > > =C2=A0 watchdog: s3c2410_wdt: Add Exynos7885 support > > =C2=A0 arm64: dts: exynos: exynos7885: Add the watchdog > >=20 > > =C2=A0.../devicetree/bindings/watchdog/samsung-wdt.yaml=C2=A0=C2=A0=C2= =A0 |=C2=A0 4 +++- > > =C2=A0arch/arm64/boot/dts/exynos/exynos7885.dtsi=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 11 > > +++++++++++ > > =C2=A0drivers/watchdog/s3c2410_wdt.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 | 12 > > ++++++++++++ > > =C2=A03 files changed, 26 insertions(+), 1 deletion(-) > >=20 > >=20 > > base-commit: 0b5bb03d26a268f2606e3f574b277a1105136328 >=20 > For the whole set: >=20 > Exynos7885 has two watchdogs. The other one is present at 0x10050000 > like on the Exynos850. The IRQ I haven't tested but I suspect it to > be > 232. As for the PMU registers, I currently have no information. >=20 > This is the reason I haven't submitted WDT patches so far, as the > other > WDT is kind of undocumented currently. >=20 > If information on this gets discovered, then at least the DT bindings > will probably be wrong, as samsung,cluster-index will be needed. Update: From manual testing on jackpotlte, I can confirm that the IRQ is 232, and the PMU registers are the same, but use bit 23 for the other WDT (both rst_stat_bt and mask_bit). The other WDT is perfectly functional. Best regards, David