From patchwork Thu Jul 27 10:16:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 794309 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xJ7G6634Tz9s5L for ; Thu, 27 Jul 2017 20:17:50 +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="hj0tNnDR"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="S4eGxGm2"; 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 3xJ7G64kqQzDrHV for ; Thu, 27 Jul 2017 20:17:50 +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="hj0tNnDR"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="S4eGxGm2"; 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 3xJ7Fg08vrzDrH2 for ; Thu, 27 Jul 2017 20:17:27 +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="hj0tNnDR"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="S4eGxGm2"; dkim-atps=neutral Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E5114208EA; Thu, 27 Jul 2017 06:17:24 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 27 Jul 2017 06:17:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=HUa0ct WXwLDDe97H8Yq4e5kY3mhUFWn6cgF/PrjtzgA=; b=hj0tNnDRXWpt8QeLWHtV5p YNTWvPohUNGCxVqJP9/4TQjdmg1Ixxc+YAnYBrspOZGSIskU33RvPeYrjtXqhakx g+kdfrNksVOJ3wJqeMPd86cqBs0FdqIPxW5MCqVFLJvtkVn0hXYVkV4eZInwpQpS zhBi+M/BWBQHoYZ0toFS/kDM9CiQCl2P+Zaa2iQDww6nrAGkTPdCzFk7mVKoDfTw AedPjym3PSma6G2HsfYdWK1+R3rSsyx6O8FlOOgBTnMOTmHBcZp5AwW0Cmf6dn5L IBKwBl66+FEdZwJnJpQ4Z+WAys++yZPSLYb5dAIqAoZYfrN7NWlGAnQqtf9rzD6w == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=HUa0ctWXwLDDe97H8Yq4e5kY3mhUFWn6cgF/Prjtz gA=; b=S4eGxGm2FePFWYVQGYev+jbDr4n13p9ztKHp/cBIAh31XbvXajfd9rdmE zXqO4mBLmsBOTyVFiD49touwrR2lS7AFV+P6GZIZKBtusq8A5dWeMVGrnoCD9G5S lGIBag55Bk9PAqC0CtG39lo1anvOEomAqKyURxgOmey+zYVjajzUsPZ5jM31vNzU N5Z/TyAYDRR459cJGKGJzpapNVAnLMDeAE9QSD5vBGOc6CJkQ1tJPsvmv3545yvC zcAydP8J8tqhTKtIzK6vGRJRfq9ZbDGW1cnZooreF3W5LquhmUSb6zOARVVo9oXi DHcSQxtHM9FApNFS6FjaukkyeRAUQ== X-ME-Sender: X-Sasl-enc: JpIcS/sFI7br8rD7ju+ly8Zg3Ynm4/If2EBr7H/+8AuG 1501150644 Received: from keelia.aj.id.au (ppp118-210-176-216.bras2.adl6.internode.on.net [118.210.176.216]) by mail.messagingengine.com (Postfix) with ESMTPA id AB3577E1BE; Thu, 27 Jul 2017 06:17:22 -0400 (EDT) From: Andrew Jeffery To: joel@jms.id.au Subject: [PATCH linux dev-4.10 v3 1/4] ARM: aspeed: Request WDTRST1 pinctrl function Date: Thu, 27 Jul 2017 19:46:44 +0930 Message-Id: <20170727101647.26960-2-andrew@aj.id.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170727101647.26960-1-andrew@aj.id.au> References: <20170727101647.26960-1-andrew@aj.id.au> X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , openbmc@lists.ozlabs.org Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" 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 Cc: Matt Spinler Tested-by: Matt Spinler mspinler@linux.vnet.ibm.com --- arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 3 +++ 1 file changed, 3 insertions(+) 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 {