From patchwork Tue Dec 12 07:51:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874914 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Xpmkhpcc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9qb14xnz1ySd for ; Tue, 12 Dec 2023 18:54:19 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Xpmkhpcc; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9qb0J6Qz3bv3 for ; Tue, 12 Dec 2023 18:54:19 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Xpmkhpcc; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62c; helo=mail-pl1-x62c.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qP3RHQz2ytJ for ; Tue, 12 Dec 2023 18:54:09 +1100 (AEDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d0bb7ff86cso47174095ad.1 for ; Mon, 11 Dec 2023 23:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367647; x=1702972447; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0hLAkJYqh5vIw0PwclUtW4cStuFQ6fy/7mCCMuD7gQ4=; b=XpmkhpccqhS8tDxsobKOkxfK2WeTljdVvc2sICtDoY/xvtwd5EYkvqUEhK11fHoaGL qdhp+erMKepcHQC6OZWXLyP5HyHUKEQ/P6FcJQK6Wa5yksQe7Muf3ZHh6JK+FryaqqS2 /kT8eFkOApApwSNdLnrd6xsl5fjpQ2VnVq179xHgfKy2dv2m24ECAV7tspEsD3SE9h8O mKIr5Decr50P4OsFGbYClZCd5LP8q59OyKxc05luyTzO6wocm38RgnD7ynn19rD7sJC0 2UgMemwbm61BBgB44D7dLi+UxlTw5BNYHwXIb2PdACYltcEMcdSsZ0QXj2vuZeu8duo5 Y7hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367647; x=1702972447; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0hLAkJYqh5vIw0PwclUtW4cStuFQ6fy/7mCCMuD7gQ4=; b=mDU0naN8nSWFsjNgJSckC410dJ1oFZbLNUYzx/biLf28uBSTpZj2oitB0zO+NahIjp L5ZYt9CCBeWbyrQzpFtjEmekwVvV8uAB0/Ki64KUT/ygnbuf6TLG6rUER2eZTOjmOc/3 jffpbDiBP+VqRLUIWfcRqjcf2rdVRVPXBK1PGfXgeMNF7Zsb+kjFGA8oPYiUuD/yZrPl qAVBGD3rU35EOUqCkGK461RNg0RFLRkGs+Xq2lmjINHUopVCmN6ussaFqj7Sjz2s/LC4 OGGpf3xbeCuh/Bz1kKWPxHRUcrShrCWDPnFtRDY9GH8FN8PEnOq/KnMaBrI7B+97rczU Np6w== X-Gm-Message-State: AOJu0YxEBqVvm4kHnFVbC7FW+PxEhRv2Fz1W4i7nzy3ZvtDwlJoDQPVP /wKpIWbA91ftBpyl5MhO+gc= X-Google-Smtp-Source: AGHT+IFzl5/4KHd0c4eJu51FdvpkTwoMSew/3UdLZxGnzPbpxbNtS9KEm1/sM6ZymTzAW/BRC1IT9w== X-Received: by 2002:a17:90b:19d8:b0:286:7ec2:df49 with SMTP id nm24-20020a17090b19d800b002867ec2df49mr7008802pjb.9.1702367647535; Mon, 11 Dec 2023 23:54:07 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:07 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/11] ARM: dts: aspeed: minerva: Revise the name of DTS Date: Tue, 12 Dec 2023 15:51:50 +0800 Message-Id: <20231212075200.983536-2-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The project Minerva which is the platform used by Meta has two boards: the Chassis Management Module (Minerva) and the Motherboard (Harma), so change the DTS name to minerva here for CMM use. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/Makefile | 2 +- ...facebook-minerva-cmc.dts => aspeed-bmc-facebook-minerva.dts} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename arch/arm/boot/dts/aspeed/{aspeed-bmc-facebook-minerva-cmc.dts => aspeed-bmc-facebook-minerva.dts} (99%) diff --git a/arch/arm/boot/dts/aspeed/Makefile b/arch/arm/boot/dts/aspeed/Makefile index d3ac20e316d0..b1da302dbcd6 100644 --- a/arch/arm/boot/dts/aspeed/Makefile +++ b/arch/arm/boot/dts/aspeed/Makefile @@ -19,7 +19,7 @@ dtb-$(CONFIG_ARCH_ASPEED) += \ aspeed-bmc-facebook-fuji.dtb \ aspeed-bmc-facebook-galaxy100.dtb \ aspeed-bmc-facebook-greatlakes.dtb \ - aspeed-bmc-facebook-minerva-cmc.dtb \ + aspeed-bmc-facebook-minerva.dtb \ aspeed-bmc-facebook-minipack.dtb \ aspeed-bmc-facebook-tiogapass.dtb \ aspeed-bmc-facebook-wedge40.dtb \ diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts similarity index 99% rename from arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts rename to arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index f04ef9063520..c755fb3258a4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva-cmc.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -7,7 +7,7 @@ #include / { - model = "Facebook Minerva CMC"; + model = "Facebook Minerva CMM"; compatible = "facebook,minerva-cmc", "aspeed,ast2600"; aliases { From patchwork Tue Dec 12 07:51:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=U3Q3Y6/K; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9qg3xhMz1ySd for ; Tue, 12 Dec 2023 18:54:23 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=U3Q3Y6/K; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9qg26yGz3brB for ; Tue, 12 Dec 2023 18:54:23 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=U3Q3Y6/K; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1034; helo=mail-pj1-x1034.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qS6bVMz30NY for ; Tue, 12 Dec 2023 18:54:12 +1100 (AEDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-289d988a947so3755346a91.0 for ; Mon, 11 Dec 2023 23:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367650; x=1702972450; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Shdip5yjqGroTxQL7MptUpcQ2qzzAlYoyVTOz3Rc4nM=; b=U3Q3Y6/K+yMZ6ksoZTZYfKaOox2rPfSuWYSynDmEilnFgcL81snuFvuj8g3u71eYUG 2Wf3iPfcRgV3Vi1Xi7/64INL5Te7bPiXId+9PiWRr6DJd6DUY6gopEEZgd4cpWI6ULTl gDPqro9/0GyDrvj6V0KAgXb1U17TO+ELr/bfQijxlGd8RUfRVwFjQO2F5CFUiRA/J5tk Q+6OKBGX78UoE05JIWStp6RuAhnsbsLylPt3+NmbUrMQHbK03GNs+gf2pIasyRJauhDa zPKM0HwLWG5uJnoWWeRLPkyjQbUPEkngPJt4kozyvr/3FyWTJGeqsjkCuVXzSixVWGne H+Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367650; x=1702972450; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Shdip5yjqGroTxQL7MptUpcQ2qzzAlYoyVTOz3Rc4nM=; b=teTOkSekacEbsLdEsj0aJKbicci5bd+3HunmBn6J5AN+OF1mHvG1ZIq0cd/91IDAOC E0Ko/LgItQ735zhOP6/+y9Hh+suI9Oj0H83Apczvf1LriX3kPhwWWJhHwUdGwThFgjvF XUw3lxsAfHs9waRiPQWzUgNfMXLEBb4wRr9ECL9Aq9BU2WgXshqfUgQU7B9zAcXTYNID hzO2yveL/VtHoqd9D9ILajMe3chJWWONUww9X6jpL/y/BfmjZTcZeDi9DVhNtFxkBs62 QEEcOiDPu453czQ+His7VH9CcIJtaQcGlsynid78PjPXwokKSOgArlTlMM08xr/1pqVV Ej1g== X-Gm-Message-State: AOJu0YzQXDBsr3ghZlEuJ5T82na+GhNv79RgATbjq0xmVeaE613EEyuV tdCRCX9DOiWvYvFFItnTl8I= X-Google-Smtp-Source: AGHT+IEmhZs4mI8QYXlU+ypM3O08Mx6ko1LYMi5VkKIviUfPwcBJLVuPc2M6YBUukdoUvVEUh8jg0w== X-Received: by 2002:a17:90a:65c5:b0:286:76e6:7b26 with SMTP id i5-20020a17090a65c500b0028676e67b26mr2956223pjs.36.1702367650226; Mon, 11 Dec 2023 23:54:10 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:09 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 02/11] ARM: dts: aspeed: minerva: Modify mac3 setting Date: Tue, 12 Dec 2023 15:51:51 +0800 Message-Id: <20231212075200.983536-3-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Remove the unuse setting and fix the link to 100 M Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index c755fb3258a4..9979dba1ef0e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -48,10 +48,13 @@ &wdt1 { &mac3 { status = "okay"; + phy-mode = "rmii"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii4_default>; - use-ncsi; - mlx,multi-host; + fixed-link { + speed = <100>; + full-duplex; + }; }; &fmc { From patchwork Tue Dec 12 07:51:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874916 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Bp2lhE5A; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9ql5nmXz1ySd for ; Tue, 12 Dec 2023 18:54:27 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Bp2lhE5A; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9ql4kFhz3c4C for ; Tue, 12 Dec 2023 18:54:27 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Bp2lhE5A; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102e; helo=mail-pj1-x102e.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qW3tlBz3bmQ for ; Tue, 12 Dec 2023 18:54:15 +1100 (AEDT) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-28ac6ecb9bdso94365a91.1 for ; Mon, 11 Dec 2023 23:54:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367653; x=1702972453; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QYoSEBzEJ/i6iAAejX6uD3fB03NRJtyC9eYU806fHGg=; b=Bp2lhE5AN51uB9LwL11rc0VY7zTOuqZZYxW7XFklBRgHf6bmCcXzYuHkq5JzCnLKrs pZcTR+Yn6kRmpblr2c8Rcmv1ot+iG9V2EFAmTQ+IjE/4Q5kcwULaAniJkSzMObJgrwqf zxv1A5DMcZkJ734TtbSmgnPNhrkyi8iV9e3/RDnf/OyCSQAoYDmrjJVRzMNx2kqM+SyQ 4sHDoMasq3Q6pnEkg9vFiFa80c2e/JpfTwInrEe3QNoiDSCWrEhJxQ1KAcPuC4lKGswp /h2PmS5GUcaNPeZcpQYBbd+t71kLKMPZpG6wgwpEy9cN/rPEzvgYOoOe8GGdClP+elKY ELsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367653; x=1702972453; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QYoSEBzEJ/i6iAAejX6uD3fB03NRJtyC9eYU806fHGg=; b=gc12wHZWZYYV/leXe+jrSbXPtSIyrHR1GQShnrZwniY0gOSU2TsBlqODbFzqtdxrf0 3IWt/ZdDUczVmdixiinPdI+cV4kU0xN+SHem+7r9qDRu1akwMVv0Sq9AW9wuCko7hjjx j3mGkfwwxuHvy7h63fP4LAUT8JU7IQWf14yX3wLjLURa+Pix6V3ipaEZuF5YOSJEkCSw szv+2xyIpm8w/IHadzEWzoUj+OC4TulHyEhVwyJylkFgOt8T5TlpnvaE2JuJByLXyUqR RaW6MhJDUsAc4rtUZQB2mntCiHTRvpI0/M5LNN9a0dRF7nITq7pNkt/HBcGPRqrff+Ei rM8Q== X-Gm-Message-State: AOJu0YyLpYeA95ezGDFvJLV87mU+QuyeIqc5V4n5yyNsQA/kUvYs4DpC aRx9P8i0VV5CGQKvI4v7zPk= X-Google-Smtp-Source: AGHT+IF7Zo4TS0bMKNUvfOxKnxKYa98o6T4jSkePwBsMjb1i6QJF38Uq++dQYabgc50/Zho+o/KXew== X-Received: by 2002:a17:90a:9918:b0:286:1e90:fe2f with SMTP id b24-20020a17090a991800b002861e90fe2fmr7032544pjp.15.1702367652929; Mon, 11 Dec 2023 23:54:12 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:12 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/11] ARM: dts: aspeed: minerva: Change sgpio use Date: Tue, 12 Dec 2023 15:51:52 +0800 Message-Id: <20231212075200.983536-4-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Correct the sgpio use from sgpiom1 to sgpiom0 Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 9979dba1ef0e..ad77057f921c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -78,7 +78,7 @@ &rtc { status = "okay"; }; -&sgpiom1 { +&sgpiom0 { status = "okay"; ngpios = <128>; bus-frequency = <2000000>; From patchwork Tue Dec 12 07:51:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874917 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=jwmY+Oeg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9qr1WtSz1ySd for ; Tue, 12 Dec 2023 18:54:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=jwmY+Oeg; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9qr0QTDz3c3n for ; Tue, 12 Dec 2023 18:54:32 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=jwmY+Oeg; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::32c; helo=mail-ot1-x32c.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qZ71LWz3bt5 for ; Tue, 12 Dec 2023 18:54:18 +1100 (AEDT) Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-6d8029dae41so4141592a34.0 for ; Mon, 11 Dec 2023 23:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367656; x=1702972456; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wECkqtuJuNq4vKf49CMC3VZgJYROzMEL16NeUTjnLOQ=; b=jwmY+OegIoWDYIDjjeUZxL6NhFPJvp83YtWYTtOr/rmH2vE1Voa8jXTEqZ8XDIq3s8 OScoZpc5Xz3i8vfmMh07LoST7iL0Xyntq9Lqb2Scr/bQgEvLyOiSqAIR4FJ+kVkYpR6V t2vagzjB9CzU7HZoT1t2u2NsfBQSbFg8SuETVQ6xpqmYACy4mFcWIhtw3IvbAFtNM0C0 UU17tTCzIuqM9k9F+G+bzwBLUuzsvPai76AcUD9cBljAKyTz0+bd8vTmFL0A4w0ya77p t2iIkLkrIOz3jB3Qti3b1u4pRJsBDl6POcK+ngEQGZ3hRiqbgjSZpi+fqATEUviWdNBh HxDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367656; x=1702972456; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wECkqtuJuNq4vKf49CMC3VZgJYROzMEL16NeUTjnLOQ=; b=EzoxlMsRGuhRQWJnzdnVAkYx47RlgDDFyNv0u8derST5EH3cjHGTW0W6ONoizNBbpE iBkEBFMzEoucGGv8AgsO56swFUXSlT+n5Yq3N9uAYqNY72JaVEIfiGVCYJA7WqC/+BFX 7zEAMu7uV/fkmg8NTOJJvbvluJx/1hqgjj/ckDv7u8ic/K5OJU+rrzeRhIQ35ZsklMwM CMfaedpxnd1/jYjOJRAUV6hDeZD2w/grjI33f0aXMk+Zti7A7rPsn2Uk92DXe3VJx1yi a69431anlaAlivorhDzhfHOGL8rw3YhUqwgJ7wMfp7fWQ4CZIXUfADPrX3LCMXucMWOV teDA== X-Gm-Message-State: AOJu0Yy6aUG4H0kWddTOz7zXRXq4sIo2k0zkypuq+w406HO740V0SBFf 2o2zvgiPppOKZ5Ub5zCZZFA= X-Google-Smtp-Source: AGHT+IGQGVQfpsD+7aVeGROKJ2gCtJW313/hYWDkA6RE83+q24qAb7TXxK2YreBWYGv+y6b18OOdJA== X-Received: by 2002:a05:6808:640f:b0:3b9:f10f:b69f with SMTP id fg15-20020a056808640f00b003b9f10fb69fmr6399289oib.11.1702367655768; Mon, 11 Dec 2023 23:54:15 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:15 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/11] ARM: dts: aspeed: minerva: Enable power monitor device Date: Tue, 12 Dec 2023 15:51:53 +0800 Message-Id: <20231212075200.983536-5-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Enable power monitor device ina230 and ltc2945 on the i2c bus 0 Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index ad77057f921c..ee9691647e4a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -86,6 +86,28 @@ &sgpiom0 { &i2c0 { status = "okay"; + + power-monitor@40 { + compatible = "ti,ina230"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-monitor@41 { + compatible = "ti,ina230"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-monitor@67 { + compatible = "adi,ltc2945"; + reg = <0x67>; + }; + + power-monitor@68 { + compatible = "adi,ltc2945"; + reg = <0x68>; + }; }; &i2c1 { From patchwork Tue Dec 12 07:51:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874918 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lslV0rYh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9qw3w4Bz1ySd for ; Tue, 12 Dec 2023 18:54:36 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lslV0rYh; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9qw36V1z3bq4 for ; Tue, 12 Dec 2023 18:54:36 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=lslV0rYh; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qc6nLNz30Pr for ; Tue, 12 Dec 2023 18:54:20 +1100 (AEDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1d32c5ce32eso9183505ad.0 for ; Mon, 11 Dec 2023 23:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367658; x=1702972458; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KHK3yF+RxEWhkQj0oQiehpX/wc8FrqHwrN6Jvm7FyVU=; b=lslV0rYh9oK+M+zGQyMODyeNvSKpjhrGXAkaMfIi7sm3FhYbcrmRxIE3W8VM2QCiO/ p/qY9c6N7Fe35nDdTNHcHyMK4c0Z/Tfkg91PORFgwifFBXwfKeRjwJeUC/Vm4LtCHyNb FGKVWtUob6KQfmDTCf0zCLXHHaNi3kSoF3qaczrTRXB6HVUZRaZf/UYu1y3okDu6DBwX YsvsjEW7iP6Vg/fjF7w4lx1bhlx4erDkhw2YvV8vd+Q7bGFzSgZq8Wwo2eaQDdV5x8IQ +uHr0vOmUGpgb4CZgNohp96kf6eRVnleQt5XtTUhuXoZ33S9KbcTvYWEa4CGke6+CkD5 NG8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367658; x=1702972458; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KHK3yF+RxEWhkQj0oQiehpX/wc8FrqHwrN6Jvm7FyVU=; b=CKLEBBgTpPHFqUrlWvB1QKU3dxAOPAx4hv6BKDv35bWwPIyXeEvSr3DWWO4fJLWKog 4Dd2zPbmRqFpeAd1iEFHIx5LfMukvCJLN6DlcmFFJ4ONOG7hs5r6pffkHA/PtRNpivko xIBiUxFSpLgTZiGxDc030Gb48UdO7QSVWJ+rVjjm3V2CsDfdrTqo6aYbCFQlaGqU1N6C s1vus+oQk8YW2JV24gWB2E6Yu/1NYp7+iUUjTmbEVcQ7iyyCXP4OQ15tNE23Kw/dM3jp SyoYHx0gHRn99ysusWLzVN05p5YWs71hhzrLzIKrwPMEDLdNfEa66Ky0nQJHDjyIXE5e N+Tg== X-Gm-Message-State: AOJu0YxB9NAlt1sSnfy0JUwOFY841lOC1JqLTtFh7gmzBrWBk+2Jbayy eH6Ngpngmx+JfWAquO2kRV0= X-Google-Smtp-Source: AGHT+IHfL94iq6tfgSml3eIh4XF0ifueCrBJMXSaicX+WmA5/rXwJDYCuVr3HYJ2SB4JyYi4ZAuA5Q== X-Received: by 2002:a17:90a:c90e:b0:28a:bf87:90e0 with SMTP id v14-20020a17090ac90e00b0028abf8790e0mr603993pjt.22.1702367658484; Mon, 11 Dec 2023 23:54:18 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:18 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/11] ARM: dts: aspeed: minerva: Add temperature sensor Date: Tue, 12 Dec 2023 15:51:54 +0800 Message-Id: <20231212075200.983536-6-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add one temperature sensor on i2c bus 1 Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index ee9691647e4a..783d4d5a8f3d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -115,7 +115,12 @@ &i2c1 { temperature-sensor@4b { compatible = "ti,tmp75"; - reg = <0x4B>; + reg = <0x4b>; + }; + + temperature-sensor@48 { + compatible = "ti,tmp75"; + reg = <0x48>; }; eeprom@51 { From patchwork Tue Dec 12 07:51:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874919 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Fu+JvufF; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9r161B4z1ySd for ; Tue, 12 Dec 2023 18:54:41 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Fu+JvufF; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9r14w3sz3cHC for ; Tue, 12 Dec 2023 18:54:41 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Fu+JvufF; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1032; helo=mail-pj1-x1032.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qg6RV6z3bv3 for ; Tue, 12 Dec 2023 18:54:23 +1100 (AEDT) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-286f8ee27aeso5568337a91.3 for ; Mon, 11 Dec 2023 23:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367661; x=1702972461; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2ub1Mj5QhW4GYsiqkx+k8Ak5A4JATw8yMZFp7nxSVbQ=; b=Fu+JvufFDITS17RRMn42g1ES0yHWhvimTp+OJ5mvwfWs0u5UHoZEdc9nF5lRkjt+H5 4+corVpryGBTgSmR2Rkvha0bBCKvujXxzXiIHv3slCfm+UjA/Q9w682g35oKgZNjDKjC EAukSTR3R6MMrhjCiVuOQXAp0Da2WiwlmKrAtFB4axJkMRrM8cybTdmtCAAF3aG0ymkS UiCkEgPCGV3CYHH4IFEi/Ru4OIj//LjAP7w+MUQi0d0kJ7P2Z2UoIn/hpxo/B2aUCO54 aK74Ey4VZkPN3PiB+C4biUSLLnichWR0eXkOmOvhZhBoC4VblQvagWhlJGmu1Sd4hPA+ +NkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367661; x=1702972461; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2ub1Mj5QhW4GYsiqkx+k8Ak5A4JATw8yMZFp7nxSVbQ=; b=Dqa+YF2kirWWF6RgGafTvlAzIxr4VIBYpwJpE9C4BHOThWwiiKEXjed7EIjwqCVzMY hDMXtIgudEr089wT14ciCeIBTxesKa9Zpoo/RA6NRsedorKKkAQF0S8vm3jle2sokaYV tU2eEOve1YLfCyHRpQKWMLDQg5yfwFvnnfXg8JqdJUVPJF/Ya05H6mmQhk2jp3yu4lCt /GEHe4NlGmscgEonFaftt2KXJkf0v4YWW/RNbOlN4xtP4/nKDgIh0wA5GbmzbRMJyeiv a18UsHsJr4gUCaqWEsi6ee0mZCza5VjlTosCuTXYU33W46b7CeSNpY0sPv+O8yfZPE8q 74fA== X-Gm-Message-State: AOJu0Yzx7dRlTpzfyDj8B3iS0s15phmP7hfcVQIh3jpXKTvxOexFxFrP kM413duRSag497/2h2ljO2k= X-Google-Smtp-Source: AGHT+IFc2GRXDPOs0KJgpeLIDeiYAzGM8hIgYjADbg0H7JznPz1hDW7A0FKXOTQVVBxbRjK3yXC14Q== X-Received: by 2002:a17:90a:e2cc:b0:28a:c6c7:1eb with SMTP id fr12-20020a17090ae2cc00b0028ac6c701ebmr148300pjb.86.1702367661194; Mon, 11 Dec 2023 23:54:21 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:20 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/11] ARM: dts: aspeed: minerva: correct the address of eeprom Date: Tue, 12 Dec 2023 15:51:55 +0800 Message-Id: <20231212075200.983536-7-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Correct the address from 0x51 to 0x54 of eeprom on the i2c bus 1 Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 783d4d5a8f3d..f2a48033ac5c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -123,9 +123,9 @@ temperature-sensor@48 { reg = <0x48>; }; - eeprom@51 { + eeprom@54 { compatible = "atmel,24c128"; - reg = <0x51>; + reg = <0x54>; }; }; From patchwork Tue Dec 12 07:51:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874920 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=H0tuO9F+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9r61z9xz1ySd for ; Tue, 12 Dec 2023 18:54:46 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=H0tuO9F+; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9r60rlrz3c2b for ; Tue, 12 Dec 2023 18:54:46 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=H0tuO9F+; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::52c; helo=mail-pg1-x52c.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qk4XyFz3byP for ; Tue, 12 Dec 2023 18:54:26 +1100 (AEDT) Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-5c629a9fe79so2846526a12.3 for ; Mon, 11 Dec 2023 23:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367664; x=1702972464; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6CxPkHqq/wIZgg9po5jZpP4pYsbg0yHu6jwPoFMsG+o=; b=H0tuO9F+koutuP4pQkX+nJCBSuMuAB6B8zqMXKtLwph/e21LAVZiFNgAlLevvv8pzL fviBdutX4T0dRpVZCtcC5kO+pNUQq4iO6u5ib3UvJHrbXCrdAknxMfzO7QMToDydmjbG S9Fh18W+k/bSTmB06fI1yQYPmtjSWKstTJymirtD2WFurUF1JCTSaO9OllnE+X7ITP3h azrJknQfnW9YrUjJKRQB7BlYKSC0Q6a9FUFkIPYr0sGGjNycVv0DPhgMtx0+qHxEmUGD nhPNmxUeSd3pUGLqZNFaYVWmGcfUXtIb6Vlm0bPS3vzxYyklVAGpFQeGZPAsoeFR4KM8 20Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367664; x=1702972464; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6CxPkHqq/wIZgg9po5jZpP4pYsbg0yHu6jwPoFMsG+o=; b=Wz5S64Z5zICVDFULAxEdfKF8w3LphyInDG6x1cWwoMURFqMLUzSKgVo3U4lJxQRzz5 IUIhEPQkvKODLImE6WIB6zI+t5Q2T9C4b5Dm3UJXDUNcLwIoKIe6JdveNg26P4FGQvha VJmifzPxgZ+5GFrh/MlkV/TCTnMxN+w5yDTrQHRPtsiebda7V2RDTTPujlDXShUZAlz8 begd/R9U9HW2YMNDWp4o02DDzTAZiqxcbiAlTGuJaOcxGtcOneclCQ3yarlMgXw1QJD4 /AWXo6L3iglbN6oN+B7tPPT2YJUFnQGO6hCwVOMCqW162dBsiTCz2kgXHr063TJPo2PS jClw== X-Gm-Message-State: AOJu0YzFwOR58NE/YwAuNSPUqLQfbA3QxLYkRqnbnw5Q1nkXQiy2YQRz UAVGB9jaAnHUp55LxzNiipA= X-Google-Smtp-Source: AGHT+IFi4xuDx0PvSb/d3AgUnK4w3nM3LRouAPjCbYv0D1Jskx3o4X4NAUyzv6KHPzZQShn1BJPXxw== X-Received: by 2002:a17:90b:118d:b0:28a:2fd5:be04 with SMTP id gk13-20020a17090b118d00b0028a2fd5be04mr2365085pjb.96.1702367664023; Mon, 11 Dec 2023 23:54:24 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:23 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] ARM: dts: aspeed: minerva: add bus labels and aliases Date: Tue, 12 Dec 2023 15:51:56 +0800 Message-Id: <20231212075200.983536-8-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add bus labels and aliases for the fan control board. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index f2a48033ac5c..f4cb5ef72310 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -12,6 +12,16 @@ / { aliases { serial5 = &uart5; + /* + * PCA9548 (2-0077) provides 8 channels connecting to + * 6 pcs of FCB (Fan Controller Board). + */ + i2c16 = &imux16; + i2c17 = &imux17; + i2c18 = &imux18; + i2c19 = &imux19; + i2c20 = &imux20; + i2c21 = &imux21; }; chosen { @@ -139,7 +149,7 @@ i2c-mux@77 { #size-cells = <0>; i2c-mux-idle-disconnect; - i2c@0 { + imux16: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; @@ -150,7 +160,7 @@ eeprom@50 { }; }; - i2c@1 { + imux17: i2c@1 { #address-cells = <1>; #size-cells = <0>; reg = <1>; @@ -161,7 +171,7 @@ eeprom@50 { }; }; - i2c@2 { + imux18: i2c@2 { #address-cells = <1>; #size-cells = <0>; reg = <2>; @@ -172,7 +182,7 @@ eeprom@50 { }; }; - i2c@3 { + imux19: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; @@ -183,7 +193,7 @@ eeprom@50 { }; }; - i2c@4 { + imux20: i2c@4 { #address-cells = <1>; #size-cells = <0>; reg = <4>; @@ -194,7 +204,7 @@ eeprom@50 { }; }; - i2c@5 { + imux21: i2c@5 { #address-cells = <1>; #size-cells = <0>; reg = <5>; From patchwork Tue Dec 12 07:51:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874921 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gOFx03Xq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9rB4wnCz1ySd for ; Tue, 12 Dec 2023 18:54:50 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gOFx03Xq; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9rB3vDyz3cQK for ; Tue, 12 Dec 2023 18:54:50 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=gOFx03Xq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::42a; helo=mail-pf1-x42a.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qn1r3kz3c4h for ; Tue, 12 Dec 2023 18:54:29 +1100 (AEDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6ceb2501f1bso4381625b3a.0 for ; Mon, 11 Dec 2023 23:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367666; x=1702972466; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZR87eIuDn9C0HsT6AC1CHUaEI+JGnco8C87tfDzAy1Q=; b=gOFx03XqfLqHBIM7p1wDmNcLmMdH6LvoRsqlSUW7wtOuQZ4aIJrE08UAy4UfG/kRh8 V8zx1J59RCiB+6yK+2KQk1nXmoL0vlJ/KasJnGfJXtipt0DZmivfl/cIjJZUPUlmOtPM +F6JJSdS8jUoz0Y7NevTU7P0G0zgwe7TCdXFHnfv8C+dEtlk0AqFqVsazlg9RP8nPgE3 3uoeUc1acEIuvu3z99/JaF5NM4ZxnI1jvjDXR9+BG+e8QeH1Ct4axz5sqTe3c7+mZcUd +pk0+JDRIIzMie/5wLldbi4j0u+mpuyvFdB6LWILAPeXDAJaB9tu/eJ/dANzY6UPhPYp Bg6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367666; x=1702972466; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZR87eIuDn9C0HsT6AC1CHUaEI+JGnco8C87tfDzAy1Q=; b=sxbBThLdKxZ4uR/phZ6aas/pBG1ds7Qu10vHVeqbpErvwdKjoEPAOArJTBzRZE40a7 sG3hBRVJeSPPED7Li8fhDif4OtbUdDAs/Y1+/1984XxMV49CQS2RXCkqzNfJCxHwbCmZ 1F3abr389vYz2Omx9m1mvoZ1EvXfQonGnkxWJtn2NSzq3DoicuLmd9XYzA5frzqk4kRX nCzEplTo8r9sHzc8xUSIufBdQhYy8g+QY9JlpN5jZJv1PKhQen4ooNgH22LZRLFfvhMW G49wWFdfCL1eW8fGnsdhURvC5lwKsn+Tx+iu5zz7sMPBGmr7IuOAoRnoWoeFlKwbEiFd rglQ== X-Gm-Message-State: AOJu0Yx1/9u4k/xkSpbnNRGz9OV+zr6Ie2B5xxQTDON/0ftNT0FsFJNz l57s8e9iu+i2ksAA8BR94yw= X-Google-Smtp-Source: AGHT+IFfyvBm3LnqNo7atzJ1xVUp4Yr9OqqLlbZGbP/nazODJ02yLWDVkfZj65sI030MwL8J6JU4fQ== X-Received: by 2002:a05:6a20:3d08:b0:18f:97c:9766 with SMTP id y8-20020a056a203d0800b0018f097c9766mr8171271pzi.78.1702367666749; Mon, 11 Dec 2023 23:54:26 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:26 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/11] ARM: dts: aspeed: minerva: add fan rpm controller Date: Tue, 12 Dec 2023 15:51:57 +0800 Message-Id: <20231212075200.983536-9-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add fan rpm controller max31790 on all bus of FCB. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index f4cb5ef72310..c7445c819baf 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -158,6 +158,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; imux17: i2c@1 { @@ -169,6 +176,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; imux18: i2c@2 { @@ -180,6 +194,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; imux19: i2c@3 { @@ -191,6 +212,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; imux20: i2c@4 { @@ -202,6 +230,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; imux21: i2c@5 { @@ -213,6 +248,13 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + pwm@5e{ + compatible = "max31790"; + reg = <0x5e>; + #address-cells = <1>; + #size-cells = <0>; + }; }; }; }; From patchwork Tue Dec 12 07:51:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874922 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=VHEZvKDj; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9rH0hpKz1ySd for ; Tue, 12 Dec 2023 18:54:55 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=VHEZvKDj; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9rG6mTTz3cP8 for ; Tue, 12 Dec 2023 18:54:54 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=VHEZvKDj; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1035; helo=mail-pj1-x1035.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qq75Nyz3c5X for ; Tue, 12 Dec 2023 18:54:31 +1100 (AEDT) Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-2866fe08b32so3730759a91.2 for ; Mon, 11 Dec 2023 23:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367669; x=1702972469; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S4mYkdYycHvWmTb171qbHq/sz7aJZKJF/gRqwbu8etE=; b=VHEZvKDjqdUuZqjznsymbOefPSoq1nb7Y0pZPqbTwlH0mlS4v5Kp1mXdwOFBSg/LTF yCo6aUsF2e8rsdS3j4TFvVcJxQYryFuBMQJ2251BFuIL2arWVAI4JiWfbvT5Gdlyzzwj ibEhQZOz83dwJyvek6qlsaG8wViFurvt2wphTOFX/5b35OMSLTisrvHGA3ppC7qnrRpy ky2rnMI3y7EHaYfIXcc2P7H+7gDq9QhMtQe9iV2EjH3SXhPOBshCnChcX3/oJ7EpjRBc SM8tCx9Qq53tNBG4n6dZ3BqKV0hmft4i2WWX64My1iSSRLvLCno6QJFc4vRDKNkg/gEb mqjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367669; x=1702972469; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S4mYkdYycHvWmTb171qbHq/sz7aJZKJF/gRqwbu8etE=; b=RMIY5gKgGsFgyJ/+mH3DSd+uRRt/B/4P5eccP4i65PDV5TuJNg2YUFy1SZVNtBQNFu j2O0yRaqUmxLrYvrMRaSBfBE3UL7OYBNQyj4vxx5B0iOV5VrhycD8XbluTkZ7NiujhTl xr4TUEf38JH2abb3An1HY3vbgzOPpHSTtQYdx+RLuJSw9PG/f8y4coFfTlc6sWH4tXhO zffm5/hABzA2xNplcm2LHCf/uJ7wkJBNmvzqosBnAkQPoqVO/2HEX16jihS7awb80h82 ru6l11k8N85GzwuxbeWa6muB1dik/E8ZQb4RbEwmWyP3+jmOelTB1WgHIIjWHCMPObHB 497Q== X-Gm-Message-State: AOJu0YyRB6sOD8Wmo0MgnwZDjhE6AqH5ydzAN1HTrS1a9vjGvb0cvlZ/ Lfrt8+QS6NhGsxoHdJSZeBQ= X-Google-Smtp-Source: AGHT+IFhcUk3+zn1WOPec1hfNcGWO7RYN20xNkP0qg6H1/aL9nQaFz6qfkOIai5Ug1sjkeV10C5dHg== X-Received: by 2002:a17:90a:cb94:b0:286:9cdc:c2e1 with SMTP id a20-20020a17090acb9400b002869cdcc2e1mr2369677pju.13.1702367669434; Mon, 11 Dec 2023 23:54:29 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:29 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/11] ARM: dts: aspeed: minerva: Add led-fan-fault gpio Date: Tue, 12 Dec 2023 15:51:58 +0800 Message-Id: <20231212075200.983536-10-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add led-fan-fault gpio pin on the PCA9555 on the i2c bus 0. Signed-off-by: Yang Chen --- .../dts/aspeed/aspeed-bmc-facebook-minerva.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index c7445c819baf..090fe2f6b1d8 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -39,6 +39,16 @@ iio-hwmon { <&adc0 4>, <&adc0 5>, <&adc0 6>, <&adc0 7>, <&adc1 2>; }; + + leds { + compatible = "gpio-leds"; + + led-fan-fault { + label = "led-fan-fault"; + gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + }; }; &uart6 { @@ -118,6 +128,13 @@ power-monitor@68 { compatible = "adi,ltc2945"; reg = <0x68>; }; + + leds_gpio: gpio@19 { + compatible = "nxp,pca9555"; + reg = <0x19>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c1 { From patchwork Tue Dec 12 07:51:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874923 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DNuf+5ex; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9rM3Hl8z1ySd for ; Tue, 12 Dec 2023 18:54:59 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DNuf+5ex; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9rM2F1pz3cQf for ; Tue, 12 Dec 2023 18:54:59 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DNuf+5ex; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::332; helo=mail-ot1-x332.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qt6WvSz3c7S for ; Tue, 12 Dec 2023 18:54:34 +1100 (AEDT) Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6d9dbe224bbso3944321a34.2 for ; Mon, 11 Dec 2023 23:54:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367672; x=1702972472; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9JgxFMe8L/6FklhMeqWopx45J66QA9FQNsN0+nuF/AQ=; b=DNuf+5ex8GiEtDFX2dCbjPOEM/ANpBNBZJfHmJ8Ns6DdXfk467HUuHwIvRlFkaPtYg 0Dwpdn5tfKGNBntnWFp1B1lErqBIi91/+q49ErZuL1ZulpU0n0tNa9mpt6pINf8jOLRH sExeJTEjSHFx5SZw7IFxda4aM0k4y4tnR4TPKQWT01MrOoZJkj4/j6lwfXbkt1wcIpK7 nh0+3yWxem5BBmmnPfkT76r5nnqflMQJigHY/7IvjxQ6sXwYFJDNiuLZmWFd2OYXQNeZ 9MWW8zjOf9Yk/ErL+Dg4f0vETEp6SAkDFMeSfbXZ60lYkMugSsZgfGIes/cdlkDRD9Q7 Py9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367672; x=1702972472; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9JgxFMe8L/6FklhMeqWopx45J66QA9FQNsN0+nuF/AQ=; b=p6jfpkkTcKJ/1153o3kfxf2ZMjjXbO3bjJxlp5XrvbVEFSsD6fqgYLmkG2hVsE9GS9 r4Bnq9VMt8xOqP9ZbPoJsqx6Xg0lU5cTYDJVDUmChUtPU/m5Q1HhKF346buU8ApeRNzx J/szohpDXz9NODzhxGImuol8+Xxa0Ce729wxj+V0iiXMB22+9e3EIhHUKRplaTJ/ZhAS hIvHlKFYUSUWQWyCW7RXXmfIbZiNd4m9nw/INzOkN7omM05ryoM0zexWxTWKpsrFbNK8 sHyLDE/GF/FMSpd2qbCZ+QQWsMVewOIAeDjXTKOJCYRiGF69peQQMkhMkIZyhnyZZl3R nSrw== X-Gm-Message-State: AOJu0YxrDmLlqH9k5iZ/ZahrGSV6IqVC6xZt/cyJ3bN0c+HQoF7D5lkl beBe02Hhd+5U4xNH5gvDrzA= X-Google-Smtp-Source: AGHT+IF6A11qdrTxyvRzsn/UfFXLrl7jYZ8gox7osnSr3fygXIiVgtb4DmPpKsxJGZbganWpChvURw== X-Received: by 2002:a05:6358:515e:b0:170:17eb:14c2 with SMTP id 30-20020a056358515e00b0017017eb14c2mr2899799rwj.50.1702367672132; Mon, 11 Dec 2023 23:54:32 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:31 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] ARM: dts: aspeed: minerva: add gpio line name Date: Tue, 12 Dec 2023 15:51:59 +0800 Message-Id: <20231212075200.983536-11-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add the GPIO line name that the project's function can use by the meaningful name. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 090fe2f6b1d8..31197183cc59 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -362,3 +362,33 @@ &ehci1 { &uhci { status = "okay"; }; + +&gpio0 { + gpio-line-names = + /*A0-A7*/ "","","","","","","","", + /*B0-B7*/ "","","","","","","","", + /*C0-C7*/ "","","","","BLADE_UART_SEL2","","","", + /*D0-D7*/ "","","","","","","","", + /*E0-E7*/ "","","","","","","","", + /*F0-F7*/ "","","","","","","","", + /*G0-G7*/ "","","","","","","","", + /*H0-H7*/ "","","","","","","","", + /*I0-I7*/ "","","","","","","","", + /*J0-J7*/ "","","","","","","","", + /*K0-K7*/ "","","","","","","","", + /*L0-L7*/ "","","","","BLADE_UART_SEL0","","","", + /*M0-M7*/ "","","","","","BLADE_UART_SEL1","","", + /*N0-N7*/ "","","","","","","","", + /*O0-O7*/ "","","","","","","","", + /*P0-P7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","","","", + /*R0-R7*/ "","","","","","","","", + /*S0-S7*/ "","","","","","","","", + /*T0-T7*/ "","","","","","","","", + /*U0-U7*/ "","","","","","","","", + /*V0-V7*/ "","","","","BAT_DETECT","","","", + /*W0-W7*/ "","","","","","","","", + /*X0-X7*/ "","","BLADE_UART_SEL3","","","","","", + /*Y0-Y7*/ "","","","","","","","", + /*Z0-Z7*/ "","","","","","","",""; +}; From patchwork Tue Dec 12 07:52:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 1874924 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TwAWIQi9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Sq9rS4jdNz1ySd for ; Tue, 12 Dec 2023 18:55:04 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TwAWIQi9; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Sq9rS3Znjz3cVc for ; Tue, 12 Dec 2023 18:55:04 +1100 (AEDT) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TwAWIQi9; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::102c; helo=mail-pj1-x102c.google.com; envelope-from=yangchen.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Sq9qx3t9jz3c8W for ; Tue, 12 Dec 2023 18:54:37 +1100 (AEDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-286f8ee27aeso5568495a91.3 for ; Mon, 11 Dec 2023 23:54:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702367675; x=1702972475; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CFRZUoAD4VFKEOVifbbDQ7RKmVNtR05fvh+zOM0+EOs=; b=TwAWIQi9qY4aS+VHRlLFA81trMjf/tFrIbYld6dLAH46mXoFY5XYI8xSoJuRg1KZq9 FJghXdQj0+MynxWgQsuh8Qy+I6t+GDDFrgf4XfIu1/Fze0o7TuriTBjkAs7oczzj7ABQ K9tUSekF8T5NTZoDva0TwLep1pVDtx/t/Ul/i3Ljrjw1+R/Zj/ElWSp57LlSDGgTbTeU 0IUSKATvfmnAvGBx71ZDRaj2uCsVj6d7aOjg1zoUcmRQhclYe0mnI3bbinD8u9qAvpFu pKDgNy3bCoj0VfGlCVEcAdaJ5+UxBwMn6g5T768VB08Y3g7v3wrpExHIGegjxiA/ql5N 6hXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702367675; x=1702972475; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CFRZUoAD4VFKEOVifbbDQ7RKmVNtR05fvh+zOM0+EOs=; b=TLuhe+ANcEZ0sgySKVGYWsajU49sG+3JN2gxvvFvSCrczFMYq9I3J6Ey48qJywGLRv mpjvT9gzJIBIttGwmIzDVcn6M2zxLG78uVl7NOLWkk4RAQllReiVkdNedcvESvGkZcnO lt39/9TQXcJWuw0CTrLnlY66LXUS4Y4AFAQMtW46e2kIfmvKCeyC+4s+tEOAFpApsjyp Vv1GlX7ySqrr10UH55CqakWIxZgkHD0HmMWu+LlJ4NMS9Yb1l8SZd1L0njFYjgxGaopP vao7vflZAowRMTlj4F3MERRcvtcuDgKa/2npRUQPpY3MJWaHa3E+/kq3igID4/Yxlr+X bdQQ== X-Gm-Message-State: AOJu0YxulioXcQfyFxRIDPdPgcLKquPPukM4x6eIC6FbKYrkpFvGZ0II CHbzwTgfXX5H5eCcpaiMFs8= X-Google-Smtp-Source: AGHT+IGNAVQ6JcEmb2IpiIKEKpUDOC/kTTABVCLMRPQ9qM4CLq1mSFUgTd84yieq+ST8JziA0dPmqw== X-Received: by 2002:a17:90a:31c1:b0:286:f3ec:2a1 with SMTP id j1-20020a17090a31c100b00286f3ec02a1mr4511497pjf.31.1702367674864; Mon, 11 Dec 2023 23:54:34 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id qi9-20020a17090b274900b0028a28ad810csm8144319pjb.56.2023.12.11.23.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:54:34 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/11] ARM: dts: aspeed: minerva: add sgpio line name Date: Tue, 12 Dec 2023 15:52:00 +0800 Message-Id: <20231212075200.983536-12-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212075200.983536-1-yangchen.openbmc@gmail.com> References: <20231212075200.983536-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jerry.Lin@quantatw.com, Leslie.Tong@quantatw.com, EasonChen1@quantatw.com, yangchen.openbmc@gmail.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Add the SGPIO line name that the project's function can use by the meaningful name. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 149 ++++++++++++++++++ 1 file changed, 149 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 31197183cc59..942e53d5c714 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -392,3 +392,152 @@ &gpio0 { /*Y0-Y7*/ "","","","","","","","", /*Z0-Z7*/ "","","","","","","",""; }; + +&sgpiom0 { + gpio-line-names = + /*"input pin","output pin"*/ + /*A0 - A7*/ + "PRSNT_MTIA_BLADE0_N","PWREN_MTIA_BLADE0_EN", + "PRSNT_MTIA_BLADE1_N","PWREN_MTIA_BLADE1_EN", + "PRSNT_MTIA_BLADE2_N","PWREN_MTIA_BLADE2_EN", + "PRSNT_MTIA_BLADE3_N","PWREN_MTIA_BLADE3_EN", + "PRSNT_MTIA_BLADE4_N","PWREN_MTIA_BLADE4_EN", + "PRSNT_MTIA_BLADE5_N","PWREN_MTIA_BLADE5_EN", + "PRSNT_MTIA_BLADE6_N","PWREN_MTIA_BLADE6_EN", + "PRSNT_MTIA_BLADE7_N","PWREN_MTIA_BLADE7_EN", + /*B0 - B7*/ + "PRSNT_MTIA_BLADE8_N","PWREN_MTIA_BLADE8_EN", + "PRSNT_MTIA_BLADE9_N","PWREN_MTIA_BLADE9_EN", + "PRSNT_MTIA_BLADE10_N","PWREN_MTIA_BLADE10_EN", + "PRSNT_MTIA_BLADE11_N","PWREN_MTIA_BLADE11_EN", + "PRSNT_MTIA_BLADE12_N","PWREN_MTIA_BLADE12_EN", + "PRSNT_MTIA_BLADE13_N","PWREN_MTIA_BLADE13_EN", + "PRSNT_MTIA_BLADE14_N","PWREN_MTIA_BLADE14_EN", + "PRSNT_MTIA_BLADE15_N","PWREN_MTIA_BLADE15_EN", + /*C0 - C7*/ + "PRSNT_NW_BLADE0_N","PWREN_NW_BLADE0_EN", + "PRSNT_NW_BLADE1_N","PWREN_NW_BLADE1_EN", + "PRSNT_NW_BLADE2_N","PWREN_NW_BLADE2_EN", + "PRSNT_NW_BLADE3_N","PWREN_NW_BLADE3_EN", + "PRSNT_NW_BLADE4_N","PWREN_NW_BLADE4_EN", + "PRSNT_NW_BLADE5_N","PWREN_NW_BLADE5_EN", + "PRSNT_FCB_TOP_0_N","PWREN_MTIA_BLADE0_HSC_EN", + "PRSNT_FCB_TOP_1_N","PWREN_MTIA_BLADE1_HSC_EN", + /*D0 - D7*/ + "PRSNT_FCB_MIDDLE_0_N","PWREN_MTIA_BLADE2_HSC_EN", + "PRSNT_FCB_MIDDLE_1_N","PWREN_MTIA_BLADE3_HSC_EN", + "PRSNT_FCB_BOTTOM_0_N","PWREN_MTIA_BLADE4_HSC_EN", + "PRSNT_FCB_BOTTOM_1_N","PWREN_MTIA_BLADE5_HSC_EN", + "PWRGD_MTIA_BLADE0_PWROK_L_BUF","PWREN_MTIA_BLADE6_HSC_EN", + "PWRGD_MTIA_BLADE1_PWROK_L_BUF","PWREN_MTIA_BLADE7_HSC_EN", + "PWRGD_MTIA_BLADE2_PWROK_L_BUF","PWREN_MTIA_BLADE8_HSC_EN", + "PWRGD_MTIA_BLADE3_PWROK_L_BUF","PWREN_MTIA_BLADE9_HSC_EN", + /*E0 - E7*/ + "PWRGD_MTIA_BLADE4_PWROK_L_BUF","PWREN_MTIA_BLADE10_HSC_EN", + "PWRGD_MTIA_BLADE5_PWROK_L_BUF","PWREN_MTIA_BLADE11_HSC_EN", + "PWRGD_MTIA_BLADE6_PWROK_L_BUF","PWREN_MTIA_BLADE12_HSC_EN", + "PWRGD_MTIA_BLADE7_PWROK_L_BUF","PWREN_MTIA_BLADE13_HSC_EN", + "PWRGD_MTIA_BLADE8_PWROK_L_BUF","PWREN_MTIA_BLADE14_HSC_EN", + "PWRGD_MTIA_BLADE9_PWROK_L_BUF","PWREN_MTIA_BLADE15_HSC_EN", + "PWRGD_MTIA_BLADE10_PWROK_L_BUF","PWREN_NW_BLADE0_HSC_EN", + "PWRGD_MTIA_BLADE11_PWROK_L_BUF","PWREN_NW_BLADE1_HSC_EN", + /*F0 - F7*/ + "PWRGD_MTIA_BLADE12_PWROK_L_BUF","PWREN_NW_BLADE2_HSC_EN", + "PWRGD_MTIA_BLADE13_PWROK_L_BUF","PWREN_NW_BLADE3_HSC_EN", + "PWRGD_MTIA_BLADE14_PWROK_L_BUF","PWREN_NW_BLADE4_HSC_EN", + "PWRGD_MTIA_BLADE15_PWROK_L_BUF","PWREN_NW_BLADE5_HSC_EN", + "PWRGD_NW_BLADE0_PWROK_L_BUF","PWREN_FCB_TOP_L_EN", + "PWRGD_NW_BLADE1_PWROK_L_BUF","PWREN_FCB_TOP_R_EN", + "PWRGD_NW_BLADE2_PWROK_L_BUF","PWREN_FCB_MIDDLE_L_EN", + "PWRGD_NW_BLADE3_PWROK_L_BUF","PWREN_FCB_MIDDLE_R_EN", + /*G0 - G7*/ + "PWRGD_NW_BLADE4_PWROK_L_BUF","PWREN_FCB_BOTTOM_L_EN", + "PWRGD_NW_BLADE5_PWROK_L_BUF","PWREN_FCB_BOTTOM_R_EN", + "PWRGD_FCB_TOP_0_PWROK_L_BUF","FM_CMM_AC_CYCLE_N", + "PWRGD_FCB_TOP_1_PWROK_L_BUF","MGMT_SFP_TX_DIS", + "PWRGD_FCB_MIDDLE_0_PWROK_L_BUF","", + "PWRGD_FCB_MIDDLE_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE0_1_N", + "PWRGD_FCB_BOTTOM_0_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE2_3_N", + "PWRGD_FCB_BOTTOM_1_PWROK_L_BUF","RST_I2CRST_MTIA_BLADE4_5_N", + /*H0 - H7*/ + "LEAK_DETECT_MTIA_BLADE0_N_BUF","RST_I2CRST_MTIA_BLADE6_7_N", + "LEAK_DETECT_MTIA_BLADE1_N_BUF","RST_I2CRST_MTIA_BLADE8_9_N", + "LEAK_DETECT_MTIA_BLADE2_N_BUF","RST_I2CRST_MTIA_BLADE10_11_N", + "LEAK_DETECT_MTIA_BLADE3_N_BUF","RST_I2CRST_MTIA_BLADE12_13_N", + "LEAK_DETECT_MTIA_BLADE4_N_BUF","RST_I2CRST_MTIA_BLADE14_15_N", + "LEAK_DETECT_MTIA_BLADE5_N_BUF","RST_I2CRST_NW_BLADE0_1_2_N", + "LEAK_DETECT_MTIA_BLADE6_N_BUF","RST_I2CRST_NW_BLADE3_4_5_N", + "LEAK_DETECT_MTIA_BLADE7_N_BUF","RST_I2CRST_FCB_N", + /*I0 - I7*/ + "LEAK_DETECT_MTIA_BLADE8_N_BUF","RST_I2CRST_FCB_B_L_N", + "LEAK_DETECT_MTIA_BLADE9_N_BUF","RST_I2CRST_FCB_B_R_N", + "LEAK_DETECT_MTIA_BLADE10_N_BUF","RST_I2CRST_FCB_M_L_N", + "LEAK_DETECT_MTIA_BLADE11_N_BUF","RST_I2CRST_FCB_M_R_N", + "LEAK_DETECT_MTIA_BLADE12_N_BUF","RST_I2CRST_FCB_T_L_N", + "LEAK_DETECT_MTIA_BLADE13_N_BUF","RST_I2CRST_FCB_T_R_N", + "LEAK_DETECT_MTIA_BLADE14_N_BUF","BMC_READY", + "LEAK_DETECT_MTIA_BLADE15_N_BUF","wFM_88E6393X_BIN_UPDATE_EN_N", + /*J0 - J7*/ + "LEAK_DETECT_NW_BLADE0_N_BUF","WATER_VALVE_CLOSED_N", + "LEAK_DETECT_NW_BLADE1_N_BUF","", + "LEAK_DETECT_NW_BLADE2_N_BUF","", + "LEAK_DETECT_NW_BLADE3_N_BUF","", + "LEAK_DETECT_NW_BLADE4_N_BUF","", + "LEAK_DETECT_NW_BLADE5_N_BUF","", + "MTIA_BLADE0_STATUS_LED","", + "MTIA_BLADE1_STATUS_LED","", + /*K0 - K7*/ + "MTIA_BLADE2_STATUS_LED","", + "MTIA_BLADE3_STATUS_LED","", + "MTIA_BLADE4_STATUS_LED","", + "MTIA_BLADE5_STATUS_LED","", + "MTIA_BLADE6_STATUS_LED","", + "MTIA_BLADE7_STATUS_LED","", + "MTIA_BLADE8_STATUS_LED","", + "MTIA_BLADE9_STATUS_LED","", + /*L0 - L7*/ + "MTIA_BLADE10_STATUS_LED","", + "MTIA_BLADE11_STATUS_LED","", + "MTIA_BLADE12_STATUS_LED","", + "MTIA_BLADE13_STATUS_LED","", + "MTIA_BLADE14_STATUS_LED","", + "MTIA_BLADE15_STATUS_LED","", + "NW_BLADE0_STATUS_LED","", + "NW_BLADE1_STATUS_LED","", + /*M0 - M7*/ + "NW_BLADE2_STATUS_LED","", + "NW_BLADE3_STATUS_LED","", + "NW_BLADE4_STATUS_LED","", + "NW_BLADE5_STATUS_LED","", + "RPU_READY","", + "IT_GEAR_RPU_LINK_N","", + "IT_GEAR_LEAK","", + "WATER_VALVE_CLOSED_N","", + /*N0 - N7*/ + "VALVE_STS0","", + "VALVE_STS1","", + "VALVE_STS2","", + "VALVE_STS3","", + "CR_TOGGLE_BOOT_BUF_N","", + "CMM_LC_RDY_LED_N","", + "CMM_LC_UNRDY_LED_N","", + "CMM_CABLE_CARTRIDGE_PRSNT_BOT_N","", + /*O0 - O7*/ + "CMM_CABLE_CARTRIDGE_PRSNT_TOP_N","", + "BOT_BCB_CABLE_PRSNT_N","", + "TOP_BCB_CABLE_PRSNT_N","", + "CHASSIS0_LEAK_Q_N","", + "CHASSIS1_LEAK_Q_N","", + "LEAK0_DETECT","", + "LEAK1_DETECT","", + "MGMT_SFP_PRSNT_N","", + /*P0 - P7*/ + "MGMT_SFP_TX_FAULT","", + "MGMT_SFP_RX_LOS","", + "","", + "","", + "","", + "","", + "","", + "",""; +};