From patchwork Thu Jan 13 21:17:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Geissler X-Patchwork-Id: 531821 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24865C433FE for ; Thu, 13 Jan 2022 21:18:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233141AbiAMVSZ (ORCPT ); Thu, 13 Jan 2022 16:18:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiAMVSZ (ORCPT ); Thu, 13 Jan 2022 16:18:25 -0500 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4043C061574; Thu, 13 Jan 2022 13:18:24 -0800 (PST) Received: by mail-oi1-x22d.google.com with SMTP id w188so9551536oiw.13; Thu, 13 Jan 2022 13:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3U7xOer6sVly35j98UB0sJ9y2HM48yZDB/QDh60PHbU=; b=JH3d15RUin0nTH8Ayj5BEWgODrPOPrwVEkCsrskOBAC/QKzwqaQuFcT1pW58RiAnb4 YJ6Ppu9RVisSHpFYPHyJePiRczvMd2SxJJy0z2Shaa40tbb+VVzu0HuK6C8cZ6tnKJdb xpF/OrgLjm1kIS5FItD8q/x++1jaJTFzqUn36znrghK3hIDGc/6HPlThESC4pUs9Bq21 PbDaFbUTmQ0HurqF4vwNltxzOBpJjdApT7vX1IT4s3naZ0DvV9Jw410H5swUQO+WCxRs 1uutuhK9pwVmlQRN7vkG2URo5gMHWYuTvdDbLer7ScWwxo3R9vnZXRTQfMq9DWPKy7Z1 GVLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3U7xOer6sVly35j98UB0sJ9y2HM48yZDB/QDh60PHbU=; b=Qnh0CpoCcD1SOso3gMqVG/r3nHmteGRJAm6uSea1hBl0UabFJhfk/uosX/gjJA17i6 e/AE0n1NjieNSGja18/1saFs25eHmQDkKgrUWnXbZBRZHxKntOmy99oFthlzThjCz+kY bwZNtWvKZczVodzQIGte5eyEZoMDqnQxWIL4Nds2aFeidYwaLwWhbwAf0YOEGGcNH9mq Z6Zn+e0h6iqSWafxAvttuCJHEY8+tCLzAtjUoRaBwA6vw3asPyfxhwEPaZlo/XQiBMsR gvW+jzyWB7KVpUFfhmCnDW4RMvuiJTxXqGGKyZj691f7CO4Vlff6L5t/iNcuRhFB+uvN RkOA== X-Gm-Message-State: AOAM530IDMu5Zx4alItXWBAPdhh4Ks11Wn1ZlT5gyddPYFG6TJudewwP vYM/WoKwXPv7oHFBOyW3b5M= X-Google-Smtp-Source: ABdhPJzXE/1It7WKP+/LtUmegsDmnTpvyMx15/3Iav2IhHGUrEnkgWndiF4moTtfVpUJnGCy8umDlQ== X-Received: by 2002:a05:6808:190f:: with SMTP id bf15mr4742157oib.23.1642108704077; Thu, 13 Jan 2022 13:18:24 -0800 (PST) Received: from Andrews-MBP-2.attlocal.com ([2600:1700:19e0:3310:f8ba:b1e:54e1:cdfc]) by smtp.gmail.com with ESMTPSA id z188sm932015ooa.8.2022.01.13.13.18.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jan 2022 13:18:23 -0800 (PST) From: Andrew Geissler X-Google-Original-From: Andrew Geissler To: joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Andrew Geissler , linux-gpio@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH 1/2] ARM: dts: aspeed: rainier: add reset-cause-pinhole Date: Thu, 13 Jan 2022 15:17:34 -0600 Message-Id: <20220113211735.37861-1-geissonator@yahoo.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This GPIO is used on the rainier system to indicate the BMC was reset due to a physical pinhole reset. See the following doc for more information: https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md Signed-off-by: Andrew Geissler --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index cfaa606666e2..7ea70c7d698f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -247,7 +247,8 @@ &gpio0 { /*C0-C7*/ "","","","","","","","", /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", - /*F0-F7*/ "","","battery-voltage-read-enable","","","","factory-reset-toggle","", + /*F0-F7*/ "","","battery-voltage-read-enable","reset-cause-pinhole","","", + "factory-reset-toggle","", /*G0-G7*/ "","","","","","","","", /*H0-H7*/ "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","", /*I0-I7*/ "","","","","","","bmc-secure-boot","", From patchwork Thu Jan 13 21:17:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Geissler X-Patchwork-Id: 532365 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D656C433EF for ; Thu, 13 Jan 2022 21:18:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235017AbiAMVS0 (ORCPT ); Thu, 13 Jan 2022 16:18:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234979AbiAMVSZ (ORCPT ); Thu, 13 Jan 2022 16:18:25 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78F3EC061574; Thu, 13 Jan 2022 13:18:25 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso7909979otf.0; Thu, 13 Jan 2022 13:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bhIUZEyLkSCGKc1UkQdjKABPVPiYlDrmgBY5iTyEfnQ=; b=kfCYDOIwjO5zYFAj467OnoWk6vFNfpF21UB/Y8CjghGbDlgAY6KtHfnoEzZn12RZic vaqrkd4JZ4D6FflEP6nKSOSaHrMBFHo6v8uqIA/FkKKceoCidKboHcqNs7/psr5UgM3o NNrzoHd+ymJzr7dTFAZ6r+B7NH0XuEEl+pHDo5CK8h8myM5yw7pUqzoh7UBUfEjU+IQ5 y2SCDx5CDUEOKtUS0gac4h/83qhREAr+lc8IZkFuhk6P4s6nNy1y2LMbPzsZRVyQGN2p /qOODnFGXx+wsD9laL3pBpEHPCNwpRrMKGI76OYpOshuYLws10bcwiqcJyU3VjVHJVfu r+ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bhIUZEyLkSCGKc1UkQdjKABPVPiYlDrmgBY5iTyEfnQ=; b=tyy42acYjYWTGL2EKKpeOJgW/NuUcw/1eExXKbm+coE8NWtW2ym7yRLDlO62migp3L XjirRDLsYBzriCx78U7V4FqS3G0aorsyBOrSH3RKvBsmoZnSad8T8incANojnqijQxG/ u6YTGYHlr8/MwugWhx4ghCe4oBjbbjL7N0HKB5XCrFrJWnkdd52cu2GU7NyEhNjNoskI D3S2r/whHT+MstRRSiw8VvfHc8xiLbTtOFA7ca/4/Z3TkJwNXXAVaUymhyNaJrBToYa0 XZ234fJkPIiR+2oPcc2LezLJU4qjiev6oReUYUQmGApSm9tgPyLvftdQyWVQ2ahZo/VG mAOg== X-Gm-Message-State: AOAM532DTu9ckz789M+gQwgcNj1K9jiwIBR4IEmjRq8f+rvq7RG5/Uuz OCTV+PMlp2yn98a+v/kqu8E= X-Google-Smtp-Source: ABdhPJwlPvNEuK39AHfpxsyj9XIKIhhFFrRo9lAnrK7Q+YbNmpsGjP53cLUDAwb+N+udui/QQg8Ylw== X-Received: by 2002:a9d:4e4:: with SMTP id 91mr4516525otm.45.1642108704859; Thu, 13 Jan 2022 13:18:24 -0800 (PST) Received: from Andrews-MBP-2.attlocal.com ([2600:1700:19e0:3310:f8ba:b1e:54e1:cdfc]) by smtp.gmail.com with ESMTPSA id z188sm932015ooa.8.2022.01.13.13.18.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jan 2022 13:18:24 -0800 (PST) From: Andrew Geissler X-Google-Original-From: Andrew Geissler To: joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Andrew Geissler , linux-gpio@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH 2/2] ARM: dts: aspeed: everest: add reset-cause-pinhole Date: Thu, 13 Jan 2022 15:17:35 -0600 Message-Id: <20220113211735.37861-2-geissonator@yahoo.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20220113211735.37861-1-geissonator@yahoo.com> References: <20220113211735.37861-1-geissonator@yahoo.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This GPIO is used on the everest system to indicate the BMC was reset due to a physical pinhole reset. It has been verified that the previous name for this pin has not been utilized by userspace so the name change is ok. See the following doc for more information: https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md Signed-off-by: Andrew Geissler --- arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts index f48b33b0c606..6b5d5c56951f 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts @@ -271,7 +271,7 @@ &gpio0 { /*D0-D7*/ "","","","","","","","", /*E0-E7*/ "","","","","","","","", /*F0-F7*/ "PIN_HOLE_RESET_IN_N","","battery-voltage-read-enable", - "PIN_HOLE_RESET_OUT_N","","", + "reset-cause-pinhole","","", "factory-reset-toggle","", /*G0-G7*/ "","","","","","","","", /*H0-H7*/ "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",