From patchwork Tue Mar 26 15:00:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13604351 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9611CD1284 for ; Tue, 26 Mar 2024 15:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sPMS2cYkmc+f8BXxlDD+03Wqdxz2GUgPFRJHl0WuwNo=; b=FRK2QskNJ1Jr3Q bD5ssxZItYeI/UWRhZHRnKIbxK2bnJe/onVfFF6tmFdnUhasDM5OUfiGSnyvvVhE4GmWmsadWX0FN pKxcunUXx3YjajDMj9rT++oLt8u9UuV7bcrNXzkHE31NE9Ah3nufy8WvcT10d+YHwVy6mHonb0sTU hufPAbnI8QWLsGlmNbLvVyI9vfQXme6stas1PCDgePiNS+7iJK24iymOM6fAg4g8HRLdbDlS6ffnN DC95fxPbOXhCfGQB9JHQPLdJQI4tp4wFrAp8arx7OjbU8oT/mUSrt/LxTG9WcVMsZnIaKVP/A7rkh FZRMcmKFBYnzyGJOm2ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp8IM-000000052Z5-2bBf; Tue, 26 Mar 2024 15:00:58 +0000 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp8IB-000000052Rs-2hGF for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 15:00:49 +0000 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3c3d3941a26so988624b6e.2 for ; Tue, 26 Mar 2024 08:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711465245; x=1712070045; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=b9G+01fnYmsgdrsm4iyF3y0ufJf0ihC4vR7iu7tY8Oc=; b=mIcjKxpPkm7qx/LI1lUP6e27vpi8vy7+O7SZqG36+XtO3Ep3FeQVdQlRaWFCzzKSF9 f0QDpWf9L7iux1own+dP0GYWmUU5q4luE5RIqqUecJkW7ZZhUoyyhMVGJUVuuJFADr/v xs8Kbw7Ddy+diPqeJrFp3QkaQVzaVlC/F/CaRL3nphYl9xJtUDr/Vh8gmg67Evaq79gS fQSs0aCB1s9D5PRgRdq43mGNu7jZp9iMi6QM+sJHyyTNAAuOuAalJCibdxIbs4XvzG1S LA6+79ajKrD4JvF3pBga9XPFZKSOWQiYiP9yMJ4nwvuOggPNCr+SYTNdUfVEIyfp0jYL fEdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711465245; x=1712070045; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b9G+01fnYmsgdrsm4iyF3y0ufJf0ihC4vR7iu7tY8Oc=; b=in9/vfuGygMrHLrtosPEy8xkb4YcbQzoqoSANSYUrZxOqiDG37WOeYGXpvFb4+4/3w l0T8UFdn1n1ySnBcQtyFPlTGpLsZ4QQ6KN9CuOhtKRLq07oXeyf7jbNxcoSL0aHNNkd5 SFoHvWfFMR5TG5HPB1KRo6nANCF+CH61cX9HdCpwaxoXEVFWEITB3tPi+5h7j0SOWJBX RjZtuQQ/9KTI314rdG7+Jj3oqTTkzWBk4yo5GmgGOjx40HMhrDGuaml762gX/eNwkyVR qxuZAAsEObupw0goHHtr52nQMqghxhuxpROb/4D5XuH0QMDjJJ4wDtI8rVBxOmA3nqki bq6w== X-Forwarded-Encrypted: i=1; AJvYcCUv4SCOPzQLLr0Vj8ijvNglRdlqBxciJEXRysMc1dWKXRSBZfml5ZkHZUTCHsE5snlDTIoMuQA+aia5mrPsDsnEQ/J2oaQhJbP/HG5/XPA+hJ4CdJc= X-Gm-Message-State: AOJu0YxSBv/RGa4C5DcqI3HSWNHlvBjh8MatA5LIhY4pDrZ8U025GrUd iwUEVvD2OscmTcFrEqgqScxpkaKdV66lwCzOSUFGhjY9R8gvQZjL X-Google-Smtp-Source: AGHT+IHN+fopr69FJ89Yh2+C9kaCZwgQMMF/ZNQmyQw3jN0rS6V6fpUrceswbHdxV8p2In3aXxih/w== X-Received: by 2002:a05:6359:4c1b:b0:17f:5a02:e938 with SMTP id kj27-20020a0563594c1b00b0017f5a02e938mr12309821rwc.1.1711465245390; Tue, 26 Mar 2024 08:00:45 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id l27-20020a635b5b000000b005dcbb855530sm7658404pgm.76.2024.03.26.08.00.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 08:00:44 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/4] dt-bindings: watchdog: aspeed-wdt: Add aspeed,scu Date: Tue, 26 Mar 2024 23:00:26 +0800 Message-Id: <20240326150027.3015958-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240326150027.3015958-1-peteryin.openbmc@gmail.com> References: <20240326150027.3015958-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_080047_750852_04D7FB48 X-CRM114-Status: GOOD ( 11.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org To use the SCU register to obtain reset flags for supporting bootstatus. Signed-off-by: Peter Yin --- Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt index 3208adb3e52e..80a1f58b5a2e 100644 --- a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt @@ -8,6 +8,8 @@ Required properties: - reg: physical base address of the controller and length of memory mapped region + - aspeed,scu: a reference to the System Control Unit node of the Aspeed + SOC. Optional properties: @@ -62,6 +64,7 @@ Examples: reg = <0x1e785000 0x1c>; aspeed,reset-type = "system"; aspeed,external-signal; + aspeed,scu = <&syscon>; }; #include @@ -70,4 +73,5 @@ Examples: reg = <0x1e785040 0x40>; aspeed,reset-mask = ; + aspeed,scu = <&syscon>; };