From patchwork Tue Jun 25 12:18:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711009 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 B3E2CC2BBCA for ; Tue, 25 Jun 2024 12:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SyqW/YPcUcSECKMKEcpbBGmhotZwVjBgiijoMXMXMs0=; b=qBdSC+bbJxpyUKXjTyvrIP5RDI Elw2HS/1/ctdpEECFA7U7vOBmYkqjqlBokLHh44UvonFrm/kRrhzFMOoy3NeBEjefXztOTY0r19OS Gd8IUZBDcvfYD1l7Hi7IxkN1VON1aMYlPYaAw3vbQBiCJRpkzCUnEdRovlyFkFe+Drlq4nw84Wbaj p3Yk0Y7w0diAPBt2FzzO1n8gem0tlPDcU+P0qnhsCZwHJbcU7PfJPZLPsDSJHrX+aXYsRutYzp3VH YIPvxQLlDaZStMcybVcq5Di8eNYMzFcT9+hfBVdw7mP6y/JB/BiUl+1sQ0TZSTprYPhmTQz8vH07A ukO8lDMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AH-00000002hEU-3YRo; Tue, 25 Jun 2024 12:20:49 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AA-00000002hBx-1mlw for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:43 +0000 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-37636c3872bso13148135ab.3 for ; Tue, 25 Jun 2024 05:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318041; x=1719922841; darn=lists.infradead.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=SyqW/YPcUcSECKMKEcpbBGmhotZwVjBgiijoMXMXMs0=; b=EH40njmeHe5wvE/yXQ8RhYG4sgEZTCt4O3QzJX0p02QH3ScWf56Fq2vZvtpeIsvO7D LpiPgbg/ThI+uc1pK6voTdettkISR+oQ3hDw6qoL//HIQ8rolIm/g5clZ7R6A95AcnCS PJQt6muoO1tSrV3eawQcGqnVfd2tJeSdlXmewjGj2eM6E6SSkDmdMfJ7G7qccnm6GsLv tcoTp+Rh8CAhyC7kA04XXnkCrwijNm1O6Y/dLg8QEN3nGvDLXAg4oZeHvgHQYJy5G7p7 GWguBolV/tfbFE/J/xw0fEjbeBrqADIxRm2ySTu7WMqTrIA5kS4WYozq+tSXdxfU5gSs I6Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318041; x=1719922841; 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=SyqW/YPcUcSECKMKEcpbBGmhotZwVjBgiijoMXMXMs0=; b=D6swUDgvflMe4bwJdZULaNqg36iR/jJ0mYwlZ1DXbpYK6h/gnx7iZo5mxFn69tMppo v4v/bKlYcG7c8rA48mAZmQBkbPiBjduIigo5vKLgXXyPcJ7GtRMRAgsVzThpHL2+20Om OaEU1SgLbVx6ZGrDNf66jKQ+9lyrtRUFPtn6QP4U2AaXY+jji4D5xjniF+5l/8miwSuL d0bGsXz8vfkPPMOdVRrW7JjPouf/RYMFsBhmNSbS9x058kO1Cgb+HpttJKUig+OyywOI kE9u4dFmvvHndWBPBrHZFsnhljmUzXv/sMzeWIOyfpx6a6eMrxZ78S1Xfwk8LVXoAzhd YXZw== X-Forwarded-Encrypted: i=1; AJvYcCWqhwYPmEb51O29LPU8w6gxE+F+QVHgbND91QRuegO/4vJJjt/bqlSMVafDIDlXOGbPiXT1YiQ9MeN0QqWJtRjAUTTB6X9fcqfydYObVQ82z6wWFcQ= X-Gm-Message-State: AOJu0YxHCTFYLVIe3tGG523+uWOeYIg5Wt/NhizDfuTkj/j6X/6Kv11O BRjqaCM0DvRFb94QWJ6ecnlCST1wGihpPLMKKeLP0/7IACuEGgzt X-Google-Smtp-Source: AGHT+IFcrX7CdhR/pMxRJq0wZkjEjwEighbr46zUZPR2+WxUgh0dszolL86yFFIF60yzvDcpdXT/9g== X-Received: by 2002:a05:6e02:b2f:b0:375:a85c:5fbb with SMTP id e9e14a558f8ab-3763f5f1d54mr94896725ab.17.1719318041267; Tue, 25 Jun 2024 05:20:41 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:40 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 01/17] ARM: dts: aspeed: minerva: change the address of tmp75 Date: Tue, 25 Jun 2024 20:18:19 +0800 Message-Id: <20240625121835.751013-2-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052042_487123_03FE3157 X-CRM114-Status: GOOD ( 12.12 ) 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 From: Yang Chen Revise the address of tmp75 on I2C bus 1 from 0x48 to 0x4f due to design change. 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 942e53d5c714..e20e31917d6c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -145,9 +145,9 @@ temperature-sensor@4b { reg = <0x4b>; }; - temperature-sensor@48 { + temperature-sensor@4f { compatible = "ti,tmp75"; - reg = <0x48>; + reg = <0x4f>; }; eeprom@54 { From patchwork Tue Jun 25 12:18:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711011 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 2F92FC2BBCA for ; Tue, 25 Jun 2024 12:21:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uCdx3Zv6jgcLya0FbLGdFMlbTjbR1RWCyV9Cn/rMIPA=; b=Cd07Ykb98hTppX6uxUEiAsUW1Z c95/MXo6cT40abOKZwPyt1MxDNNFkH6Smltm8Up6SkmcJX0BU8sH/NxbpdAFT2OYGDKQY3fF39rDl MjQPF7k4SQi53eU4zriUMzQtsc9K3wW6bundBZWJrY9dWHbAiufqyGKG4u+2fRTo61DByU4zWaSff nX39tbbQmWGape27vLE7jtXYLP/+D1fXCcUDzhPbNO2DvKkMqfvQCxSy46QJtArdIgdqxKo1ANydw T9ALVLv6H2iP45ikMQLArwfLVpoo0vMIWTZ/zDBop8OeJx03OkWbonvTO1vBnpYkHRIFMyogMef0n N/NMxF+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ah-00000002hSp-2Df6; Tue, 25 Jun 2024 12:21:15 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AC-00000002hCZ-2ebj for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:45 +0000 Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-375858224adso19504045ab.0 for ; Tue, 25 Jun 2024 05:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318043; x=1719922843; darn=lists.infradead.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=uCdx3Zv6jgcLya0FbLGdFMlbTjbR1RWCyV9Cn/rMIPA=; b=gU9hKaVd9IBuRip5GtwyD+jOStelmsoJk8n7ORSSiIa8XqQzKqyGe6CSNurXGXiOQS 6OHZKcwmC5xbNeYIkdv2N/7gF9CPq24/pEV+Bax7e3O4TdmLg4yPS2ZKNWjmM9g+h446 3rqJ+UzTEXe453BLofvfTLMw0nCbpWK9YYRobWQfB679YZKkoKpHMtrXzzMZF0TDj5vZ QAuppxRMV9CcTDvI2nA0XmQLFEcXUVvc799UP+8k2wk6SbJyOmgnd0RNiIZwT75GYjDQ UQN+uW5dsy7+EjTFiMSgL0n+++jYZX1UJ5aVVXUuT/QmyFTm+k394L3uhFwbbQw0SykI 1++A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318043; x=1719922843; 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=uCdx3Zv6jgcLya0FbLGdFMlbTjbR1RWCyV9Cn/rMIPA=; b=H6y+K4LIIqcftXavAGckO9gNmjp1t8B4uYBXDEowYPyI+YzD9X41+Ebhek1o/XE7yA s4jyQ5Vsnfl2eMK8fTcOtL6olzcPf02xq07XOUNPW3BTizBpWDQMEpy8rBthw70gWQAl JiKzUBJxLr1J1qEtaDMWzBaOIQoC0OsubLVuWaHudgHKox+EoslrviW4XKajNUSRtWdd gdvVNzZBBrSBJNqMFly04t3LHhukZRhoWejPVdqFO8XIM63Iag7VQocIrgg1AHjpp1BM XmrHQmzDn54oQV/QoEoc3QdpwaovtrcMZn0oPh7mmGJTOKD1/PiB3zopwtwy3nCWasNe 5t7g== X-Forwarded-Encrypted: i=1; AJvYcCWlw8tyQ6jG0D0PiZMypXzF2d1T32O4QetygjylSitc7Fpmhoa/xvNfDokBhpSCsgQuiwXITHkiadfwOJWjAx8+54feUDq+1lRRO+g0iaKAp0RL84s= X-Gm-Message-State: AOJu0Ywy83etN5Tt8Z8aq/BH2T0/vcjsSI8R1qosueYhvDXZXf9i6CDn RE88dFRKRpENZVuYQAdb+gTrUrwtY8B5R71YBaBJzgoIvGy3goLK X-Google-Smtp-Source: AGHT+IEgWnQT8rOifzr8yavYSciazbSQFQ+ty+csNXNN7UfUlGZBVvmhX1LpNwnqHUTUFuAHvpbHkg== X-Received: by 2002:a05:6e02:138f:b0:375:b4a3:9bc4 with SMTP id e9e14a558f8ab-3763f708ca7mr80967275ab.28.1719318043562; Tue, 25 Jun 2024 05:20:43 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:43 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 02/17] ARM: dts: aspeed: minerva: Add spi-gpio Date: Tue, 25 Jun 2024 20:18:20 +0800 Message-Id: <20240625121835.751013-3-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052044_700179_A00B88E1 X-CRM114-Status: GOOD ( 10.17 ) 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 From: Yang Chen Add spi-gpio for TPM device. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 21 +++++++++++++++++++ 1 file changed, 21 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 e20e31917d6c..7d96a3638448 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -22,6 +22,8 @@ aliases { i2c19 = &imux19; i2c20 = &imux20; i2c21 = &imux21; + + spi1 = &spi_gpio; }; chosen { @@ -49,6 +51,25 @@ led-fan-fault { default-state = "off"; }; }; + + spi_gpio: spi-gpio { + status = "okay"; + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "infineon,slb9670", "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; &uart6 { From patchwork Tue Jun 25 12:18:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711010 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 A030AC2BBCA for ; Tue, 25 Jun 2024 12:21: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EjV6Pheu2FSQvjGbirH3830/CoM3xL8kwQXPtOnBj6U=; b=t3IbJ008vL7pc8kQKNXpHDjJNo cfqjNA1JJpSpSw2onjW5+/iLUbYQ3PGk0Yo4M0VouK22N0zDUNxMFY0PR2M0CHmt/ojUgDTi4Zsf8 +v1PAwCPx5S74QUbblA56wNAR8r2iBlzw7jyFRF7d5RM39/6bOiuST5sXZDyiusN9EANe7dK8YglC OMWXTW176b+bV19XHmFSD1NYUEaC7QMK5ebwh8MSKEAdgAxcGxnAbI+ec17b/Q0qS4JpH/iKWnqqa Dhe7V3DF09JrRQEYkqbJ8FS8MHQmwtIGF6URy02neidHBv6dhfgV3L5GWeRhoayjSKfP32upCio+N iDbPqvdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ae-00000002hOe-0keM; Tue, 25 Jun 2024 12:21:12 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AF-00000002hD2-2iUj for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:48 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-706642b4403so2177573b3a.1 for ; Tue, 25 Jun 2024 05:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318046; x=1719922846; darn=lists.infradead.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=EjV6Pheu2FSQvjGbirH3830/CoM3xL8kwQXPtOnBj6U=; b=e/z6srcZNEccvcg4Z48YWyyYiwNRVR/rHD2Z5Vv7RjtTGqGvpDvmd4RhDEb7AIafMX g8QhWZTCRglfSQ+esb0tgqqpYVhfQlyFFVLrbRF6zEzMK5/0yUFZPbyp5VM75ZA0sJbG 3gOxxYCMt12Fu/yhhOlpQ1qagxGbXnK/OOwprqEAnl2nn4Z+uZeo74q+rANvgIJ9P4O7 IWTcylVhctnYG1ZaJCP2UZY7LGz5/1Cg0pCClV1NEWXgL4OOl+auG/LftTl+q4Qn/icX s+dDoIdCOsdNtSyKnnFPDs5Pb0LYjC6owD6I/wHgdZGyTqosXC3UUFLfRGVHzngtZL7m bDAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318046; x=1719922846; 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=EjV6Pheu2FSQvjGbirH3830/CoM3xL8kwQXPtOnBj6U=; b=euJU3YPQcCVFOIkw02sN4jBpuitT7Tbm/mgSDVkQoZNpxVbOcny7FGw3SllvPwJnFx RclUWtDhqC/TRLUce7B8krx0sSZOAo4CE/8RmgWw0sn3Erw/plAqtY5X1DVVIXUnd3/o hdSZISivu213Vv1hSfFNnt6eMZbt8obRaXVhaSh8HhZ2Mk09NujwJzwEaBnwWulmSEi/ JBvShVo6I3R9k/u02QboPwb0mFZcKRE0WGg6zgsG3HfwK/hqEz9Nn2J1y/tRvTHbk4iU j1sE3bauyN26VkRfrLP1iJztWySBdqyOkEGbbSZZujLDtB/eqGMx6HV+tkx8W2vw5jJx Bv0Q== X-Forwarded-Encrypted: i=1; AJvYcCUWFdb42Oi6ty9PbiPGA2MRu1FU+HzwiJtzx+/56vl3TH6oxzIZDtH0krPsIb4dN6UFEw//Hq50gxMG5LPC2tEAsklj93DCq+XrSyP3bM3vVwF7Uwg= X-Gm-Message-State: AOJu0Yy3PnhumikxfVnJR9EnQJrOiRX28G/VJ2PqL+7NBZSIwGSOn1Zf 0wldDoBBr7fepD++dWbPZDOEZK4cgBj6K5wnxSU3KFd4578q8lef X-Google-Smtp-Source: AGHT+IFFdhHpU4jgClNAV3bAEMz5uJjZCp8aQ05nPpNWUjp8BsCdyY1VjPzpmn21fY2A//VF6V6sWQ== X-Received: by 2002:a05:6a20:c303:b0:1bc:bb05:e0db with SMTP id adf61e73a8af0-1bd13c08ba5mr4344543637.23.1719318045723; Tue, 25 Jun 2024 05:20:45 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:45 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 03/17] ARM: dts: aspeed: minerva: change aliases for uart Date: Tue, 25 Jun 2024 20:18:21 +0800 Message-Id: <20240625121835.751013-4-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052047_725749_CCEA8ED6 X-CRM114-Status: GOOD ( 11.42 ) 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 From: Yang Chen Change and add aliases name for uart interface. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 3 ++- 1 file changed, 2 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 7d96a3638448..b0643d1d549b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -11,7 +11,8 @@ / { compatible = "facebook,minerva-cmc", "aspeed,ast2600"; aliases { - serial5 = &uart5; + serial4 = &uart5; + serial5 = &uart6; /* * PCA9548 (2-0077) provides 8 channels connecting to * 6 pcs of FCB (Fan Controller Board). From patchwork Tue Jun 25 12:18:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711012 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 A5F85C2BBCA for ; Tue, 25 Jun 2024 12:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=mrHVB5E9E1MRmFNtcjLaQwNCQQ tBXvjm5BElq8DaBQZyfbhRj3byvPxpufN6GJkJOAiqs7IkLM2za3G6RgX9nbEtgYWu0zdnh0atqIA RAuFdm9qyb/jLZkqn1WSEIDmV2v+XgLycHLCbulzL/EUPP0tuXieotq+woRIXyCAUHXx+E+6jd/cE RcROVYKa3QzHRgWtkKORXGUzKYAVgg4ud10eRCn9Us/Uaq51vj+onwcAaKh3menk2aVaY97Id8+OX gn4clt6R4c1/MeVuTuMX1TJ4oy71y14A9K38tY33uf8VLlLFOBfIeX2p06wEah29ET/yS4vcbLtAf EwPQ2RUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5An-00000002hXe-0pqB; Tue, 25 Jun 2024 12:21:21 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AG-00000002hDv-2wJI for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:50 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-7067108f2cdso2188618b3a.1 for ; Tue, 25 Jun 2024 05:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318048; x=1719922848; darn=lists.infradead.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=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=cnVOZH2bCH3WvODbL1/Ily3IYMVzo1Gnl2YBtQn82G4gMfLh60CvEscMBwF3rdoFOK yM8u8Dg0lXKUqK9QxL1us5oDNztg7BXjcTany5tL2yvfxfAtUJMmZgPvl3C1KBr/qEqJ ggAn4cM4E+zqcQLc30VC1/kRG5NJRp+/zw9saMl8qvJfvpO0vQaU1Wphb0DmaCQiCxvd dHC8gMQAnnVGxrL55P8ah4lyKIgucdUhCKlTKgu4ABfq7JSumD7j034Q+yJIF006ojvy oGqZa4nZ2g26PTSRoupKnkfLqd+/CsE0BX6dbeuXem1mZx8t6+bHvZTY6w3fIDw2JoWq UqAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318048; x=1719922848; 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=NrtPbGSmykS0cLt2ThwHws1Euel48gln1tDvUnq/Z9E=; b=u/TD7n6gDWte6AeiKf6ylDbz9t8MOhrPSiabdaRG8kiNAK6E8GpMIRBEFYhQnMroti VMgBli/BxR/agZJeZjXvihQ90pWZI8AE6JadUaEzQheNg9K4pfq/uF7afosfhNwa6Bu1 Zxhcn1cYY4H7+YqACvxymr6/+BBDl0kdqM06gh0QREeKObqiLf3rQE7zm6sN5Gf4JmBO quaWM6rIQQz4ofN+RPwP3dlIHUsOQjJ5PItrpXMpnR7ryx7eLT3G+GEQsujTqp2uIDpn UTxyv6Yw16AX5A9C7B9YB9u1IEYeRx7HOJQqEGzPMRJPmf3ITozkJpJXBh3tGC63P+Ei VPpQ== X-Forwarded-Encrypted: i=1; AJvYcCXm8hSFHkEGYrbIQKnepiAFVI/LD+yVeOeBRbGl4rpmSVH0eEgYe+ZjhX6/hCME0Ppg7xGmMS94CK786L9DsD4P4isZwzkB4rUmYvPN02/C21pjlms= X-Gm-Message-State: AOJu0YyO9+5OkF9u0Hb2nWU/fOajLKOWHuUlSUmS+m9dbmaIzxx9mEya kgN2DHEeovTWZ+0DWf6todcB+spo1zQqc5O8dE0LfHU0qKqDJ2cK5DsN0a/o X-Google-Smtp-Source: AGHT+IGzdeIjPSg2rWQ5ZEg4nniQMEMPO1e67nua4W+EJWyUQjrWionEjpF79ZppKBT76By0UdnM3A== X-Received: by 2002:aa7:990e:0:b0:705:9748:7bb8 with SMTP id d2e1a72fcca58-70671034a55mr8085919b3a.29.1719318048019; Tue, 25 Jun 2024 05:20:48 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:47 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 04/17] ARM: dts: aspeed: minerva: add eeprom on i2c bus Date: Tue, 25 Jun 2024 20:18:22 +0800 Message-Id: <20240625121835.751013-5-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052048_775005_B38A5C1B X-CRM114-Status: GOOD ( 10.27 ) 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 From: Yang Chen Add eeprom on the i2c-9 address 0x50 and i2c-15 address 0x56. Signed-off-by: Yang Chen --- .../boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 10 ++++++++++ 1 file changed, 10 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 b0643d1d549b..19f609cfd026 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -324,6 +324,11 @@ &i2c8 { &i2c9 { status = "okay"; + + eeprom@50 { + compatible = "atmel,24c64"; + reg = <0x50>; + }; }; &i2c10 { @@ -360,6 +365,11 @@ eeprom@50 { compatible = "atmel,24c128"; reg = <0x50>; }; + + eeprom@56 { + compatible = "atmel,24c64"; + reg = <0x56>; + }; }; &adc0 { From patchwork Tue Jun 25 12:18:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711013 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 4DCAFC30653 for ; Tue, 25 Jun 2024 12:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iYpMdLUZ8Pu5PErgyvvWAR9vFZoKUmmawdaOP6axHDQ=; b=OAt7jr6O4EgSGZoPSZnFUHM9Xp KMWVTL53OzKPQd3XGFqGiOAHuwD4dswKRT0/eQKKDqw2TawjkFiL1sOr4WbNtipOa0wrZyf/tumEw VrwU+YC7EhnOShd9auYNx4AMzZkPY6e8xAGZ1aSo2knc0hhChIiAO28ygd0svxGNOhw/Zl93Sy9Ro FRAHDwUKJwtDWR/PxxdtRNq+ksgL1duO/c/R3VSOpWXzFJKZFwYTzha8igU0eHEQWxGo1xDxB/Z5x Tuc3alkEEbk3ynkTDJHBvtNToXQh3UAX+TR5oh3nymQk6iER9h+Sfz8O5pvYZseMAxLLhJnC70U44 GmIWoExQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ar-00000002haM-1L4Y; Tue, 25 Jun 2024 12:21:25 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AJ-00000002hFL-1m3g for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:53 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3c9c36db8eeso2818512b6e.0 for ; Tue, 25 Jun 2024 05:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318050; x=1719922850; darn=lists.infradead.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=iYpMdLUZ8Pu5PErgyvvWAR9vFZoKUmmawdaOP6axHDQ=; b=YhBr2YzcZoMPb1jHgimiHIaGNt1wCH4c0Ayb/8dH+FHC4agYMI70pDXXb05mFIrIIV 14j4YTyNaoKGzrKiP0ldD6+eHvFKwAGrFXTsqhoG0JdmM30JkfLS75XFD7BtUFyweSLs aFNZlQrv7vtdKdVjeRvi8JIKWqZPU/jRuVLE22XlqBWLE0YL/VQty9WTWvOgZ7HngBM7 xV429oOOO/uY3r8CCeG4BZ/wMKBPvFxEja3RYC04QaYZHtzW2t5dwVs8OC1PTAn04Psw wminFx0xFe7o2qyXEDv4RKpZ404yEVpeQwLk9LH5+ESrj0l6jm0kWlGv3A83MhcNm3y5 PI3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318050; x=1719922850; 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=iYpMdLUZ8Pu5PErgyvvWAR9vFZoKUmmawdaOP6axHDQ=; b=leffQlfeQ4OmIu/0mgCgVZhfnY4hKigCudKT/l6BQaj5cWE3sN+8SOXWB9gDiQ1IWM BGBmowQ9xJejNeS0SHWlgcLPIItbM81+PzGb5PN2+1bl6nmlX07pQWq787ITP3NtnS3F DvUrCzZvto5IOb8oYBjt/lWhZ3sMsQgBbIri6up07HfYYPIlrWkuF99VzSmrG74B2Mwq 3+8cia4AtBHl5Bp33BmBxhmlr+aQ1c4HgLweKbpZPHURdKEPNBZRnOeFP+zX9WVT9epE smcONBFURvIEKSNljMmI0LrFvXYAteH0bPm6o+IhfrpnWxXNKwOqosq1js1JX1apDEVL TbNA== X-Forwarded-Encrypted: i=1; AJvYcCWnlOrlcev+gkNmHT8RpYQa9jAxrGzHfH8NygVHPCceVj91mwt2rgTlYg1+TdHYk7Sqk+g9Xi8knunp7IbxWdb6EjW3y8+938ylCGg72YfHd+7Iba8= X-Gm-Message-State: AOJu0YyCe0iXm63RfuLi2u2NwQ4t9MctO+h9UKU9Jgaz3AEbplEw8rjP t7N+4U8liETwNylGYaAiZIRvwCYOZsxATmbGzAC3fxQuhbVAoeR3 X-Google-Smtp-Source: AGHT+IEhiFkBr36kLcBUT5z+d5IDZ9KKHvfkPFh4qleoUCawh5QS4Rc8+ecYPGqAh6Lk7GcoQZfzZg== X-Received: by 2002:a05:6870:1791:b0:259:f03c:4e96 with SMTP id 586e51a60fabf-25d06b793f9mr7726194fac.11.1719318050237; Tue, 25 Jun 2024 05:20:50 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:49 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 05/17] ARM: dts: aspeed: minerva: change RTC reference Date: Tue, 25 Jun 2024 20:18:23 +0800 Message-Id: <20240625121835.751013-6-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052051_589737_6F397F09 X-CRM114-Status: GOOD ( 10.58 ) 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 From: Yang Chen Change the RTC reference from on-chip to externel on i2c bus 9 and address is 0x51. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 19f609cfd026..32400284479e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -116,10 +116,6 @@ flash@1 { }; }; -&rtc { - status = "okay"; -}; - &sgpiom0 { status = "okay"; ngpios = <128>; @@ -329,6 +325,11 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; + + rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; }; &i2c10 { From patchwork Tue Jun 25 12:18:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711014 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 B9844C2BBCA for ; Tue, 25 Jun 2024 12:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wGiKCgocnymn+yHqK126jXlfsSgcwH3iwTb3bF9H5Lg=; b=E337iPI+a3r73t8V2LwdIiSvKD SZFVtdPNQGIfEUY3ho6WQCZYCWU87doZd4RX36zkSHEnDUHftguba5zMrfVelDYO0+FYgkUr3nDBP w8SCHrgRCGDi7fkDTKQKUwt6VjoEFxrQpJPBvWT1psfVtzuc3Cl8Rfl4zQ2rGZHPPVthW5cCngxas M0eBAEuwvmK/9T5wAopdLTPNsoXdFV99KZQxyDXOh18cLDgYFD0L+FXpP83Tncy6LamVKpAh+qJ1s IjSy8ha/8IB5BPc7znmzghcP2PBB79KZuprCyp6DF3cYrRilPPLIZyJYwhFGmtLoz8FRYLIDgLDlg e9V0d8VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Aw-00000002heN-3Fz1; Tue, 25 Jun 2024 12:21:30 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AL-00000002hGX-137l for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:55 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70679845d69so1747879b3a.1 for ; Tue, 25 Jun 2024 05:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318052; x=1719922852; darn=lists.infradead.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=wGiKCgocnymn+yHqK126jXlfsSgcwH3iwTb3bF9H5Lg=; b=SX1KVH27SxCTdyYjhc/oL/Oy3EwkDqCCVJxhAXvkG5DhX3QwdpPWjRg4ZBwQ+H6zHT 0Ee+JJ7HnntBTm1SNVhMzaxoY50ngV+7sBwbFt5K28FaO5hoSbHg6ZP3YRHQHxSLo713 qXBKHYq+F6hBBgLfCFMALLIkaxz5W0p2odUUUTGzTLqNJYFcRQVcPHJIhbe+gO11dgFC gLAslOl5gr+ZxomGS8xLQHHpMlk9t4z5cRhVh7GWqLpPqn3JENvGJgbNSrcqfc5gpwpO XPEtqRtzrDOWVeBPY6rrTiWtPVg+QYOgY+o3U1IhKwUDcXNVkVyoiwSgVL7wV94U4X4O hfHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318052; x=1719922852; 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=wGiKCgocnymn+yHqK126jXlfsSgcwH3iwTb3bF9H5Lg=; b=Wx6FpkU+cEpn6Ly90f4k1s27VpJ70Ra17RSH+K+OjJa4gTy8slYW0g4U2QJj9GhHuW vPSTSL5r85m5iGEa5F8pQg/rEqKjSfua5rv1RTCbMOg+oZTteUDjqbIJdTvQ69uidEFo eH7MmxxwzkOZxkn78srAJC4G1TrQt60VqI+shdYKRbQZblZ/8xX6BPSZ8RG9ui1XgkYX 48uMPcg6M2PdxxkdKAP48MzgbfFPgN5BExBT2dnxsiWi73l/0T90rkaJ8FF7XN+wOKBv nZuSAwwNXW+RPn6Z+0GgwLepm4YKK/YcyEfGDCC9TCDY1Q7TKIoUtrcU1D6JDQFXWMe8 7NXA== X-Forwarded-Encrypted: i=1; AJvYcCXY4iJ+q6jtTg2rbzwZKRNEKBo0O5weuCFeAZdEUmDzYR/SZZ5ni87HEm6EJCYKOLrAlcoEZanN96yAMgxQk/zlDMIdiFqhEDxCIJ/f3t7agWSLd8s= X-Gm-Message-State: AOJu0YwFe2sydt39btTAfb8Ph/NQYlixNPXg9IdTuZlDlnYlepuj39PF 7GmkQ0bUcHXw+MS3JgEwpbb80w5Ajkv+m3KSFDSAlmxmquQnw2dz X-Google-Smtp-Source: AGHT+IEEPEHbmFKpDEhIVhgQPNqT88rVvqOmw5tPlFHrVpuX5vXa32ZKy/X+/Jzigl5dadnhr78QSA== X-Received: by 2002:a05:6a20:9695:b0:1bd:126e:b4c1 with SMTP id adf61e73a8af0-1bd126eb6c4mr3358782637.7.1719318052386; Tue, 25 Jun 2024 05:20:52 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:52 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 06/17] ARM: dts: aspeed: minerva: enable mdio3 Date: Tue, 25 Jun 2024 20:18:24 +0800 Message-Id: <20240625121835.751013-7-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052053_462180_8C6586AA X-CRM114-Status: GOOD ( 10.97 ) 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 From: Yang Chen Change usage of I2C bus 11 to mdio3. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 32400284479e..4d67ef29023c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -99,6 +99,10 @@ fixed-link { }; }; +&mdio3 { + status = "okay"; +}; + &fmc { status = "okay"; flash@0 { @@ -336,10 +340,6 @@ &i2c10 { status = "okay"; }; -&i2c11 { - status = "okay"; -}; - &i2c12 { status = "okay"; }; From patchwork Tue Jun 25 12:18:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711015 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 D4D13C30653 for ; Tue, 25 Jun 2024 12:21:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hnsLFvvKnkuLIEYBYSGcmnnHIoHb+QjNTsPSZ0S+a3o=; b=r2emjaAqxwJhbjr02BpKwVG8Ch K2/07Cic/foNVITV07xF2+IGYqcTjVY9nuHMKKg6bXe7Om6FL66RUBRoS4sdfgAHPOOJR743aJgw9 H2xRFiqOZa3xVAgegtvRI4f6WyJsUHJ/KFnPBMnxgoMAHv9NCcX/TxfrM/lKkBAX1DA4ual9MoHvu HZPAgfhZEyyc3cX86vOleDQfpzkuGSvzQJcY5rEjsx0M8uJrPWXjOxxpl636fSymvlDeDiuiD7qZr yiMyo4JSfAqkLMYk7hwDGuFT07qLr3b2RsobTdgXj6Hk5rWCAQqNUUMgLnr4f266WEq4xI35EWelN aAvo02MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5B2-00000002hhx-06GP; Tue, 25 Jun 2024 12:21:36 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AN-00000002hI0-2FSG for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:56 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-706642b4403so2177665b3a.1 for ; Tue, 25 Jun 2024 05:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318055; x=1719922855; darn=lists.infradead.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=hnsLFvvKnkuLIEYBYSGcmnnHIoHb+QjNTsPSZ0S+a3o=; b=PfZIa1ucdyNi8rB4JKWYRXI3gQa6rMAzOEF4MEe7rp8Wc1Fa9cfWb32wzNmWlQkmOE nf4K0qqOCVZllZ//jtLKxxgtxC9il72dS5JE7ChlvAwUBCtQBQJmtCWjN80Jo8USBMDt Ih9gBIkgBdd5upSCTniu2Ry4KdAOlyH8q8NUJs+TDLOeATkj1YUMEt+CCbPOW3uKpCeD CwFvgoU08IyIoSmUAg5XsQpIobp7sMMyAcG9tB8HWyBq4cEGiEcZjy4WB6rJ6S/8mvzu 9G1H9fz4Hv2anNHt0gSFQN5ZvwRrFxS4Mg+RcLJwYrCOdikBV+1ozhzuXH/AHXej5IDf H7hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318055; x=1719922855; 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=hnsLFvvKnkuLIEYBYSGcmnnHIoHb+QjNTsPSZ0S+a3o=; b=gtLJYlBZzvZdXGdorYcYMdmwBaAOmg3ZNc12+YgTwf2AFbOMAQIRkMFek2lNrq9u5q SsWtwDItcuDytlz/BEUMowE4K7oWDF7THERpGTSOW2M0RGwvqiqilJAtZqKnCn37N7zn qkRjlwLUXBREmtMBv+hdCyj6dWSohRTvFNqbvCyXv07UnDmoJZbg2RF2yxWz5aaOj3s+ XQWCZfAW4npKouR8FOyhVBl8eSlGvkv+g+2c3NAfqhaWeC0XOmXp68E+9jnQC/ZJFnUs Ghu8xvD44HVJscytuYPwSa+fplGI940U8V4Nfu2I12cS27SU7Qpk75e2oUtD338DgjEG cVDA== X-Forwarded-Encrypted: i=1; AJvYcCUylplHc24FBMHQsV+lJni1xHOgiae4v0LWXHchf+fpo1J4KyiD9J87dVUwtXhoffuKYMw/nmBreWzHCLra07wTRULFuH0jhjnVmFwz+w3+d/RKg/U= X-Gm-Message-State: AOJu0YwAV42+/s3Ckyw8hOp9GhLkRomMH2x7ZvLMFs16Zl+q6Dcdquls fqJrJLz7eDrgHexIl57X0cx0GSmdmGEvMbxX6Ub1Y5RT6zojDQVH X-Google-Smtp-Source: AGHT+IFG02b15F29ywDsOysrQbOuQkofJIJGxS0Uwd9bSBE8/lC5gO/YXSe8CYc3kdE6bpQiugt1hQ== X-Received: by 2002:a05:6a00:1d8d:b0:706:79fa:37d1 with SMTP id d2e1a72fcca58-7069145a734mr4696954b3a.17.1719318054585; Tue, 25 Jun 2024 05:20:54 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:54 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 07/17] ARM: dts: aspeed: minerva: remove unused bus and device Date: Tue, 25 Jun 2024 20:18:25 +0800 Message-Id: <20240625121835.751013-8-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052055_605069_F7A120E1 X-CRM114-Status: GOOD ( 10.15 ) 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 From: Yang Chen Remove unused bus and device. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 4 ---- 1 file changed, 4 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 4d67ef29023c..a80c46c1962d 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -336,10 +336,6 @@ rtc@51 { }; }; -&i2c10 { - status = "okay"; -}; - &i2c12 { status = "okay"; }; From patchwork Tue Jun 25 12:18:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711016 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 8E77CC2BBCA for ; Tue, 25 Jun 2024 12:21:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JdBPhx+OovP/ovtJQtq4zDvnsEmSZc35AhCTNpmRrOg=; b=lqxvqDpH3PZhhA+n4JGYhgwpoi dIiH9K9I0m4fK6sjeqos7DUNdvLhf3TG0VGw+741T56wZDSw+deFsuzS9DtUrFTVSv76J5BemkXDX 03otuu9vUDvdO35GcqFhgaOxpgZO/Y9/I8md/GkYtbXPl9pT/OtiqesItK9cH0K55R9MbcDmy65dF Tx3BCdBYcssbva9UIIQOQvrJRHzlZJDa5x7arK26vOSDr595Ae2UYZXLQrocXc6cm/nBqe7a5N8vJ eyWxpX+n/gIBFJXY141O5y+W4uEXRIP0BD9ce0lg3o1eoyBCj9OZ9HQeFXSs4SQDr7jWwbdFLHH6s UtqHmuXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5B9-00000002hmz-07Kz; Tue, 25 Jun 2024 12:21:43 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AP-00000002hJK-2iaP for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:20:58 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-706642b4403so2177703b3a.1 for ; Tue, 25 Jun 2024 05:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318057; x=1719922857; darn=lists.infradead.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=JdBPhx+OovP/ovtJQtq4zDvnsEmSZc35AhCTNpmRrOg=; b=VeqOiCHEcSbRIhgr0L0s17nBgA4IiB7oQcT4gEQgNN3vQvhGc1jHi0hUvGl+JPRmoQ ji1QrWSMa6RWLBHaaHIVTVW7U3QN1vnqOVH/xH/JEjG1N1KK+V363pqMRcmqMSdtKKFb J6nzVfXSqhzz4tlN41JMh9U2APsfTwvGvY0+KO+vkxnREQZOWETonVKno98UJ313/D2c WBpVIwvklurkB2lJb2nxYGBYs1Q4+6qmrWCKphpW40n9JxYrndY5CTPMV2+PxEnDq7Wk SBpxvv0pHnNyOjw5HlnuVOkRhwmSa99oEkHb0rBTr0rQASTCiSc8+WCrQHPvqHBQAgB8 vBiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318057; x=1719922857; 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=JdBPhx+OovP/ovtJQtq4zDvnsEmSZc35AhCTNpmRrOg=; b=jGOI9CKr+Pij5DfeFnV25choBn67DKqNFIPvZ6huTizPIdFrh0Jf6EkXEMAECrlWAT 2npzarJkH8W424YhwHnQ7xtEhun8S+cRkLDfoIp7x9qKWyLXAQ/VZFlnfgJvOIHsu6gH tRlJ8ZA+B2NT3y/udNUpoTHlc8S4QA8q9jVzrJORa8oTQTWf39C9cP5+FcH5/frH8A2b nhgIOE/cn6N4yVXHwhN+kFUvIFJhlZpeSAgO2L7B/DK8xLe2Q2Psq0v1qEzO28givkqK wAvL/4RQqAHFIObt/31P/b2aJNh/ffXZwk+DdAek8gbK9C/vQKh/OENpFAqC2xtp2ne+ A5cw== X-Forwarded-Encrypted: i=1; AJvYcCVh9InPgcsmV0dvcbHTMOXDhJCQ2yvuGsrPwb87vW0zylwgBlSkEMGfCKev1NBrk0/uvO0ae3mJxky42igUZs6P3JNU65Pv+TjmC67VM693yU0YkXE= X-Gm-Message-State: AOJu0Yw4ZBwkt+qROlQZgDeXcRtM9cD2QT7uGF/VBlG7FnXf1P5ZVgDx jvmfO9sFvUhXfCqFnZqWhu3t23gvywGloGwPEDNiYUk1bncdABRt X-Google-Smtp-Source: AGHT+IET4IPVYeOD3BB8CFBKQsqIv79DMcHv+zGwNeMOfbYW+uYOV+eps3+r6O3SeM+QR5TKqc6iuQ== X-Received: by 2002:a05:6a20:5a91:b0:1bc:baef:63c3 with SMTP id adf61e73a8af0-1bcec92bf92mr8939905637.9.1719318056759; Tue, 25 Jun 2024 05:20:56 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:56 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 08/17] ARM: dts: aspeed: minerva: Define the LEDs node name Date: Tue, 25 Jun 2024 20:18:26 +0800 Message-Id: <20240625121835.751013-9-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052057_734423_4E1DCE85 X-CRM114-Status: GOOD ( 10.98 ) 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 From: Yang Chen Define the LEDs node name. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 28 +++++++++++++++++-- 1 file changed, 26 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 a80c46c1962d..bea389d1e90b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -46,11 +46,35 @@ iio-hwmon { leds { compatible = "gpio-leds"; - led-fan-fault { - label = "led-fan-fault"; + led-0 { + label = "bmc_heartbeat_amber"; + gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + + led-1 { + label = "fp_id_amber"; + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; + }; + + led-2 { + label = "power_blue"; + default-state = "off"; + gpios = <&gpio0 ASPEED_GPIO(P, 4) GPIO_ACTIVE_HIGH>; + }; + + led-3 { + label = "fan_status_led"; gpios = <&leds_gpio 9 GPIO_ACTIVE_HIGH>; default-state = "off"; }; + + led-4 { + label = "fan_fault_led_n"; + gpios = <&leds_gpio 10 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; }; spi_gpio: spi-gpio { From patchwork Tue Jun 25 12:18:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711028 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 57454C2BBCA for ; Tue, 25 Jun 2024 12:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vn92Ddq0IvoImB657oaMQiSF86tgeTAhup9iBLRfd7s=; b=DYJZWaVzVUej0SlZLrei9jadxm mqEYZz1ozrB8Ow9dlgjWWUOh4/swx+yvMXglTcjrV8PJEG8ku44rqZRTzRNQHD3NmJPgS86xQxPL3 d52g3RoF76o+gZgL05P8giarJHeCahuT3Y0+TWC2cgzat+da3L7oIYuLXEBSLgtinNYfnTgtTnCws WnqfcvOjdKNmQmSa0qV13zXt2BRiCKGb384ST9jhjpZfyDxskiqlnEJ5GTrJGLDiO3k7x7eDAMNyW VQ8RpxtgfudZXIuOnUbIEOLbmk19JQn1nipAUGz/jcljdRLFQC0ZetrvGgl6QiyB/9aNH1DLSPRs6 oOqR3Qww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5BC-00000002hpE-3uGI; Tue, 25 Jun 2024 12:21:46 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5AR-00000002hKk-2iFh for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:01 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-70666aceb5bso2446462b3a.1 for ; Tue, 25 Jun 2024 05:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318059; x=1719922859; darn=lists.infradead.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=vn92Ddq0IvoImB657oaMQiSF86tgeTAhup9iBLRfd7s=; b=cHRh8Fsm6G/zKAQFs/bSqgEXks0SIJQUew3jFNt+i4+xH+2qXxWP1dd2MO8Frsexu/ /I3W/GS/UEwukTciLHjh5MN5Ocrj8nUju+ENg5i9e63VIzhmhgAaXMqwY7TUq7awhHM4 Sb9oT+C8El4U6FAH6ojeyIoCkOS6Et2X5SBHyDimKF7XlEWjGwUwdIoOok3BRepCiwKd VFUDJpx3jrD/yciqC+gcXS/pJQQdnqRnzds9Hgsvdc34M/yWCtkr1lHC4McLgd94istn empLIY3I8Y+7M5ShuNo1FiQ22FBnLkbrdr246sgxkwXdRDxEtQrIesQ+ZPla93z7DWGI bM9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318059; x=1719922859; 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=vn92Ddq0IvoImB657oaMQiSF86tgeTAhup9iBLRfd7s=; b=vDiblc8QugCOlD/86Xarm1OyOh8eE2J1lH8B6xiFxoamdZe0gh6kpMEqPNjcdVa1L3 u9IBVbtMfD9jHzpgrOIEwHCdPrSJZwcFIZ1558g86R19fNhWRdcjLRNsgkMS4sLcw1iY 3lJvMl0t40SyPoQwXc82l81Z9Q7Jb6YFbDT3wsYh6PnGRJPXIkYk46zYDUSl5z0TSGsW t1UuFDKXmZGCYVy63PP/CzNq03MtDEqGr1bchySvULBd51XkAtcLlpEmGXVHoIjvAvM+ aCgeCEVoVwnaJhfRO2zyvv4ESesIdPVKVzbTYngFaPnQPCEvoVc1UMbMQWkF5TDTD8bJ j1sQ== X-Forwarded-Encrypted: i=1; AJvYcCUGPObDIPJlBAe7jLQCQVY/bWSoEsB9l8mH9Thlzg+6vfcmUUff+HTS7pX7IovQWNlq4wHWq/YCY/cEyb+BOHPsQoclji/QWFiNfp0NGPJ0BTb8fO4= X-Gm-Message-State: AOJu0YwyPsjC0YYxvTql+qIHvE2deXryZhI4b2iK9Vkba7Z8PSCoYs4t CvQxS8+TF8yKKpfpKLjCHPHamhgme3vf4SlyvClstOCb3ztbRE6h X-Google-Smtp-Source: AGHT+IEm2L4+wB8BjdmsEdQwOKUL69wYUftO7+oTnX3eqEeV5rpyfma1fPEq0sib2QsRvoiUGVKdIg== X-Received: by 2002:a05:6a00:2da0:b0:706:1edc:79af with SMTP id d2e1a72fcca58-706746b8ff7mr7886885b3a.22.1719318058945; Tue, 25 Jun 2024 05:20:58 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:20:58 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 09/17] ARM: dts: aspeed: minerva: Add adc sensors for fan board Date: Tue, 25 Jun 2024 20:18:27 +0800 Message-Id: <20240625121835.751013-10-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052059_744505_9B1E89CE X-CRM114-Status: GOOD ( 10.15 ) 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 From: Yang Chen Add ina238 support to read the sensors in front of fans. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 144 ++++++++++++++++++ 1 file changed, 144 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 bea389d1e90b..60beda2737a1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -228,6 +228,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; imux17: i2c@1 { @@ -246,6 +270,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; imux18: i2c@2 { @@ -264,6 +312,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; imux19: i2c@3 { @@ -282,6 +354,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; imux20: i2c@4 { @@ -300,6 +396,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; imux21: i2c@5 { @@ -318,6 +438,30 @@ pwm@5e{ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; }; }; From patchwork Tue Jun 25 12:18:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711029 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 270C7C2BBCA for ; Tue, 25 Jun 2024 12:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K+uu0rzbI9pJ3uqj4sfpv2TDkc5Xd8qKMrPrJB5mTeA=; b=yJamK1MEhLs00jUCUz2/eA/ryi mERQXv4qMDuivUQVh5VL3tuhbm/M2aee8YiPA5lHjkHwSQN1MFQDsNWvtOB02t/b12L3D0qCNpJzU dDMgaj6ME2Po3XPOVlsRH7K8KNNZW+kq6ikpp6FdGQeDgVs8/fLn9CO4Crh3afKOvrbRM6olFRyin LCHlp2SsBkT7yiXgEx3pOqoh14cS0XC17G1KNeVj7kghy/BZfu+X2oRxZJ8dcsX8DM2BgcitTHpiV qJda7SlU+kitbuI7b+eYK31Cvu1Ugg6czmWYHyIVOQ/gUriNJWJdvHFUAnnZ/CFhOq+EJX7I/Xafa SD+vmlkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5BM-00000002hx6-0YS2; Tue, 25 Jun 2024 12:21:56 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ad-00000002hLp-37Y6 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:13 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3d516d3f0b2so3245257b6e.1 for ; Tue, 25 Jun 2024 05:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318061; x=1719922861; darn=lists.infradead.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=K+uu0rzbI9pJ3uqj4sfpv2TDkc5Xd8qKMrPrJB5mTeA=; b=iyIs4+QpzZEf6Cto88vGGoVUfahHGHAfbJ3nmv+yApGTerv+KiNGTjsirhPWt/kQJZ RY0hEbWstqgWwPuYi71GHy/4EUL8ecFHdQ01FN8ufYD8hpXKezPLpxdv1Qz4ZapYFeKC b1oYv8Qoh1pr/0KSPnKMuLsDzfnoOzYCdaXcoje8RdRscxTdKIyeB6JNwetaqTx/Ch0x tHgM3FVayg758wEXO+1jEE89NR1mYrIRGrXQnKa+4A9UPn0+fE7Xpohb0rnyzCASasOS 2ZP1YYMvFc1tpM+b36gysscrzxUDLnv8uxb/btpVmPCMXhVLm9NAOksVIRlatMuwuKPa pXcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318061; x=1719922861; 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=K+uu0rzbI9pJ3uqj4sfpv2TDkc5Xd8qKMrPrJB5mTeA=; b=qR+Aa8n+G8Lr1I8/YphvgN+AUYLWSihLInI5H7eWR5xUsjE6CXWtLFmBALTTw4p0i9 UvndQtVqr6HNsnMnFaog7OKs0Y6cwm1hvQMSgPa84NrX4lfr7lBHALVXnpuhPrJWexPz opTksGfwG6TmWaqJsA9jK60a3R0CfvNyfgO6BufuHTaM2+fS5XvY/u4i2xBby7LGs80A Gh+4zzo5HLEpwK2EbKwkYMV6nRzwEoMeh839TpvwTg0KoTrsAHgef/47S/PujED5HssY Pg+lpiKzqcaUiOpPpJyyHQwxMhg/cLloq/4a71C9UfxxDV+cpUj5CtvFeCFcaSW41uVn dlSg== X-Forwarded-Encrypted: i=1; AJvYcCWjFi84i/2EQL37rLJlGUYZ+5cUbu+lB4YjfgCbJwDvX4/wAfITkaeMYKgmoqj7gbzcFm9olkjqPpXZNL2v0to5iEBpseexjmdsDMoJkRTmeD0TawA= X-Gm-Message-State: AOJu0YzfGx+Ikl55FPWAHuiIi3F7e3nIYF561BDWWoJiRPNq401WsAi4 Hkam6+c2clh+mHQRSKyPXCot4qBg+JKkvMKzL0C53fZhal4O/LE0 X-Google-Smtp-Source: AGHT+IFzlgZ9Z+5jCEawQ1SiycpI5lPWJJJD0pvdaDoBayUOkNEUq+4qzUui5ha/KmND4tslTbZuqA== X-Received: by 2002:a05:6870:568d:b0:258:476d:a793 with SMTP id 586e51a60fabf-25d06c3133amr6758374fac.19.1719318061201; Tue, 25 Jun 2024 05:21:01 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:00 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 10/17] ARM: dts: aspeed: minerva: add linename of two pins Date: Tue, 25 Jun 2024 20:18:28 +0800 Message-Id: <20240625121835.751013-11-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052111_872947_4AB97D63 X-CRM114-Status: GOOD ( 10.89 ) 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 From: Yang Chen Add linename of two pins for power good/control. 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 60beda2737a1..58a083536c79 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -578,12 +578,12 @@ &gpio0 { /*N0-N7*/ "","","","","","","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","", - /*Q0-Q7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","power-chassis-control","","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", - /*V0-V7*/ "","","","","BAT_DETECT","","","", + /*V0-V7*/ "","","","","BAT_DETECT","","power-chassis-good","", /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","BLADE_UART_SEL3","","","","","", /*Y0-Y7*/ "","","","","","","","", From patchwork Tue Jun 25 12:18:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711032 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 BF57EC2BBCA for ; Tue, 25 Jun 2024 12:22:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GXlYaImuhyzLH4pYO5uD8xNkBf2rJUj2xPuv+IWcoog=; b=r0t/KdVxXfGqtrjo02WVBSThEN q018TEmKWHL6NzshUn83ulx2tapBYVcZXIMaXzcO3QIVZoyfiIHxregXqdayHbEnB/a9yE21Da8Gj gSY1W3Y5zSGusLJXpNW5v/chldGu7Ihza3YxWlKEEKooZwNu7sFr4IYsBMMCTgq/d8pLClZuWw0dI 2mI/OqtKwOnifDD0lKlHsdtrbwVCIxaCtQMOscFKUxGDT5AuIstE8Hsiwnpv38juP09tOX89Np6nK l0gthFhZfPB3wKHh1JG01pl0jN/glI6MXgIJK8kbJPNceTEe6ZWYImRmY+esqDD3k+SFN3R0Csg43 lTQW5hxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Be-00000002iAh-0Pno; Tue, 25 Jun 2024 12:22:14 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ae-00000002hMz-3tsz for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:15 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-706642b4403so2177789b3a.1 for ; Tue, 25 Jun 2024 05:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318063; x=1719922863; darn=lists.infradead.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=GXlYaImuhyzLH4pYO5uD8xNkBf2rJUj2xPuv+IWcoog=; b=SpJw3Ugi1GLz9IHAm2+A9uL2doD3vcrxtP43XUSkyTmYvHBHWA2+Z7LEdLk6oAAR1v HKHX2O8m92UK7RgKdc8FmiE2G0/nHFMjh2oTSlJHGq7e/ga+h6DxWR+yXFjy4pL6Moxe II+7LyzTW6OaZqCce1jZd2GYO/+YnlDXBFqJoyU0tzswUny7v3bcZysXReFdNUpJQhJf yKCOocO5B6ch9fUMOIUuhfErXE/rjZHsXk5b7MHDj8emyqTIgra+FcEGtDYhYkjN94x7 xOf0NxsI7mg/ZPQNfLjmaGTlI9u9T8uG8hXz3BL91AD5czaryjW1EDmZCOTSI31rmYY6 clQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318063; x=1719922863; 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=GXlYaImuhyzLH4pYO5uD8xNkBf2rJUj2xPuv+IWcoog=; b=luu4ElHCwBW/Qsbu76CeinGP6fnFWIhynS2ubgpQt4oRZbYI4kbDpMukqJqQi4g4ID bhW1FS159uKHjxebZjuYcryDemy6IYecTucx8oSdqjnv7yPcx9AgqGRbXgwF3zBxlkTN nhsc+0MFHm2lFvICtdM/pWgxIAx5l2g6k+Q1FM1qf/MVWzLUeyZQOhdMFVqj8QNLtKXw o43oFqTMnAbeFNW80lDfZvn1qvLcBz8b2eC25eeV0lYIihTGifNiRqC+4O8YmAVAbMux X4tSpynHd3m7Jk9FUBvhxkRVumTE6FL7OFXBJHOBi2dVPKNpmqentqI1TmCNlTIGAsZa 5sWA== X-Forwarded-Encrypted: i=1; AJvYcCXRf4gtrZLZCSHLD9P2cj+a2RV9j9bGw7It/z3cjW1gBz55kAH93/qKf9wRsRI8YoTq3JCLQ/zG6/hHwzSvcw+BLMc73/83joraEYX/GnMAdNWuGDE= X-Gm-Message-State: AOJu0YyBPL4Zd2KuWEDoJ4A4xJ4yrEwvIkQ01Fhh0a8QTouGd22EK8Nw dKmvtDDHBcVViip6W0gZ3GbaYkIwqImIUFh4kad0meF0I0vg+RVd X-Google-Smtp-Source: AGHT+IF9+MgAE+eccf+8vrgxyv+i3L+xcqs0riGfMjQXInNcrydpeZHHWE5cWwB4YshZn99ZhQ9Jwg== X-Received: by 2002:a05:6a20:1719:b0:1bd:25bd:ef6f with SMTP id adf61e73a8af0-1bd25bdf203mr972374637.18.1719318063337; Tue, 25 Jun 2024 05:21:03 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:02 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 11/17] ARM: dts: aspeed: minerva: enable ehci0 for USB Date: Tue, 25 Jun 2024 20:18:29 +0800 Message-Id: <20240625121835.751013-12-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052113_027179_0B6B6BE7 X-CRM114-Status: UNSURE ( 9.74 ) 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 From: Yang Chen Enable ehci0 for USB. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 4 ++++ 1 file changed, 4 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 58a083536c79..830616663387 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -552,6 +552,10 @@ &adc1 { pinctrl-0 = <&pinctrl_adc10_default>; }; +&ehci0 { + status = "okay"; +}; + &ehci1 { status = "okay"; }; From patchwork Tue Jun 25 12:18:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711030 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 C5BBAC30653 for ; Tue, 25 Jun 2024 12:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hWdNsyhmh0vXBB+FB8HVJv+VLwSHu6Zd+4+7Sq4/Gys=; b=EXKMYU8NymNpi3PWRPTy2TiKQZ sbSy0baHxO2985faXOZqQHCkdjP3GAcOUAw+P3l2Uehpy7amFIcYvQArvI6/qaPjAkXlIkhmv1poI JIjmq1Nd0i7gggXpXmoySNbmYl9QEsyUupXMneoHaVv4M12+uylsk4OeoMfeLMiadtiQulM9fqSkq xTb0bAOddO0nK+F+YsYhxZLBKlOGY6kKyFEuFIEnXWpeLKm+RpvVZZpbgM7XkLGtwKRRQmUCY9lyF G2AfGVD440pAsLYG4dqjskjmegPNPIK4A3ccW8Z8kVffT/OMj3wifdOoHlkuqNC+fL/wpmuo8Wt/F xytV35Gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5BR-00000002i1F-3KeN; Tue, 25 Jun 2024 12:22:01 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ae-00000002hNm-3nZL for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:14 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-24542b8607fso2690905fac.1 for ; Tue, 25 Jun 2024 05:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318065; x=1719922865; darn=lists.infradead.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=hWdNsyhmh0vXBB+FB8HVJv+VLwSHu6Zd+4+7Sq4/Gys=; b=ZLGomXv5/q+MmxcTrjirXKa8eZYdJ/eHGOZuFGe9oozgHg19PHnglTTdTgqQP7vd8q zGcppaQm0qwIIaqRJtYjWcvZDbIPHaVYSBcmkT/cC2oqNQSOaWL5ves8VKyVbrTaxtme 2eLCGO+3Zh4BrFPrOCeemzRSanwdB9Nxrc8OmDUDtd9jXt70hzxhy/wo0aeVFyT+Lnx9 G7K1cVaKPH8t6WfNlYbzjlnOKzqYSDLhgp7a4pWBfBhAjHXiqSWC3tWT35EpFiwm4wKL ZpmofdE0RsDL8XJUNMZbZe4q2DECKjzwfhjqgyxRbSJ1ab08KNTADOeWzNcXlE+faZmv YXsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318065; x=1719922865; 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=hWdNsyhmh0vXBB+FB8HVJv+VLwSHu6Zd+4+7Sq4/Gys=; b=pTYAiwwc7yGaFabuKrU/3Z13dRELOTuX/MTdK2l8aYl9en3pd9phsxyLbVHkf56CUX rKBUk9pmoNPb/i5YyCDEV44ZwWHeCpl2w24XjZR46XYB3YBqQe+882E9Nzt3fv5XMjBo ZSY/nrlRPzUf89CGlZc3Sr3CluwJo4sTdk1d19YNKeQLjahjN/r9Aknq5FLWV4XLqwuI bcGOHr1DWhFJW63G5uQTC2zOYi3KTyQkvSz1DxoFMM0NN7pXNPNs/aRW2Z0+UxZuZQXE IAYPzWgtIMms+2ZqJEQAFUIFYivpDj2zPintPJs1nTayFTqe4iycA0yglTGd08wyijl2 Q3wg== X-Forwarded-Encrypted: i=1; AJvYcCWpG3UkzMGJXdwz9OspOVHa01TtlwH8eDmT374WdL1snl6KzQwJqaoLYz28ayE/+GriuOykJm8Lxt4rw1Oac73hDPLSGRCs/ecL0wEsviDny9KTnTo= X-Gm-Message-State: AOJu0Yy1cYO4bLYMDVBrQKdOL4OWUbS1WG/Nx0VVsa1bEC+p/qirzU/g cIwLXzeCGeWvNZMW36nyKmCLLNgbxkTuv4RN5V2VUryCODxsYdRv X-Google-Smtp-Source: AGHT+IGEFlDZVv53UK/DWcjhJ5G3xA9To81EmBORmmF3gelkm71OH5zcWSvbKLKm5WYPYDqrvKMvbQ== X-Received: by 2002:a05:6870:4208:b0:25a:6d14:f84a with SMTP id 586e51a60fabf-25d06e37917mr7520760fac.42.1719318065571; Tue, 25 Jun 2024 05:21:05 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:05 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 12/17] ARM: dts: aspeed: minerva: add tmp75 sensor Date: Tue, 25 Jun 2024 20:18:30 +0800 Message-Id: <20240625121835.751013-13-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052113_019930_0216A33D X-CRM114-Status: UNSURE ( 9.92 ) 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 From: Yang Chen Add tmp75 sensor on the i2c bus connect to each fan board. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 28 +++++++++++++++++++ 1 file changed, 28 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 830616663387..7f6df8750953 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -252,6 +252,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; imux17: i2c@1 { @@ -294,6 +299,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; imux18: i2c@2 { @@ -336,6 +346,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; imux19: i2c@3 { @@ -378,6 +393,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; imux20: i2c@4 { @@ -420,6 +440,10 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; imux21: i2c@5 { @@ -462,6 +486,10 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; }; }; From patchwork Tue Jun 25 12:18:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711031 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 ABC3EC2BBCA for ; Tue, 25 Jun 2024 12:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Zx72SI7/2IoQxOX1b/fnYis0HzPlfSdpK4NVpZfxV7Q=; b=PUtnYfPPApwN5BDNYftpA3eEXK 2mI/8sQJEvkE0HSU2wkn5TC1YYtKOOb15jMXo+4BBjRaszdpHxw1zqJhsIUvSGpEqMH+2wjO+Ruj9 xtjde0guzMhk17UuJteFf6ZI+EEVzvnBSURvv4joIxmoqFjGMpTwwrNBOfH2QuJbsqFqW83ub4Jr1 JbC9uBkjaGplqs4A7FotvXvrcqI4eFwaTDqhxv5LDoV8f46VeCPWXv6L/mHT9e3yZnAAdwwPcPJ95 xNvPNklzhl27WeRd58OgIw+9tFpC65bfpjJHAmCYyawXei+UAi6FMPnXUzEP41oty7CTlJ1Cwh1Tv wVPScYmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5BX-00000002i5h-1qY3; Tue, 25 Jun 2024 12:22:07 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ae-00000002hOJ-3vQw for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:15 +0000 Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-375f5c3ddb1so22726675ab.1 for ; Tue, 25 Jun 2024 05:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318068; x=1719922868; darn=lists.infradead.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=Zx72SI7/2IoQxOX1b/fnYis0HzPlfSdpK4NVpZfxV7Q=; b=F6PLAcTIMJ7F3AQTgqvvLwmr0IFeiylGdLbcZ2rRgtapBN++oVhjrXOM4GIbRO8u+n H5bsGsvQScL7B9kIfeYyDjtDR0d6D5bOa/Mcm4MJoQHKlSlCRjPps/wLkc2bf7HE98+x VDtp3xNjbHdcn8TgAfjYdCDtrdJzr5/JLEafJQRidMVCwklsvlfHuVWreYjuuKtl5bPf zLWj6/XJ275HegQjePZknj1tAh0NrP6OYjx5aFDMvm7EA9vn+gqb5CDqPnLTTq8mHyFW hvp7KVj54E3p14ID5hd9MQytVVD41W8K9S0i1bMgqsud62PdUujHGH52TXzpsU/wfHIC nwjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318068; x=1719922868; 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=Zx72SI7/2IoQxOX1b/fnYis0HzPlfSdpK4NVpZfxV7Q=; b=gUlpPlL2CQw+RYbOItM9PeBDSu9SXkACzpzCyx4M3lI+8rE3ww89yms+NhBranOWq3 Ci3H8TFnyQsBNhFPf6T9y9RKN6CEXJ//Q2cVj2NJUgKaWAVS1kgKOjrCLSh6Of8n8a1P 0QQf79+bOPOR3rDt4t11eP5qgLWMnBCnr02uEvApACKO9P87leYyewKQ3qSB9VoEouj1 Fl5dtnDLXlgwL9SDoOSJZPmXtxEVgcGl5hZhsnyeaKd/O1+jwYFEfMODFUzi2VJqxb7G FY49ePD/4s9+qM66RxQ09pOwn5jaqbeIPcwfcae10h11SobVKLuFDU4Qrqogr2gwW8qn D6Kw== X-Forwarded-Encrypted: i=1; AJvYcCWu8YXrdehnY8oDMF5b2JBK7nuZfGUUHx1l9IaCgO3RHpPzmr2PfQ4eVxFugtIUh8/vq6WnIJ8fHoaw4bS3mFkf5sFOg5Wr+JV834tJlyISL2yoS5A= X-Gm-Message-State: AOJu0YzwecUbcNnWpmmVukmVf2kaWvK7J+PsHNuT6s5amBaoonNnNoRO 3zdpsL9wbkARi9sJb7qn0jXJYnq6zvm68cQK4mEvO/pxrlk1oAwy90wAsDWr X-Google-Smtp-Source: AGHT+IHOZoufCr8RHeLNcTuCCK9wtsYm/Zv5j+dnx22Bzhr+SOZilu3p95OTzvWMtGuQrrJqvyzVsQ== X-Received: by 2002:a05:6e02:1d0f:b0:375:b57b:877b with SMTP id e9e14a558f8ab-3763f60dc49mr91838265ab.10.1719318067752; Tue, 25 Jun 2024 05:21:07 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:07 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 13/17] ARM: dts: minerva: add power monitor xdp710 Date: Tue, 25 Jun 2024 20:18:31 +0800 Message-Id: <20240625121835.751013-14-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052113_041902_5B08F460 X-CRM114-Status: GOOD ( 10.07 ) 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 From: Yang Chen Add HSC xdp710 on i2c bus0. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 5 +++++ 1 file changed, 5 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 7f6df8750953..dd8240279ed4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -175,6 +175,11 @@ power-monitor@68 { reg = <0x68>; }; + power-monitor@43 { + compatible = "infineon,xdp710"; + reg = <0x43>; + }; + leds_gpio: gpio@19 { compatible = "nxp,pca9555"; reg = <0x19>; From patchwork Tue Jun 25 12:18:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711034 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 AE388C30653 for ; Tue, 25 Jun 2024 12:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Hhha6JRCOb6gAYDBXV6ZgA+HlrZsYEj5qiTcZBstJAM=; b=NFiiaAAm47eTEZZTm1XYI1ew72 fgUgyV33LugbwJKYA886EcC5LgZ4qF2wWKX75aUqw114wpO2AYkRcAdM/LUDcJV8U8GeXjs4N8dFW ypY1zptist0aUxbAWNoiMxIYFFUT43o3ZHqyaHe6eE4paPLypql3iqTK0WLqfKSRqjQTF9GJRD96k qnx3CtTE21+WW7POHpIhxaMEh7CHe/D790yAzwbt5kZMW5yqe/A4BjT7ncUNWvma8a1bElCPa0W+G UcfdJZRae83c0el9CRoSjEH9u5GDphD0mRNRd1Ab21XenRAtKwoF9hpwS74CFgojgkSL22NZxiZFJ XjadoJdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Bs-00000002iMz-2uBG; Tue, 25 Jun 2024 12:22:28 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Af-00000002hOj-106E for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:16 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-70698bcd19eso488968b3a.0 for ; Tue, 25 Jun 2024 05:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318070; x=1719922870; darn=lists.infradead.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=Hhha6JRCOb6gAYDBXV6ZgA+HlrZsYEj5qiTcZBstJAM=; b=mtLigQTDkQw8wnE5ARMtzSzeFjyAkc9pVQqc9cEJHvNehSIIqbflaGdxlEDoctt/s4 f4VgVhbJGYiiOPj68kv5UziwuQQUMkp9WiWIbfH3FkHCipCLSsW5lhNKVhUGORLlVzPx kpsUvIR1Vv9FVSXv4gbve3r2iCIwxN9iPnXULYvOnzolSRqZKNaYz+muXs+NlJor892h XuWjePjq0R4hnr573ZEPmPW4iWcECTJX5yq59tshkc3E5ICmyXY/wliAdB4DhstM6O3L k6hDp20DRhoP5uu46SprQwTniCHUPdjVkn91jWLd+XmXGlJa0DY8+/5dsiiqaZRu2+bG nTeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318070; x=1719922870; 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=Hhha6JRCOb6gAYDBXV6ZgA+HlrZsYEj5qiTcZBstJAM=; b=HkPajSMRkZF0WEY+ctNqtjlmnKNUeqGYL+1N2LAq6Q1/SHDslAAiRioC3LGU9IM+UN NZVaoqvyC4Ugw415ltKPQLkXy0bNIE26HfY2oBl46L3OIXDLK1ODeGoT7+e17SlvTBOI jV6Ll9Pv/7yR/MVk7rBkfNUa7TajvbmAqWfOC7IfPG4O9UjWxZ9/DxSlQivtQjkHKlbk 0jp1LFYOno+MFBCG2zgHLQSJoWLYpBcStPbONuLJSUc8SxzxCxZFranyl+lGmHWzVS8L aBvEAOreisuTGkQ3uNBGNIn2gjj7a7XTu/sQG6PNn/ghdTDxrT0m0+xTPnbiyo3xmIUC sRyA== X-Forwarded-Encrypted: i=1; AJvYcCWu3e3MoxLYHq5GJA4iw5C7wksuMnh86SOq24UaUgebP1UC8OL+Be4e31UOlN420eJbwmTa84gAThWA/CHvGjJiujdG8FT5dTv07BRH7kRrM5YXGdE= X-Gm-Message-State: AOJu0YzAM/FRSBnD36KoV69+HIj/hGzrQh24QXGQIh+2+xs7gFH0CH8D VYVwhuAmSlpcUE8LvBdzB+A+h3tzipR1gKS+lUvPqgdnPUsfSTIu X-Google-Smtp-Source: AGHT+IEATxWX60+S/t29A6gaD3hFuKNO4FWD3WqY/9HHqHsltkiigWrM9ekGL/OuPuROE4zT90sa4g== X-Received: by 2002:a05:6a00:18a3:b0:706:616d:2216 with SMTP id d2e1a72fcca58-706745a9f0fmr7509334b3a.17.1719318069998; Tue, 25 Jun 2024 05:21:09 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:09 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 14/17] ARM: dts: aspeed: minerva: revise sgpio line name Date: Tue, 25 Jun 2024 20:18:32 +0800 Message-Id: <20240625121835.751013-15-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052113_339313_E0BAEE9A X-CRM114-Status: UNSURE ( 9.44 ) 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 From: Yang Chen Revise the SGPIO naming to mapping the SGPIO from the CPLD. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 236 +++++++++--------- 1 file changed, 118 insertions(+), 118 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 dd8240279ed4..ba67422a49b2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -631,118 +631,118 @@ &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", + "PRSNT_MTIA_BLADE0_N","PWREN_MTIA_BLADE0_EN_N", + "PRSNT_MTIA_BLADE1_N","PWREN_MTIA_BLADE1_EN_N", + "PRSNT_MTIA_BLADE2_N","PWREN_MTIA_BLADE2_EN_N", + "PRSNT_MTIA_BLADE3_N","PWREN_MTIA_BLADE3_EN_N", + "PRSNT_MTIA_BLADE4_N","PWREN_MTIA_BLADE4_EN_N", + "PRSNT_MTIA_BLADE5_N","PWREN_MTIA_BLADE5_EN_N", + "PRSNT_MTIA_BLADE6_N","PWREN_MTIA_BLADE6_EN_N", + "PRSNT_MTIA_BLADE7_N","PWREN_MTIA_BLADE7_EN_N", /*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", + "PRSNT_MTIA_BLADE8_N","PWREN_MTIA_BLADE8_EN_N", + "PRSNT_MTIA_BLADE9_N","PWREN_MTIA_BLADE9_EN_N", + "PRSNT_MTIA_BLADE10_N","PWREN_MTIA_BLADE10_EN_N", + "PRSNT_MTIA_BLADE11_N","PWREN_MTIA_BLADE11_EN_N", + "PRSNT_MTIA_BLADE12_N","PWREN_MTIA_BLADE12_EN_N", + "PRSNT_MTIA_BLADE13_N","PWREN_MTIA_BLADE13_EN_N", + "PRSNT_MTIA_BLADE14_N","PWREN_MTIA_BLADE14_EN_N", + "PRSNT_MTIA_BLADE15_N","PWREN_MTIA_BLADE15_EN_N", /*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", + "PRSNT_NW_BLADE0_N","PWREN_NW_BLADE0_EN_N", + "PRSNT_NW_BLADE1_N","PWREN_NW_BLADE1_EN_N", + "PRSNT_NW_BLADE2_N","PWREN_NW_BLADE2_EN_N", + "PRSNT_NW_BLADE3_N","PWREN_NW_BLADE3_EN_N", + "PRSNT_NW_BLADE4_N","PWREN_NW_BLADE4_EN_N", + "PRSNT_NW_BLADE5_N","PWREN_NW_BLADE5_EN_N", + "PRSNT_FCB_TOP_0_N","PWREN_MTIA_BLADE0_HSC_EN_N", + "PRSNT_FCB_TOP_1_N","PWREN_MTIA_BLADE1_HSC_EN_N", /*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", + "PRSNT_FCB_MIDDLE_0_N","PWREN_MTIA_BLADE2_HSC_EN_N", + "PRSNT_FCB_MIDDLE_1_N","PWREN_MTIA_BLADE3_HSC_EN_N", + "PRSNT_FCB_BOTTOM_1_N","PWREN_MTIA_BLADE4_HSC_EN_N", + "PRSNT_FCB_BOTTOM_0_N","PWREN_MTIA_BLADE5_HSC_EN_N", + "PWRGD_MTIA_BLADE0_PWROK_N","PWREN_MTIA_BLADE6_HSC_EN_N", + "PWRGD_MTIA_BLADE1_PWROK_N","PWREN_MTIA_BLADE7_HSC_EN_N", + "PWRGD_MTIA_BLADE2_PWROK_N","PWREN_MTIA_BLADE8_HSC_EN_N", + "PWRGD_MTIA_BLADE3_PWROK_N","PWREN_MTIA_BLADE9_HSC_EN_N", /*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", + "PWRGD_MTIA_BLADE4_PWROK_N","PWREN_MTIA_BLADE10_HSC_EN_N", + "PWRGD_MTIA_BLADE5_PWROK_N","PWREN_MTIA_BLADE11_HSC_EN_N", + "PWRGD_MTIA_BLADE6_PWROK_N","PWREN_MTIA_BLADE12_HSC_EN_N", + "PWRGD_MTIA_BLADE7_PWROK_N","PWREN_MTIA_BLADE13_HSC_EN_N", + "PWRGD_MTIA_BLADE8_PWROK_N","PWREN_MTIA_BLADE14_HSC_EN_N", + "PWRGD_MTIA_BLADE9_PWROK_N","PWREN_MTIA_BLADE15_HSC_EN_N", + "PWRGD_MTIA_BLADE10_PWROK_N","PWREN_NW_BLADE0_HSC_EN_N", + "PWRGD_MTIA_BLADE11_PWROK_N","PWREN_NW_BLADE1_HSC_EN_N", /*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", + "PWRGD_MTIA_BLADE12_PWROK_N","PWREN_NW_BLADE2_HSC_EN_N", + "PWRGD_MTIA_BLADE13_PWROK_N","PWREN_NW_BLADE3_HSC_EN_N", + "PWRGD_MTIA_BLADE14_PWROK_N","PWREN_NW_BLADE4_HSC_EN_N", + "PWRGD_MTIA_BLADE15_PWROK_N","PWREN_NW_BLADE5_HSC_EN_N", + "PWRGD_NW_BLADE0_PWROK_N","PWREN_FCB_TOP_0_EN_N", + "PWRGD_NW_BLADE1_PWROK_N","PWREN_FCB_TOP_1_EN_N", + "PWRGD_NW_BLADE2_PWROK_N","PWREN_FCB_MIDDLE_0_EN_N", + "PWRGD_NW_BLADE3_PWROK_N","PWREN_FCB_MIDDLE_1_EN_N", /*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", + "PWRGD_NW_BLADE4_PWROK_N","PWREN_FCB_BOTTOM_1_EN_N", + "PWRGD_NW_BLADE5_PWROK_N","PWREN_FCB_BOTTOM_0_EN_N", + "PWRGD_FCB_TOP_0_PWROK_N","FM_CMM_AC_CYCLE_N", + "PWRGD_FCB_TOP_1_PWROK_N","MGMT_SFP_TX_DIS", + "PWRGD_FCB_MIDDLE_0_PWROK_N","FM_MDIO_SW_SEL", + "PWRGD_FCB_MIDDLE_1_PWROK_N","FM_P24V_SMPWR_EN", + "PWRGD_FCB_BOTTOM_1_PWROK_N","", + "PWRGD_FCB_BOTTOM_0_PWROK_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", + "LEAK_DETECT_MTIA_BLADE0_N","", + "LEAK_DETECT_MTIA_BLADE1_N","", + "LEAK_DETECT_MTIA_BLADE2_N","", + "LEAK_DETECT_MTIA_BLADE3_N","", + "LEAK_DETECT_MTIA_BLADE4_N","", + "LEAK_DETECT_MTIA_BLADE5_N","", + "LEAK_DETECT_MTIA_BLADE6_N","", + "LEAK_DETECT_MTIA_BLADE7_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", + "LEAK_DETECT_MTIA_BLADE8_N","RST_I2CRST_FCB_BOTTOM_1_N", + "LEAK_DETECT_MTIA_BLADE9_N","RST_I2CRST_FCB_BOTTOM_0_N", + "LEAK_DETECT_MTIA_BLADE10_N","RST_I2CRST_FCB_MIDDLE_0_N", + "LEAK_DETECT_MTIA_BLADE11_N","RST_I2CRST_FCB_MIDDLE_1_N", + "LEAK_DETECT_MTIA_BLADE12_N","RST_I2CRST_FCB_TOP_0_N", + "LEAK_DETECT_MTIA_BLADE13_N","RST_I2CRST_FCB_TOP_1_N", + "LEAK_DETECT_MTIA_BLADE14_N","BMC_READY", + "LEAK_DETECT_MTIA_BLADE15_N","FM_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","", + "LEAK_DETECT_NW_BLADE0_N","WATER_VALVE_CLOSED_N", + "LEAK_DETECT_NW_BLADE1_N","", + "LEAK_DETECT_NW_BLADE2_N","", + "LEAK_DETECT_NW_BLADE3_N","", + "LEAK_DETECT_NW_BLADE4_N","", + "LEAK_DETECT_NW_BLADE5_N","", + "PWRGD_MTIA_BLADE0_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE1_HSC_PWROK_N","", /*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","", + "PWRGD_MTIA_BLADE2_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE3_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE4_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE5_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE6_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE7_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE8_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE9_HSC_PWROK_N","", /*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","", + "PWRGD_MTIA_BLADE10_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE11_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE12_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE13_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE14_HSC_PWROK_N","", + "PWRGD_MTIA_BLADE15_HSC_PWROK_N","", + "PWRGD_NW_BLADE0_HSC_PWROK_N","", + "PWRGD_NW_BLADE1_HSC_PWROK_N","", /*M0 - M7*/ - "NW_BLADE2_STATUS_LED","", - "NW_BLADE3_STATUS_LED","", - "NW_BLADE4_STATUS_LED","", - "NW_BLADE5_STATUS_LED","", + "PWRGD_NW_BLADE2_HSC_PWROK_N","", + "PWRGD_NW_BLADE3_HSC_PWROK_N","", + "PWRGD_NW_BLADE4_HSC_PWROK_N","", + "PWRGD_NW_BLADE5_HSC_PWROK_N","", "RPU_READY","", "IT_GEAR_RPU_LINK_N","", "IT_GEAR_LEAK","", @@ -750,28 +750,28 @@ &sgpiom0 { /*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","", + "PCA9555_IRQ0_N","", + "PCA9555_IRQ1_N","", + "CR_TOGGLE_BOOT_N","", + "IRQ_FCB_TOP0_N","", + "IRQ_FCB_TOP1_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","", + "IRQ_FCB_MID0_N","", + "IRQ_FCB_MID1_N","", + "CHASSIS_LEAK0_DETECT_N","", + "CHASSIS_LEAK1_DETECT_N","", + "VALVE_RMON_A_1","", /*P0 - P7*/ - "MGMT_SFP_TX_FAULT","", - "MGMT_SFP_RX_LOS","", - "","", - "","", - "","", - "","", - "","", - "",""; + "VALVE_RMON_A_2","", + "VALVE_RMON_B_1","", + "VALVE_RMON_B_2","", + "RPU_READY_SPARE","", + "IT_GEAR_LEAK_SPARE","", + "IT_GEAR_RPU_LINK_SPARE_N","", + "IRQ_FCB_BOT0_N","", + "IRQ_FCB_BOT0_N",""; }; From patchwork Tue Jun 25 12:18:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711033 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 0264DC2BBCA for ; Tue, 25 Jun 2024 12:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R1+ZY9MnH9MSIo3P/myoXe4SqRYQt+K5cKi8iBD/pYg=; b=k/BKgO17sH8BEDv5/uxs7+6xvH 3mpW02HB//ekHCsXZuddpP+0dPpr6+Qz3bx6Fa0+JMoU1V4D3yQd6WlJCyFM2epLHsmY2x00ZMdJh D5R7K0DOzcJABEvGh076Uwjm8RhHDkiaY5Oim9rJQ2lAfcZOZCpbk7lbh22ATzBV3O5Xloy13Mx2L HFe9C9p2qS+n00u0Ry8lBbsGBNq2T1+jLMJNyYa7mk9kC1HUUexWhSLAsbptd+y1SRx7XaxrNA601 2Gpw4qMNlmfr6Xr8lPZWS4jgoNdoVKLlXPv4XVsryWBi/97MBDbNw9f8RXqXF8UKzAjBiO9D5Wy2R 6BQRdheg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Bl-00000002iGw-2SGN; Tue, 25 Jun 2024 12:22:21 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Af-00000002hPf-11A4 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:15 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-70671ecd334so2104179b3a.0 for ; Tue, 25 Jun 2024 05:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318072; x=1719922872; darn=lists.infradead.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=R1+ZY9MnH9MSIo3P/myoXe4SqRYQt+K5cKi8iBD/pYg=; b=NUGhBHmUEga1iDEzwjDTwrQk0D54pQUgCdJR0XzHFtYcDxWYVS1lHfteH/UsoR8TO6 S8zSR9Vfbrl+mkbRzK6fjmweZ+e7OG9pT/x1ss/0T7AK7JNxzVVZ1RxCfaEXAKhDG9EU nkENdq/FxEZXpDZKBYo3vOGI2zS/meIJFXb+dtXi7pYTeLAbeoeV2VQX3NX9ONbIEZG+ OnjXyIynEjureWWkPH0vJS8REUjWCnJVzfNPjhBQpqxCWtfryxUjyocMVhlEsuH/KvCe e0lWA9DLOZuFp5WfsB5ob+amtBmLJKyOK4+HE1aCeyCXE3/QGRNmGyZ1Cm+2CuEapRNT Tniw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318072; x=1719922872; 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=R1+ZY9MnH9MSIo3P/myoXe4SqRYQt+K5cKi8iBD/pYg=; b=DGx9s/WE9ViLkgMS9AKnZ2hMYek2Q5qzjwybaX442z9EQs39rMEPmOsNp0X5Jx12i2 VkzO5AwU4rPFD7kmBnP05VRgFFjj7c3jV/GPZWM39uAelvZNaQ/G0cCfAnuaO5n1V92w Kz6/V3dsIkwhjswRbzFeJdi4hK9ikkIludQLu5zcV41hmAuEBWQ3ez3bu7cz7u4r0+UQ 9MQqRyTKII7OWbGYC5OifzRfaXX/Zztl6rppuEPBWMLaWiFpwhRcRFM5ZdrwYnXCVG/g ePHwtuz+Blo0gEtH/yvRKt7XIwLIgniEgHZmVC5TM7dMQsfCS4ecJTkXBXTOLNCwW2wK eHcQ== X-Forwarded-Encrypted: i=1; AJvYcCXrcdrIG98qikyXsgOwVeb2k5DBpYDroKB4pgkm2t/rShC3vTKFmCl/zFU6bRNjPwgPHB/atYgbRNuxB2PYnf+DvuBgaawfkT7VJZ8SY+8NDQq8rQc= X-Gm-Message-State: AOJu0Yx0FpqX6R6pNdAJYl+xWJSBIOLeI3exlB2WsnEeUwKtm9HTGiUM elg/WUlfiAcgAh/spHApbbwa0/fMep/o+02CimzM0N03QAM+N0s5 X-Google-Smtp-Source: AGHT+IFHqLhGUImj+b/k14mrq94/fo0odtjnw+y814qaRfArf+OENLnysBYzvY6GBeeoij1w+51Yqw== X-Received: by 2002:a05:6a00:180c:b0:704:1ac0:bf16 with SMTP id d2e1a72fcca58-70670e8fc2bmr9825666b3a.5.1719318072233; Tue, 25 Jun 2024 05:21:12 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:11 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 15/17] ARM: dts: aspeed: minerva: Switch the i2c bus number Date: Tue, 25 Jun 2024 20:18:33 +0800 Message-Id: <20240625121835.751013-16-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052113_437896_B1CA8257 X-CRM114-Status: GOOD ( 11.75 ) 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 From: Yang Chen Switch the i2c bus number to map the i2c tag according to the hardware design. 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 ba67422a49b2..8dd2bbb15576 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -405,7 +405,7 @@ temperature-sensor@4b { }; }; - imux20: i2c@4 { + imux20: i2c@5 { #address-cells = <1>; #size-cells = <0>; reg = <4>; @@ -451,7 +451,7 @@ temperature-sensor@4b { }; }; - imux21: i2c@5 { + imux21: i2c@4 { #address-cells = <1>; #size-cells = <0>; reg = <5>; From patchwork Tue Jun 25 12:18:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711035 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 EEA16C2BBCA for ; Tue, 25 Jun 2024 12:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oQQJMKc5pwaISrJte7FnhWZFwpzsNSJyBnkbk9/BOc8=; b=aKMprcnVlRiz1VJnwffdMNgRgy q2891xMS6sOgdJ8iHGQhqtmqaogCDJAc297AZLGTZBy+3xCgIBIOyY9LjfpIW9p+udl/S3TW+kTQx /VMcZRfbHFdmrdIPAxwqDok0I85K7mkqPLvs8RPtipyAwh210cpGVUbXS0Jd5SDkTnHlpqPmsE1kn w6GpgrKzHETVToJaPExmyRwGT5p+Pzonyhb6qw/58HFseva+GpHfBgBLf7WydmY3zhFkkSJgza2FI aq0oKQkDn/8W0NJ+Z5yyFAoOOigwBeCsbwuiYnx4fspEspJazq9L/iACtCl4bnZ8uqhgxfLCqmSp7 ddH08b+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5By-00000002iQk-1oT9; Tue, 25 Jun 2024 12:22:34 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Ah-00000002hSf-1FNr for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:19 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-70675977d0eso2242305b3a.0 for ; Tue, 25 Jun 2024 05:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318074; x=1719922874; darn=lists.infradead.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=oQQJMKc5pwaISrJte7FnhWZFwpzsNSJyBnkbk9/BOc8=; b=FdXVR7poCBzCekf8yIv5YmA2sCAX56ukNP+dSzA9LufK9dNaJ0Be5qMUUk8wZwP9cI 2pU5KlpBNa6+ofgaAN2lEMeFj0rcSopplypmwD9mk6zfXQPecs3uTo3cBt1/QpWFDxrJ rekEUBPeqPw4tiEApkHP65+XIxJQPrIzSqm1NMjsl1Qgouxjb096PLh8qdaA+IQjZ+sF oVhQxdWWsMlcxGgJbbOR7qrPi5kVQvXCYJeiu9uDIlouitqxrZho00DjAe4ndejS/aF2 K8Pmy07J9kFey0G1PKgNx3lZOHYiLBoQTU8ZorDBy3WJnJ23o90XkmUiRv49WSG4HtWi hfoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318074; x=1719922874; 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=oQQJMKc5pwaISrJte7FnhWZFwpzsNSJyBnkbk9/BOc8=; b=MkvTk8LY9lSb+g0oCdQ1rMawC3IYMM5nHkA7VX09YeLn8G+P4guxmnlboXCBctKUz8 y+SdcJnvpbZOI8P8UWdekDQ9l+eqic2nsHTukrdBfzHN6H/KioWBeovwPNntvhmAIjnf DDi8jHBjs77wQ4D/N+ClG5Dt9m/CY7bUureUtWmSXZHzBmzCyb1qLAjGyYGFM3ILc2NC SJ3i3VFHjbWqnZj2fMAjkNTIGNLQEjE58mk/lGu9O1Wra3G/ZU/QziRl9ILTF0471MOy 5Zg1Pu6cxKCHa8eGOKDNcvPoX4LV6759tcKO3mh0ll8lN3Z/CKml1/hhK+SaS2IIp6Bg 4Q7A== X-Forwarded-Encrypted: i=1; AJvYcCUQVjp6riZomjwo4Uuu1DyMraGSakgo5df4NXnINzi6ePOJniPFkMQQB+V4iCt53tWOEGKmb9XvfOXnD81pO8/GSEddgSQ/PcQTZIm2wTE78sVHcso= X-Gm-Message-State: AOJu0YwNwSgRduP2Srag2ea+eVgYfGFeGHxMQN/Qtnhhxel89H6wF7aY cloctiSjIKms1rekk5+/mR2KAxl2Byc7vH9Jea33Y0LiqUsRfcCi X-Google-Smtp-Source: AGHT+IHuC5Cksz3HgmWz6HbqABAZAwsPRe5VrgqQz/iIA0Dgrph3x8gvPVvzvgAM8V48U1SA/+xHTQ== X-Received: by 2002:a05:6a20:1e55:b0:1b7:b55:c87a with SMTP id adf61e73a8af0-1bcf7ff997amr5431513637.53.1719318074441; Tue, 25 Jun 2024 05:21:14 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:14 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 16/17] ARM: dts: aspeed: minerva: remove unused power device Date: Tue, 25 Jun 2024 20:18:34 +0800 Message-Id: <20240625121835.751013-17-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052115_611281_A7E05D13 X-CRM114-Status: UNSURE ( 9.43 ) 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 Remove unused power device. Signed-off-by: Yang Chen --- .../boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 10 ---------- 1 file changed, 10 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 8dd2bbb15576..288d4ba06b99 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -165,16 +165,6 @@ power-monitor@41 { shunt-resistor = <1000>; }; - power-monitor@67 { - compatible = "adi,ltc2945"; - reg = <0x67>; - }; - - power-monitor@68 { - compatible = "adi,ltc2945"; - reg = <0x68>; - }; - power-monitor@43 { compatible = "infineon,xdp710"; reg = <0x43>; From patchwork Tue Jun 25 12:18:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711036 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 73601C30653 for ; Tue, 25 Jun 2024 12:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=KqYUXD9E4sA62uUp/pWlX/vz9s Fd9jg9Qsc0XsQgwRxS6j27Y4rii6Rq4daPPIfM27kO2CecaDu0ER4B+WFkItSY5CAtuk+UopLK3Ds MJTbk28ezYg6C47Xt9NjP4fXYp/w5Y/NSOyq9WxQbS9DT+jDvNR3IYSeoeIiKy4e8uuSYHW1c8mbp PfKoBV2RwyUtsFqpZEaW55fbtaAOt6ghPiywnDlsue64mN3IZ3wBI3PogSAMD2au4JKXlQ/AfDer8 6RQxFhXDMa3Mq6Djg362nZu1alxgCpv5qmhAI9lDe0VbTeFGxykIYQKhlFAhM+isRjC9PQMv9VVSQ 500XHpmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5C6-00000002iWx-1QJx; Tue, 25 Jun 2024 12:22:42 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Aj-00000002hUm-45aS for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:21 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-7067435d376so1704127b3a.0 for ; Tue, 25 Jun 2024 05:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318077; x=1719922877; darn=lists.infradead.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=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=eQUB+fyT8QJ4BjduF31p769OjvXLMPYLhTKpQ1EaR7N7MGc0/VSIylcT57aojjfPsq 8Nt3F7L3IdDGB7hTMm9l5fEDKGq0shcp52UL0VOUjDP0chkqV6Q7Av0LhfYOGndR99Q2 e54KZBse46ABAD5GSxdW2O94OlhMZvBAGGqtgMRPfEzra4mtnjBHbWpTE+jbBcjbpBDw ykRNj26tWJWRhlArDEn5aox3LDsCiNr2IAiGHRZrc0InyWbbPqUMwAjE5kuof/+2Q6h5 hhgWR9uGzi9Wjl+dC76YQ7k9kOXHZnghcvvgxt1nukzpy5rvB5fa4U5zTW0w9wCy6Huq kXOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318077; x=1719922877; 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=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=ehpbNLziEzkdFIk96c5481HaLNhq8+TbAlyvb7pQu/prctvRTzuad22MtuGjGY8Thp IA7vw+OYd96CY/qT6M501+z48KlE+2ZoTVEYD1iMby4hpqrAHEDiDZuWGTjTPdJnt/7Q xPEUOUAZOYveY6t5MkyaWHKmGZgs0QOM6N7VJi/7DIpLQj09ewBzIvmKtccoZOTJDc8k Tjh/GQPYAPzY5yLec54kdx+bDykO0N/fj7YVoan9LWlHmn1YMetVYQQY8OIcc0tjwg+k QYe/Nzf2bM8SupdfIrPIpN7fsymzib/E6jcv1weMA6B+WpY0YOqK2nbSF/7RIe0xg9Mj VyfA== X-Forwarded-Encrypted: i=1; AJvYcCVH83k2HI0oujlPvJJqKDPtmKYsa3EWRj/9vgAtrzNHsAGvM04l+2eV5VaqdbRpCJ9srrIgbwRBxDxEM1eNpkowpjeuIVYSpg1URnjVroQ0XIIlRbk= X-Gm-Message-State: AOJu0Yz98PrHsUVlhsAPl3NqwOW7B2BGzPKljpZla2dIcTvO1gq6XdYt 4uGhwUqgrYOgDKX7ZCYpxFDSbEL/EDWbLuC7Mcn4WJ1Ftu/pzfks X-Google-Smtp-Source: AGHT+IH45w9VIPw2Adgujbb05Hh7fQwfR4efuZfljK39HStJbVTuQ21UuyqEOGETLUCEErof/GhyMg== X-Received: by 2002:a05:6a21:339a:b0:1bd:199a:6347 with SMTP id adf61e73a8af0-1bd199a652bmr4424258637.5.1719318076674; Tue, 25 Jun 2024 05:21:16 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:16 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 17/17] ARM: dts: aspeed: minerva: add ltc4287 device Date: Tue, 25 Jun 2024 20:18:35 +0800 Message-Id: <20240625121835.751013-18-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052118_109334_7B589B7E X-CRM114-Status: UNSURE ( 9.88 ) 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 Enable LTC4287 device on i2c-0. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 6 ++++++ 1 file changed, 6 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 288d4ba06b99..896e84cd03de 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -165,6 +165,12 @@ power-monitor@41 { shunt-resistor = <1000>; }; + power-monitor@44 { + compatible = "lltc,ltc4287"; + reg = <0x44>; + shunt-resistor-micro-ohms = <2000>; + }; + power-monitor@43 { compatible = "infineon,xdp710"; reg = <0x43>;