Message ID | 20170726062630.17507-1-andrew@aj.id.au |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xHQB90XBxz9s9Y for <incoming@patchwork.ozlabs.org>; Wed, 26 Jul 2017 16:26:57 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="i2/S/TLQ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="gsKsT5g9"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xHQB85g3rzDqn7 for <incoming@patchwork.ozlabs.org>; Wed, 26 Jul 2017 16:26:56 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="i2/S/TLQ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="gsKsT5g9"; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xHQ9z3gGSzDqmV for <openbmc@lists.ozlabs.org>; Wed, 26 Jul 2017 16:26:47 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="i2/S/TLQ"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="gsKsT5g9"; dkim-atps=neutral Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DB47120B7C; Wed, 26 Jul 2017 02:26:42 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 26 Jul 2017 02:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=fm1; bh=5kIi4JBPCJjhg6cZAGiO7Zcp9e8NLY AhsJwzbMUmcOg=; b=i2/S/TLQAlTFhRCouC0P+jUeyIoIIZhgMGilUDyZhnsc/6 cAApRDWYqpG55aR0ueL6GjwKUwHxKQ1xOaqnHpZrbtci8dTZlHGu9IZ94mzk5QxG r3DVEWy0j874kwsLwEjGzTvYRYxjMuzd7bEt7J2UQs1cLzCCxWD+3Xs2P8TYhRfR JdrCDQ0LjvtjKjMFN+8k2ZvOiew0tzKcevzI/Aak2F5nR8vLTjry1qEUKkiSLnDx IuIn0GCb3Xreu084LW++L6pTwbY3Y6X2mKACtpb25Pdgg0oYtyIUsHBJsRzsKihG YcTDWXdZ/NDQONOBz7YDX32+0Y5UYEcVLAp1kt8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=5kIi4J BPCJjhg6cZAGiO7Zcp9e8NLYAhsJwzbMUmcOg=; b=gsKsT5g9rYqzrOmtWrQw+E QPqHc6dsa91lr5gtV8iwSJQ4JtmXxA5R3kT8Y2Pyi1bCA6+Q3O4k9i86bnssQrq8 16QxKJp6d3Ah8JdPOmuU29TsRjsYcsxAMChSvzbnIPmCNEd8kAXe49iBF4zmhiVr c1F/q9OKjXY6+ufwNmRggozei1JyGypNiSjYTwXkgnDxVeJ/PkvS7b6iziv7GNTh WCBA1AH4PxHBj2kdojzIYfnefTC0oFoWFVqGkg1RHeCadt65VKH0bPWdUAKLA0g2 aFJ7mVatIQ3czpMTH+8JiJ848+hJgwfZxXb1TA4xXlNKMVmM3qJOKAV9CVEiftZw == X-ME-Sender: <xms:IjZ4WY9zGteZlf5u63jHDW_aDu-Z5g7F9iMR8dKnV853YsFt1UAAvQ> X-Sasl-enc: 0sAablMhy4tgMUOktgrqZLcT6xD9TZkGFpT33F0yL+yW 1501050401 Received: from keelia.base64.com.au (unknown [203.0.153.9]) by mail.messagingengine.com (Postfix) with ESMTPA id ACDC52459C; Wed, 26 Jul 2017 02:26:40 -0400 (EDT) From: Andrew Jeffery <andrew@aj.id.au> To: joel@jms.id.au Subject: [PATCH linux dev-4.10] ARM: aspeed: Request WDTRST1 pinctrl function Date: Wed, 26 Jul 2017 15:56:30 +0930 Message-Id: <20170726062630.17507-1-andrew@aj.id.au> X-Mailer: git-send-email 2.11.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development list for OpenBMC <openbmc.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/openbmc>, <mailto:openbmc-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/openbmc/> List-Post: <mailto:openbmc@lists.ozlabs.org> List-Help: <mailto:openbmc-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/openbmc>, <mailto:openbmc-request@lists.ozlabs.org?subject=subscribe> Cc: Andrew Jeffery <andrew@aj.id.au>, openbmc@lists.ozlabs.org Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" <openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts index d9649013ee78..c28222c17d03 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -488,6 +488,9 @@ &wdt1 { aspeed,reset-type = "none"; aspeed,external-signal; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdtrst1_default>; }; &wdt2 {
On Witherspoon, the Aspeed SoC's WDTRST1 pin is wired to the FAULT pin on the MAX31785 fan controller, which drives the fans to 100% PWM duty when asserted. The pulse generated by the watchdog is latched to ensure the fans stay at full speed across the BMC reboot. The latch is reset when the BMC transitions through the chassis-poweron systemd target. The SoC's WDTRST1 pinctrl function needs to be requested for aspeed,external-signal to be effective, otherwise the pin is not associated with the watchdog controller. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Cc: Matt Spinler <mspinler@linux.vnet.ibm.com> --- I gave this a quick spin under QEMU to verify the right SCU bits were set. That seems to be the case. Matt: Can you please give it a try and reply with a Tested-by tag? arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 3 +++ 1 file changed, 3 insertions(+)