From patchwork Thu Mar 28 02:22:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13607923 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 AF466C54E67 for ; Thu, 28 Mar 2024 02:23:17 +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=DntXFUhyluSAIj NOLHqa9d0EVxm43nCvNDe0byNoC7ZLBH63VG2IRpMd3FpjxkDRKYMcEiZYqeVKyy+uwNB+xI+46JN +7mvaLRDTrGLHI7oV9R9MYOU+ekRf4ZSL9mcFxi+nE/HoW75/Vq9a5AtfaVDakXevYos+wRzvSuUX ZD1kiuuRoJZGsieEmYr0hpmhW4OJCif+BXW9BWco7eZKTT6PUFa2wuLXTQk6jFUiwGsuZzbwcznUj Gqg6DtemQ4bJtehKLIbXHdn+bx7ZdZJYnPbxlyLoMhSUNUvm7Sd8ZwIaZcYnQbdETr68uTUkWkOE+ 3lBRqi5vZOj7n6oiq94Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpfPw-0000000C5DP-2giE; Thu, 28 Mar 2024 02:23:00 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpfPn-0000000C59p-0ctG for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2024 02:22:52 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6e6bee809b8so513196b3a.1 for ; Wed, 27 Mar 2024 19:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711592569; x=1712197369; 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=bNFgJRWHmfRL+y4KuKEz8lNKQ+1ogJooCETDTa/nQq2ziFW5QeEJjmdEk2SfJphF/2 BD5MJNzCg0Dogrc4SCdU4O3eFAqZdT1hq6FSsndZ+X0VzJCbqxdOE7HirYUtkXpQqZgN Y443Z7+rMQDYPykT42z1WAwClR+STxWARv2lqUes7K02lvftnl5ShYN6xmYVTrjOM20L ThJHHWf3qHKfexQyq1ZkOQO80FIn1hCzWRbaMFj4pU0ubO3vpOlFbzvlgtVCxb9FlSdr XGJAw2wX55nwGQYEYD/ONE01WleOMw6cPyqtgPE85D1Ms7DMv6BU3W+V/5BNNcRi8Np5 8SkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711592569; x=1712197369; 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=xQSe+xXslB9vJ81GG9C5HWqhRJQrEeDYk9xb4ZmCxNnLNYgLq+TpgCvn0Dcuw8Koto UO83INhulA4Q8+7c025HhfzKlq6DrCRtZfF7sB76j6S9Nci4NYdIUKN6ZezwFyFz8zvh CewQ+wgtk25zGesHJdMT3JQS0ia0v5lXTyTnQ7VUmY7w1sN3z6jmkV9mhy1+wYzmN1tV BBqYjdLdlWDIgJ12Y0mkIsZ+zMjiesb/PbpNOWUw63Pp56+GEC2Lr9jV5Mh8+bFW2KNR RXXkXUxUMJxJfm9lmLrk1pbcK10qmBK0khry1/2X7gvboooC7tJueoxL+dOWTT9uXTY+ lB8g== X-Forwarded-Encrypted: i=1; AJvYcCXOniP+iZThvJlsiP5nhi4gJ2X1+qIEDaDMMAZzA7OzLQsbtm6sDdhqGyt7mYYYVy8QRXxJeTKM6zii7RIMT+rCKJZKvrWOxGsNf4vH5CTLRPbOwT8= X-Gm-Message-State: AOJu0Yxqg7XUcFpLaTPY/LnUZf5Hs1wqEgDCvSWPCIZTKmAsrH43Jani QF7eha7IMJWHOQKpCADppiYbzob5rvzBiM1OX/+YBz7odman4e/H X-Google-Smtp-Source: AGHT+IHEYik3ANtnRa6lUOZjg98pWEyljQMpLalhqqnQpsJMdrecpYww0XTbhYN2Vm8Jo6MXl+PZ+A== X-Received: by 2002:a05:6a00:1a89:b0:6ea:bb00:dba6 with SMTP id e9-20020a056a001a8900b006eabb00dba6mr1983301pfv.26.1711592568937; Wed, 27 Mar 2024 19:22:48 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e355-7eb0-17c6-c47d-d4ee-f9e8.emome-ip6.hinet.net. [2001:b400:e355:7eb0:17c6:c47d:d4ee:f9e8]) by smtp.gmail.com with ESMTPSA id d25-20020aa78699000000b006ea858ea901sm229256pfo.210.2024.03.27.19.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 19:22:48 -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 v6 3/4] dt-bindings: watchdog: aspeed-wdt: Add aspeed,scu Date: Thu, 28 Mar 2024 10:22:30 +0800 Message-Id: <20240328022231.3649741-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240328022231.3649741-1-peteryin.openbmc@gmail.com> References: <20240328022231.3649741-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-20240327_192251_217918_0711C847 X-CRM114-Status: GOOD ( 11.48 ) 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>; };