From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796489049; b=AhWoKPD6IhxLuPY7NaFWW7lOwMSA7ttmdtAEeIrLtjo2am+5b0rk/yUFTo92N0IwbQ5k Gke9TxjiKRlhnk4/BSN5T49jt+cRMfpC5qx1csOnfXmNeE+WDnvnO7qufxOxbQrlDH+we N9tV6DEJryIoMZrwSbO66qKoIJCHn9FncqrHaTuDu1ED+Z3xWQusB67YhYxnx37eYiFk8 2i7QYl6hLVgRQ0Jm1r7DoP8TGDumaFCBBGa32QaxRpvg04JC5xCCjRu+5F215JrgWEXW1 0INmVqFNXsYrhE+FtFg+S6SQ+aMfpe6QO4RQVxJp1DOCcD212+G2Vs5WNa7HFVCK1jQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796489049; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:User-Agent:MIME-Version; bh=Nw/HKiBc3sfoQbljTuN6zAst/Zj05CXOFG7L66vZNwY=; b=YCP7AwEkmAYIXSYemvQzKhF1pSnLI+1HotDcXI8w0kd23QTuXFMUlevPPmgg4PNZpBlI e74yduLDw9rWsp0bRM1t4UBBcL2HQOpQTc8xOEXQ8y8iIHQ/p+fNXl9HL+mKhunvoQDpa TqC7NW5logEBB1WZZWTjg46X58flgumex7Mu3+U/WOJUnODOqhEqJO7DKWgs/MtxN7mNi vAIVCiEvcZA85qKgDfXeZ4IarLccPJ539h80UuMs5Vz0w0wZL/m332JykC6/gstdmVRJT O5bYh3aM2i/4Q2jKy+rA2U3J+5UwsS82tM82hAWv6b6uAiyD0jWMldErLTPGl/etLOw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="T1/L3KLB"; arc=none smtp.remote-ip=209.85.128.46 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B449606A333 for ; Sat, 5 Dec 2026 16:44:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9B449606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=T1/L3KLB Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4a9a8d6cea8so21574915e9.1 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=vger.kernel.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=T1/L3KLBZJupdGoYkljXDfDMKhCfT38FGUqSQR/3QX3tzMa4SBhgV3x9kwflzdibmr ANYTrDstIqcbYXtAIV2C9eJt0UKR06xO3OCgQRwxY9JvsRo+FPFhyQPiV7D8NaEyBiDi 97ozrnaxewmv2CSH0CazWY7CLUCObQ5w1YYCfBQhOag8n/xxBdOCdI/S9pg3wU/+mNmp 36JgVpYwv93VfSKDtaNOsjhDYOXGHaxJjEacBTJ0hbcm7ROn8jhGkzCVK1SP9xxx6vDk 0au1cf7t6vD10N8YymFFJW7JDk5DXdW9YYjKSZa7U9K0cY/8oa+EP19722LXIRNAxtZC 81XQ== 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/HKiBc3sfoQbljTuN6zAst/Zj05CXOFG7L66vZNwY=; b=hJXUMME+bNVYBg5PRZCUsPS1ingTSNdbdxp5uvTOqJv4T1YIbjPlqHwCzI0AMzPsHi jaljW9gY20yO8HUl8Wao0yIXtPJeDt229U0quGeWR5XMvTmbKsYwqtcoe3zrV69Ki/u2 hh5aVFT+cXeoBlJd+/0N4Pz2TuDD7iOJHoI17weQ8tHuHe4avAfwwfsd9D5tVedTux6H nA1Do2Ws1OGUaPyaK76gmRXAkJ854uhc9v6OrGERMWMnawY0TMOldbWPHoSymrn8R1M6 UKbK7DSy4NvVSXDjYP3RxL427Ky4eHxyGRIQRpOdMKgX0pkGme1qr9tbLc/jU1Dj/p89 Agrg== X-Forwarded-Encrypted: i=1; AL+hErHFTBOSIr4cQpYs6bLly1unC/xgqnvEQUoydy1jVIsPO/M2PMg0iMmsUKSr0pcjSLuklU7q6bxkKr19@vger.kernel.org X-Gm-Message-State: APuU4Z/G+p9i5r2hnRMDpIaYn+2NhcDfuusgL7R6oaN/BZNagk6YVNh1 qHKOGlT7Ow2v6G+uNVENyYahII6p30Xhy9zSoMcxiN7sr5qjhX+3iBbN X-Gm-Gg: AZFdTZdjOIIsUNDvjpoLumtqOOudjfiwb90KV6pSZ4filei1Geq+sYqXbZJ2ptizpYF 53yJO23T/X7CErnM1YLwcLvTNAR+16y0sy+5Y49jd/lEwz34MjkF1tdqa0Cje/+gPwOMTP3HJxe fvhiA0K7owDFwH0gRnXwBajdS8yd7IaduHLougf+W5qgHp5Q8MsKmGm0chsZZMhAf6T6izlZbwU 9Av1z2c/xdFvhFUdiDIcubJqAoj9+0ILdZDz7sD6qluJNIYbMH1v1xSwuKEMNHBEaMVODKuDZOu ds4tGZxoRzExx+oSQyg4fEh816QMRHM0Nme4dcyJRwi0/XZuFN1xqcAr5Gh/rNNz8lCT+1xD7bC Ol5NU9078Q47iNI3aMSqH0BtpRZgWpS+rasrhyA9pbi/PnEjCTTdEyFoo4MUfWTWu/JB53WVS7V r8dFObbY+lKfDIlWeMFYJZWcRWFm+eHkxSdjSQEDOyXPG3to4ZUbT1Os+TT9ky+yBqX91nfRVKC nhbA+BGf3GSd2RQ3PFRyREqAAhLpQzA6xcX1FCHYwqTG6TE9QxxvRqm+JnXFn444cF+gmZ1sZUU KRQ6kzRReuyMpJn8vdAzlzC+m+4r5pIiv+j1g0ginnxySiiHk6//gnwyxxaqRA4zZwrfM4giUPK Kw1dpyYDyjcNXVlOlNKm5R4MljcB+ 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-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 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