From patchwork Wed Mar 27 08:53:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13605979 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 B6C2AC47DD9 for ; Wed, 27 Mar 2024 08:54:35 +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=hu09tWWUL5m+zm y2hnw4bnN3dWmGHEjtVUEMMGkEbCOlNFV6UZFiWTE2pSFcFqecS4UdQQZrN65BBMxdEA29HqDl2Jg OaYodIWydOJDiewqUWPPm/BLF6lGbGQamsN2sZS8nmftAjzYv1R1CWY08b2zB6ILMoN6Wp9OL5h7y IBq77ogwuIixofvoT1WLhjJiqyVeSBfVdTVkn2yPbNoZsH9DZt5K7dqgU4k5LYu2owB+fUZ3QYabU Vp5JdpEMuCMl+htL4HNyofRGNCyLNIeRAVrm9iTvD/9bM6VdCow0o22hSY1qORZsaN2FM/FtQPQY9 YX1aKOzZFXiWETJr+vRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpP3B-000000087XN-3j1f; Wed, 27 Mar 2024 08:54:25 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpP2c-000000087E8-2S0Y for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 08:53:52 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1dee5daa236so48906905ad.0 for ; Wed, 27 Mar 2024 01:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711529629; x=1712134429; 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=JmZI2QciTRaw31/Y6AoipdvlwCgSkdymPSY3cf8F5BWxFiBqFxOYu/JXs6w17GQ3Bk QzSFQNDp//lKly5b7e+AEdXLe8/G9KLgePyJxZXCyj/1QH2k/wFC3SdBEn4NbiW8JtoQ N1kc8y5ka1ynob50spDyc20wbieFGCIrezPVPtIQEAsBBB6qNrqJ8SvDo6tPOGTiroNj ekwDE5fbPcXi05nGm7H/hyAzlHYRHLBc6g+gtqZVcsfGyywVZlwj4gzeL3uH3BCxlmds 1BGy8kYfl20Gv4HoiH9A2SJ6B4eC1G/LnYIGf196VDQD2aIKaTY0rpcSeM3O+w3WExqJ unvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711529629; x=1712134429; 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=PXn20lRY1vGqAFP6kknsBXvteZUllTmd9fcGlmL4461mzW/1kraXOrHIzEi7jMMGAH PUIxpVbpw/m4ln58VgaYB4/5lP7hhXR8xLi9wNugvKZPxl1SoPCEgMXwyvS68xYnKZ1w ESGEMp/QeRhNdvPNv5ToXXy6dz7/oRoIY9VGxdWUREkCiOR9Q3WqE6fFfvEagv1glwAb 1Qu0i3gCiqXPVgXlLGXX8qRBkiBplW3GjUm1frpexX1V6/tp3+kHTHy8yADV69HzEjqj Vj9a3fBK1XUVenR+8byahoRUdNqChQaGqmTVLbZZI+iZJCxocmeqqSJHoDV7HhJhDkWg JJOg== X-Forwarded-Encrypted: i=1; AJvYcCW140W+jfxTrVFtvdT01g7UEv7S3tAYF7Ehtc4DJ0GCtD7Gi53igjeALmhVVwOqF6HZRoCdrTDpUnbMoQUySk21mHYdzPTIHd3//CYcXkqg7whIGhQ= X-Gm-Message-State: AOJu0YwUAE19nfLCYpr6MTTdvSmgdhN3P1HonPRS0MiWA7GxrjQ0iQ6l NlaMU4u+qhpzdqhsy66tVB51koeAq/gXaZV4PQJ0vM3Yh/o+H6E0 X-Google-Smtp-Source: AGHT+IHMtf+g4HCFGxUFbq7vGIja15S+RN2FfG532r/JlKdvx3ne3MqOCeZu8bYoa6cKVVkgxKSGoQ== X-Received: by 2002:a17:902:a3c6:b0:1de:e5aa:5ce with SMTP id q6-20020a170902a3c600b001dee5aa05cemr1931176plb.41.1711529629258; Wed, 27 Mar 2024 01:53:49 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e383-3566-013c-5a87-9abc-381e.emome-ip6.hinet.net. [2001:b400:e383:3566:13c:5a87:9abc:381e]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b001e0501d3058sm8356848plb.63.2024.03.27.01.53.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 01:53: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 v4 3/4] dt-bindings: watchdog: aspeed-wdt: Add aspeed,scu Date: Wed, 27 Mar 2024 16:53:29 +0800 Message-Id: <20240327085330.3281697-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240327085330.3281697-1-peteryin.openbmc@gmail.com> References: <20240327085330.3281697-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_015350_763643_8D2DAD6D X-CRM114-Status: GOOD ( 11.52 ) 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>; };