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 8E5EF606A31F for ; Sat, 5 Dec 2026 16:44:20 +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=Z5TyuyGQ; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=bHhd9EPg 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=Nw/HKiBc3sfoQbljTuN6zAst/Zj05CXOFG7L66vZNwY=; b=Z5TyuyGQg9VYYw7IsXASRrm8J4 zuajCZgVe4A6YO/TTRpDfIitgcgl8ubw40QrGJNuIMPSd26Iofbm5ofC3iSYLtgDw0QJ0KyxCilkt AyohVbhqVgUs3Q8UDY9zUKyLLX2usrhZqWZYRqcwGASwcpo1p+YgekGZq3LlAuZTjSk+x1jyqNdLK tZfSdp5KMvCIAsqC59SgNb+OxvXyTB8oguMH7GA4iVCEbGtpY2aLTTKoYrVMKFvaPkolr3sTe29CJ ZbLcj+YXfS1WrNaSTrGL107cr2YEKCjKTCd7LzuJOAniICtnoPTq2aRTxM4TaNSMAGTz7wVtCuKU/ HUTx2jmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZsrs-00000002fsj-2B0F; Sat, 05 Dec 2026 16:44:12 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZsrp-00000002fsP-0Hd4 for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2026 16:44:10 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4bb55cda775so11663665e9.0 for ; Sat, 05 Dec 2026 08:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796489047; x=1797093847; 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=Nw/HKiBc3sfoQbljTuN6zAst/Zj05CXOFG7L66vZNwY=; b=bHhd9EPgsP9gVdJ0exfAnjDWZJ/E1e119l0dfCHZ59FGYuEaJtlX+9nqROwKBXCwKD xDMScqzfe+aOtb3g1NN8AX96kJz2XV7+khmlvxJKAOmQXbUQHxF9ejT6+0n4r7a2n6V3 Cw34IZmWRa8fSBekZhmVAEVJmcXBk3jKMw8jPSTgPQX/vqsjq4bNDIosaYIr8f7825s9 hVbMZIL8JCPPAOSuBS6HUZyBIv/oEUA4BsK+MDH011L1CerxZc1s4M9P793SYdGGnulj o+NoS5Fn6ayCPxN7muj/pZT4ypgMew/HlkPxGWlP7rA3CymeMb/1r4a9U9Eh5Bl7e672 eRBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796489047; x=1797093847; 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=Nw/HKiBc3s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XZxxIejNEJ51L7+lq9jfP+2d35o2rKGe3p1KaTThxsHP4ZK1pz4gh6w4O+3Xdge+LaEjCW2fQQ auOcbpU6/6LZNfFUjfs6WrM4ieZlbw6lLha6Wa+sweXPDlJT43hXbKnyeS0iB1u470dban9h449 e6c+udm0gZqwvq3VdngSaJgbzHRSC0jxFe87KFaBRcvHdFi10nUXTC2vIhrw8xcyLctjE0/lpfI fUPEhMfqq9UwhDYXgAWxblyL27N1o X-Received: by 2002:a05:600c:4e52:b0:4b4:a551:681a with SMTP id 5b1f17b1804b1-4bbeb8512bemr117873085e9.3.1796489046769; Sat, 05 Dec 2026 08:44:06 -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-4d173ab8e3fsm12698313f8f.42.2026.12.05.08.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 08:44:06 -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 17:44:05 +0100 In-Reply-To: <20261204174814.453359-1-pmenzel@molgen.mpg.de> 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_084409_161379_301DBA27 X-CRM114-Status: GOOD ( 25.62 ) 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 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 (Lin= ux > 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-T510= , > 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/00e4b948= 1434f9b0b644925a9bb2feaf3940219d > [2]: > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b948= 1434f9b0b644925a9bb2feaf3940219d/drivers/watchdog/s3c2410_wdt.c#L181-L200 > [3]: > https://github.com/gta3xlwifi-dev/android_kernel_gta3xlwifi/blob/00e4b948= 1434f9b0b644925a9bb2feaf3940219d/arch/arm64/boot/dts/exynos/dtbo/exynos7885= .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 For the whole set: 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. This is the reason I haven't submitted WDT patches so far, as the other WDT is kind of undocumented currently. If information on this gets discovered, then at least the DT bindings will probably be wrong, as samsung,cluster-index will be needed. Best regards, David