From patchwork Fri Feb 3 10:54:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 13127381 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 86592C61DA4 for ; Fri, 3 Feb 2023 10:55:13 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FkThXnzuY5BEENpSRaIs7BptGp+axURi+Kd07wn2SvU=; b=OmxUEPt0sU3MVy 6H65IUjVr/BQwwKGJzt3bhw/iLJ5P9hii2zT4BQskiWg9tIZ5bFg7+gt4ngRtCAl9CspwSC1i7jlj iwg65HVi7ec+YKXEefD13IY2MZPaNxbNipz4PN1nuyv1FEfF+Hh9/xfA98IGq+bNdfFl5VK489MwX D8K2dTsWro+3Zn/bE2JhRtf5yvq6Gjud99OoCXjDODgCHkInDcQRNFPnN4wNPH9yey7bKEj48f8I6 CBDPTdgVZ6iuiWCxN9t6Bgsv4faubsqO/bNt9wqQuc1moBFLnOEYXcmMdxRFnEmbaTMgu8sL0nJE7 qZhOrIknMbik3tAT/ZBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNtiA-001U0O-0A; Fri, 03 Feb 2023 10:54:30 +0000 Received: from thorn.bewilderbeest.net ([71.19.156.171]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNti0-001TyX-Pl for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2023 10:54:22 +0000 Received: from hatter.bewilderbeest.net (97-113-250-99.tukw.qwest.net [97.113.250.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 2FE0B516; Fri, 3 Feb 2023 02:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1675421655; bh=buLw3ad81c2bGDDwmuJop4arhCvz79B9rRl4iyMBkpk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E+/y6sIhsHuuDYsq5rPCD/gKHXQLIvjtPULaETvCsWeU2VFCcF3fibjNrwY0T2Qmy 6FVZDDWpb34oROUVD1kBZLjq/T7xgNURitAGOFx6fHzliIVQRjlHjbvNVO3yv25Wa6 JIwQhmoss9J4FzCTlLWJPu8kqR74+KFQfnGNrxKA= From: Zev Weiss To: Andrew Jeffery , Joel Stanley Cc: Zev Weiss , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED Date: Fri, 3 Feb 2023 02:54:04 -0800 Message-Id: <20230203105405.21942-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230203105405.21942-1-zev@bewilderbeest.net> References: <20230203105405.21942-1-zev@bewilderbeest.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230203_025420_849091_550B6AC4 X-CRM114-Status: GOOD ( 11.03 ) 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 Turns out it's in fact not the same as the heartbeat LED. Signed-off-by: Zev Weiss Cc: stable@vger.kernel.org # v5.18+ Fixes: a9a3d60b937a ("ARM: dts: aspeed: Add ASRock ROMED8HM3 BMC") --- arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts index ff4c07c69af1..00efe1a93a69 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts @@ -31,7 +31,7 @@ heartbeat { }; system-fault { - gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_LOW>; + gpios = <&gpio ASPEED_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; panic-indicator; }; }; From patchwork Fri Feb 3 10:54:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 13127383 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 2B103C636CC for ; Fri, 3 Feb 2023 10:55:25 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JtsMC1Sav7zm6SK2u852+EAbazmkqR1hQ+SgBiCMx4w=; b=imkgLYgYR7HOdq Ad3jrcQCNr5t21EDX+Al6qmfGOPDLCDntqTgSWE+zAtUTLD8cPu8jJjuc9TQEj2SKK3oN/wkQOqOF WX62foClHPzD3pckYY/ZPiT7N7EYbUIqRtLyUpsCZ5mrB8m6Y+OeL0KOQ1SrTMmFJGM5b2GcrxIbg r5VzZhaO/62J/8arbQlkmoemc8ZjZ90kjmurcY7U7NuZHQYvuRNIs7WT4FMXcjBBH917rRr30inm/ /kt/zNvaEwbFZmtjGkxxhRuyx+qcz3XJ+O9p0iWfrYJ//AWRMGzQgaHFwuqg1SRQ/tXFRoWmmldWb +ljiNSo6vwLEi1UUwJJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNtiH-001U1T-8H; Fri, 03 Feb 2023 10:54:37 +0000 Received: from thorn.bewilderbeest.net ([71.19.156.171]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNti0-001TyY-Pm for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2023 10:54:22 +0000 Received: from hatter.bewilderbeest.net (97-113-250-99.tukw.qwest.net [97.113.250.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 89C96C9B; Fri, 3 Feb 2023 02:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1675421655; bh=zMTD0629OFytbQ7QmqrxIeQqcloKLZRLUV9dsgDvbA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j+Hs0J7jyfUIkqau7qT3JMRsZFycqKYbbAMBk3zfAw6Q7y8s3yo46pZ6SFGlP6XmW jdT9Tz3LjfirlOrh4t1QCWl6EBwB6N1BwAuRjVJ1ND9qq/rLkYvcFASIo89sF5OGzP 6QhgXGEmdDZxc5T6uRsSeVaARWIn4YyjNjTaYimw= From: Zev Weiss To: Andrew Jeffery , Joel Stanley Cc: Zev Weiss , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: aspeed: e3c246d4i: Add PECI device Date: Fri, 3 Feb 2023 02:54:05 -0800 Message-Id: <20230203105405.21942-3-zev@bewilderbeest.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230203105405.21942-1-zev@bewilderbeest.net> References: <20230203105405.21942-1-zev@bewilderbeest.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230203_025420_853372_C023E047 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. 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 Now that we've got driver support for it, we might as well enable and use it. Signed-off-by: Zev Weiss --- arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts index 9b4cf5ebe6d5..67a75aeafc2b 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-e3c246d4i.dts @@ -202,3 +202,7 @@ &kcs3 { status = "okay"; aspeed,lpc-io-reg = <0xca2>; }; + +&peci0 { + status = "okay"; +};