From patchwork Thu Mar 28 01:33:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13607887 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 48DD0C47DD9 for ; Thu, 28 Mar 2024 01:33:50 +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=sCA1t4RcFveWb6 vM6AcCYSVB725x8aRMSnLz2lwdjj71eGp2xM+UYlPcZjdWWweEX2btLIevftiX0fCxSbUJxaQTBFC XMzLORKlJ7LLN+U8IAHZ35W5+2igDwLhJCNZcVLIGc4bIIihx0WgIqoJ/L1I+Tz16NTq6uUPD0sas ATWqhjUveGWQk1ZPVMPAjEcgMqO7w5MR329yuTkCmLpC7U32hqyDco0fnR7tSa8YCZII1qXaN+XqK QOnXd8+WCLNZmhiVRhxeqOOew1dMD74RVDkVRm1ZRh33Cz5HGXo2JAYHGz8TPUKR6hB6K2NgQjHSc Oa7M2Z4A4YIY3gGDHD3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpee6-0000000BwzF-06vM; Thu, 28 Mar 2024 01:33:34 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpedu-0000000Bwst-0KkQ for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2024 01:33:23 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1e0d654590bso3632395ad.2 for ; Wed, 27 Mar 2024 18:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711589600; x=1712194400; 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=TzVeKjGCiAVXCjPzi9I+mAL7pWkqNA70VeiVS35WqiLmlepKtRDHhb1iMEDTslQka7 anoGRv7Hw0QEUbEz/V0T1jWYq+SGX1y6La6p46Mah/tSeZS3ZJkeeMUys2o7/wX6aguc 3EmbKwPKoeSrgRDtPLY7Bpr2rC/HXXUsH9vLfI7xC2mHcN4bAT0Oo453yBpxErCU2IyI pf7e00eT0PBB1Uid3AHjcAZZyW/+HKqtBGuBqa+FxmJlTtklvq7qjBNODubcqijZxxCo P2/87DThNL7o+aCAry3EatbWxfs9HslUwUDEPPe77320ndN0UmK8tqFWvJ20hcyWPpEa EjDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711589600; x=1712194400; 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=LUWd8inR41FXo8FOTf7PjYhbUkssz5KXdyUxjQE19iiFe5fvofkeIMzBdcHBUEtItT PYSz7QpHL7ClT9x1VnbETOox/y6K0bbFSY4YdigwqlCx06xN8vSZLRdctiET3AF73fDv gmhOhgKoMKh3GWwNrcRZLnBOeDVuv7b0hXwZyikl2iZBVTB3lqA/TX8rXt9PNP/jLkOh Uy7Ej5ZDiOArLG6ieElq8HvKT4kG6fEqNQT5Rcd8EsKVMLpXxRirzyjWZ7gKOPtjVt+M 4gkzIGxy1yLLlIdm66o1cJEhY2p0Pa1M/Cf6hqccVQl3uE9U3tpzu1YtwsKzwzyuxhoI HVaQ== X-Forwarded-Encrypted: i=1; AJvYcCVaDiBicqCXS2gE27+ry2wRYTAQ72SmZT0FJyV0Lar5VI39iqB/4iv3iVDy9LLNQDdoFLLON6Mx7zhOvu5hYNCTciogl+foZVDjR74esKVZsqlUdM0= X-Gm-Message-State: AOJu0YwjQGrFBqBH4WY53VX+kCtIrMyDhtXpeEAPq32jk1VxNNAQpyIb KFEjfRdBBNAMS4zo6Y1I52LdHkey4fvIqpsh+y9YkORcRsFNIVKX X-Google-Smtp-Source: AGHT+IHiJqaLeX1ZdgNRMa9pBlR+bhPRua5gteIelUWkWhnVizBcWhV4cIRYRWVS82I9hJrHDaThDg== X-Received: by 2002:a17:902:d503:b0:1e0:11a4:30e0 with SMTP id b3-20020a170902d50300b001e011a430e0mr1966819plg.19.1711589600090; Wed, 27 Mar 2024 18:33:20 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (2001-b400-e355-7eb0-b4d0-66d2-2269-ef6c.emome-ip6.hinet.net. [2001:b400:e355:7eb0:b4d0:66d2:2269:ef6c]) by smtp.gmail.com with ESMTPSA id g5-20020a170902c38500b001e0e85a21f5sm201338plg.32.2024.03.27.18.33.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 18:33:19 -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 v5 3/4] dt-bindings: watchdog: aspeed-wdt: Add aspeed,scu Date: Thu, 28 Mar 2024 09:33:01 +0800 Message-Id: <20240328013303.3609385-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240328013303.3609385-1-peteryin.openbmc@gmail.com> References: <20240328013303.3609385-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_183322_154267_EE070F64 X-CRM114-Status: GOOD ( 11.37 ) 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>; };