mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Colin Huang <u8813345@gmail.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
	"Andrew Jeffery" <andrew@codeconstruct.com.au>,
	Ryan Chen <ryan_chen@aspeedtech.com>,
	Billy Tsai <billy_tsai@aspeedtech.com>
Cc: <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-aspeed@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
	<colin.huang2@amd.com>, Colin Huang <u8813345@gmail.com>,
	Rex Fu <rex.fu.amd@gmail.com>
Subject: [PATCH v10 06/16] ARM: dts: aspeed: anacapa: Align PDB fan GPIO numbering
Date: Thu, 29 Oct 2026 21:38:35 +0800	[thread overview]
Message-ID: <20261029-anacapa-devlop-phase-devicetree-v10-6-26ee3cf9d9d0@gmail.com> (raw)
In-Reply-To: <20261029-anacapa-devlop-phase-devicetree-v10-0-26ee3cf9d9d0@gmail.com>

From: Rex Fu <rex.fu.amd@gmail.com>

Update the LPDB and RPDB fan GPIO line names to align with the platform
fan numbering scheme.

The LPDB fan GPIOs are named FAN0 through FAN4, while the RPDB fan GPIOs
are named FAN5 through FAN8. This keeps the GPIO line names consistent
with the fan inventory and platform-level fan numbering.

Signed-off-by: Rex Fu <rex.fu.amd@gmail.com>
---
 .../aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi   | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
index a2392f684b80..3ea5d67865d4 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
@@ -2,6 +2,40 @@
 
 #include "aspeed-bmc-facebook-anacapa-evt1.dtsi"
 
+// MB - PDB
+&i2c8 {
+	i2c-mux@72 {
+		i2c@0 {
+			gpio@24 {
+				gpio-line-names =
+					"RPDB_EAM2_PRSNT_MOS_N_R", "RPDB_EAM3_PRSNT_MOS_N_R",
+					"RPDB_PWRGD_P50V_HSC4_SYS_R",
+					"RPDB_PWRGD_P50V_STBY_SYS_BUF_R",
+					"RPDB_P50V_FAN5_R2_PG", "RPDB_P50V_FAN6_R2_PG",
+					"RPDB_P50V_FAN7_R2_PG", "RPDB_P50V_FAN8_R2_PG",
+					"", "RPDB_FAN5_PRSNT_N_R",
+					"", "RPDB_FAN6_PRSNT_N_R",
+					"RPDB_FAN7_PRSNT_N_R", "RPDB_FAN8_PRSNT_N_R",
+					"", "";
+			};
+		};
+
+		i2c@1 {
+			gpio@24 {
+				gpio-line-names =
+					"LPDB_P50V_FAN0_R2_PG","LPDB_P50V_FAN1_R2_PG",
+					"LPDB_P50V_FAN2_R2_PG","LPDB_P50V_FAN3_R2_PG",
+					"LPDB_P50V_FAN4_R2_PG","LPDB_FAN0_PRSNT_N_R",
+					"LPDB_FAN1_PRSNT_N_R","LPDB_FAN2_PRSNT_N_R",
+					"LPDB_FAN3_PRSNT_N_R","LPDB_FAN4_PRSNT_N_R",
+					"","",
+					"","",
+					"","";
+			};
+		};
+	};
+};
+
 // SCM
 &i2c9 {
 	// SCM FRU

-- 
2.34.1


  parent reply	other threads:[~2026-10-29 13:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 13:38 [PATCH v10 00/16] ARM: dts: aspeed: anacapa: restructure devicetree for development-phase Colin Huang
2026-10-29 13:38 ` [PATCH v10 01/16] ARM: dts: aspeed: anacapa: Add EVT1 devicetree and point wrapper to it Colin Huang
2026-10-29 13:38 ` [PATCH v10 02/16] ARM: dts: aspeed: anacapa: Add EVT2 devicetree inheriting EVT1 Colin Huang
2026-10-29 13:38 ` [PATCH v10 03/16] ARM: dts: aspeed: anacapa: Add DVT devicetree inheriting EVT2 Colin Huang
2026-10-29 13:38 ` [PATCH v10 04/16] ARM: dts: aspeed: anacapa: Add additional EEPROM node for SCM Colin Huang
2026-10-29 13:38 ` [PATCH v10 05/16] ARM: dts: aspeed: anacapa: Add eeprom device node for NFC adaptor board Colin Huang
2026-10-29 13:43   ` Krzysztof Kozlowski
2026-10-29 13:38 ` Colin Huang [this message]
2026-10-29 13:38 ` [PATCH v10 07/16] ARM: dts: aspeed: anacapa: Enable MCTP and FRU for NIC Colin Huang
2026-10-29 13:38 ` [PATCH v10 08/16] ARM: dts: aspeed: anacapa: evt2: Add shunt resistor values for HSC monitors Colin Huang
2026-10-29 13:38 ` [PATCH v10 09/16] ARM: dts: aspeed: anacapa: Add LPDB fuse monitor GPIO expander Colin Huang
2026-10-29 13:38 ` [PATCH v10 10/16] ARM: dts: aspeed: anacapa: Simplify leakage GPIO line names Colin Huang
2026-10-29 13:38 ` [PATCH v10 11/16] ARM: dts: aspeed: anacapa: Add SPI flash VCC supply Colin Huang
2026-10-29 13:38 ` [PATCH v10 12/16] ARM: dts: aspeed: anacapa: Add NCT7363 fan controllers Colin Huang
2026-10-29 13:38 ` [PATCH v10 13/16] ARM: dts: aspeed: anacapa: Remove LTC4287 power monitors Colin Huang
2026-10-29 13:38 ` [PATCH v10 14/16] ARM: dts: aspeed: anacapa: Update EDSFF power status signals Colin Huang
2026-10-29 13:38 ` [PATCH v10 15/16] ARM: dts: aspeed: anacapa: Add E1.S FRU EEPROMs Colin Huang
2026-10-29 13:38 ` [PATCH v10 16/16] ARM: dts: aspeed: anacapa: Rename FM_CPU0_PWRGD to host0-ready Colin Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261029-anacapa-devlop-phase-devicetree-v10-6-26ee3cf9d9d0@gmail.com \
    --to=u8813345@gmail.com \
    --cc=andrew@codeconstruct.com.au \
    --cc=billy_tsai@aspeedtech.com \
    --cc=colin.huang2@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joel@jms.id.au \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rex.fu.amd@gmail.com \
    --cc=robh@kernel.org \
    --cc=ryan_chen@aspeedtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®