From patchwork Thu Jun 13 15:24:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696980 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 CBD60C27C4F for ; Thu, 13 Jun 2024 15:26:49 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jm/6BzaviY1u0xnF4/R18zgtmNVNPYtnZ73QHOb7/dY=; b=2sPwdlAB+o77WnfDAMff9nnCU8 G50tOO7fmAXCb5Cep+YkmRkOv7vWD1pTCzpspmgR9f2R/0/dyWQtSl99jFExwWUZngmafEOb8gp51 PzvOg7O7Ldzhsg707TmGoBjj2zwCvElSfqZadM9bk46jJt9Lq/xWJ5ZSGEKgAa3Io7ybLA+Pvw2jH /PtOtDaNCW9EcL2L9nMR7+zpQkuEAQH4kVcGiOz7dqevQfezM38zWgTcsGHrguy6vRvvk9K/GG5mq nyGe1nrN3ugiAkBuomzoa9APCxJdy7i3BUdq//iu7EbxND3pTmysd5RDoSqLOjErsgiGrHPafYVHG IDGORmQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLY-0000000H9qq-0Pta; Thu, 13 Jun 2024 15:26:40 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLR-0000000H9oe-3e3n for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:35 +0000 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-36ddf683ad7so4743805ab.2 for ; Thu, 13 Jun 2024 08:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292393; x=1718897193; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=jm/6BzaviY1u0xnF4/R18zgtmNVNPYtnZ73QHOb7/dY=; b=hVU4r2FRms9lScxH0NpNILfmgzhOMly95+Uc5AUH9Ry19+brAWiAjEocM5bcqMWjrL 3sApthHs2hByEnoHQHWn2NJ9gppjn41FoanVKQXV9b6wU/WNZEsC+VaY5QmxxBymil2A 10sguYz2o/tqND6slbzX6I4ANW151OKr0icsBJvCPzHUTc8mi1a5VA3BDqZXNrkpZ/yQ YgreXqVc+W1gLZaQ1klTtUBHIPwlLCVaKIKPbL76G2BeL1yKuR7XmQeMzs1vLkAC8Vha OZtDa2dKsdrHUCfaDDXnapUC53Jse2vUPwnnv6In6niWuuS5V5WqgmxpIYnVDbd8clQ5 JvLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292393; x=1718897193; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jm/6BzaviY1u0xnF4/R18zgtmNVNPYtnZ73QHOb7/dY=; b=RCy5lvO/O5XwhQVWHA6sB0Y9DH96703oPAillLU+IRGx0vreCkeX6ZoonUq9dm2UVw iwTRNSYQu4s6UF1MDesLZvLzMPIhrDwB0GJa+03WU+ML6s53LPA6g9zNpCScizrjhHyb qs0hvodkQDr/OnU9Y2u915EBAY+Yh42ea0/N1V3OatNn0eBDoR7FOZmlLQbgpCbKgRRC O56ZYDQhYV0celdZYltKRak77tdpd5a45rYUSCl5KHL6rE16/TfndEKEKJj5DuZj3Vqu z79/HCuWiCpZhOf4y+iC0/W0PNZJtsliJaezgseCKrATfGUWkv8Mf0vINl8TjupGQ49f 1IBQ== X-Forwarded-Encrypted: i=1; AJvYcCWlao7of87p6kBPpuLZgKxkL+3kXckd+bOZ0DqGv63wMphp0ItpfGBwx/dcb0SpR5DckzSQPs1iaSBWUoT3yD1DCG4+Q9UVUip7wcpK/00215w0zJ8= X-Gm-Message-State: AOJu0YzjEkRUE8jK1555MPTbf0USSb+7DCgJ0KwQmCLTF+FH9dJ4IT1M dbFJwbyHjqliqHDa9dHwqYJAE66f+IMVvGe3O7klIsxnp/O0ki2l X-Google-Smtp-Source: AGHT+IGa5DsLl/zZLbHkZItPNrjZHZht4Iydu4WtmU5bEERKH4wR+X+/U/92szyeUtIbFol0T8qeWA== X-Received: by 2002:a05:6e02:1544:b0:375:9ecb:acd3 with SMTP id e9e14a558f8ab-375cd14a6f6mr53447555ab.9.1718292392615; Thu, 13 Jun 2024 08:26:32 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:32 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/7] ARM: dts: aspeed: Harma: revise hsc chip Date: Thu, 13 Jun 2024 23:24:19 +0800 Message-Id: <20240613152425.1582059-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082634_170719_B243DDE4 X-CRM114-Status: GOOD ( 10.92 ) 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 Revise HSC chip name and address to match LTC4287. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index e7f4823ca4b3..0d349ce1f3e6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -276,11 +276,10 @@ temperature-sensor@49 { reg = <0x49>; }; - power-monitor@22 { - compatible = "lltc,ltc4286"; - reg = <0x22>; - adi,vrange-low-enable; - shunt-resistor-micro-ohms = <500>; + power-monitor@44 { + compatible = "lltc,ltc4287"; + reg = <0x44>; + shunt-resistor-micro-ohms = <250>; }; }; From patchwork Thu Jun 13 15:24:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696981 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 959B9C27C6E for ; Thu, 13 Jun 2024 15:26:52 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3Fc9TZXsE236e5GqF1+goY1wiMOdU1srHkjJ5LtjJyI=; b=UC0rEeFJ+Z8o0GUROPzcvVxGX3 JEioqJ12ZNPREK/v8FqoPzWu9m+cHGFNTxeyegpRYpNQcx7mXmCNPxvjwAi8v4G2XPWuSZPi1DnHf qcpNFNVisFc04Ul4I2uX3LWhUEU4V0OPQRHCGOwR6e6pzz9ajnhy8L2G5PVvp91birdmM2PosBkrF LDsJqo3tx6fg+qbbrw69nFoBIXyfa+LFK0nENQd02VysCy6PqycfI4a69yx3AiSgaY8eFa/9cB2mW Os03VLDPYeUBOWsjA6dOakODBsKNV7CAsNFcjYXTkcXe+4H5fG7UIYhPLjsSZWB8vun1uMjiSX5pP /r56jQKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLY-0000000H9rK-32hv; Thu, 13 Jun 2024 15:26:40 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLU-0000000H9pU-1pXq for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:37 +0000 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5ba1f60eb96so673527eaf.3 for ; Thu, 13 Jun 2024 08:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292395; x=1718897195; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3Fc9TZXsE236e5GqF1+goY1wiMOdU1srHkjJ5LtjJyI=; b=KybTh82Ld/QmtY/1649bT10fm1Ac6NVj9hJGPWObACcU55vDEX+Zt6XPdQmk69ASM4 4WXrzAc7gwUdVsb2RVAvTBEaY0lBDp2WXmgfXyzKz3WMsfHtEdKHfCe79r1kJN1cVuzW iKP840Q6cyI6tMZ573UZFcHUeXyL5G2Ff0AiKXmXafFu0qcVK/DpQ0Q+p2If3htgEjt7 M+/f1JTA6/LOfAAM9oK5y0m6iYR/CLBIC1CwyWgS29DK5luW0N8+H50w44N+pfcIY0JV rKVuiw8ESRB7/b38v4j9d9gxT/MLFmTqA1SpRzchCnkKJSYr+a/hwYV1U2c5eIHAlR0C plMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292395; x=1718897195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3Fc9TZXsE236e5GqF1+goY1wiMOdU1srHkjJ5LtjJyI=; b=TRp9xEV4MqyrSMLzXXmkprA+xFO9Zc5xeuP4EzogpggdGEUzbC6R6fgrDNqxRI+akC ALv35rL4NfiBJQ5lEgnmrsLaXztoJwx0aGOjzBiR8w4nYVAW3ar9JGbwmDu3t5Aan0D9 Sq+49AGG49h/G8gP1exyNfmh33/hmNYXGiO8jh8hXhlCCL0KBB6em0wvQL3M3g3IOjud uMBLkir36DvWw9X5IG4AH01Uv8hLtrnsD/R3s0oL0iXh5lyxKc9bRy3C8VVBKnlyD5aR 5QTsqMRLdPh0NuEgneiTAXmipwhPKk7p9K04bLsdbLR6uFklr5D2uiCHdT26hqFH4A7l MBGw== X-Forwarded-Encrypted: i=1; AJvYcCXNuwwkXFIEHzqodADMqfwZHnJSQvUSlDciFkeC7UN/jQtXwX3cUnAT1XL1dAd4HFWBuHYdpw7yufbThnm/hTOsDWyzmBt4EMB8qYopPqyA2RQKyDo= X-Gm-Message-State: AOJu0YxEV5Hy2YzEp9N3RvIgmsBL+Nk2eVe9Hw30vEMLjDw1u5Z6juyJ ueTeoG0izb6fGpH8qSaECFCGj1ThexTXW6WrNk96YAhs821QK/gi X-Google-Smtp-Source: AGHT+IHXk6+NGB+wlv3K2wgPenwKml/Ptt86KSEMMpXMNRhhb/1ZjPkonhAwss/lf2RD9vI4xmBw9Q== X-Received: by 2002:a05:6358:e4aa:b0:19f:4be7:435a with SMTP id e5c5f4694b2df-19fb500d5d1mr8865055d.25.1718292395197; Thu, 13 Jun 2024 08:26:35 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:34 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/7] ARM: dts: aspeed: Harma: add VR device Date: Thu, 13 Jun 2024 23:24:20 +0800 Message-Id: <20240613152425.1582059-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082636_503986_C4E0B0D2 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add isl69260, xdpe152c4 device Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 0d349ce1f3e6..ef5ffe190445 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -398,6 +398,30 @@ imux28: i2c@0 { #address-cells = <1>; #size-cells = <0>; reg = <0>; + power-monitor@61 { + compatible = "isil,isl69260"; + reg = <0x61>; + }; + power-monitor@62 { + compatible = "isil,isl69260"; + reg = <0x62>; + }; + power-monitor@63 { + compatible = "isil,isl69260"; + reg = <0x61>; + }; + power-monitor@64 { + compatible = "infineon,xdpe152c4"; + reg = <0x64>; + }; + power-monitor@66 { + compatible = "infineon,xdpe152c4"; + reg = <0x66>; + }; + power-monitor@68 { + compatible = "infineon,xdpe152c4"; + reg = <0x68>; + }; }; imux29: i2c@1 { #address-cells = <1>; From patchwork Thu Jun 13 15:24:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696982 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 AD969C27C4F for ; Thu, 13 Jun 2024 15:27:02 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+iX8aCdLeiSd9q28ms9w1B6bv8MCufq0seR2PtHpfUk=; b=bOTLPkLEjaqg5HN5119nSZP7Qd DB/nHvuHZu0OqdkMIpjhGZ0WVonXUXI6WAsFF25L/7FxZx/OD+tg/rNJICvF+Vz7ih9ukeqR9/KpR Icu1CTLVRGjbBp2v0o9yVpfbxUKhdkHfcB+t64yd9GxUSh3wqKu2MVDQEaPtM6IZHLTAJk3JxTpxn 9EIyZD4u6y7dfhgG7gfhhE2Ge01FL4SdsH30XboPXfeCAtEHfzFnYltDF1CQgka/oHhPplItTWHlB 3Otb7Iy4xAqfw1pJdCEVX8aj3LuMqHeXSkuEckQKIsIWKFRyWUaHlJDMn2UNKAFfls1QDbHEd11mQ DdJE6VJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLj-0000000H9xN-0CLH; Thu, 13 Jun 2024 15:26:51 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLW-0000000H9qE-48PV for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:40 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6f98178ceb3so625494a34.0 for ; Thu, 13 Jun 2024 08:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292398; x=1718897198; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+iX8aCdLeiSd9q28ms9w1B6bv8MCufq0seR2PtHpfUk=; b=B7THMjBzDmJsUQR83Eh7ItuEBWiudMvxc2SzSmBb2vnv+V0T6QWzVfvpOeilhNBYAg jaMxpAqWOqY+3x3RyzgtWaQ4jP2co0NG0GNe9O6fRlmTJo3+k1xd68CDJxw5NcXLxE8G KbY8If7H/X2ITzIJ4mk+j02jv0LTM0W52VvQJKJUPwM34ElPnrHg3EdYwekQ8XRC9Ghr 7R02LULeAqz24n1T9c9iqSrTq7hIEh0dkAMPQ2eNL/8PPQg/nxakfHBylMBqmFeBY38l NO3nFCA+vx+gsnmSpVUwXHRhQn0n3lmJtyuUr1mjwd3WZMCu/k+ZbhQH3j0GDvD5Ej+h /6Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292398; x=1718897198; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+iX8aCdLeiSd9q28ms9w1B6bv8MCufq0seR2PtHpfUk=; b=bIFYxq91IboDU521XU78Dl7trXlXnUGzHQRneFWvPSfItgTTwuGEdP4V/QbsCVGhlv tgN/sdvMXsc4egw8nFUlnyyNLha2mzz6PZ666bGgUVybdImBUWbY5amxdtFyf6cIDEz4 lVorRSuRpWilv82g9FxjsQGosWdDc3UbW/mBPTnK4uGJsSdLnh5lbgbJ452sbrQUG1CT PvDk84I3bGj9ue5ur6hZY6sgtp+fZjcrfGXeO4CCTcA3spZhydp0PP511tq93Tk5m4rQ tNYco6Ydx2rip90ciPV5Xw2aiMhkHnDp2r28+R4uV4Z3Wcyn6WRL+FeUoD3mWtY6g4Ir Ov3w== X-Forwarded-Encrypted: i=1; AJvYcCWX69KTtY/aHN0Qw/j8/CNU3e1JhtLI+hDAx8Un641nba5OZ7I75Ctr+0gl7JAMRzmsKEKZ5W8odMhuDW1nbtjwGZ/JwAWN7ocmlTw9Pop6mTiVkHs= X-Gm-Message-State: AOJu0YwYQFcbNBOv8eBuHNBe0WKpOr4tT3qzxUvlrpE9DCdRIxe8weYX krLesy9I7WdDqnqs44E/Ua4So7xLqPAusY/OFDIpT8B9qN0VUv1p1J/njg== X-Google-Smtp-Source: AGHT+IEj3DrHn3ST/RUxDPjwBzLIUyUdRzaBpzGlYtxwv9jX4plp5kdttH1p22qdwS0sdbs8pkEyzw== X-Received: by 2002:a05:6358:7e0e:b0:19f:174c:7fa0 with SMTP id e5c5f4694b2df-19fb500f43fmr7937055d.24.1718292397778; Thu, 13 Jun 2024 08:26:37 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:37 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/7] ARM: dts: aspeed: Harma: add sgpio name Date: Thu, 13 Jun 2024 23:24:21 +0800 Message-Id: <20240613152425.1582059-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082639_059992_BF7BDC7B X-CRM114-Status: GOOD ( 10.54 ) 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 Add power-chassis-control and power-chassis-power for phosphor-power Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index ef5ffe190445..06c8b5ff1125 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -520,13 +520,14 @@ &gpio0 { /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "power-button","power-host-control", "reset-button","","led-power","","","", - /*Q0-Q7*/ "","","","","","","","", + /*Q0-Q7*/ "","","","","","power-chassis-control","","", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","","", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","led-identify-gate","", /*V0-V7*/ "","","","", - "rtc-battery-voltage-read-enable","","","", + "rtc-battery-voltage-read-enable","", + "power-chassis-good","", /*W0-W7*/ "","","","","","","","", /*X0-X7*/ "","","","","","","","", /*Y0-Y7*/ "","","","","","","","", From patchwork Thu Jun 13 15:24:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696983 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 ADE4FC27C75 for ; Thu, 13 Jun 2024 15:27:03 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uN0iVbvUCtHrusvPM7j5d8Cr0NiexIYpDbZftj2H28Y=; b=32mBVGtHucUmK/tjzLPEmnC92B QyDrm97aJLjnxL1lHwBqBNe6PTZKQtfdeFATJiSoGb/qMEb1QqBN/szSjPdpxkfsbVXBIKJRH9Y5c cMRdsZwWY+HchUdK17PNkr6/YVJ9wOnoC714W0agX8/xuKHDj1YgIl8N+byJcFeeJtTAdjVHjXZN1 OXaau0TemgMCPDF5yO0DE8Ge8Issi3F2V/eVODI7ASwg5gHl4V6NmsygAgZvjon6As7KKLB+Lb/WY 17eQS1JLHuliYKN9/M/GZSK+Rc7w/Z1p2Y2ydv5e8h+4Kul50b/fORgb7ugXY4YtGn9U9EuNgxzv1 gCl0Thsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLj-0000000H9xo-3Cqb; Thu, 13 Jun 2024 15:26:51 +0000 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLZ-0000000H9rd-3MwV for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:43 +0000 Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-5ba70a0ed75so611141eaf.1 for ; Thu, 13 Jun 2024 08:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292400; x=1718897200; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=uN0iVbvUCtHrusvPM7j5d8Cr0NiexIYpDbZftj2H28Y=; b=StYCu9bEXzll7a1WJwg5YvyCfXO0B3rfWWDLFMYt7gDe0l5N0QnxHGa3JGIBzlXbFA vzzfHVTyHLBC6ILuGqofcF1DqSAjoUg1vLznBIgjpoTwBS3GKRTRsSNAYVw9qjfq05LD Pl+i9ZRNBtU+HVWn3JvBFl2G2HNsrmwyRDgZBqk9OOKiNEIOQ7HFKbW0DXqEnKUA0mCU moMfnt2OkFTNpL+korGWzHVOix2co0Uagt4C9w/BWY7r/nU6dXr1ndte6nsSnhqYGUX5 9QqSjLn6jkOuDMszO4VMMnpI428WYL0a1sXrEqaSHWEyVer5dHf5wkGof3CE88/BQpMG UJYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292400; x=1718897200; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uN0iVbvUCtHrusvPM7j5d8Cr0NiexIYpDbZftj2H28Y=; b=s1yspxG74d3kiMMXzmkgvuooRtP8cPgTETg1srQAR6x55Mldld9dq9hMITiMBcqgiU FN31Qw4JdDrmslBPIoei1dRbRLJoR5z8BKDjvCuo431afQaZhNjxBTtHG5KJvSdPMJ08 T6hYkPVnGmgOW0V8w/l82z92WPba90AW4qgAmzdSdrvg/C0zj0SWDJxcwuW3KAxG0I7j DWVRGLeKRsCuNsdOYbYTi9pMFHU6eq54jncZH9JNy5eBkkwDKxYW+8wBfBi+mdcU8Faa KvT8B42PpK8nwKJmJjErzTp8hTf9QNmJTGvJBM//E3xi2OyQ1dP/wfWG7Fyn1wQ2b6o0 zVFA== X-Forwarded-Encrypted: i=1; AJvYcCX+hdSnVocXlwCiL4L/p9QpratrkZQZGfLmlZohlhCrV84fSa9MjRC7Gn9NLYy15vuNKCBSe1HQ1ouYsrcbnlui0/rlDkkeU61DDiaJAlqc5ytWCIg= X-Gm-Message-State: AOJu0YynTstcFKxQ1x+oDSHlrBmxlX/ZAFrteHXXAhiDVxJiJrXs6X2M Ugaz6Nku8Gj9qS15Sl1kiJOLYduHNwmIopxuvN48tSnpVcnOZgZf X-Google-Smtp-Source: AGHT+IEf10NElgIFM/CEvfdR+k7HaTuO6/i/+QFJcKhnj7u317VP70MArazE03nYYpgOWFTfeto06g== X-Received: by 2002:a05:6358:5328:b0:19e:fa9c:5ec9 with SMTP id e5c5f4694b2df-19fa9e5c31dmr11451155d.9.1718292400375; Thu, 13 Jun 2024 08:26:40 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:40 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/7] ARM: dts: aspeed: Harma: add ina238 Date: Thu, 13 Jun 2024 23:24:22 +0800 Message-Id: <20240613152425.1582059-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082641_875979_9DAAF387 X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add INA238 power monitor for Harma fan board. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 06c8b5ff1125..05020e23a901 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -198,6 +198,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>; + }; }; &i2c1 { @@ -224,6 +248,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>; + }; }; &i2c3 { From patchwork Thu Jun 13 15:24:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696984 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 62722C27C6E for ; Thu, 13 Jun 2024 15:27:04 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8HyReb+tsuJSpMD3xfx85u7ltZSRlX7HpcM+n+BHg+0=; b=mypctCS94HkQyCmUr6mq/DOVuG zr3gwoRgYyGWn/JSoR44UFbMaGONRqSjitho/giZU35T9Cb+3uF1xSfGWME6DPLbv8/PFWYuSZKG2 mL59zRvX92i5uta0KHTCilocTCNPu1VkQX3AH/slTa/n1yaatLbA6ojCNjf3B3zYBJ92Bw4QCC4aj MARGqWAuB28Ful9u+fFW+SVjCDz00IY36KTQ3nLuI1xFXowrWIWh7misJ7ryZbZT99prfajpAyZwN LtQ0msOE/ZXGtWrYpGScGRzcfxLMkmka3mchQK6Y/iuWPM3wCnblo16F5wlRAwj/xzAQ4z2WnzP3g wt134Dnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLk-0000000H9yY-3629; Thu, 13 Jun 2024 15:26:52 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLd-0000000H9ta-0fSC for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:46 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-70413de08c7so841313b3a.0 for ; Thu, 13 Jun 2024 08:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292404; x=1718897204; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=8HyReb+tsuJSpMD3xfx85u7ltZSRlX7HpcM+n+BHg+0=; b=hvGPA6yCL1sCOYLy4vWsIPPp/pPsmLVSMPF/cTjz8lhKRZPnhJOnkVj8rpd+BK1Smh knFP0FsruPF1S33POMPVSWdkVrskucY1LqKS4FRXq0aJ2ggqS+NGBNFpgvBq0mlBlTwt v+9GiPYTP1g5MwN15goWTJ/uN3rJ6Gc12Bi8xaY7PhLvONgc+/gbQLmpcdPA2zMrigqk QBL8AnPjmqnCXzndvkLocjazaMIXldViN4jDCldKkA9Hz/19rm3IA5b7V1qhhrtkABjx aA5ZbQoN54zTV53yL3lBj7MJ1zEvbONgsVfFn9udw/9ymNtci/JjhanySvUK5k+GDjQE CFdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292404; x=1718897204; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8HyReb+tsuJSpMD3xfx85u7ltZSRlX7HpcM+n+BHg+0=; b=nl0d6vcH9iRQyQO94t8qygHJ9mrbdWK/0lgkY6409cRSy6R+mGVzD1WM+4NG7kkSqX iwTHfJeHd8RxYe6GbjwcWrhG8kXAUUuFXT95owtFkwnhj1HZUMaPgsDyanUsPyZxaEQz YydfitKINjfHUaLvieCMHp4IVOILCDOHocDG2xmtLCo08Se7aZST3wtvfWPOs0N/9AXe 69gCnAVwtqW7qwAloXI+4CzNu8pnnftAvMHHVMuStjNNfIKRsJmYsRb4rFEtVe7D+7Mf NJ437oE2ban864jV308yxlF7nYTY/l6kxm+oEiHQd3oN0P2iPpquZtQzHKDRTWt0Qm0E CPdQ== X-Forwarded-Encrypted: i=1; AJvYcCWyoJqWtgR4sePqcNpYj3/uSHN1XsHPut0WxTTj/Ji4dZ92xupZNvyUxuH2+2stTlLEbhgA/p1lHqu9z643mFFdcFtIBSjMYgoDWt+NcGrjHBwq/Pc= X-Gm-Message-State: AOJu0YygQghC1ruAOWTbLKQGzgX3BcuND0dn5GKDm9EJMYVI9veMtoWj vgckKkE+8pWdDPgPBZXkzd4v4YVEGvv1Ptens9L9zxZEA16fnMwv X-Google-Smtp-Source: AGHT+IGZ7dDSpB0gDemGbrl1Ls8xaQvWnphT8vuiHuA6tgCXfC9dRPueqxT/h9PdKJgQ/EMmxevOFg== X-Received: by 2002:a05:6a20:3946:b0:1b3:d59f:2d87 with SMTP id adf61e73a8af0-1bae82f6f36mr169561637.55.1718292403843; Thu, 13 Jun 2024 08:26:43 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:42 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/7] ARM: dts: aspeed: Harma: add power monitor xdp710 Date: Thu, 13 Jun 2024 23:24:23 +0800 Message-Id: <20240613152425.1582059-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082645_258207_256A296C X-CRM114-Status: UNSURE ( 9.94 ) 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 Add HSC xdp710 device in i2c4. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 05020e23a901..a9caa66a59da 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -329,6 +329,11 @@ power-monitor@44 { reg = <0x44>; shunt-resistor-micro-ohms = <250>; }; + + power-monitor@40 { + compatible = "infineon,xdp710"; + reg = <0x40>; + }; }; &i2c5 { From patchwork Thu Jun 13 15:24:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696985 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 DFCE1C27C78 for ; Thu, 13 Jun 2024 15:27:05 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IeJnC3t034+9p9rSx5xKrlrprvLjTGHeh2PdENFmyOg=; b=3c9YGRkNkaUKXVicY/n5CBd9c1 6clcjlpwQB03mdvE2I1SBHsw4qFNRLSGvicX2sYTtiMTmER6xR+RyQKzhwuE6XAIFsTvYeq4kuIAm U4mVGENpHsG14hwyNiFg6rv/w4ijMiWA8CZmTMc+ZC5GIjqopDGdH28VvyyB0mGx4nfO68sB4m7fB w9ixh93IAKCTdyWAYTan4vfVffQ80LQJdKdk2mKlxAkQ3AWvUBBP1aJokiSBiIW6XuKMIs7r3ZNPh p54U0x0MK+teQM6+GEkPwsyWC9RKh9Ps9h3uW3+e0mb8K+Ssg6KgJ8LYVQnMcLRFmdqEOux5GRxj4 fnV7WncQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLl-0000000H9zI-2q1X; Thu, 13 Jun 2024 15:26:53 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLg-0000000H9vN-0W1i for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:49 +0000 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6f96f8489feso675776a34.0 for ; Thu, 13 Jun 2024 08:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292406; x=1718897206; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IeJnC3t034+9p9rSx5xKrlrprvLjTGHeh2PdENFmyOg=; b=RGbCBo4JlOW1Lk7DLqsvJuU19bylhPYkz1AubR+fWwCylPMPbYWaGh2pQoXNE5LupQ 4n/8eaonjDrTdQiAcXkY/y5MBz2JJPKv8aR1oHs72JSvyq/0CxKdBLqrFomPG7BllS6Q N6cEiASrYAGUArHj5G10YwRFnL1gIuh3jFGQCbxL+IOta6/RvDihWWzrYgm8Fpdp6E4s F0r4RRu0MJTOQstgySLm95QdOHxC01R87Q12vETiRFhtletUJl3sjnPt5rkqKcy8W30f dh0iw6zfeFFUAuwg6dDvyNs+s4R40HROgH4rd7egWZ53rUxuQu3hX4fEbImXnpmwWd0x 2rVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292406; x=1718897206; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IeJnC3t034+9p9rSx5xKrlrprvLjTGHeh2PdENFmyOg=; b=ktYBPvGKMjry4SdGVKwGzY6d1HYJlunWr5GNzaJcjhhuw3QJ5TcgghOJTPctaX+/6i J+o6ZFaSA6AOY8T7f0pcXVt2X0oOj5TmZY7ywHuHBCbcg6fZCAZokZMeWrDpr5ZdkLga qdhbmlsrTV4sobo3l+Bt7lt3M/FkrGdmlj9jpnA8bRIeJwGmeoTfhUnLpGoamnDfL4u3 cd9FQVnAmQRR5fHP1mt1EpUDwIgvODykbgODfQMpQZ+oe0onGVbnsfwoouTjuP6ulqJc DdyPzfsrscMbSLnNWyU/CuAKMTUzuu9hMWcHplILEKkcoN9pqK5c5qdwhqN0gp26se06 VkMw== X-Forwarded-Encrypted: i=1; AJvYcCVmM5JefKvD0HhCxjs9Xh3n3/lfuhluchgGy+7zlqP/U7c/ZoV9eK1OKmhjKX9pQUKJ4XG6EV342WjxFVKW4o8uak0P4Cynso+yWZlQTGQIbaYePXE= X-Gm-Message-State: AOJu0YzStWFkMegBimUm7cwZlMJTWt15DoOA8GMwo6Nk+V+9kLadj9vx ogr6V64iyGrkV//hiKUnDpCNdy5GA9DC/vY8ZLPuxTWVvmeb2N0t X-Google-Smtp-Source: AGHT+IEM96x99wYwHBRD1XqHFCoVr0ih47Cs4Z7Vc7NT43TO7JrVyAEPapjNJXdZkqyzlOcT/Z+kTg== X-Received: by 2002:a05:6358:6f02:b0:19f:3ee1:d1b1 with SMTP id e5c5f4694b2df-19fb5039c8bmr7747655d.31.1718292406467; Thu, 13 Jun 2024 08:26:46 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:46 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 6/7] ARM: dts: aspeed: Harma: remove multi-host property Date: Thu, 13 Jun 2024 23:24:24 +0800 Message-Id: <20240613152425.1582059-7-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082648_232924_70973741 X-CRM114-Status: UNSURE ( 9.85 ) 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 Harma is single host, so remove multi-host property Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index a9caa66a59da..d892e646fced 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -137,7 +137,6 @@ &mac3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rmii4_default>; use-ncsi; - mellanox,multi-host; }; &rtc { From patchwork Thu Jun 13 15:24:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13696986 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 5C54FC27C6E for ; Thu, 13 Jun 2024 15:27: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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=Dz5HoZvaIaW0kiIPkfyu3pgbJJ D0x0CGGauvNFXeuP09BHrYt718oSnLLGnKT9s9F/Zs8kN9nVZl8AHHheehizkzhJAhL/8ZwlfTDxl Mt5Un7p+0Bfw8gL/mwhXn+mfyQNTZJM2lLARaMy6AB7b39pqqVTVZF6GyR4/lYcmPQpz8EF3b8D9P FNGbK4iDWdml3A2rkmnVsAFth1sdoGIfgp/yEA/TQix/brGWU5PgCXDkNci9c5x/t7v7StLc7N+w/ aGN4JHOOjtlPtTHXiyFQ08H+/LYkmtslYSHh6fO4ywMf+HR9lwQ0kgaXJ1rVHBFe6mPMVGIRzm1mm wMwUP6tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmM9-0000000HAGJ-2UTc; Thu, 13 Jun 2024 15:27:17 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sHmLi-0000000H9wn-20uC for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2024 15:26:51 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5b52b0d0dfeso627138eaf.0 for ; Thu, 13 Jun 2024 08:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718292409; x=1718897209; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=Ab/XHuRwArQbucW99HQFkHEOYobBwCezEU+0+ihxJJemhMKZ4Qe2yHJv6kpKJ3G+r/ rJLgH/ktPtjT4e5H/Cm7PGm5GgpgE+YXVsPoSysDryWNVvMhIjFKX3EFRI6EDwNdO7cP 74HhUjfxjW/pOkVSjQsoWnMHPbDw960i6nBk5o1JO3VOjZci/rwq8tnISGDTcjuSYVWq aaO4S4jWiEEj24fOmuY+mW66JMYLeSqxDHL7nzWkdwT2k9WwMkdGXlmXQYGWsRZXSKDg xeclhSMefUvrQXQ/3ztqLj7Wsp8Ka0ydINJd76haYcYVHpgaUqgmLdLYNQYhjqLBbXr+ ZcMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718292409; x=1718897209; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rwI/HNhW+KLaFfAR0mDxuIlHrsRtZCH23dDOp06Pu+Q=; b=OK2NhwXsmL1+JWGcbAb9vkrGMd7U1Ik1b7XVJCcbL0p8lckHMC5EtGulhQ/Y8Jmpp9 StObur6Bn94xkkLt76u6vU6dVMb1FkjbZytGZgxT+wv5UzqJEXY6ybtY2sjb1hI9ochr k3XsSMuvxWSF1koCH1bYSWsSk8T4UJP86ca/7tl25mUJzAiBmS52CsWg5dJml6rAeVyW qMkvkbBdHjReuy6q1lsklnoBnPRE/Ni+CAvvgu+z1Fv7qKycmQ3Fx9q3geKCRF8hIkb2 trZ/b2gS3wc20og8ta46/o3jM0j50VKqFjPQ6lr4F8bV5un4cGWz9vNcYk2JMVgU49J8 InNQ== X-Forwarded-Encrypted: i=1; AJvYcCW25lZL1Swpsf9t1mSBrZGwivxB792WEvUxu9sTBtSlsMFVNNQIaIwMOVVRvn5huIlQKSqYQNH1MRTao/pg9/Rj42Q7XS38EFFMckhjw0K4aTzj9O0= X-Gm-Message-State: AOJu0YxKInBcO2Ag4ZyrsR1o4NnflpbGicfLe3za6lqdshHRAdu4RwZB I1zdGay9CvKQ3OUqNfs41gGfyhjbMonMaqY09xrbYkCqkVgVMvv5 X-Google-Smtp-Source: AGHT+IEb6jZiHrXtDO8lryaRnm7jdVVTAkWt5alb7bZewa05Z+A7qVZBuRcEhv6XaHOnlahOVxqFlA== X-Received: by 2002:a05:6359:4c82:b0:19f:4fda:4163 with SMTP id e5c5f4694b2df-19fa9ddf24fmr11457155d.1.1718292409110; Thu, 13 Jun 2024 08:26:49 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6fee41663d2sm1198183a12.92.2024.06.13.08.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 08:26:48 -0700 (PDT) From: Peter Yin To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 7/7] ARM: dts: aspeed: Harma: remove pca9546 Date: Thu, 13 Jun 2024 23:24:25 +0800 Message-Id: <20240613152425.1582059-8-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> References: <20240613152425.1582059-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240613_082650_585536_094F7CA7 X-CRM114-Status: GOOD ( 11.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 remove pca9546 and add Aegis fru device Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 56 +++++++++---------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index d892e646fced..4ff9e0104bbe 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -20,10 +20,6 @@ aliases { i2c21 = &imux21; i2c22 = &imux22; i2c23 = &imux23; - i2c24 = &imux24; - i2c25 = &imux25; - i2c26 = &imux26; - i2c27 = &imux27; i2c28 = &imux28; i2c29 = &imux29; i2c30 = &imux30; @@ -391,33 +387,6 @@ gpio@31 { "","","",""; }; - i2c-mux@71 { - compatible = "nxp,pca9546"; - reg = <0x71>; - #address-cells = <1>; - #size-cells = <0>; - - imux24: i2c@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - }; - imux25: i2c@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - }; - imux26: i2c@2 { - #address-cells = <1>; - #size-cells = <0>; - reg = <2>; - }; - imux27: i2c@3 { - #address-cells = <1>; - #size-cells = <0>; - reg = <3>; - }; - }; // PTTV FRU eeprom@52 { compatible = "atmel,24c64"; @@ -427,6 +396,31 @@ eeprom@52 { &i2c11 { status = "okay"; + + gpio@30 { + compatible = "nxp,pca9555"; + reg = <0x30>; + gpio-controller; + #gpio-cells = <2>; + }; + gpio@31 { + compatible = "nxp,pca9555"; + reg = <0x31>; + gpio-controller; + #gpio-cells = <2>; + + gpio-line-names = + "","","","", + "","","presence-cmm","", + "","","","", + "","","",""; + }; + + // Aegis FRU + eeprom@52 { + compatible = "atmel,24c64"; + reg = <0x52>; + }; }; &i2c12 {