From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.67.36.66 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793808968; b=t249Vsh0qaAvDtpY85r6vKbpwlAAeaVR+HjEPcre2A/+WhbBNshsA641mgZkwtIBYm4Q i5vVjzGe9YOuUcugECjnWubl81f5sWE0cR8daxp1xwRqOwKkdeGLajz+yqGicKNjd/n2N aJmZDMjYDGjLl7KcS0Mahnxw/S5koZLuf6Fv+oDWqdEr+rOa16+soZPlJ4n1nyKcS908M 33wyv9WyPWrtiPUKeta8Y1LcKtjG31YfCg8M0t1bFcw72abcqWuJCF0G0VZn1+2p5MHuy Acdg7qU1bCUrfOwe9vFXUZKY5CMBO/buvGEV0o43Tsrkflz3Dlulf6ME6yRMCeVP87A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793808968; h=DMARC-Filter:Received:DKIM-Signature:Received:From:To:Cc:Subject: Date:Message-ID:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=cZO12q2rUYGTJsRBXXjfwgfWq9/ftofCaITTyvCFUto=; b=A4NFxjDnBq9/nP6nr9ssuTKWL5+NB9ADN7WF7ShXcXDpgCTMqpXS7cKrSjAmIF514cTq YmN1Vd8M9GGRWTyxZb5ydhyQZ7ApWlF+zv+88OrPgGgd9paa+gUEMA3ixj+grSIS+zmY+ bAVTiK3God54VTpMlhbsRF81/rCFB3rHlyra1JVyTtfhQIL+rUoXxmQlAT8oc5nPNnLnX iYvkp2gHCDljmPiJ0VA/mWUvME/x5ZJcyPCea4g6a7Np3VIqytvY3YxEepn389fcsP9TY ONEvFX8f0fKqTpw/Hr/zNiFCKZaEqNirRKuArBjFEfYzwj9Bli+gs/9wCDycZKAP4EA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=posteo.net; spf=pass smtp.mailfrom=posteo.net; dkim=pass header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=1984.8680eb header.b="KOLG1A/V"; arc=none smtp.remote-ip=185.67.36.66 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5F1B606A32C for ; Wed, 4 Nov 2026 16:16:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E5F1B606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=1984.8680eb header.b=KOLG1A/V Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 73584240101 for ; Wed, 4 Nov 2026 17:16:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1793808965; bh=cZO12q2rUYGTJsRBXXjfwgfWq9/ftofCaITTyvCFUto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=KOLG1A/VP/BYjsOCqYOiudOKWdcUDUf0h6xyndjEuoqPFAg7estkXYby474OLgno4 Rx5w1hYLvHknmBQlKmV9wk/PUNCKlI3chOwcUIpFcaRsSFTIyEAph6qS4Mzzft3Cha Ui/Ysjvq9s8ytfuTBRZSCD72bNMDHixzERVhK/JBE6CcxTTHz66z/OiZ2Llg+0h8bi fbc052edij+AoHTzX2i0I+cHtstnjO5Mx+jPW6KtY0gko9ACXYEbtXI8mtjQr9bpgZ TdPD4LiuIryRTCvWQ91cH56P9zo7GbDeJEBUsg4iHelK24xDB97Zo1CM0A/kS55AxD ya/yQ+y3luFLQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4jKVtB6Cxdz6tsg; Wed, 4 Nov 2026 17:16:02 +0100 (CET) From: Mateusz Nowicki To: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Cc: Mateusz Nowicki , Julius Werner , Evan Benn , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Antonio Borneo , Marek Vasut , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 1/3] dt-bindings: watchdog: arm-smc-wdt: allow a list of SMC ids Date: Wed, 04 Nov 2026 16:16:04 +0000 Message-ID: <20261104161553.30115-2-mateusz.nowicki@posteo.net> In-Reply-To: <20261104161553.30115-1-mateusz.nowicki@posteo.net> References: <20261104161553.30115-1-mateusz.nowicki@posteo.net> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The SMC function id of the watchdog service is not discoverable and differs between firmware versions for the same SoC. Let arm,smc-id hold a list of ids that the driver tries in order, so a SoC dtsi can name every id used by firmware for that SoC. A single id stays valid. Signed-off-by: Mateusz Nowicki --- .../devicetree/bindings/watchdog/arm-smc-wdt.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml index 8e9d0b7e8244..9844b23ef51c 100644 --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml @@ -18,9 +18,14 @@ properties: - arm,smc-wdt arm,smc-id: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 4 description: | - The ATF smc function id used by the firmware. + The ATF smc function id used by the firmware, or a list of ids for + firmware versions that use different ones. The ids are tried in order + until the firmware accepts the init call, so only ids that are known + to be this watchdog service on the platform belong in the list. Defaults to 0x82003D06 if unset. required: -- 2.56.0